@vue-skuilder/cli 0.1.32-e → 0.1.33-vite8-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/dist/commands/studio.js +4 -4
- package/dist/standalone-ui-template/package.json +3 -3
- package/dist/standalone-ui-template/vite.config.ts +6 -12
- package/dist/studio-ui-src/package.json +3 -3
- package/dist/studio-ui-src/vite.config.ts +4 -4
- package/dist/utils/template.js +1 -1
- package/package.json +11 -11
- package/src/commands/studio.ts +4 -4
- package/src/utils/template.ts +1 -1
package/dist/commands/studio.js
CHANGED
|
@@ -1047,13 +1047,13 @@ export default defineConfig({
|
|
|
1047
1047
|
target: 'es2020',
|
|
1048
1048
|
outDir: 'dist',
|
|
1049
1049
|
sourcemap: true,
|
|
1050
|
-
|
|
1050
|
+
rolldownOptions: {
|
|
1051
1051
|
// Don't externalize Vue for custom questions - bundle it in
|
|
1052
1052
|
external: [],
|
|
1053
1053
|
output: {
|
|
1054
|
-
manualChunks: {
|
|
1055
|
-
|
|
1056
|
-
vuetify
|
|
1054
|
+
manualChunks: (id) => {
|
|
1055
|
+
if (id.includes('vue') || id.includes('vue-router') || id.includes('pinia')) return 'vue';
|
|
1056
|
+
if (id.includes('vuetify')) return 'vuetify';
|
|
1057
1057
|
}
|
|
1058
1058
|
}
|
|
1059
1059
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "0.1.
|
|
6
|
+
"version": "0.1.33-vite8-4",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "./dist-lib/questions.cjs.js",
|
|
9
9
|
"module": "./dist-lib/questions.mjs",
|
|
@@ -50,10 +50,10 @@
|
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@types/cypress": "1.1.6",
|
|
52
52
|
"@types/events": "^3",
|
|
53
|
-
"@vitejs/plugin-vue": "^6.0.
|
|
53
|
+
"@vitejs/plugin-vue": "^6.0.5",
|
|
54
54
|
"cypress": "^15.6.0",
|
|
55
55
|
"typescript": "^5.9.3",
|
|
56
|
-
"vite": "^
|
|
56
|
+
"vite": "^8.0.0",
|
|
57
57
|
"vite-plugin-dts": "^4.3.0",
|
|
58
58
|
"vue-tsc": "^1.8.0",
|
|
59
59
|
"wait-on": "8.0.2"
|
|
@@ -44,20 +44,12 @@ export default defineConfig({
|
|
|
44
44
|
// Library build configuration
|
|
45
45
|
sourcemap: true,
|
|
46
46
|
target: 'es2020',
|
|
47
|
-
minify: 'terser',
|
|
48
|
-
terserOptions: {
|
|
49
|
-
keep_classnames: true,
|
|
50
|
-
keep_fnames: true,
|
|
51
|
-
mangle: {
|
|
52
|
-
properties: false,
|
|
53
|
-
},
|
|
54
|
-
},
|
|
55
47
|
lib: {
|
|
56
48
|
entry: resolve(__dirname, 'src/questions/index.ts'),
|
|
57
49
|
name: 'VueSkuilderStandaloneQuestions',
|
|
58
50
|
fileName: (format) => `questions.${format === 'es' ? 'mjs' : 'cjs.js'}`,
|
|
59
51
|
},
|
|
60
|
-
|
|
52
|
+
rolldownOptions: {
|
|
61
53
|
// External packages that shouldn't be bundled in library mode
|
|
62
54
|
// For studio integration, we bundle vue-skuilder packages to avoid npm resolution issues
|
|
63
55
|
external: [
|
|
@@ -77,6 +69,7 @@ export default defineConfig({
|
|
|
77
69
|
// '@vue-skuilder/db': 'VueSkuilderDB',
|
|
78
70
|
},
|
|
79
71
|
exports: 'named',
|
|
72
|
+
keepNames: true,
|
|
80
73
|
// Preserve CSS in the output bundle
|
|
81
74
|
assetFileNames: 'assets/[name].[ext]',
|
|
82
75
|
},
|
|
@@ -90,9 +83,10 @@ export default defineConfig({
|
|
|
90
83
|
// Webapp build configuration (existing)
|
|
91
84
|
sourcemap: true,
|
|
92
85
|
target: 'es2020',
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
86
|
+
rolldownOptions: {
|
|
87
|
+
output: {
|
|
88
|
+
keepNames: true,
|
|
89
|
+
},
|
|
96
90
|
},
|
|
97
91
|
// Standard webapp output directory
|
|
98
92
|
outDir: 'dist',
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "0.1.
|
|
6
|
+
"version": "0.1.33-vite8-4",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"scripts": {
|
|
9
9
|
"dev": "vite",
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
"vuetify": "^3.7.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@vitejs/plugin-vue": "^6.0.
|
|
29
|
+
"@vitejs/plugin-vue": "^6.0.5",
|
|
30
30
|
"eslint": "^9.30.1",
|
|
31
31
|
"typescript": "^5.9.3",
|
|
32
|
-
"vite": "^
|
|
32
|
+
"vite": "^8.0.0",
|
|
33
33
|
"vue-tsc": "^1.8.0"
|
|
34
34
|
},
|
|
35
35
|
"stableVersion": "0.1.31"
|
|
@@ -14,11 +14,11 @@ export default defineConfig({
|
|
|
14
14
|
target: 'es2020',
|
|
15
15
|
outDir: 'dist',
|
|
16
16
|
sourcemap: true,
|
|
17
|
-
|
|
17
|
+
rolldownOptions: {
|
|
18
18
|
output: {
|
|
19
|
-
manualChunks: {
|
|
20
|
-
|
|
21
|
-
vuetify
|
|
19
|
+
manualChunks: (id) => {
|
|
20
|
+
if (id.includes('vue') || id.includes('vue-router') || id.includes('pinia')) return 'vue';
|
|
21
|
+
if (id.includes('vuetify')) return 'vuetify';
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
}
|
package/dist/utils/template.js
CHANGED
|
@@ -170,7 +170,7 @@ export default defineConfig({
|
|
|
170
170
|
name: 'VueSkuilderStandaloneQuestions',
|
|
171
171
|
fileName: (format) => \`questions.\${format === 'es' ? 'mjs' : 'cjs.js'}\`,
|
|
172
172
|
},
|
|
173
|
-
|
|
173
|
+
rolldownOptions: {
|
|
174
174
|
// External packages that shouldn't be bundled in library mode
|
|
175
175
|
// For studio integration, we bundle vue-skuilder packages to avoid npm resolution issues
|
|
176
176
|
external: [
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "0.1.
|
|
6
|
+
"version": "0.1.33-vite8-4",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"description": "CLI scaffolding tool for vue-skuilder projects",
|
|
9
9
|
"bin": {
|
|
@@ -45,13 +45,13 @@
|
|
|
45
45
|
],
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@mdi/font": "^7.3.67",
|
|
48
|
-
"@vue-skuilder/common": "0.1.
|
|
49
|
-
"@vue-skuilder/common-ui": "0.1.
|
|
50
|
-
"@vue-skuilder/courseware": "0.1.
|
|
51
|
-
"@vue-skuilder/db": "0.1.
|
|
52
|
-
"@vue-skuilder/edit-ui": "0.1.
|
|
53
|
-
"@vue-skuilder/express": "0.1.
|
|
54
|
-
"@vue-skuilder/mcp": "0.1.
|
|
48
|
+
"@vue-skuilder/common": "0.1.33-vite8-4",
|
|
49
|
+
"@vue-skuilder/common-ui": "0.1.33-vite8-4",
|
|
50
|
+
"@vue-skuilder/courseware": "0.1.33-vite8-4",
|
|
51
|
+
"@vue-skuilder/db": "0.1.33-vite8-4",
|
|
52
|
+
"@vue-skuilder/edit-ui": "0.1.33-vite8-4",
|
|
53
|
+
"@vue-skuilder/express": "0.1.33-vite8-4",
|
|
54
|
+
"@vue-skuilder/mcp": "0.1.33-vite8-4",
|
|
55
55
|
"chalk": "^5.3.0",
|
|
56
56
|
"commander": "^11.0.0",
|
|
57
57
|
"fs-extra": "^11.2.0",
|
|
@@ -69,11 +69,11 @@
|
|
|
69
69
|
"@types/inquirer": "^9.0.0",
|
|
70
70
|
"@types/node": "^22",
|
|
71
71
|
"@types/serve-static": "^1.15.0",
|
|
72
|
-
"@vitejs/plugin-vue": "^6.0.
|
|
73
|
-
"@vue-skuilder/studio-ui": "0.1.
|
|
72
|
+
"@vitejs/plugin-vue": "^6.0.5",
|
|
73
|
+
"@vue-skuilder/studio-ui": "0.1.33-vite8-4",
|
|
74
74
|
"cypress": "^15.6.0",
|
|
75
75
|
"typescript": "~5.9.3",
|
|
76
|
-
"vite": "^
|
|
76
|
+
"vite": "^8.0.0",
|
|
77
77
|
"vue-tsc": "^1.8.0",
|
|
78
78
|
"wait-on": "8.0.2"
|
|
79
79
|
},
|
package/src/commands/studio.ts
CHANGED
|
@@ -1375,13 +1375,13 @@ export default defineConfig({
|
|
|
1375
1375
|
target: 'es2020',
|
|
1376
1376
|
outDir: 'dist',
|
|
1377
1377
|
sourcemap: true,
|
|
1378
|
-
|
|
1378
|
+
rolldownOptions: {
|
|
1379
1379
|
// Don't externalize Vue for custom questions - bundle it in
|
|
1380
1380
|
external: [],
|
|
1381
1381
|
output: {
|
|
1382
|
-
manualChunks: {
|
|
1383
|
-
|
|
1384
|
-
vuetify
|
|
1382
|
+
manualChunks: (id) => {
|
|
1383
|
+
if (id.includes('vue') || id.includes('vue-router') || id.includes('pinia')) return 'vue';
|
|
1384
|
+
if (id.includes('vuetify')) return 'vuetify';
|
|
1385
1385
|
}
|
|
1386
1386
|
}
|
|
1387
1387
|
}
|
package/src/utils/template.ts
CHANGED
|
@@ -202,7 +202,7 @@ export default defineConfig({
|
|
|
202
202
|
name: 'VueSkuilderStandaloneQuestions',
|
|
203
203
|
fileName: (format) => \`questions.\${format === 'es' ? 'mjs' : 'cjs.js'}\`,
|
|
204
204
|
},
|
|
205
|
-
|
|
205
|
+
rolldownOptions: {
|
|
206
206
|
// External packages that shouldn't be bundled in library mode
|
|
207
207
|
// For studio integration, we bundle vue-skuilder packages to avoid npm resolution issues
|
|
208
208
|
external: [
|