create-quasar 1.11.5 → 1.11.7

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": "create-quasar",
3
- "version": "1.11.5",
3
+ "version": "1.11.7",
4
4
  "description": "Scaffolds Quasar Apps, AppExtensions or UI kits",
5
5
  "type": "module",
6
6
  "author": {
@@ -158,7 +158,7 @@ export default defineConfig((<% if (preset.i18n) { %>ctx<% } else { %>/* ctx */<
158
158
  pwa: {
159
159
  workboxMode: 'GenerateSW' // 'GenerateSW' or 'InjectManifest'
160
160
  // swFilename: 'sw.js',
161
- // manifestFilename: 'manifest.json'
161
+ // manifestFilename: 'manifest.json',
162
162
  // extendManifestJson (json) {},
163
163
  // useCredentialsForManifestTag: true,
164
164
  // injectPwaMetaTags: false,
@@ -148,7 +148,7 @@ export default defineConfig((ctx) => {
148
148
  pwa: {
149
149
  workboxMode: 'GenerateSW' // 'GenerateSW' or 'InjectManifest'
150
150
  // swFilename: 'sw.js',
151
- // manifestFilename: 'manifest.json'
151
+ // manifestFilename: 'manifest.json',
152
152
  // extendManifestJson (json) {},
153
153
  // useCredentialsForManifestTag: true,
154
154
  // injectPwaMetaTags: false,
@@ -165,7 +165,7 @@ export default defineConfig((<% if (preset.i18n) { %>ctx<% } else { %>/* ctx */<
165
165
  pwa: {
166
166
  workboxMode: 'GenerateSW' // 'GenerateSW' or 'InjectManifest'
167
167
  // swFilename: 'sw.js',
168
- // manifestFilename: 'manifest.json'
168
+ // manifestFilename: 'manifest.json',
169
169
  // extendManifestJson (json) {},
170
170
  // useCredentialsForManifestTag: true,
171
171
  // injectPwaMetaTags: false,
@@ -157,7 +157,7 @@ export default defineConfig((/* ctx */) => {
157
157
  pwa: {
158
158
  workboxMode: 'GenerateSW' // 'GenerateSW' or 'InjectManifest'
159
159
  // swFilename: 'sw.js',
160
- // manifestFilename: 'manifest.json'
160
+ // manifestFilename: 'manifest.json',
161
161
  // extendManifestJson (json) {},
162
162
  // useCredentialsForManifestTag: true,
163
163
  // injectPwaMetaTags: false,
@@ -133,7 +133,7 @@ export default defineConfig((/* ctx */) => {
133
133
  pwa: {
134
134
  workboxMode: 'GenerateSW', // 'GenerateSW' or 'InjectManifest'
135
135
  // swFilename: 'sw.js',
136
- // manifestFilename: 'manifest.json'
136
+ // manifestFilename: 'manifest.json',
137
137
  // extendManifestJson (json) {},
138
138
  // useCredentialsForManifestTag: true,
139
139
  // injectPwaMetaTags: false,
@@ -144,7 +144,7 @@ export default defineConfig((/* ctx */) => {
144
144
  pwa: {
145
145
  workboxMode: 'GenerateSW', // 'GenerateSW' or 'InjectManifest'
146
146
  // swFilename: 'sw.js',
147
- // manifestFilename: 'manifest.json'
147
+ // manifestFilename: 'manifest.json',
148
148
  // extendManifestJson (json) {},
149
149
  // useCredentialsForManifestTag: true,
150
150
  // injectPwaMetaTags: false,
@@ -11,7 +11,6 @@ module.exports = {
11
11
 
12
12
  'packageDescription',
13
13
  'aeDescription',
14
- 'aeCodeFormat',
15
14
 
16
15
  'umdExportName',
17
16
  'componentName',
@@ -96,17 +96,6 @@ export async function script ({ scope, utils }) {
96
96
  value: 'uninstall'
97
97
  }
98
98
  ]
99
- },
100
-
101
- {
102
- type: (_, { quasarVersion, features }) => (quasarVersion === 'v2' && features.ae ? 'select' : null),
103
- name: 'aeCodeFormat',
104
- message: 'Pick the App Extension format:',
105
- initial: 0,
106
- choices: [
107
- { title: 'ESM (q/app-vite >= 1.5, q/app-webpack >= 3.10)', value: 'esm', description: 'recommended' },
108
- { title: 'CommonJS', value: 'commonjs' }
109
- ]
110
99
  }
111
100
  ])
112
101
 
@@ -4,7 +4,7 @@
4
4
  "description": "<%= aeDescription %>",
5
5
  "author": "<%= author %>",
6
6
  "license": "<%= license %>",
7
- "type": "<%= aeCodeFormat === 'esm' ? 'module' : 'commonjs' %>",
7
+ "type": "module",
8
8
  "dependencies": {
9
9
  "quasar-ui-<%= name %>": "latest"
10
10
  },
@@ -22,7 +22,7 @@ function extendConf (conf, api) {
22
22
  conf.css.push('~quasar-ui-<%= name %>/src/index.sass')
23
23
  }
24
24
 
25
- <%= aeCodeFormat === 'esm' ? 'export default' : 'module.exports =' %> function (api) {
25
+ export default function (api) {
26
26
  // Quasar compatibility check; you may need
27
27
  // hard dependencies, as in a minimum version of the "quasar"
28
28
  // package or a minimum version of "@quasar/app-*" CLI
@@ -4,7 +4,7 @@
4
4
  * Docs: https://quasar.dev/app-extensions/development-guide/install-api
5
5
  */
6
6
 
7
- <%= aeCodeFormat === 'esm' ? 'export default' : 'module.exports =' %> function (api) {
7
+ export default function (api) {
8
8
  // Quasar compatibility check; you may need
9
9
  // hard dependencies, as in a minimum version of the "quasar"
10
10
  // package or a minimum version of "@quasar/app-*" CLI
@@ -39,6 +39,6 @@
39
39
 
40
40
  */
41
41
 
42
- <%= aeCodeFormat === 'esm' ? 'export default' : 'module.exports =' %> function (api) {
42
+ export default function (api) {
43
43
  return []
44
44
  }
@@ -4,6 +4,6 @@
4
4
  * Docs: https://quasar.dev/app-extensions/development-guide/uninstall-api
5
5
  */
6
6
 
7
- <%= aeCodeFormat === 'esm' ? 'export default' : 'module.exports =' %> function (api) {
7
+ export default function (api) {
8
8
  //
9
9
  }