create-quasar 1.6.0 → 1.7.0

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 (29) hide show
  1. package/package.json +1 -1
  2. package/templates/app/quasar-v2/js-vite/BASE/_package.json +2 -1
  3. package/templates/app/quasar-v2/js-vite/BASE/quasar.config.js +8 -12
  4. package/templates/app/quasar-v2/js-vite/index.js +3 -3
  5. package/templates/app/quasar-v2/js-vite/lint/_.eslintrc.cjs +1 -2
  6. package/templates/app/quasar-v2/js-vite-beta/BASE/_package.json +2 -1
  7. package/templates/app/quasar-v2/js-vite-beta/BASE/quasar.config.js +8 -13
  8. package/templates/app/quasar-v2/js-vite-beta/index.js +3 -3
  9. package/templates/app/quasar-v2/js-vite-beta/lint/_.eslintrc.cjs +0 -1
  10. package/templates/app/quasar-v2/js-webpack/index.js +3 -3
  11. package/templates/app/quasar-v2/js-webpack/lint/_.eslintrc.cjs +1 -2
  12. package/templates/app/quasar-v2/js-webpack-beta/index.js +3 -3
  13. package/templates/app/quasar-v2/js-webpack-beta/lint/_.eslintrc.cjs +1 -2
  14. package/templates/app/quasar-v2/ts-vite/BASE/_package.json +3 -1
  15. package/templates/app/quasar-v2/ts-vite/BASE/quasar.config.js +11 -12
  16. package/templates/app/quasar-v2/ts-vite/index.js +4 -4
  17. package/templates/app/quasar-v2/ts-vite/lint/_.eslintignore +0 -1
  18. package/templates/app/quasar-v2/ts-vite/lint/_.eslintrc.cjs +1 -2
  19. package/templates/app/quasar-v2/ts-vite/lint/_tsconfig.vue-tsc.json +6 -0
  20. package/templates/app/quasar-v2/ts-vite-beta/BASE/_package.json +4 -2
  21. package/templates/app/quasar-v2/ts-vite-beta/BASE/quasar.config.ts +11 -13
  22. package/templates/app/quasar-v2/ts-vite-beta/index.js +4 -4
  23. package/templates/app/quasar-v2/ts-vite-beta/lint/_.eslintignore +0 -1
  24. package/templates/app/quasar-v2/ts-vite-beta/lint/_.eslintrc.cjs +1 -2
  25. package/templates/app/quasar-v2/ts-vite-beta/lint/_tsconfig.vue-tsc.json +6 -0
  26. package/templates/app/quasar-v2/ts-webpack/index.js +4 -4
  27. package/templates/app/quasar-v2/ts-webpack/lint/_.eslintrc.cjs +1 -2
  28. package/templates/app/quasar-v2/ts-webpack-beta/index.js +4 -4
  29. package/templates/app/quasar-v2/ts-webpack-beta/lint/_.eslintrc.cjs +1 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-quasar",
3
- "version": "1.6.0",
3
+ "version": "1.7.0",
4
4
  "description": "Scaffolds Quasar Apps, AppExtensions or UI kits",
5
5
  "type": "module",
6
6
  "author": {
@@ -27,6 +27,7 @@
27
27
  <% if (preset.lint) { %>
28
28
  "eslint": "^8.11.0",
29
29
  "eslint-plugin-vue": "^9.0.0",
30
+ "vite-plugin-checker": "^0.6.4",
30
31
  <% if (lintConfig === 'standard') { %>
31
32
  "eslint-config-standard": "^17.0.0",
32
33
  "eslint-plugin-import": "^2.19.1",
@@ -40,7 +41,7 @@
40
41
  "prettier": "^2.5.1",
41
42
  <% } } %>
42
43
  <% if (preset.i18n) { %>"@intlify/vite-plugin-vue-i18n": "^3.3.1",<% } %>
43
- "@quasar/app-vite": "^1.4.3",
44
+ "@quasar/app-vite": "^1.8.0",
44
45
  "autoprefixer": "^10.4.2",
45
46
  "postcss": "^8.4.14"
46
47
  },
@@ -15,15 +15,6 @@ const { configure } = require('quasar/wrappers');
15
15
 
16
16
  module.exports = configure(function (/* ctx */) {
17
17
  return {
18
- <% if (preset.lint) { %>eslint: {
19
- // fix: true,
20
- // include: [],
21
- // exclude: [],
22
- // rawOptions: {},
23
- warnings: true,
24
- errors: true
25
- },<% } %>
26
-
27
18
  // https://v2.quasar.dev/quasar-cli-vite/prefetch-feature
28
19
  // preFetch: true,
29
20
 
@@ -80,7 +71,7 @@ module.exports = configure(function (/* ctx */) {
80
71
  // extendViteConf (viteConf) {},
81
72
  // viteVuePluginOptions: {},
82
73
 
83
- <% if (preset.i18n) { %>vitePlugins: [
74
+ <% if (preset.i18n || preset.lint) { %>vitePlugins: [<% if (preset.i18n) { %>
84
75
  ['@intlify/vite-plugin-vue-i18n', {
85
76
  // if you want to use Vue I18n Legacy API, you need to set `compositionOnly: false`
86
77
  // compositionOnly: false,
@@ -91,10 +82,15 @@ module.exports = configure(function (/* ctx */) {
91
82
 
92
83
  // you need to set i18n resource including paths !
93
84
  include: path.resolve(__dirname, './src/i18n/**')
94
- }]
85
+ }]<% } %><% if (preset.lint) { %><% if (preset.i18n) { %>,<% } %>
86
+ ['vite-plugin-checker', {
87
+ eslint: {
88
+ lintCommand: 'eslint "./**/*.{js,mjs,cjs,vue}"'
89
+ }
90
+ }, { server: false }]<% } %>
95
91
  ]<% } else { %>
96
92
  // vitePlugins: [
97
- // [ 'package-name', { ..options.. } ]
93
+ // [ 'package-name', { ..pluginOptions.. }, { server: true, client: true } ]
98
94
  // ]<% } %>
99
95
  },
100
96
 
@@ -16,11 +16,11 @@ export async function script ({ scope, utils }) {
16
16
  name: 'preset',
17
17
  message: 'Check the features needed for your project:',
18
18
  choices: [
19
- { title: 'ESLint', value: 'lint', description: 'recommended', selected: true },
19
+ { title: 'Linting (vite-plugin-checker + ESLint)', value: 'lint', description: 'recommended', selected: true },
20
20
  { title: 'State Management (Pinia)', value: 'pinia', description: 'https://pinia.vuejs.org' },
21
21
  { title: 'State Management (Vuex) [DEPRECATED by Vue Team]', value: 'vuex', description: 'See https://vuejs.org/guide/scaling-up/state-management.html#pinia' },
22
- { title: 'Axios', value: 'axios' },
23
- { title: 'Vue-i18n', value: 'i18n' }
22
+ { title: 'axios', value: 'axios' },
23
+ { title: 'vue-i18n', value: 'i18n' }
24
24
  ],
25
25
  format: values => {
26
26
  let result = values
@@ -10,8 +10,7 @@ module.exports = {
10
10
 
11
11
  env: {
12
12
  node: true,
13
- browser: true,
14
- 'vue/setup-compiler-macros': true
13
+ browser: true
15
14
  },
16
15
 
17
16
  // Rules order is important, please avoid shuffling them
@@ -26,6 +26,7 @@
26
26
  },
27
27
  "devDependencies": {
28
28
  <% if (preset.lint) { %>
29
+ "vite-plugin-checker": "^0.6.4",
29
30
  "eslint": "^8.11.0",
30
31
  "eslint-plugin-vue": "^9.0.0",
31
32
  <% if (lintConfig === 'standard') { %>
@@ -41,7 +42,7 @@
41
42
  "prettier": "^3.0.3",
42
43
  <% } } %>
43
44
  <% if (preset.i18n) { %>"@intlify/unplugin-vue-i18n": "^2.0.0",<% } %>
44
- "@quasar/app-vite": "^2.0.0-beta.1",
45
+ "@quasar/app-vite": "^2.0.0-beta.5",
45
46
  "autoprefixer": "^10.4.2",
46
47
  "postcss": "^8.4.14"
47
48
  },
@@ -10,16 +10,6 @@ import { configure } from 'quasar/wrappers'
10
10
 
11
11
  export default configure((<% if (preset.i18n) { %>ctx<% } else { %>/* ctx */<% } %>) => {
12
12
  return {
13
- <% if (preset.lint) { %>eslint: {
14
- // fix: true,
15
- // include: [],
16
- // exclude: [],
17
- // cache: false,
18
- // rawOptions: {},
19
- warnings: true,
20
- errors: true
21
- },<% } %>
22
-
23
13
  // https://v2.quasar.dev/quasar-cli-vite/prefetch-feature
24
14
  // preFetch: true,
25
15
 
@@ -76,7 +66,7 @@ export default configure((<% if (preset.i18n) { %>ctx<% } else { %>/* ctx */<% }
76
66
  // extendViteConf (viteConf) {},
77
67
  // viteVuePluginOptions: {},
78
68
 
79
- <% if (preset.i18n) { %>vitePlugins: [
69
+ <% if (preset.i18n || preset.lint) { %>vitePlugins: [<% if (preset.i18n) { %>
80
70
  ['@intlify/unplugin-vue-i18n/vite', {
81
71
  // if you want to use Vue I18n Legacy API, you need to set `compositionOnly: false`
82
72
  // compositionOnly: false,
@@ -89,10 +79,15 @@ export default configure((<% if (preset.i18n) { %>ctx<% } else { %>/* ctx */<% }
89
79
 
90
80
  // you need to set i18n resource including paths !
91
81
  include: [ fileURLToPath(new URL('./src/i18n', import.meta.url)) ],
92
- }]
82
+ }]<% } %><% if (preset.lint) { %><% if (preset.i18n) { %>,<% } %>
83
+ ['vite-plugin-checker', {
84
+ eslint: {
85
+ lintCommand: 'eslint "./**/*.{js,mjs,cjs,vue}"'
86
+ }
87
+ }, { server: false }]<% } %>
93
88
  ]<% } else { %>
94
89
  // vitePlugins: [
95
- // [ 'package-name', { ..options.. } ]
90
+ // [ 'package-name', { ..pluginOptions.. }, { server: true, client: true } ]
96
91
  // ]<% } %>
97
92
  },
98
93
 
@@ -16,11 +16,11 @@ export async function script ({ scope, utils }) {
16
16
  name: 'preset',
17
17
  message: 'Check the features needed for your project:',
18
18
  choices: [
19
- { title: 'ESLint', value: 'lint', description: 'recommended', selected: true },
19
+ { title: 'Linting (vite-plugin-checker + ESLint)', value: 'lint', description: 'recommended', selected: true },
20
20
  { title: 'State Management (Pinia)', value: 'pinia', description: 'https://pinia.vuejs.org' },
21
21
  { title: 'State Management (Vuex) [DEPRECATED by Vue Team]', value: 'vuex', description: 'See https://vuejs.org/guide/scaling-up/state-management.html#pinia' },
22
- { title: 'Axios', value: 'axios' },
23
- { title: 'Vue-i18n', value: 'i18n' }
22
+ { title: 'axios', value: 'axios' },
23
+ { title: 'vue-i18n', value: 'i18n' }
24
24
  ],
25
25
  format: values => {
26
26
  let result = values
@@ -11,7 +11,6 @@ module.exports = {
11
11
  env: {
12
12
  node: true,
13
13
  browser: true,
14
- 'vue/setup-compiler-macros': true
15
14
  },
16
15
 
17
16
  // Rules order is important, please avoid shuffling them
@@ -16,11 +16,11 @@ export async function script ({ scope, utils }) {
16
16
  name: 'preset',
17
17
  message: 'Check the features needed for your project:',
18
18
  choices: [
19
- { title: 'ESLint', value: 'lint', description: 'recommended', selected: true },
19
+ { title: 'Linting (ESLint)', value: 'lint', description: 'recommended', selected: true },
20
20
  { title: 'State Management (Pinia)', value: 'pinia', description: 'https://pinia.vuejs.org' },
21
21
  { title: 'State Management (Vuex) [DEPRECATED by Vue Team]', value: 'vuex', description: 'See https://vuejs.org/guide/scaling-up/state-management.html#pinia' },
22
- { title: 'Axios', value: 'axios' },
23
- { title: 'Vue-i18n', value: 'i18n' }
22
+ { title: 'axios', value: 'axios' },
23
+ { title: 'vue-i18n', value: 'i18n' }
24
24
  ],
25
25
  format: values => {
26
26
  let result = values
@@ -11,8 +11,7 @@ module.exports = {
11
11
  },
12
12
 
13
13
  env: {
14
- browser: true,
15
- 'vue/setup-compiler-macros': true
14
+ browser: true
16
15
  },
17
16
 
18
17
  // Rules order is important, please avoid shuffling them
@@ -16,11 +16,11 @@ export async function script ({ scope, utils }) {
16
16
  name: 'preset',
17
17
  message: 'Check the features needed for your project:',
18
18
  choices: [
19
- { title: 'ESLint', value: 'lint', description: 'recommended', selected: true },
19
+ { title: 'Linting (ESLint)', value: 'lint', description: 'recommended', selected: true },
20
20
  { title: 'State Management (Pinia)', value: 'pinia', description: 'https://pinia.vuejs.org' },
21
21
  { title: 'State Management (Vuex) [DEPRECATED by Vue Team]', value: 'vuex', description: 'See https://vuejs.org/guide/scaling-up/state-management.html#pinia' },
22
- { title: 'Axios', value: 'axios' },
23
- { title: 'Vue-i18n', value: 'i18n' }
22
+ { title: 'axios', value: 'axios' },
23
+ { title: 'vue-i18n', value: 'i18n' }
24
24
  ],
25
25
  format: values => {
26
26
  let result = values
@@ -11,8 +11,7 @@ module.exports = {
11
11
  },
12
12
 
13
13
  env: {
14
- browser: true,
15
- 'vue/setup-compiler-macros': true
14
+ browser: true
16
15
  },
17
16
 
18
17
  // Rules order is important, please avoid shuffling them
@@ -28,6 +28,8 @@
28
28
  <% if (preset.lint) { %>
29
29
  "@typescript-eslint/eslint-plugin": "^5.10.0",
30
30
  "@typescript-eslint/parser": "^5.10.0",
31
+ "vite-plugin-checker": "^0.6.4",
32
+ "vue-tsc": "^1.8.22",
31
33
  "eslint": "^8.11.0",
32
34
  "eslint-plugin-vue": "^9.0.0",
33
35
  <% if (lintConfig === 'standard') { %>
@@ -44,7 +46,7 @@
44
46
  <% } } %>
45
47
  "@types/node": "^12.20.21",
46
48
  <% if (preset.i18n) { %>"@intlify/vite-plugin-vue-i18n": "^3.3.1",<% } %>
47
- "@quasar/app-vite": "^1.4.3",
49
+ "@quasar/app-vite": "^1.8.0",
48
50
  "autoprefixer": "^10.4.2",
49
51
  "typescript": "^4.5.4"
50
52
  },
@@ -16,15 +16,6 @@ const { configure } = require('quasar/wrappers');
16
16
 
17
17
  module.exports = configure(function (/* ctx */) {
18
18
  return {
19
- <% if (preset.lint) { %>eslint: {
20
- // fix: true,
21
- // include: [],
22
- // exclude: [],
23
- // rawOptions: {},
24
- warnings: true,
25
- errors: true
26
- },<% } %>
27
-
28
19
  // https://v2.quasar.dev/quasar-cli-vite/prefetch-feature
29
20
  // preFetch: true,
30
21
 
@@ -81,7 +72,7 @@ module.exports = configure(function (/* ctx */) {
81
72
  // extendViteConf (viteConf) {},
82
73
  // viteVuePluginOptions: {},
83
74
 
84
- <% if (preset.i18n) { %>vitePlugins: [
75
+ <% if (preset.i18n || preset.lint) { %>vitePlugins: [<% if (preset.i18n) { %>
85
76
  ['@intlify/vite-plugin-vue-i18n', {
86
77
  // if you want to use Vue I18n Legacy API, you need to set `compositionOnly: false`
87
78
  // compositionOnly: false,
@@ -92,10 +83,18 @@ module.exports = configure(function (/* ctx */) {
92
83
 
93
84
  // you need to set i18n resource including paths !
94
85
  include: path.resolve(__dirname, './src/i18n/**')
95
- }]
86
+ }]<% } %><% if (preset.lint) { %><% if (preset.i18n) { %>,<% } %>
87
+ ['vite-plugin-checker', {
88
+ vueTsc: {
89
+ tsconfigPath: 'tsconfig.vue-tsc.json'
90
+ },
91
+ eslint: {
92
+ lintCommand: 'eslint "./**/*.{js,ts,mjs,cjs,vue}"'
93
+ }
94
+ }, { server: false }]<% } %>
96
95
  ]<% } else { %>
97
96
  // vitePlugins: [
98
- // [ 'package-name', { ..options.. } ]
97
+ // [ 'package-name', { ..pluginOptions.. }, { server: true, client: true } ]
99
98
  // ]<% } %>
100
99
  },
101
100
 
@@ -6,8 +6,8 @@ export async function script ({ scope, utils }) {
6
6
  message: 'Pick a Vue component style:',
7
7
  initial: 0,
8
8
  choices: [
9
- { title: 'Composition API', value: 'composition', description: 'recommended' },
10
9
  { title: 'Composition API with <script setup>', value: 'composition-setup', description: 'recommended' },
10
+ { title: 'Composition API', value: 'composition', description: 'recommended' },
11
11
  { title: 'Options API', value: 'options' },
12
12
  { title: 'Class-based', value: 'class', description: 'DEPRECATED; see https://github.com/quasarframework/quasar/discussions/11204', disabled: true }
13
13
  ]
@@ -28,11 +28,11 @@ export async function script ({ scope, utils }) {
28
28
  name: 'preset',
29
29
  message: 'Check the features needed for your project:',
30
30
  choices: [
31
- { title: 'ESLint', value: 'lint', description: 'recommended', selected: true },
31
+ { title: 'Linting (vite-plugin-checker + ESLint + vue-tsc)', value: 'lint', description: 'recommended', selected: true },
32
32
  { title: 'State Management (Pinia)', value: 'pinia', description: 'https://pinia.vuejs.org' },
33
33
  { title: 'State Management (Vuex) [DEPRECATED by Vue Team]', value: 'vuex', description: 'See https://vuejs.org/guide/scaling-up/state-management.html#pinia' },
34
- { title: 'Axios', value: 'axios' },
35
- { title: 'Vue-i18n', value: 'i18n' }
34
+ { title: 'axios', value: 'axios' },
35
+ { title: 'vue-i18n', value: 'i18n' }
36
36
  ],
37
37
  format: values => {
38
38
  let result = values
@@ -4,5 +4,4 @@
4
4
  /.quasar
5
5
  /node_modules
6
6
  .eslintrc.cjs
7
- /src-ssr
8
7
  /quasar.config.*.temporary.compiled*
@@ -15,8 +15,7 @@ module.exports = {
15
15
  env: {
16
16
  browser: true,
17
17
  es2021: true,
18
- node: true,
19
- 'vue/setup-compiler-macros': true
18
+ node: true
20
19
  },
21
20
 
22
21
  // Rules order is important, please avoid shuffling them
@@ -0,0 +1,6 @@
1
+ {
2
+ "extends": "./tsconfig.json",
3
+ "compilerOptions": {
4
+ "skipLibCheck": true
5
+ }
6
+ }
@@ -29,6 +29,8 @@
29
29
  <% if (preset.lint) { %>
30
30
  "@typescript-eslint/eslint-plugin": "^6.6.0",
31
31
  "@typescript-eslint/parser": "^6.6.0",
32
+ "vite-plugin-checker": "^0.6.4",
33
+ "vue-tsc": "^1.8.22",
32
34
  "eslint": "^8.11.0",
33
35
  "eslint-plugin-vue": "^9.0.0",
34
36
  <% if (lintConfig === 'standard') { %>
@@ -45,9 +47,9 @@
45
47
  <% } } %>
46
48
  "@types/node": "^20.5.9",
47
49
  <% if (preset.i18n) { %>"@intlify/unplugin-vue-i18n": "^2.0.0",<% } %>
48
- "@quasar/app-vite": "^2.0.0-beta.1",
50
+ "@quasar/app-vite": "^2.0.0-beta.5",
49
51
  "autoprefixer": "^10.4.2",
50
- "typescript": "^5.2.2"
52
+ "typescript": "~5.3.0"
51
53
  },
52
54
  "engines": {
53
55
  "node": "^24 || ^22 || ^20 || ^18",
@@ -11,16 +11,6 @@ import { configure } from 'quasar/wrappers';
11
11
 
12
12
  export default configure((<% if (preset.i18n) { %>ctx<% } else { %>/* ctx */<% } %>) => {
13
13
  return {
14
- <% if (preset.lint) { %>eslint: {
15
- // fix: true,
16
- // include: [],
17
- // exclude: [],
18
- // cache: false,
19
- // rawOptions: {},
20
- warnings: true,
21
- errors: true
22
- },<% } %>
23
-
24
14
  // https://v2.quasar.dev/quasar-cli-vite/prefetch-feature
25
15
  // preFetch: true,
26
16
 
@@ -77,7 +67,7 @@ export default configure((<% if (preset.i18n) { %>ctx<% } else { %>/* ctx */<% }
77
67
  // extendViteConf (viteConf) {},
78
68
  // viteVuePluginOptions: {},
79
69
 
80
- <% if (preset.i18n) { %>vitePlugins: [
70
+ <% if (preset.i18n || preset.lint) { %>vitePlugins: [<% if (preset.i18n) { %>
81
71
  ['@intlify/unplugin-vue-i18n/vite', {
82
72
  // if you want to use Vue I18n Legacy API, you need to set `compositionOnly: false`
83
73
  // compositionOnly: false,
@@ -90,10 +80,18 @@ export default configure((<% if (preset.i18n) { %>ctx<% } else { %>/* ctx */<% }
90
80
 
91
81
  // you need to set i18n resource including paths !
92
82
  include: [ fileURLToPath(new URL('./src/i18n', import.meta.url)) ],
93
- }]
83
+ }]<% } %><% if (preset.lint) { %><% if (preset.i18n) { %>,<% } %>
84
+ ['vite-plugin-checker', {
85
+ vueTsc: {
86
+ tsconfigPath: 'tsconfig.vue-tsc.json'
87
+ },
88
+ eslint: {
89
+ lintCommand: 'eslint "./**/*.{js,ts,mjs,cjs,vue}"'
90
+ }
91
+ }, { server: false }]<% } %>
94
92
  ]<% } else { %>
95
93
  // vitePlugins: [
96
- // [ 'package-name', { ..options.. } ]
94
+ // [ 'package-name', { ..pluginOptions.. }, { server: true, client: true } ]
97
95
  // ]<% } %>
98
96
  },
99
97
 
@@ -6,8 +6,8 @@ export async function script ({ scope, utils }) {
6
6
  message: 'Pick a Vue component style:',
7
7
  initial: 0,
8
8
  choices: [
9
- { title: 'Composition API', value: 'composition', description: 'recommended' },
10
9
  { title: 'Composition API with <script setup>', value: 'composition-setup', description: 'recommended' },
10
+ { title: 'Composition API', value: 'composition', description: 'recommended' },
11
11
  { title: 'Options API', value: 'options' },
12
12
  { title: 'Class-based', value: 'class', description: 'DEPRECATED; see https://github.com/quasarframework/quasar/discussions/11204', disabled: true }
13
13
  ]
@@ -28,11 +28,11 @@ export async function script ({ scope, utils }) {
28
28
  name: 'preset',
29
29
  message: 'Check the features needed for your project:',
30
30
  choices: [
31
- { title: 'ESLint', value: 'lint', description: 'recommended', selected: true },
31
+ { title: 'Linting (vite-plugin-checker + ESLint + vue-tsc)', value: 'lint', description: 'recommended', selected: true },
32
32
  { title: 'State Management (Pinia)', value: 'pinia', description: 'https://pinia.vuejs.org' },
33
33
  { title: 'State Management (Vuex) [DEPRECATED by Vue Team]', value: 'vuex', description: 'See https://vuejs.org/guide/scaling-up/state-management.html#pinia' },
34
- { title: 'Axios', value: 'axios' },
35
- { title: 'Vue-i18n', value: 'i18n' }
34
+ { title: 'axios', value: 'axios' },
35
+ { title: 'vue-i18n', value: 'i18n' }
36
36
  ],
37
37
  format: values => {
38
38
  let result = values
@@ -4,5 +4,4 @@
4
4
  /.quasar
5
5
  /node_modules
6
6
  .eslintrc.cjs
7
- /src-ssr
8
7
  /quasar.config.*.temporary.compiled*
@@ -15,8 +15,7 @@ module.exports = {
15
15
  env: {
16
16
  browser: true,
17
17
  es2021: true,
18
- node: true,
19
- 'vue/setup-compiler-macros': true
18
+ node: true
20
19
  },
21
20
 
22
21
  // Rules order is important, please avoid shuffling them
@@ -0,0 +1,6 @@
1
+ {
2
+ "extends": "./tsconfig.json",
3
+ "compilerOptions": {
4
+ "skipLibCheck": true
5
+ }
6
+ }
@@ -6,8 +6,8 @@ export async function script ({ scope, utils }) {
6
6
  message: 'Pick a Vue component style:',
7
7
  initial: 0,
8
8
  choices: [
9
- { title: 'Composition API', value: 'composition', description: 'recommended' },
10
9
  { title: 'Composition API with <script setup>', value: 'composition-setup', description: 'recommended' },
10
+ { title: 'Composition API', value: 'composition', description: 'recommended' },
11
11
  { title: 'Options API', value: 'options' },
12
12
  { title: 'Class-based (DEPRECATED; see https://github.com/quasarframework/quasar/discussions/11204)', value: 'class', disabled: true }
13
13
  ]
@@ -28,11 +28,11 @@ export async function script ({ scope, utils }) {
28
28
  name: 'preset',
29
29
  message: 'Check the features needed for your project:',
30
30
  choices: [
31
- { title: 'ESLint', value: 'lint', description: 'recommended', selected: true },
31
+ { title: 'Linting (ESLint)', value: 'lint', description: 'recommended', selected: true },
32
32
  { title: 'State Management (Pinia)', value: 'pinia', description: 'https://pinia.vuejs.org' },
33
33
  { title: 'State Management (Vuex) [DEPRECATED by Vue Team]', value: 'vuex', description: 'See https://vuejs.org/guide/scaling-up/state-management.html#pinia' },
34
- { title: 'Axios', value: 'axios' },
35
- { title: 'Vue-i18n', value: 'i18n' }
34
+ { title: 'axios', value: 'axios' },
35
+ { title: 'vue-i18n', value: 'i18n' }
36
36
  ],
37
37
  format: values => {
38
38
  let result = values
@@ -16,8 +16,7 @@ module.exports = {
16
16
  env: {
17
17
  browser: true,
18
18
  es2021: true,
19
- node: true,
20
- 'vue/setup-compiler-macros': true
19
+ node: true
21
20
  },
22
21
 
23
22
  // Rules order is important, please avoid shuffling them
@@ -6,8 +6,8 @@ export async function script ({ scope, utils }) {
6
6
  message: 'Pick a Vue component style:',
7
7
  initial: 0,
8
8
  choices: [
9
- { title: 'Composition API', value: 'composition', description: 'recommended' },
10
9
  { title: 'Composition API with <script setup>', value: 'composition-setup', description: 'recommended' },
10
+ { title: 'Composition API', value: 'composition', description: 'recommended' },
11
11
  { title: 'Options API', value: 'options' },
12
12
  { title: 'Class-based (DEPRECATED; see https://github.com/quasarframework/quasar/discussions/11204)', value: 'class', disabled: true }
13
13
  ]
@@ -28,11 +28,11 @@ export async function script ({ scope, utils }) {
28
28
  name: 'preset',
29
29
  message: 'Check the features needed for your project:',
30
30
  choices: [
31
- { title: 'ESLint', value: 'lint', description: 'recommended', selected: true },
31
+ { title: 'Linting (ESLint)', value: 'lint', description: 'recommended', selected: true },
32
32
  { title: 'State Management (Pinia)', value: 'pinia', description: 'https://pinia.vuejs.org' },
33
33
  { title: 'State Management (Vuex) [DEPRECATED by Vue Team]', value: 'vuex', description: 'See https://vuejs.org/guide/scaling-up/state-management.html#pinia' },
34
- { title: 'Axios', value: 'axios' },
35
- { title: 'Vue-i18n', value: 'i18n' }
34
+ { title: 'axios', value: 'axios' },
35
+ { title: 'vue-i18n', value: 'i18n' }
36
36
  ],
37
37
  format: values => {
38
38
  let result = values
@@ -16,8 +16,7 @@ module.exports = {
16
16
  env: {
17
17
  browser: true,
18
18
  es2021: true,
19
- node: true,
20
- 'vue/setup-compiler-macros': true
19
+ node: true
21
20
  },
22
21
 
23
22
  // Rules order is important, please avoid shuffling them