File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ pnpm-lock.yaml
14
14
# ignore compiled files
15
15
build
16
16
types
17
- index .js
18
- ! ** / index .js
17
+ * .js
18
+ ! template- * / * .js
19
19
20
20
# ignore ide settings
21
21
.idea
Original file line number Diff line number Diff line change 1
- import * as fs from 'fs'
2
- import * as path from 'path'
1
+ import * as fs from 'node:fs'
2
+ import * as path from 'node:path'
3
+ import * as process from 'node:process'
3
4
import minimist from 'minimist'
4
5
import prompts from 'prompts'
5
6
import mustache from 'mustache'
6
- import { fileURLToPath } from 'url'
7
+ import { fileURLToPath } from 'node: url'
7
8
import { red , ansi256 , reset } from 'kolorist'
8
9
9
10
const argv = minimist ( process . argv . slice ( 2 ) , { string : [ '_' ] } )
Original file line number Diff line number Diff line change 16
16
"files" : [
17
17
" mustache" ,
18
18
" template-*" ,
19
+ " bin.js" ,
19
20
" index.js" ,
20
21
" README.md"
21
22
],
You can’t perform that action at this time.
0 commit comments