create-quasar 1.4.1 → 1.4.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/index.js CHANGED
@@ -90,6 +90,7 @@ async function run () {
90
90
  { title: 'Yes, use Yarn (recommended)', value: 'yarn' },
91
91
  { title: 'Yes, use NPM', value: 'npm' },
92
92
  { title: 'Yes, use PNPM (experimental support)', value: 'pnpm' },
93
+ { title: 'Yes, use Bun (experimental support)', value: 'bun' },
93
94
  { title: 'No, I will handle that myself', value: false }
94
95
  ]
95
96
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-quasar",
3
- "version": "1.4.1",
3
+ "version": "1.4.4",
4
4
  "description": "Scaffolds Quasar Apps, AppExtensions or UI kits",
5
5
  "author": {
6
6
  "name": "Razvan Stoenescu",
@@ -24,12 +24,12 @@ module.exports = configure(function (/* ctx */) {
24
24
  errors: true
25
25
  },<% } %>
26
26
 
27
- // https://v2.quasar.dev/quasar-cli/prefetch-feature
27
+ // https://v2.quasar.dev/quasar-cli-vite/prefetch-feature
28
28
  // preFetch: true,
29
29
 
30
30
  // app boot file (/src/boot)
31
31
  // --> boot files are part of "main.js"
32
- // https://v2.quasar.dev/quasar-cli/boot-files
32
+ // https://v2.quasar.dev/quasar-cli-vite/boot-files
33
33
  boot: [
34
34
  <% if (preset.i18n) { %>'i18n',<% } %>
35
35
  <% if (preset.axios) { %>'axios',<% } %>
@@ -138,7 +138,7 @@ module.exports = configure(function (/* ctx */) {
138
138
  // electronPreload: 'src-electron/electron-preload'
139
139
  // },
140
140
 
141
- // https://v2.quasar.dev/quasar-cli/developing-ssr/configuring-ssr
141
+ // https://v2.quasar.dev/quasar-cli-vite/developing-ssr/configuring-ssr
142
142
  ssr: {
143
143
  // ssrPwaHtmlFilename: 'offline.html', // do NOT use index.html as name!
144
144
  // will mess up SSR
@@ -159,7 +159,7 @@ module.exports = configure(function (/* ctx */) {
159
159
  ]
160
160
  },
161
161
 
162
- // https://v2.quasar.dev/quasar-cli/developing-pwa/configuring-pwa
162
+ // https://v2.quasar.dev/quasar-cli-vite/developing-pwa/configuring-pwa
163
163
  pwa: {
164
164
  workboxMode: 'generateSW', // or 'injectManifest'
165
165
  injectPwaMetaTags: true,
@@ -173,17 +173,17 @@ module.exports = configure(function (/* ctx */) {
173
173
  // extendPWACustomSWConf (esbuildConf) {}
174
174
  },
175
175
 
176
- // Full list of options: https://v2.quasar.dev/quasar-cli/developing-cordova-apps/configuring-cordova
176
+ // Full list of options: https://v2.quasar.dev/quasar-cli-vite/developing-cordova-apps/configuring-cordova
177
177
  cordova: {
178
178
  // noIosLegacyBuildFlag: true, // uncomment only if you know what you are doing
179
179
  },
180
180
 
181
- // Full list of options: https://v2.quasar.dev/quasar-cli/developing-capacitor-apps/configuring-capacitor
181
+ // Full list of options: https://v2.quasar.dev/quasar-cli-vite/developing-capacitor-apps/configuring-capacitor
182
182
  capacitor: {
183
183
  hideSplashscreen: true
184
184
  },
185
185
 
186
- // Full list of options: https://v2.quasar.dev/quasar-cli/developing-electron-apps/configuring-electron
186
+ // Full list of options: https://v2.quasar.dev/quasar-cli-vite/developing-electron-apps/configuring-electron
187
187
  electron: {
188
188
  // extendElectronMainConf (esbuildConf)
189
189
  // extendElectronPreloadConf (esbuildConf)
@@ -20,12 +20,12 @@ export default configure((/* ctx */) => {
20
20
  errors: true
21
21
  },<% } %>
22
22
 
23
- // https://v2.quasar.dev/quasar-cli/prefetch-feature
23
+ // https://v2.quasar.dev/quasar-cli-vite/prefetch-feature
24
24
  // preFetch: true,
25
25
 
26
26
  // app boot file (/src/boot)
27
27
  // --> boot files are part of "main.js"
28
- // https://v2.quasar.dev/quasar-cli/boot-files
28
+ // https://v2.quasar.dev/quasar-cli-vite/boot-files
29
29
  boot: [
30
30
  <% if (preset.i18n) { %>'i18n',<% } %>
31
31
  <% if (preset.axios) { %>'axios',<% } %>
@@ -135,7 +135,7 @@ export default configure((/* ctx */) => {
135
135
  // bexManifestFile: 'src-bex/manifest.json
136
136
  // },
137
137
 
138
- // https://v2.quasar.dev/quasar-cli/developing-ssr/configuring-ssr
138
+ // https://v2.quasar.dev/quasar-cli-vite/developing-ssr/configuring-ssr
139
139
  ssr: {
140
140
  prodPort: 3000, // The default port that the production server should use
141
141
  // (gets superseded if process.env.PORT is specified at runtime)
@@ -161,7 +161,7 @@ export default configure((/* ctx */) => {
161
161
  // pwaExtendInjectManifestOptions (cfg) {}
162
162
  },
163
163
 
164
- // https://v2.quasar.dev/quasar-cli/developing-pwa/configuring-pwa
164
+ // https://v2.quasar.dev/quasar-cli-vite/developing-pwa/configuring-pwa
165
165
  pwa: {
166
166
  workboxMode: 'GenerateSW' // 'GenerateSW' or 'InjectManifest'
167
167
  // swFilename: 'sw.js',
@@ -174,17 +174,17 @@ export default configure((/* ctx */) => {
174
174
  // extendInjectManifestOptions (cfg) {}
175
175
  },
176
176
 
177
- // Full list of options: https://v2.quasar.dev/quasar-cli/developing-cordova-apps/configuring-cordova
177
+ // Full list of options: https://v2.quasar.dev/quasar-cli-vite/developing-cordova-apps/configuring-cordova
178
178
  cordova: {
179
179
  // noIosLegacyBuildFlag: true, // uncomment only if you know what you are doing
180
180
  },
181
181
 
182
- // Full list of options: https://v2.quasar.dev/quasar-cli/developing-capacitor-apps/configuring-capacitor
182
+ // Full list of options: https://v2.quasar.dev/quasar-cli-vite/developing-capacitor-apps/configuring-capacitor
183
183
  capacitor: {
184
184
  hideSplashscreen: true
185
185
  },
186
186
 
187
- // Full list of options: https://v2.quasar.dev/quasar-cli/developing-electron-apps/configuring-electron
187
+ // Full list of options: https://v2.quasar.dev/quasar-cli-vite/developing-electron-apps/configuring-electron
188
188
  electron: {
189
189
  // extendElectronMainConf (esbuildConf) {},
190
190
  // extendElectronPreloadConf (esbuildConf) {},
@@ -44,6 +44,7 @@
44
44
  "eslint-config-prettier": "^9.0.0",
45
45
  "prettier": "^3.0.3",
46
46
  <% } } %>
47
+ "@types/node": "^20.5.9",
47
48
  "@quasar/app-webpack": "^4.0.0-alpha.0",
48
49
  "ts-loader": "^9.4.2",
49
50
  "typescript": "^5.2.2"
@@ -3,7 +3,6 @@
3
3
  * (runs on each dev/build)
4
4
  *
5
5
  * Docs: https://quasar.dev/app-extensions/development-guide/index-api
6
- * API: https://github.com/quasarframework/quasar/blob/master/app/lib/app-extension/IndexAPI.js
7
6
  */
8
7
 
9
8
  <%= codeFormat === 'esm' ? 'export default' : 'module.exports =' %> function (api) {
@@ -25,7 +25,7 @@ module.exports = async function ({ scope, utils }) {
25
25
  {
26
26
  type: 'select',
27
27
  name: 'codeFormat',
28
- message: 'Pick AE format:',
28
+ message: 'Pick AE code format:',
29
29
  initial: 0,
30
30
  choices: [
31
31
  { title: 'ESM (q/app-vite >= 1.5, q/app-webpack >= 3.10)', value: 'esm', description: 'recommended' },
@@ -2,7 +2,6 @@
2
2
  * Quasar App Extension install script
3
3
  *
4
4
  * Docs: https://quasar.dev/app-extensions/development-guide/install-api
5
- * API: https://github.com/quasarframework/quasar/blob/master/app/lib/app-extension/InstallAPI.js
6
5
  */
7
6
 
8
7
  <%= codeFormat === 'esm' ? 'export default' : 'module.exports =' %> function (api) {
@@ -39,6 +39,6 @@
39
39
 
40
40
  */
41
41
 
42
- <%= codeFormat === 'esm' ? 'export default' : 'module.exports =' %> function () {
42
+ <%= codeFormat === 'esm' ? 'export default' : 'module.exports =' %> function (api) {
43
43
  return []
44
44
  }
@@ -2,7 +2,6 @@
2
2
  * Quasar App Extension uninstall script
3
3
  *
4
4
  * Docs: https://quasar.dev/app-extensions/development-guide/uninstall-api
5
- * API: https://github.com/quasarframework/quasar/blob/master/app/lib/app-extension/UninstallAPI.js
6
5
  */
7
6
 
8
7
  <%= codeFormat === 'esm' ? 'export default' : 'module.exports =' %> function (api) {
@@ -3,7 +3,6 @@
3
3
  * (runs on each dev/build)
4
4
  *
5
5
  * Docs: https://quasar.dev/app-extensions/development-guide/index-api
6
- * API: https://github.com/quasarframework/quasar/blob/master/app/lib/app-extension/IndexAPI.js
7
6
  */
8
7
 
9
8
  function extendConf (conf) {
@@ -2,7 +2,6 @@
2
2
  * Quasar App Extension install script
3
3
  *
4
4
  * Docs: https://quasar.dev/app-extensions/development-guide/install-api
5
- * API: https://github.com/quasarframework/quasar/blob/master/app/lib/app-extension/InstallAPI.js
6
5
  */
7
6
 
8
7
  module.exports = function (api) {
@@ -2,7 +2,6 @@
2
2
  * Quasar App Extension uninstall script
3
3
  *
4
4
  * Docs: https://quasar.dev/app-extensions/development-guide/uninstall-api
5
- * API: https://github.com/quasarframework/quasar/blob/master/app/lib/app-extension/UninstallAPI.js
6
5
  */
7
6
 
8
7
  module.exports = function (api) {
@@ -3,7 +3,6 @@
3
3
  * (runs on each dev/build)
4
4
  *
5
5
  * Docs: https://quasar.dev/app-extensions/development-guide/index-api
6
- * API: https://github.com/quasarframework/quasar/blob/master/app/lib/app-extension/IndexAPI.js
7
6
  */
8
7
 
9
8
  function extendConf (conf, api) {
@@ -2,7 +2,6 @@
2
2
  * Quasar App Extension install script
3
3
  *
4
4
  * Docs: https://quasar.dev/app-extensions/development-guide/install-api
5
- * API: https://github.com/quasarframework/quasar/blob/master/app/lib/app-extension/InstallAPI.js
6
5
  */
7
6
 
8
7
  <%= aeCodeFormat === 'esm' ? 'export default' : 'module.exports =' %> function (api) {
@@ -39,6 +39,6 @@
39
39
 
40
40
  */
41
41
 
42
- <%= aeCodeFormat === 'esm' ? 'export default' : 'module.exports =' %> function () {
42
+ <%= aeCodeFormat === 'esm' ? 'export default' : 'module.exports =' %> function (api) {
43
43
  return []
44
44
  }
@@ -2,7 +2,6 @@
2
2
  * Quasar App Extension uninstall script
3
3
  *
4
4
  * Docs: https://quasar.dev/app-extensions/development-guide/uninstall-api
5
- * API: https://github.com/quasarframework/quasar/blob/master/app/lib/app-extension/UninstallAPI.js
6
5
  */
7
6
 
8
7
  <%= aeCodeFormat === 'esm' ? 'export default' : 'module.exports =' %> function (api) {