scripting-cli 1.0.3 → 1.0.5
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/dist/build.js +67 -1
- package/dist/config/AppJsonPlugin.js +57 -26
- package/dist/config/webpack.config.js +85 -69
- package/dist/createApp.js +67 -27
- package/dist/index.js +0 -1
- package/dist/startDevServer.js +34 -18
- package/package.json +7 -3
- package/public/assets.d.ts +40 -0
- package/public/logo.svg +4 -0
- package/public/scripting.d.ts +598 -805
- package/src/build.ts +80 -1
- package/src/config/AppJsonPlugin.ts +80 -39
- package/src/config/webpack.config.ts +97 -69
- package/src/createApp.ts +97 -30
- package/src/index.ts +0 -1
- package/src/startDevServer.ts +28 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "scripting-cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "This plugin include all the commands for developing scripting-js apps.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -27,13 +27,17 @@
|
|
|
27
27
|
"homepage": "https://github.com/thomfang/scripting-cli#readme",
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"chalk": "^4.1.2",
|
|
30
|
+
"cross-zip": "^4.0.1",
|
|
30
31
|
"express": "^4.18.2",
|
|
31
32
|
"minimist": "^1.2.8",
|
|
33
|
+
"qrcode-terminal": "^0.12.0",
|
|
32
34
|
"socket.io": "^4.7.5",
|
|
33
35
|
"webpack": "^5.88.2"
|
|
34
36
|
},
|
|
35
37
|
"devDependencies": {
|
|
38
|
+
"@types/cross-zip": "^4.0.2",
|
|
36
39
|
"@types/express": "^4.17.21",
|
|
37
|
-
"@types/minimist": "^1.2.5"
|
|
40
|
+
"@types/minimist": "^1.2.5",
|
|
41
|
+
"@types/qrcode-terminal": "^0.12.2"
|
|
38
42
|
}
|
|
39
|
-
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
|
|
2
|
+
declare module '*.avif' {
|
|
3
|
+
const src: string;
|
|
4
|
+
export default src;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
declare module '*.bmp' {
|
|
8
|
+
const src: string;
|
|
9
|
+
export default src;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
declare module '*.gif' {
|
|
13
|
+
const src: string;
|
|
14
|
+
export default src;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
declare module '*.jpg' {
|
|
18
|
+
const src: string;
|
|
19
|
+
export default src;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
declare module '*.jpeg' {
|
|
23
|
+
const src: string;
|
|
24
|
+
export default src;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
declare module '*.png' {
|
|
28
|
+
const src: string;
|
|
29
|
+
export default src;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
declare module '*.webp' {
|
|
33
|
+
const src: string;
|
|
34
|
+
export default src;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
declare module '*.svg' {
|
|
38
|
+
const src: string;
|
|
39
|
+
export default src;
|
|
40
|
+
}
|
package/public/logo.svg
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="512" height="512" viewBox="0 0 512 512" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<rect width="512" height="512" fill="#1E1E1E"/>
|
|
3
|
+
<path d="M153.613 333L75 256L153.636 179H184.355L105.718 256L184.355 333H153.613ZM357.34 333H326.645L405.282 256L326.645 179H357.364L436 256L357.34 333ZM305.954 179L230.456 333H204.999L280.497 179H305.954Z" fill="white"/>
|
|
4
|
+
</svg>
|