@minus-ai/create-skill 0.1.0-beta.20 → 0.1.0-beta.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.mjs
CHANGED
|
@@ -656,9 +656,6 @@ ${templateDocs[inputType] || templateDocs.custom}
|
|
|
656
656
|
writeOut(join(targetDir, 'frontend/src/main.tsx'), render(readTemplate('main.tsx.tpl', inputType), vars))
|
|
657
657
|
writeOut(join(targetDir, 'frontend/src/locales/zh-CN.json'), render(readTemplate('zh-CN.json.tpl', inputType), vars))
|
|
658
658
|
|
|
659
|
-
// 类型声明文件(让 tsc build 能识别 @minus/* 模块)
|
|
660
|
-
writeOut(join(targetDir, 'frontend/src/minus-runtime.d.ts'), `declare module '@minus/*';\n`)
|
|
661
|
-
|
|
662
659
|
// 4. git init (skip if git not installed)
|
|
663
660
|
try {
|
|
664
661
|
execSync('git --version', { stdio: 'pipe' })
|
package/package.json
CHANGED
|
@@ -5,13 +5,15 @@
|
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"build": "tsc -b && vite build",
|
|
8
|
-
"
|
|
8
|
+
"check": "tsc --noEmit",
|
|
9
|
+
"dev": "vite build --watch",
|
|
10
|
+
"sync:types": "sync-types"
|
|
9
11
|
},
|
|
10
12
|
"dependencies": {
|
|
11
13
|
"sonner": "^2.0.7"
|
|
12
14
|
},
|
|
13
15
|
"devDependencies": {
|
|
14
|
-
"@minus-ai/dev-vite-plugin": "^0.1.0-beta.
|
|
16
|
+
"@minus-ai/dev-vite-plugin": "^0.1.0-beta.18",
|
|
15
17
|
"@types/node": "^{{nodeMajor}}.0.0",
|
|
16
18
|
"@types/react": "^18.3.3",
|
|
17
19
|
"@types/react-dom": "^18.3.0",
|
|
@@ -9,7 +9,11 @@
|
|
|
9
9
|
"esModuleInterop": true,
|
|
10
10
|
"skipLibCheck": true,
|
|
11
11
|
"resolveJsonModule": true,
|
|
12
|
-
"noEmit": true
|
|
12
|
+
"noEmit": true,
|
|
13
|
+
"baseUrl": ".",
|
|
14
|
+
"paths": {
|
|
15
|
+
"@minus/*": ["./.minus/types/@minus/*"]
|
|
16
|
+
}
|
|
13
17
|
},
|
|
14
|
-
"include": ["src"]
|
|
18
|
+
"include": ["src", ".minus/types"]
|
|
15
19
|
}
|