@tomjs/create-app 5.2.0 → 5.4.0
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/README.md +4 -0
- package/README.zh_CN.md +4 -0
- package/package.json +9 -9
- package/templates/config/base/package.json +6 -6
- package/templates/config/electron/package.json +1 -1
- package/templates/config/package.json +14 -14
- package/templates/config/react/package.json +2 -2
- package/templates/config/style/package.json +2 -2
- package/templates/config/vscode/package.json +1 -1
- package/templates/config/vue/package.json +5 -5
- package/templates/electron-vue/package.json +0 -3
- package/templates/hbuilderx-base/package.json +2 -2
- package/templates/node-base/package.json +1 -1
- package/templates/node-cli/package.json +2 -2
- package/templates/node-vite/package.json +2 -2
- package/templates/vscode-base/package.json +1 -1
package/README.md
CHANGED
|
@@ -34,6 +34,7 @@ Usage
|
|
|
34
34
|
package-name Package name
|
|
35
35
|
|
|
36
36
|
Options
|
|
37
|
+
--cwd Current working directory
|
|
37
38
|
--overwrite, -o Overwrite existing project
|
|
38
39
|
--package, -p Create a package for the workspace project
|
|
39
40
|
--private Set as private project
|
|
@@ -46,6 +47,9 @@ Support templates:
|
|
|
46
47
|
|
|
47
48
|
- electron-vue
|
|
48
49
|
- electron-react
|
|
50
|
+
- hbuilderx-base
|
|
51
|
+
- hbuilderx-react
|
|
52
|
+
- hbuilderx-vue
|
|
49
53
|
- node-base
|
|
50
54
|
- node-cli
|
|
51
55
|
- node-vite
|
package/README.zh_CN.md
CHANGED
|
@@ -34,6 +34,7 @@ Usage
|
|
|
34
34
|
package-name 包名称
|
|
35
35
|
|
|
36
36
|
Options
|
|
37
|
+
--cwd 当前工作目录
|
|
37
38
|
--overwrite, -o 覆盖已存在的目录
|
|
38
39
|
--package, -p 为 workspace 项目创建包
|
|
39
40
|
--private 设为私有项目
|
|
@@ -46,6 +47,9 @@ Options
|
|
|
46
47
|
|
|
47
48
|
- electron-vue
|
|
48
49
|
- electron-react
|
|
50
|
+
- hbuilderx-base
|
|
51
|
+
- hbuilderx-react
|
|
52
|
+
- hbuilderx-vue
|
|
49
53
|
- node-base
|
|
50
54
|
- node-cli
|
|
51
55
|
- node-vite
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tomjs/create-app",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.4.0",
|
|
5
5
|
"description": "Create a node/web/electron/vscode project based on tomjs",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Tom Gao",
|
|
@@ -58,15 +58,15 @@
|
|
|
58
58
|
"tinyglobby": "^0.2.15"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@antfu/eslint-config": "^
|
|
62
|
-
"@commitlint/cli": "^20.3.
|
|
61
|
+
"@antfu/eslint-config": "^7.1.0",
|
|
62
|
+
"@commitlint/cli": "^20.3.1",
|
|
63
63
|
"@tomjs/commitlint": "^5.0.0",
|
|
64
|
-
"@tomjs/eslint": "^
|
|
65
|
-
"@tomjs/stylelint": "^
|
|
64
|
+
"@tomjs/eslint": "^7.0.0",
|
|
65
|
+
"@tomjs/stylelint": "^8.0.0",
|
|
66
66
|
"@tomjs/tsconfig": "^3.2.0",
|
|
67
67
|
"@tsconfig/node20": "^20.1.8",
|
|
68
68
|
"@types/lodash-es": "^4.17.12",
|
|
69
|
-
"@types/node": "^20.19.
|
|
69
|
+
"@types/node": "^20.19.30",
|
|
70
70
|
"dotenv": "^17.2.3",
|
|
71
71
|
"eslint": "^9.39.2",
|
|
72
72
|
"lint-staged": "^16.2.7",
|
|
@@ -74,10 +74,10 @@
|
|
|
74
74
|
"publint": "^0.3.16",
|
|
75
75
|
"rimraf": "^6.1.2",
|
|
76
76
|
"simple-git-hooks": "^2.13.1",
|
|
77
|
-
"stylelint": "^
|
|
78
|
-
"tsdown": "~0.
|
|
77
|
+
"stylelint": "^17.0.0",
|
|
78
|
+
"tsdown": "~0.19.0",
|
|
79
79
|
"tsx": "^4.21.0",
|
|
80
|
-
"type-fest": "^5.
|
|
80
|
+
"type-fest": "^5.4.1",
|
|
81
81
|
"typescript": "~5.9.3"
|
|
82
82
|
},
|
|
83
83
|
"scripts": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"version": "0.0.0",
|
|
4
|
-
"packageManager": "pnpm@10.
|
|
4
|
+
"packageManager": "pnpm@10.28.1",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"lint": "eslint --fix",
|
|
7
7
|
"prepare": "simple-git-hooks"
|
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
"dayjs": "^1.11.19"
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|
|
13
|
-
"@antfu/eslint-config": "^
|
|
14
|
-
"@commitlint/cli": "^20.3.
|
|
13
|
+
"@antfu/eslint-config": "^7.1.0",
|
|
14
|
+
"@commitlint/cli": "^20.3.1",
|
|
15
15
|
"@tomjs/commitlint": "^5.0.0",
|
|
16
|
-
"@tomjs/eslint": "^
|
|
17
|
-
"@tomjs/tsconfig": "^3.0
|
|
18
|
-
"@types/node": "^20.19.
|
|
16
|
+
"@tomjs/eslint": "^7.0.0",
|
|
17
|
+
"@tomjs/tsconfig": "^3.2.0",
|
|
18
|
+
"@types/node": "^20.19.30",
|
|
19
19
|
"cross-env": "^10.1.0",
|
|
20
20
|
"eslint": "^9.39.2",
|
|
21
21
|
"lint-staged": "^16.2.7",
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
{
|
|
2
2
|
"dependencies": {
|
|
3
|
-
"@antfu/eslint-config": "^
|
|
3
|
+
"@antfu/eslint-config": "^7.1.0",
|
|
4
4
|
"@clack/prompts": "^0.11.0",
|
|
5
5
|
"@commitlint/cli": "^20.3.1",
|
|
6
|
-
"@eslint-react/eslint-plugin": "^2.
|
|
6
|
+
"@eslint-react/eslint-plugin": "^2.7.2",
|
|
7
7
|
"@tomjs/commitlint": "^5.0.0",
|
|
8
|
-
"@tomjs/eslint": "^
|
|
8
|
+
"@tomjs/eslint": "^7.0.0",
|
|
9
9
|
"@tomjs/hbuilderx": "^1.2.0",
|
|
10
10
|
"@tomjs/hbuilderx-cli": "^1.3.1",
|
|
11
11
|
"@tomjs/logger": "^3.0.0",
|
|
12
12
|
"@tomjs/node": "^2.2.3",
|
|
13
|
-
"@tomjs/stylelint": "^
|
|
13
|
+
"@tomjs/stylelint": "^8.0.0",
|
|
14
14
|
"@tomjs/tsconfig": "^3.2.0",
|
|
15
15
|
"@tomjs/vite-plugin-electron": "^2.4.2",
|
|
16
16
|
"@tomjs/vite-plugin-hbuilderx": "^1.3.0",
|
|
17
|
-
"@tomjs/vite-plugin-vscode": "^7.
|
|
17
|
+
"@tomjs/vite-plugin-vscode": "^7.1.0",
|
|
18
18
|
"@tomjs/vscode": "^2.5.0",
|
|
19
19
|
"@tomjs/vscode-dev": "^3.1.2",
|
|
20
20
|
"@tomjs/vscode-webview": "^2.0.2",
|
|
21
|
-
"@types/node": "^20.19.
|
|
22
|
-
"@types/react": "^19.2.
|
|
21
|
+
"@types/node": "^20.19.30",
|
|
22
|
+
"@types/react": "^19.2.9",
|
|
23
23
|
"@types/react-dom": "^19.2.3",
|
|
24
24
|
"@types/vscode": "^1.56.0",
|
|
25
25
|
"@types/vscode-webview": "^1.57.5",
|
|
26
|
-
"@unocss/eslint-plugin": "^66.
|
|
26
|
+
"@unocss/eslint-plugin": "^66.6.0",
|
|
27
27
|
"@vitejs/plugin-react": "^5.1.2",
|
|
28
28
|
"@vitejs/plugin-react-swc": "^4.2.2",
|
|
29
29
|
"@vitejs/plugin-vue": "^6.0.3",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"cosmiconfig": "^9.0.0",
|
|
35
35
|
"cross-env": "^10.1.0",
|
|
36
36
|
"dayjs": "^1.11.19",
|
|
37
|
-
"electron": "^
|
|
37
|
+
"electron": "^40.0.0",
|
|
38
38
|
"electron-builder": "^26.4.0",
|
|
39
39
|
"eslint": "^9.39.2",
|
|
40
40
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
@@ -50,17 +50,17 @@
|
|
|
50
50
|
"react-dom": "^19.2.3",
|
|
51
51
|
"sass": "^1.97.2",
|
|
52
52
|
"simple-git-hooks": "^2.13.1",
|
|
53
|
-
"stylelint": "^
|
|
53
|
+
"stylelint": "^17.0.0",
|
|
54
54
|
"tsdown": "^0.19.0",
|
|
55
55
|
"tsx": "^4.21.0",
|
|
56
56
|
"typescript": "~5.9.3",
|
|
57
|
-
"unocss": "^66.
|
|
58
|
-
"unplugin-auto-import": "^
|
|
59
|
-
"unplugin-vue-components": "^
|
|
57
|
+
"unocss": "^66.6.0",
|
|
58
|
+
"unplugin-auto-import": "^21.0.0",
|
|
59
|
+
"unplugin-vue-components": "^31.0.0",
|
|
60
60
|
"vite": "^7.3.1",
|
|
61
61
|
"vite-plugin-electron-renderer": "^0.14.6",
|
|
62
62
|
"vite-plugin-vue-devtools": "^8.0.5",
|
|
63
|
-
"vue": "^3.5.
|
|
63
|
+
"vue": "^3.5.27",
|
|
64
64
|
"vue-i18n": "^11.2.8",
|
|
65
65
|
"vue-router": "^4.6.4",
|
|
66
66
|
"vue-tsc": "^3.2.2"
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
"react-dom": "^19.2.3"
|
|
5
5
|
},
|
|
6
6
|
"devDependencies": {
|
|
7
|
-
"@eslint-react/eslint-plugin": "^2.
|
|
8
|
-
"@types/react": "^19.2.
|
|
7
|
+
"@eslint-react/eslint-plugin": "^2.7.2",
|
|
8
|
+
"@types/react": "^19.2.9",
|
|
9
9
|
"@types/react-dom": "^19.2.3",
|
|
10
10
|
"@vitejs/plugin-react-swc": "^4.2.2",
|
|
11
11
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
"dependencies": {
|
|
3
3
|
"@vueuse/core": "^14.1.0",
|
|
4
4
|
"pinia": "^3.0.4",
|
|
5
|
-
"vue": "^3.5.
|
|
5
|
+
"vue": "^3.5.27"
|
|
6
6
|
},
|
|
7
7
|
"devDependencies": {
|
|
8
|
-
"@unocss/eslint-plugin": "^66.
|
|
8
|
+
"@unocss/eslint-plugin": "^66.6.0",
|
|
9
9
|
"@vitejs/plugin-vue": "^6.0.3",
|
|
10
|
-
"unocss": "^66.
|
|
11
|
-
"unplugin-auto-import": "^
|
|
12
|
-
"unplugin-vue-components": "^
|
|
10
|
+
"unocss": "^66.6.0",
|
|
11
|
+
"unplugin-auto-import": "^21.0.0",
|
|
12
|
+
"unplugin-vue-components": "^31.0.0",
|
|
13
13
|
"vite": "^7.3.1",
|
|
14
14
|
"vite-plugin-vue-devtools": "^8.0.5",
|
|
15
15
|
"vue-tsc": "^3.2.2"
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@clack/prompts": "^0.11.0",
|
|
19
|
-
"@tomjs/logger": "^
|
|
19
|
+
"@tomjs/logger": "^3.0.0",
|
|
20
20
|
"@tomjs/node": "^2.2.3",
|
|
21
21
|
"chalk": "^5.6.2",
|
|
22
22
|
"cosmiconfig": "^9.0.0",
|
|
@@ -26,6 +26,6 @@
|
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"publint": "0.3.16",
|
|
29
|
-
"tsdown": "^0.
|
|
29
|
+
"tsdown": "^0.19.0"
|
|
30
30
|
}
|
|
31
31
|
}
|