create-quasar 2.0.10 → 2.0.11

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.
Files changed (23) hide show
  1. package/package.json +2 -2
  2. package/scripts/create-test-project.ts +6 -0
  3. package/templates/app/quasar-v2/js-vite-2/BASE/_package.json +3 -2
  4. package/templates/app/quasar-v2/js-vite-2/BASE/_pnpm-workspace.yaml +2 -0
  5. package/templates/app/quasar-v2/js-vite-2/BASE/quasar.config.js +1 -1
  6. package/templates/app/quasar-v2/js-webpack-4/BASE/_package.json +3 -2
  7. package/templates/app/quasar-v2/js-webpack-4/BASE/_pnpm-workspace.yaml +2 -0
  8. package/templates/app/quasar-v2/js-webpack-4/BASE/quasar.config.js +1 -1
  9. package/templates/app/quasar-v2/ts-vite-2/BASE/_package.json +3 -2
  10. package/templates/app/quasar-v2/ts-vite-2/BASE/_pnpm-workspace.yaml +2 -0
  11. package/templates/app/quasar-v2/ts-vite-2/BASE/quasar.config.ts +1 -1
  12. package/templates/app/quasar-v2/ts-webpack-4/BASE/_package.json +3 -2
  13. package/templates/app/quasar-v2/ts-webpack-4/BASE/_pnpm-workspace.yaml +2 -0
  14. package/templates/app/quasar-v2/ts-webpack-4/BASE/quasar.config.ts +1 -1
  15. package/templates/app-extension/ae-ts/BASE/playground/quasar-cli-vite/_package.json +1 -1
  16. package/templates/app-extension/ae-ts/BASE/playground/quasar-cli-vite/quasar.config.ts +1 -1
  17. package/templates/app-extension/ae-ts/BASE/playground/quasar-cli-webpack/_package.json +1 -1
  18. package/templates/app-extension/ae-ts/BASE/playground/quasar-cli-webpack/quasar.config.ts +1 -1
  19. package/templates/ui-kit/quasar-v2/BASE/ui/_package.json +1 -1
  20. package/templates/app/quasar-v2/js-vite-2/BASE/_.npmrc +0 -5
  21. package/templates/app/quasar-v2/js-webpack-4/BASE/_.npmrc +0 -5
  22. package/templates/app/quasar-v2/ts-vite-2/BASE/_.npmrc +0 -5
  23. package/templates/app/quasar-v2/ts-webpack-4/BASE/_.npmrc +0 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-quasar",
3
- "version": "2.0.10",
3
+ "version": "2.0.11",
4
4
  "description": "Scaffolds Quasar Apps, AppExtensions or UI kits",
5
5
  "type": "module",
6
6
  "author": {
@@ -44,7 +44,7 @@
44
44
  "typescript": "^5.6.2"
45
45
  },
46
46
  "scripts": {
47
- "lint": "eslint --flag unstable_config_lookup_from_file --fix",
47
+ "lint": "eslint --flag v10_config_lookup_from_file --fix",
48
48
  "create-test-project": "tsx scripts/create-test-project.ts"
49
49
  }
50
50
  }
@@ -41,6 +41,12 @@ export async function createProject({ scriptType, appEngine, packageManager }: C
41
41
  packageManager,
42
42
  });
43
43
 
44
+ // We are overriding .override() as every call overrides the previous overrides (too many overrides :D)
45
+ // This way, we guarantee that even if we call prompts.override() in create-quasar code, our values remain
46
+ prompts.override = () => {};
47
+ // Remove all extra arguments to avoid interfering with the index.js script
48
+ process.argv = process.argv.slice(0, 2);
49
+
44
50
  await import('../index.js');
45
51
  }
46
52
 
@@ -21,7 +21,7 @@
21
21
  "@quasar/extras": "^1.16.4",
22
22
  "quasar": "^2.16.0",
23
23
  "vue": "^3.5.22",
24
- "vue-router": "^4.0.0"
24
+ "vue-router": "^5.0.0"
25
25
  },
26
26
  "devDependencies": {
27
27
  <% if (preset.i18n) { %>"@intlify/unplugin-vue-i18n": "^4.0.0",<% } %>
@@ -44,6 +44,7 @@
44
44
  "engines": {
45
45
  "node": "^28 || ^26 || ^24 || ^22 || ^20",
46
46
  "npm": ">= 6.13.4",
47
- "yarn": ">= 1.21.1"
47
+ "yarn": ">= 1.21.1",
48
+ "pnpm": ">= 10.0.0"
48
49
  }
49
50
  }
@@ -0,0 +1,2 @@
1
+ # https://pnpm.io/settings
2
+ shamefullyHoist: true
@@ -206,7 +206,7 @@ export default defineConfig((<% if (preset.i18n) { %>ctx<% } else { %>/* ctx */<
206
206
  },
207
207
 
208
208
  builder: {
209
- // https://www.electron.build/configuration/configuration
209
+ // https://www.electron.build/configuration
210
210
 
211
211
  appId: '<%= name %>'
212
212
  }
@@ -22,7 +22,7 @@
22
22
  "core-js": "^3.31.1",
23
23
  "quasar": "^2.16.0",
24
24
  "vue": "^3.5.22",
25
- "vue-router": "^4.0.12"
25
+ "vue-router": "^5.0.0"
26
26
  },
27
27
  "devDependencies": {
28
28
  <% if (preset.eslint) { %>
@@ -54,6 +54,7 @@
54
54
  "engines": {
55
55
  "node": "^28 || ^26 || ^24 || ^22 || ^20 || ^18",
56
56
  "npm": ">= 6.13.4",
57
- "yarn": ">= 1.21.1"
57
+ "yarn": ">= 1.21.1",
58
+ "pnpm": ">= 10.0.0"
58
59
  }
59
60
  }
@@ -0,0 +1,2 @@
1
+ # https://pnpm.io/settings
2
+ shamefullyHoist: true
@@ -196,7 +196,7 @@ export default defineConfig((ctx) => {
196
196
  },
197
197
 
198
198
  builder: {
199
- // https://www.electron.build/configuration/configuration
199
+ // https://www.electron.build/configuration
200
200
 
201
201
  appId: '<%= name %>'
202
202
  }
@@ -21,7 +21,7 @@
21
21
  "@quasar/extras": "^1.16.4",
22
22
  "quasar": "^2.16.0",
23
23
  "vue": "^3.5.22",
24
- "vue-router": "^4.0.12"
24
+ "vue-router": "^5.0.0"
25
25
  },
26
26
  "devDependencies": {
27
27
  <% if (preset.eslint) { %>
@@ -47,6 +47,7 @@
47
47
  "engines": {
48
48
  "node": "^28 || ^26 || ^24 || ^22 || ^20",
49
49
  "npm": ">= 6.13.4",
50
- "yarn": ">= 1.21.1"
50
+ "yarn": ">= 1.21.1",
51
+ "pnpm": ">= 10.0.0"
51
52
  }
52
53
  }
@@ -0,0 +1,2 @@
1
+ # https://pnpm.io/settings
2
+ shamefullyHoist: true
@@ -213,7 +213,7 @@ export default defineConfig((<% if (preset.i18n) { %>ctx<% } else { %>/* ctx */<
213
213
  },
214
214
 
215
215
  builder: {
216
- // https://www.electron.build/configuration/configuration
216
+ // https://www.electron.build/configuration
217
217
 
218
218
  appId: '<%= name %>'
219
219
  }
@@ -22,7 +22,7 @@
22
22
  "core-js": "^3.6.5",
23
23
  "quasar": "^2.16.0",
24
24
  "vue": "^3.5.22",
25
- "vue-router": "^4.0.0"
25
+ "vue-router": "^5.0.0"
26
26
  },
27
27
  "devDependencies": {
28
28
  <% if (preset.eslint) { %>
@@ -58,6 +58,7 @@
58
58
  "engines": {
59
59
  "node": "^28 || ^26 || ^24 || ^22 || ^20 || ^18",
60
60
  "npm": ">= 6.13.4",
61
- "yarn": ">= 1.21.1"
61
+ "yarn": ">= 1.21.1",
62
+ "pnpm": ">= 10.0.0"
62
63
  }
63
64
  }
@@ -0,0 +1,2 @@
1
+ # https://pnpm.io/settings
2
+ shamefullyHoist: true
@@ -205,7 +205,7 @@ export default defineConfig((/* ctx */) => {
205
205
  },
206
206
 
207
207
  builder: {
208
- // https://www.electron.build/configuration/configuration
208
+ // https://www.electron.build/configuration
209
209
 
210
210
  appId: '<%= name %>'
211
211
  }
@@ -16,7 +16,7 @@
16
16
  "@quasar/extras": "^1.16.12",
17
17
  "quasar": "^2.16.7",
18
18
  "vue": "^3.4.36",
19
- "vue-router": "^4.4.3",
19
+ "vue-router": "^5.0.0",
20
20
  "<%= pkgName %>": <% if (!packageManager || ['pnpm', 'bun'].includes(packageManager.name)) { %>"workspace:*"<% } else { %>"*"<% } %>
21
21
  },
22
22
  "devDependencies": {
@@ -179,7 +179,7 @@ export default defineConfig((/* ctx */) => {
179
179
  },
180
180
 
181
181
  builder: {
182
- // https://www.electron.build/configuration/configuration
182
+ // https://www.electron.build/configuration
183
183
 
184
184
  appId: 'playground',
185
185
  },
@@ -16,7 +16,7 @@
16
16
  "core-js": "^3.38.0",
17
17
  "quasar": "^2.16.7",
18
18
  "vue": "^3.4.36",
19
- "vue-router": "^4.4.3",
19
+ "vue-router": "^5.0.0",
20
20
  "<%= pkgName %>": <% if (!packageManager || ['pnpm', 'bun'].includes(packageManager?.name)) { %>"workspace:*"<% } else { %>"*"<% } %>
21
21
  },
22
22
  "devDependencies": {
@@ -190,7 +190,7 @@ export default defineConfig((/* ctx */) => {
190
190
  },
191
191
 
192
192
  builder: {
193
- // https://www.electron.build/configuration/configuration
193
+ // https://www.electron.build/configuration
194
194
 
195
195
  appId: 'quasar-cli-webpack',
196
196
  },
@@ -38,7 +38,7 @@
38
38
  "@rollup/plugin-replace": "^2.4.2",
39
39
  "uglify-js": "^3.13.3",
40
40
  "vue": "^3.0.0",
41
- "vue-router": "^4.0.0",
41
+ "vue-router": "^5.0.0",
42
42
  "zlib": "^1.0.5"
43
43
  },
44
44
  "browserslist": [
@@ -1,5 +0,0 @@
1
- # pnpm-related options
2
- shamefully-hoist=true
3
- strict-peer-dependencies=false
4
- # to get the latest compatible packages when creating the project https://github.com/pnpm/pnpm/issues/6463
5
- resolution-mode=highest
@@ -1,5 +0,0 @@
1
- # pnpm-related options
2
- shamefully-hoist=true
3
- strict-peer-dependencies=false
4
- # to get the latest compatible packages when creating the project https://github.com/pnpm/pnpm/issues/6463
5
- resolution-mode=highest
@@ -1,5 +0,0 @@
1
- # pnpm-related options
2
- shamefully-hoist=true
3
- strict-peer-dependencies=false
4
- # to get the latest compatible packages when creating the project https://github.com/pnpm/pnpm/issues/6463
5
- resolution-mode=highest
@@ -1,5 +0,0 @@
1
- # pnpm-related options
2
- shamefully-hoist=true
3
- strict-peer-dependencies=false
4
- # to get the latest compatible packages when creating the project https://github.com/pnpm/pnpm/issues/6463
5
- resolution-mode=highest