@tomjs/create-app 0.11.3 → 0.11.4
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/package.json +2 -2
- package/template-electron-react/package.json +2 -2
- package/template-electron-vue/package.json +1 -1
- package/template-node/package.json +1 -1
- package/template-react/package.json +2 -2
- package/template-vscode/package.json +1 -1
- package/template-vscode-react/extension/panels/MainPanel.ts +2 -3
- package/template-vscode-react/package.json +3 -3
- package/template-vscode-vue/extension/panels/MainPanel.ts +2 -3
- package/template-vscode-vue/package.json +2 -2
- package/template-vue/package.json +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tomjs/create-app",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.4",
|
|
4
4
|
"description": "create tomjs web app",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"tomjs",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"@tomjs/tsconfig": "^1.3.0",
|
|
59
59
|
"@types/lodash-es": "^4.17.12",
|
|
60
60
|
"@types/minimist": "^1.2.5",
|
|
61
|
-
"@types/node": "^18.19.
|
|
61
|
+
"@types/node": "^18.19.7",
|
|
62
62
|
"@types/prompts": "^2.4.9",
|
|
63
63
|
"@types/shelljs": "^0.8.15",
|
|
64
64
|
"cross-env": "^7.0.3",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"@tomjs/stylelint": "^2.2.0",
|
|
33
33
|
"@tomjs/tsconfig": "^1.3.0",
|
|
34
34
|
"@tomjs/vite-plugin-electron": "^1.8.2",
|
|
35
|
-
"@types/node": "^18.19.
|
|
36
|
-
"@types/react": "^18.2.
|
|
35
|
+
"@types/node": "^18.19.7",
|
|
36
|
+
"@types/react": "^18.2.48",
|
|
37
37
|
"@types/react-dom": "^18.2.18",
|
|
38
38
|
"@vitejs/plugin-react-swc": "^3.5.0",
|
|
39
39
|
"cross-env": "^7.0.3",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"@tomjs/prettier": "^1.1.1",
|
|
28
28
|
"@tomjs/stylelint": "^2.2.0",
|
|
29
29
|
"@tomjs/tsconfig": "^1.3.0",
|
|
30
|
-
"@types/node": "^18.19.
|
|
31
|
-
"@types/react": "^18.2.
|
|
30
|
+
"@types/node": "^18.19.7",
|
|
31
|
+
"@types/react": "^18.2.48",
|
|
32
32
|
"@types/react-dom": "^18.2.18",
|
|
33
33
|
"@vitejs/plugin-react-swc": "^3.5.0",
|
|
34
34
|
"cross-env": "^7.0.3",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Disposable, Uri, ViewColumn, Webview, WebviewPanel, window } from 'vscode';
|
|
2
|
-
// import
|
|
2
|
+
// import __getWebviewHtml__ from '@tomjs/vscode-extension-webview';
|
|
3
3
|
|
|
4
4
|
function uuid() {
|
|
5
5
|
let text = '';
|
|
@@ -119,8 +119,7 @@ export class MainPanel {
|
|
|
119
119
|
const nonce = uuid();
|
|
120
120
|
|
|
121
121
|
if (process.env.VITE_DEV_SERVER_URL) {
|
|
122
|
-
|
|
123
|
-
return __getWebviewHtml({ serverUrl: process.env.VITE_DEV_SERVER_URL });
|
|
122
|
+
return __getWebviewHtml__(process.env.VITE_DEV_SERVER_URL);
|
|
124
123
|
}
|
|
125
124
|
|
|
126
125
|
// Tip: Install the es6-string-html VS Code extension to enable code highlighting below
|
|
@@ -54,10 +54,10 @@
|
|
|
54
54
|
"@tomjs/prettier": "^1.1.1",
|
|
55
55
|
"@tomjs/stylelint": "^2.2.0",
|
|
56
56
|
"@tomjs/tsconfig": "^1.3.0",
|
|
57
|
-
"@tomjs/vite-plugin-vscode": "^1.
|
|
57
|
+
"@tomjs/vite-plugin-vscode": "^1.4.0",
|
|
58
58
|
"@tomjs/vscode-extension-webview": "^1.2.0",
|
|
59
|
-
"@types/node": "^18.19.
|
|
60
|
-
"@types/react": "^18.2.
|
|
59
|
+
"@types/node": "^18.19.7",
|
|
60
|
+
"@types/react": "^18.2.48",
|
|
61
61
|
"@types/react-dom": "^18.2.18",
|
|
62
62
|
"@types/vscode": "^1.56.0",
|
|
63
63
|
"@types/vscode-webview": "^1.57.4",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Disposable, Uri, ViewColumn, Webview, WebviewPanel, window } from 'vscode';
|
|
2
|
-
// import
|
|
2
|
+
// import __getWebviewHtml__ from '@tomjs/vscode-extension-webview';
|
|
3
3
|
|
|
4
4
|
function uuid() {
|
|
5
5
|
let text = '';
|
|
@@ -119,8 +119,7 @@ export class MainPanel {
|
|
|
119
119
|
const nonce = uuid();
|
|
120
120
|
|
|
121
121
|
if (process.env.VITE_DEV_SERVER_URL) {
|
|
122
|
-
|
|
123
|
-
return __getWebviewHtml({ serverUrl: process.env.VITE_DEV_SERVER_URL });
|
|
122
|
+
return __getWebviewHtml__(process.env.VITE_DEV_SERVER_URL);
|
|
124
123
|
}
|
|
125
124
|
|
|
126
125
|
// Tip: Install the es6-string-html VS Code extension to enable code highlighting below
|
|
@@ -52,9 +52,9 @@
|
|
|
52
52
|
"@tomjs/prettier": "^1.1.1",
|
|
53
53
|
"@tomjs/stylelint": "^2.2.0",
|
|
54
54
|
"@tomjs/tsconfig": "^1.3.0",
|
|
55
|
-
"@tomjs/vite-plugin-vscode": "^1.
|
|
55
|
+
"@tomjs/vite-plugin-vscode": "^1.4.0",
|
|
56
56
|
"@tomjs/vscode-extension-webview": "^1.2.0",
|
|
57
|
-
"@types/node": "^18.19.
|
|
57
|
+
"@types/node": "^18.19.7",
|
|
58
58
|
"@types/vscode": "^1.56.0",
|
|
59
59
|
"@types/vscode-webview": "^1.57.4",
|
|
60
60
|
"@vitejs/plugin-vue": "^5.0.3",
|