File tree 4 files changed +5
-6
lines changed
4 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 27
27
" sveltejs"
28
28
],
29
29
"scripts" : {
30
- "build" : " pnpm run build:meta && pnpm run build:ts && pnpm run build:types " ,
30
+ "build" : " pnpm run build:meta && pnpm run build:ts" ,
31
31
"build:meta" : " pnpm run ts ./tools/update-meta.ts" ,
32
32
"build:ts" : " tsc --project ./tsconfig.build.json" ,
33
- "build:types" : " pnpm run ts ./tools/update-rule-types.ts" ,
34
33
"clean" : " rimraf .nyc_output lib coverage build .svelte-kit svelte.config-dist.js" ,
35
34
"cover" : " nyc --reporter=lcov pnpm run test" ,
36
35
"debug" : " pnpm run mocha \" tests/src/**/*.ts\" --reporter dot --timeout 60000" ,
Original file line number Diff line number Diff line change 1
- import './rule-types.d.ts ' ;
1
+ import './rule-types' ;
2
2
import type { RuleModule } from './types' ;
3
3
import { rules as ruleList } from './utils/rules' ;
4
4
import base from './configs/base' ;
File renamed without changes.
Original file line number Diff line number Diff line change 1
- import fs from 'fs'
1
+ import fs from 'fs' ;
2
2
import path from 'path' ;
3
3
import plugin from '../src/index' ;
4
4
@@ -11,8 +11,8 @@ async function main() {
11
11
const ruleTypes = await pluginsToRulesDTS ( { svelte : plugin } ) ;
12
12
13
13
void fs . writeFileSync (
14
- path . join ( __dirname , '../src/rule-types.d. ts' ) ,
15
- `// IMPORTANT!
14
+ path . join ( __dirname , '../src/rule-types.ts' ) ,
15
+ `// IMPORTANT!
16
16
// This file has been automatically generated,
17
17
// in order to update its content execute "pnpm run update"
18
18
You can’t perform that action at this time.
0 commit comments