create-quasar 2.0.0 → 2.0.1

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": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Scaffolds Quasar Apps, AppExtensions or UI kits",
5
5
  "type": "module",
6
6
  "author": {
@@ -30,7 +30,7 @@
30
30
  "eslint-plugin-vue": "^9.30.0",
31
31
  "globals": "^15.12.0",
32
32
  "vue-tsc": "^2.0.29",
33
- "@vue/eslint-config-typescript": "^14.1.3",
33
+ "@vue/eslint-config-typescript": "^14.4.0",
34
34
  "vite-plugin-checker": "^0.8.0",
35
35
  <% } %>
36
36
  <% if (prettier) { %>
@@ -2,10 +2,10 @@ import js from '@eslint/js'
2
2
  import globals from 'globals'
3
3
  import pluginVue from 'eslint-plugin-vue'
4
4
  import pluginQuasar from '@quasar/app-vite/eslint'
5
- import vueTsEslintConfig from '@vue/eslint-config-typescript'<% if (prettier) { %>
5
+ import { defineConfigWithVueTs, vueTsConfigs } from '@vue/eslint-config-typescript'<% if (prettier) { %>
6
6
  import prettierSkipFormatting from '@vue/eslint-config-prettier/skip-formatting'<% } %>
7
7
 
8
- export default [
8
+ export default defineConfigWithVueTs(
9
9
  {
10
10
  /**
11
11
  * Ignore the following files.
@@ -18,7 +18,7 @@ export default [
18
18
  // ignores: []
19
19
  },
20
20
 
21
- ...pluginQuasar.configs.recommended(),
21
+ pluginQuasar.configs.recommended(),
22
22
  js.configs.recommended,
23
23
 
24
24
  /**
@@ -33,7 +33,7 @@ export default [
33
33
  * pluginVue.configs["flat/recommended"]
34
34
  * -> Above, plus rules to enforce subjective community defaults to ensure consistency.
35
35
  */
36
- ...pluginVue.configs[ 'flat/essential' ],
36
+ pluginVue.configs[ 'flat/essential' ],
37
37
 
38
38
  {
39
39
  files: ['**/*.ts', '**/*.vue'],
@@ -45,20 +45,7 @@ export default [
45
45
  }
46
46
  },
47
47
  // https://github.com/vuejs/eslint-config-typescript
48
- ...vueTsEslintConfig({
49
- // Optional: extend additional configurations from typescript-eslint'.
50
- // Supports all the configurations in
51
- // https://typescript-eslint.io/users/configs#recommended-configurations
52
- extends: [
53
- // By default, only the 'recommendedTypeChecked' rules are enabled.
54
- 'recommendedTypeChecked'
55
- // You can also manually enable the stylistic rules.
56
- // "stylistic",
57
-
58
- // Other utility configurations, such as 'eslintRecommended', (note that it's in camelCase)
59
- // are also extendable here. But we don't recommend using them directly.
60
- ]
61
- }),
48
+ vueTsConfigs.recommendedTypeChecked,
62
49
 
63
50
  {
64
51
  languageOptions: {
@@ -96,4 +83,4 @@ export default [
96
83
  }<% if (prettier) { %>,
97
84
 
98
85
  prettierSkipFormatting<% } %>
99
- ]
86
+ )
@@ -30,7 +30,7 @@
30
30
  "eslint": "^9.14.0",
31
31
  "eslint-plugin-vue": "^9.30.0",
32
32
  "eslint-webpack-plugin": "^4.2.0",
33
- "@vue/eslint-config-typescript": "^14.1.3",
33
+ "@vue/eslint-config-typescript": "^14.4.0",
34
34
  "globals": "^15.12.0",
35
35
  <% } %>
36
36
  <% if (prettier) { %>
@@ -2,10 +2,10 @@ import js from '@eslint/js'
2
2
  import globals from 'globals'
3
3
  import pluginVue from 'eslint-plugin-vue'
4
4
  import pluginQuasar from '@quasar/app-webpack/eslint'
5
- import vueTsEslintConfig from '@vue/eslint-config-typescript'<% if (prettier) { %>
5
+ import { defineConfigWithVueTs, vueTsConfigs } from '@vue/eslint-config-typescript'<% if (prettier) { %>
6
6
  import prettierSkipFormatting from '@vue/eslint-config-prettier/skip-formatting'<% } %>
7
7
 
8
- export default [
8
+ export default defineConfigWithVueTs(
9
9
  {
10
10
  /**
11
11
  * Ignore the following files.
@@ -18,7 +18,7 @@ export default [
18
18
  // ignores: []
19
19
  },
20
20
 
21
- ...pluginQuasar.configs.recommended(),
21
+ pluginQuasar.configs.recommended(),
22
22
  js.configs.recommended,
23
23
 
24
24
  /**
@@ -33,7 +33,7 @@ export default [
33
33
  * pluginVue.configs["flat/recommended"]
34
34
  * -> Above, plus rules to enforce subjective community defaults to ensure consistency.
35
35
  */
36
- ...pluginVue.configs[ 'flat/essential' ],
36
+ pluginVue.configs[ 'flat/essential' ],
37
37
 
38
38
  // this rule needs to be above the vueTsEslintConfig to avoid error: 'You have used a rule which requires type information, but don't have parserOptions set to generate type information for this file.'
39
39
  {
@@ -46,20 +46,7 @@ export default [
46
46
  }
47
47
  },
48
48
  // https://github.com/vuejs/eslint-config-typescript
49
- ...vueTsEslintConfig({
50
- // Optional: extend additional configurations from typescript-eslint'.
51
- // Supports all the configurations in
52
- // https://typescript-eslint.io/users/configs#recommended-configurations
53
- extends: [
54
- // By default, only the 'recommendedTypeChecked' rules are enabled.
55
- 'recommendedTypeChecked'
56
- // You can also manually enable the stylistic rules.
57
- // "stylistic",
58
-
59
- // Other utility configurations, such as 'eslintRecommended', (note that it's in camelCase)
60
- // are also extendable here. But we don't recommend using them directly.
61
- ]
62
- }),
49
+ vueTsConfigs.recommendedTypeChecked,
63
50
 
64
51
  {
65
52
  languageOptions: {
@@ -97,4 +84,4 @@ export default [
97
84
  }<% if (prettier) { %>,
98
85
 
99
86
  prettierSkipFormatting<% } %>
100
- ]
87
+ )