File tree Expand file tree Collapse file tree 4 files changed +11
-3
lines changed Expand file tree Collapse file tree 4 files changed +11
-3
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " " ,
3
+ "description" : " " ,
4
+ "link" : " " ,
5
+ "tags" : [
6
+ " command-line"
7
+ ]
8
+ }
Original file line number Diff line number Diff line change 4
4
"version" : " 0.0.0" ,
5
5
"type" : " module" ,
6
6
"scripts" : {
7
- "dev" : " vite" ,
7
+ "dev" : " node scripts/merge.js && vite" ,
8
8
"build" : " node scripts/merge.js && tsc -b && vite build" ,
9
9
"lint" : " eslint ." ,
10
10
"preview" : " vite preview" ,
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ if (indexExists) {
27
27
// Otherwise read all .json files in the directory (except index.json)
28
28
console . log ( 'Index file not found, reading all JSON files in the directory...' ) ;
29
29
toolFiles = fs . readdirSync ( dataDir )
30
- . filter ( file => file . endsWith ( '.json' ) && file !== 'index.json' ) ;
30
+ . filter ( file => file . endsWith ( '.json' ) && file !== 'index.json' && file !== '_template.json' ) ;
31
31
console . log ( `Found ${ toolFiles . length } JSON files in directory` ) ;
32
32
}
33
33
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ async function validateAllFiles() {
81
81
82
82
// Get all JSON files except index.json
83
83
const files = fs . readdirSync ( dataDir )
84
- . filter ( file => file . endsWith ( '.json' ) && file !== 'index.json' )
84
+ . filter ( file => file . endsWith ( '.json' ) && file !== 'index.json' && file !== '_template.json' )
85
85
. map ( file => path . join ( dataDir , file ) ) ;
86
86
87
87
console . log ( `\x1b[36mValidating ${ files . length } JSON files in data directory...\x1b[0m\n` ) ;
You can’t perform that action at this time.
0 commit comments