File tree Expand file tree Collapse file tree 4 files changed +5
-6
lines changed
Expand file tree Collapse file tree 4 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 2727 " sveltejs"
2828 ],
2929 "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" ,
3131 "build:meta" : " pnpm run ts ./tools/update-meta.ts" ,
3232 "build:ts" : " tsc --project ./tsconfig.build.json" ,
33- "build:types" : " pnpm run ts ./tools/update-rule-types.ts" ,
3433 "clean" : " rimraf .nyc_output lib coverage build .svelte-kit svelte.config-dist.js" ,
3534 "cover" : " nyc --reporter=lcov pnpm run test" ,
3635 "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' ;
22import type { RuleModule } from './types' ;
33import { rules as ruleList } from './utils/rules' ;
44import 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' ;
22import path from 'path' ;
33import plugin from '../src/index' ;
44
@@ -11,8 +11,8 @@ async function main() {
1111 const ruleTypes = await pluginsToRulesDTS ( { svelte : plugin } ) ;
1212
1313 void fs . writeFileSync (
14- path . join ( __dirname , '../src/rule-types.d. ts' ) ,
15- `// IMPORTANT!
14+ path . join ( __dirname , '../src/rule-types.ts' ) ,
15+ `// IMPORTANT!
1616// This file has been automatically generated,
1717// in order to update its content execute "pnpm run update"
1818
You can’t perform that action at this time.
0 commit comments