@tomjs/create-app 5.2.0 → 5.3.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 +6 -6
- package/templates/config/package.json +11 -11
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.3.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.0.1",
|
|
62
|
+
"@commitlint/cli": "^20.3.1",
|
|
63
63
|
"@tomjs/commitlint": "^5.0.0",
|
|
64
|
-
"@tomjs/eslint": "^
|
|
65
|
-
"@tomjs/stylelint": "^7.1.
|
|
64
|
+
"@tomjs/eslint": "^7.0.0",
|
|
65
|
+
"@tomjs/stylelint": "^7.1.1",
|
|
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",
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"dependencies": {
|
|
3
|
-
"@antfu/eslint-config": "^
|
|
3
|
+
"@antfu/eslint-config": "^7.0.1",
|
|
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.1",
|
|
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",
|
|
@@ -18,12 +18,12 @@
|
|
|
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.
|
|
21
|
+
"@types/node": "^20.19.30",
|
|
22
22
|
"@types/react": "^19.2.8",
|
|
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,13 +50,13 @@
|
|
|
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",
|