@tomjs/create-app 0.7.0 → 0.8.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 +1 -1
- package/README.zh_CN.md +1 -1
- package/package.json +7 -7
- package/template-electron-react/package.json +7 -7
- package/template-electron-vue/package.json +8 -8
- package/template-node/package.json +5 -5
- package/template-react/package.json +5 -5
- package/template-vscode-react/.vscode/launch.json +1 -1
- package/template-vscode-react/README.md +2 -2
- package/template-vscode-react/package.json +7 -7
- package/template-vscode-vue/.vscode/launch.json +1 -1
- package/template-vscode-vue/README.md +2 -2
- package/template-vscode-vue/package.json +8 -8
- package/template-vue/package.json +6 -6
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
**English** | [中文](./README.zh_CN.md)
|
|
6
6
|
|
|
7
|
-
> Create a web application based on [vite](https://github.com/vitejs/vite) + [tomjs](https://github.com/
|
|
7
|
+
> Create a web application based on [vite](https://github.com/vitejs/vite) + [tomjs](https://github.com/tomjs).
|
|
8
8
|
|
|
9
9
|
## Creating a Project
|
|
10
10
|
|
package/README.zh_CN.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
  
|
|
6
6
|
|
|
7
|
-
> 创建基于 [vite](https://github.com/vitejs/vite) + [tomjs](https://github.com/
|
|
7
|
+
> 创建基于 [vite](https://github.com/vitejs/vite) + [tomjs](https://github.com/tomjs) 的 web 应用。
|
|
8
8
|
|
|
9
9
|
## 创建项目
|
|
10
10
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tomjs/create-app",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "create tomjs web app",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"tomjs",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"repository": {
|
|
38
38
|
"type": "git",
|
|
39
|
-
"url": "git+https://github.com/
|
|
39
|
+
"url": "git+https://github.com/tomjs/create-app.git"
|
|
40
40
|
},
|
|
41
41
|
"publishConfig": {
|
|
42
42
|
"access": "public",
|
|
@@ -51,11 +51,11 @@
|
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@commitlint/cli": "^18.4.3",
|
|
54
|
-
"@tomjs/commitlint": "^2.
|
|
55
|
-
"@tomjs/eslint": "^1.1
|
|
56
|
-
"@tomjs/prettier": "^1.
|
|
57
|
-
"@tomjs/stylelint": "^2.
|
|
58
|
-
"@tomjs/tsconfig": "^1.1
|
|
54
|
+
"@tomjs/commitlint": "^2.1.1",
|
|
55
|
+
"@tomjs/eslint": "^1.2.1",
|
|
56
|
+
"@tomjs/prettier": "^1.1.1",
|
|
57
|
+
"@tomjs/stylelint": "^2.1.1",
|
|
58
|
+
"@tomjs/tsconfig": "^1.2.1",
|
|
59
59
|
"@types/lodash-es": "^4.17.12",
|
|
60
60
|
"@types/minimist": "^1.2.5",
|
|
61
61
|
"@types/node": "^18.19.3",
|
|
@@ -20,18 +20,18 @@
|
|
|
20
20
|
"prepare": "husky install"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@tomjs/electron-devtools-installer": "^2.0.
|
|
23
|
+
"@tomjs/electron-devtools-installer": "^2.0.6",
|
|
24
24
|
"react": "^18.2.0",
|
|
25
25
|
"react-dom": "^18.2.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@commitlint/cli": "^18.4.3",
|
|
29
|
-
"@tomjs/commitlint": "^2.
|
|
30
|
-
"@tomjs/eslint": "^1.1
|
|
31
|
-
"@tomjs/prettier": "^1.
|
|
32
|
-
"@tomjs/stylelint": "^2.
|
|
33
|
-
"@tomjs/tsconfig": "^1.1
|
|
34
|
-
"@tomjs/vite-plugin-electron": "^1.
|
|
29
|
+
"@tomjs/commitlint": "^2.1.1",
|
|
30
|
+
"@tomjs/eslint": "^1.2.1",
|
|
31
|
+
"@tomjs/prettier": "^1.1.1",
|
|
32
|
+
"@tomjs/stylelint": "^2.1.1",
|
|
33
|
+
"@tomjs/tsconfig": "^1.2.1",
|
|
34
|
+
"@tomjs/vite-plugin-electron": "^1.8.0",
|
|
35
35
|
"@types/node": "^18.19.3",
|
|
36
36
|
"@types/react": "^18.2.45",
|
|
37
37
|
"@types/react-dom": "^18.2.18",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"prepare": "husky install"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@tomjs/electron-devtools-installer": "^2.0.
|
|
24
|
-
"vue": "^3.3.
|
|
23
|
+
"@tomjs/electron-devtools-installer": "^2.0.6",
|
|
24
|
+
"vue": "^3.3.13"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@commitlint/cli": "^18.4.3",
|
|
28
|
-
"@tomjs/commitlint": "^2.
|
|
29
|
-
"@tomjs/eslint": "^1.1
|
|
30
|
-
"@tomjs/prettier": "^1.
|
|
31
|
-
"@tomjs/stylelint": "^2.
|
|
32
|
-
"@tomjs/tsconfig": "^1.1
|
|
33
|
-
"@tomjs/vite-plugin-electron": "^1.
|
|
28
|
+
"@tomjs/commitlint": "^2.1.1",
|
|
29
|
+
"@tomjs/eslint": "^1.2.1",
|
|
30
|
+
"@tomjs/prettier": "^1.1.1",
|
|
31
|
+
"@tomjs/stylelint": "^2.1.1",
|
|
32
|
+
"@tomjs/tsconfig": "^1.2.1",
|
|
33
|
+
"@tomjs/vite-plugin-electron": "^1.8.0",
|
|
34
34
|
"@types/node": "^18.19.3",
|
|
35
35
|
"@vitejs/plugin-vue": "^4.5.2",
|
|
36
36
|
"cross-env": "^7.0.3",
|
|
@@ -53,11 +53,11 @@
|
|
|
53
53
|
"@commitlint/cli": "^18.4.3",
|
|
54
54
|
"@jest/globals": "^29.7.0",
|
|
55
55
|
"@kayahr/jest-electron-runner": "^29.10.0",
|
|
56
|
-
"@tomjs/commitlint": "^2.
|
|
57
|
-
"@tomjs/eslint": "^1.1
|
|
58
|
-
"@tomjs/prettier": "^1.
|
|
59
|
-
"@tomjs/stylelint": "^2.
|
|
60
|
-
"@tomjs/tsconfig": "^1.1
|
|
56
|
+
"@tomjs/commitlint": "^2.1.1",
|
|
57
|
+
"@tomjs/eslint": "^1.2.1",
|
|
58
|
+
"@tomjs/prettier": "^1.1.1",
|
|
59
|
+
"@tomjs/stylelint": "^2.1.1",
|
|
60
|
+
"@tomjs/tsconfig": "^1.2.1",
|
|
61
61
|
"@types/jest": "^29.5.11",
|
|
62
62
|
"@types/node": "^18.19.3",
|
|
63
63
|
"cross-env": "^7.0.3",
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@commitlint/cli": "^18.4.3",
|
|
25
|
-
"@tomjs/commitlint": "^2.
|
|
26
|
-
"@tomjs/eslint": "^1.1
|
|
27
|
-
"@tomjs/prettier": "^1.
|
|
28
|
-
"@tomjs/stylelint": "^2.
|
|
29
|
-
"@tomjs/tsconfig": "^1.1
|
|
25
|
+
"@tomjs/commitlint": "^2.1.1",
|
|
26
|
+
"@tomjs/eslint": "^1.2.1",
|
|
27
|
+
"@tomjs/prettier": "^1.1.1",
|
|
28
|
+
"@tomjs/stylelint": "^2.1.1",
|
|
29
|
+
"@tomjs/tsconfig": "^1.2.1",
|
|
30
30
|
"@types/node": "^18.19.3",
|
|
31
31
|
"@types/react": "^18.2.45",
|
|
32
32
|
"@types/react-dom": "^18.2.18",
|
|
@@ -27,7 +27,7 @@ vite + extension + vue
|
|
|
27
27
|
|
|
28
28
|
## Debug
|
|
29
29
|
|
|
30
|
-
Run `
|
|
30
|
+
Run `Debug Extension` through `vscode` to debug. For debugging tools, refer to [Official Documentation](https://code.visualstudio.com/docs/editor/debugging)
|
|
31
31
|
|
|
32
32
|
`launch.json` is configured as follows:
|
|
33
33
|
|
|
@@ -36,7 +36,7 @@ Run `Run Extension` through `vscode` to debug. For debugging tools, refer to [Of
|
|
|
36
36
|
"version": "0.2.0",
|
|
37
37
|
"configurations": [
|
|
38
38
|
{
|
|
39
|
-
"name": "
|
|
39
|
+
"name": "Debug Extension",
|
|
40
40
|
"type": "extensionHost",
|
|
41
41
|
"request": "launch",
|
|
42
42
|
"args": ["--extensionDevelopmentPath=${workspaceFolder}"],
|
|
@@ -43,13 +43,13 @@
|
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@commitlint/cli": "^18.4.3",
|
|
46
|
-
"@tomjs/commitlint": "^2.
|
|
47
|
-
"@tomjs/eslint": "^1.1
|
|
48
|
-
"@tomjs/prettier": "^1.
|
|
49
|
-
"@tomjs/stylelint": "^2.
|
|
50
|
-
"@tomjs/tsconfig": "^1.1
|
|
51
|
-
"@tomjs/vite-plugin-vscode": "^1.
|
|
52
|
-
"@tomjs/vscode-extension-webview": "^1.0
|
|
46
|
+
"@tomjs/commitlint": "^2.1.1",
|
|
47
|
+
"@tomjs/eslint": "^1.2.1",
|
|
48
|
+
"@tomjs/prettier": "^1.1.1",
|
|
49
|
+
"@tomjs/stylelint": "^2.1.1",
|
|
50
|
+
"@tomjs/tsconfig": "^1.2.1",
|
|
51
|
+
"@tomjs/vite-plugin-vscode": "^1.1.0",
|
|
52
|
+
"@tomjs/vscode-extension-webview": "^1.1.0",
|
|
53
53
|
"@types/node": "^18.19.3",
|
|
54
54
|
"@types/react": "^18.2.45",
|
|
55
55
|
"@types/react-dom": "^18.2.18",
|
|
@@ -27,7 +27,7 @@ vite + extension + vue
|
|
|
27
27
|
|
|
28
28
|
## Debug
|
|
29
29
|
|
|
30
|
-
Run `
|
|
30
|
+
Run `Debug Extension` through `vscode` to debug. For debugging tools, refer to [Official Documentation](https://code.visualstudio.com/docs/editor/debugging)
|
|
31
31
|
|
|
32
32
|
`launch.json` is configured as follows:
|
|
33
33
|
|
|
@@ -36,7 +36,7 @@ Run `Run Extension` through `vscode` to debug. For debugging tools, refer to [Of
|
|
|
36
36
|
"version": "0.2.0",
|
|
37
37
|
"configurations": [
|
|
38
38
|
{
|
|
39
|
-
"name": "
|
|
39
|
+
"name": "Debug Extension",
|
|
40
40
|
"type": "extensionHost",
|
|
41
41
|
"request": "launch",
|
|
42
42
|
"args": ["--extensionDevelopmentPath=${workspaceFolder}"],
|
|
@@ -38,17 +38,17 @@
|
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@vscode/webview-ui-toolkit": "^1.4.0",
|
|
41
|
-
"vue": "^3.3.
|
|
41
|
+
"vue": "^3.3.13"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@commitlint/cli": "^18.4.3",
|
|
45
|
-
"@tomjs/commitlint": "^2.
|
|
46
|
-
"@tomjs/eslint": "^1.1
|
|
47
|
-
"@tomjs/prettier": "^1.
|
|
48
|
-
"@tomjs/stylelint": "^2.
|
|
49
|
-
"@tomjs/tsconfig": "^1.1
|
|
50
|
-
"@tomjs/vite-plugin-vscode": "^1.
|
|
51
|
-
"@tomjs/vscode-extension-webview": "^1.0
|
|
45
|
+
"@tomjs/commitlint": "^2.1.1",
|
|
46
|
+
"@tomjs/eslint": "^1.2.1",
|
|
47
|
+
"@tomjs/prettier": "^1.1.1",
|
|
48
|
+
"@tomjs/stylelint": "^2.1.1",
|
|
49
|
+
"@tomjs/tsconfig": "^1.2.1",
|
|
50
|
+
"@tomjs/vite-plugin-vscode": "^1.1.0",
|
|
51
|
+
"@tomjs/vscode-extension-webview": "^1.1.0",
|
|
52
52
|
"@types/node": "^18.19.3",
|
|
53
53
|
"@types/vscode": "^1.85.0",
|
|
54
54
|
"@types/vscode-webview": "^1.57.4",
|
|
@@ -17,15 +17,15 @@
|
|
|
17
17
|
"prepare": "husky install"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"vue": "^3.3.
|
|
20
|
+
"vue": "^3.3.13"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@commitlint/cli": "^18.4.3",
|
|
24
|
-
"@tomjs/commitlint": "^2.
|
|
25
|
-
"@tomjs/eslint": "^1.1
|
|
26
|
-
"@tomjs/prettier": "^1.
|
|
27
|
-
"@tomjs/stylelint": "^2.
|
|
28
|
-
"@tomjs/tsconfig": "^1.1
|
|
24
|
+
"@tomjs/commitlint": "^2.1.1",
|
|
25
|
+
"@tomjs/eslint": "^1.2.1",
|
|
26
|
+
"@tomjs/prettier": "^1.1.1",
|
|
27
|
+
"@tomjs/stylelint": "^2.1.1",
|
|
28
|
+
"@tomjs/tsconfig": "^1.2.1",
|
|
29
29
|
"@types/node": "^18.19.3",
|
|
30
30
|
"@vitejs/plugin-vue": "^4.5.2",
|
|
31
31
|
"cross-env": "^7.0.3",
|