Skip to content

Commit 33bd81d

Browse files
committed
fix: dev
1 parent 8c4f021 commit 33bd81d

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.vscode/settings.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,19 @@
88
"editor.codeActionsOnSave": {
99
"source.fixAll.eslint": "always"
1010
},
11+
"explorer.fileNesting.enabled": true,
12+
"explorer.fileNesting.patterns": {
13+
".env": "*.env",
14+
"tsconfig.json": "tsconfig.*.json, env.d.ts, tsup.*.ts",
15+
"package.json": "package-lock.json, pnpm*, .yarnrc*, yarn*, .eslint*, eslint*, .prettier*, prettier*, .editorconfig, CHANGELOG.md, CODE_OF_CONDUCT.md, *.gitignore, LICENSE, README.md, .release*.json"
16+
},
1117
"files.autoSave": "onFocusChange",
12-
// 单引号
1318
"javascript.preferences.quoteStyle": "single",
1419
"typescript.preferences.quoteStyle": "single",
15-
// 去掉分号
1620
"javascript.format.semicolons": "remove",
1721
"typescript.format.semicolons": "remove",
18-
// 函数括号前面加空格
1922
"javascript.format.insertSpaceBeforeFunctionParenthesis": true,
2023
"typescript.format.insertSpaceBeforeFunctionParenthesis": true,
21-
// 构造函数后面加空格
2224
"typescript.format.insertSpaceAfterConstructor": true,
23-
"javascript.format.insertSpaceAfterConstructor": true,
25+
"javascript.format.insertSpaceAfterConstructor": true
2426
}

index.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@
2727
"pr": "node lib/cli/pr.js",
2828
"pub": "npm publish --access public",
2929
"sort": "npx sort-package-json",
30-
"dev": "tsx watch --include \"src/**/*.ts\" ./node_modules/node-karin/dist/index.js",
30+
"dev": "tsx watch src/index.ts",
3131
"karin": "karin"
3232
},
3333
"devDependencies": {
3434
"@types/node": "^20.17.8",
3535
"eslint": "^9.7.0",
3636
"neostandard": "^0.12.0",
37-
"node-karin": "1.1.1",
37+
"node-karin": "^1.3.3",
3838
"tsc-alias": "^1.8.10",
3939
"tsx": "^4.19.2",
4040
"typescript": "^5.5.3"

0 commit comments

Comments
 (0)