create-quasar 1.11.5 → 1.11.6

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.6",
4
4
  "description": "Scaffolds Quasar Apps, AppExtensions or UI kits",
5
5
  "type": "module",
6
6
  "author": {
@@ -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
  }