@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tomjs/create-app",
3
- "version": "0.11.3",
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.6",
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.6",
36
- "@types/react": "^18.2.47",
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",
@@ -31,7 +31,7 @@
31
31
  "@tomjs/stylelint": "^2.2.0",
32
32
  "@tomjs/tsconfig": "^1.3.0",
33
33
  "@tomjs/vite-plugin-electron": "^1.8.2",
34
- "@types/node": "^18.19.6",
34
+ "@types/node": "^18.19.7",
35
35
  "@vitejs/plugin-vue": "^5.0.3",
36
36
  "cross-env": "^7.0.3",
37
37
  "electron": "^28.1.3",
@@ -59,7 +59,7 @@
59
59
  "@tomjs/stylelint": "^2.2.0",
60
60
  "@tomjs/tsconfig": "^1.3.0",
61
61
  "@types/jest": "^29.5.11",
62
- "@types/node": "^18.19.6",
62
+ "@types/node": "^18.19.7",
63
63
  "cross-env": "^7.0.3",
64
64
  "electron": "^28.1.3",
65
65
  "eslint": "^8.56.0",
@@ -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.6",
31
- "@types/react": "^18.2.47",
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",
@@ -48,7 +48,7 @@
48
48
  "@tomjs/eslint": "^1.2.2",
49
49
  "@tomjs/prettier": "^1.1.1",
50
50
  "@tomjs/tsconfig": "^1.3.0",
51
- "@types/node": "^18.19.6",
51
+ "@types/node": "^18.19.7",
52
52
  "@types/vscode": "^1.56.0",
53
53
  "eslint": "^8.56.0",
54
54
  "husky": "^8.0.3",
@@ -1,5 +1,5 @@
1
1
  import { Disposable, Uri, ViewColumn, Webview, WebviewPanel, window } from 'vscode';
2
- // import __getWebviewHtml from '@tomjs/vscode-extension-webview';
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
- // @ts-ignore
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.3.2",
57
+ "@tomjs/vite-plugin-vscode": "^1.4.0",
58
58
  "@tomjs/vscode-extension-webview": "^1.2.0",
59
- "@types/node": "^18.19.6",
60
- "@types/react": "^18.2.47",
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 __getWebviewHtml from '@tomjs/vscode-extension-webview';
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
- // @ts-ignore
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.3.2",
55
+ "@tomjs/vite-plugin-vscode": "^1.4.0",
56
56
  "@tomjs/vscode-extension-webview": "^1.2.0",
57
- "@types/node": "^18.19.6",
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",
@@ -26,7 +26,7 @@
26
26
  "@tomjs/prettier": "^1.1.1",
27
27
  "@tomjs/stylelint": "^2.2.0",
28
28
  "@tomjs/tsconfig": "^1.3.0",
29
- "@types/node": "^18.19.6",
29
+ "@types/node": "^18.19.7",
30
30
  "@vitejs/plugin-vue": "^5.0.3",
31
31
  "cross-env": "^7.0.3",
32
32
  "eslint": "^8.56.0",