create-quasar 2.0.0 → 2.0.2
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 +1 -1
- package/templates/app/quasar-v2/js-vite-2/BASE/_package.json +2 -2
- package/templates/app/quasar-v2/js-webpack-4/BASE/_package.json +1 -1
- package/templates/app/quasar-v2/ts-vite-2/BASE/_package.json +3 -3
- package/templates/app/quasar-v2/ts-vite-2/eslint/_eslint.config.js +6 -19
- package/templates/app/quasar-v2/ts-webpack-4/BASE/_package.json +2 -2
- package/templates/app/quasar-v2/ts-webpack-4/eslint/_eslint.config.js +6 -19
package/package.json
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
<% if (preset.axios) { %>"axios": "^1.2.1",<% } %>
|
|
19
|
-
<% if (preset.i18n) { %>"vue-i18n": "^
|
|
19
|
+
<% if (preset.i18n) { %>"vue-i18n": "^11.0.0",<% } %>
|
|
20
20
|
<% if (preset.pinia) { %>"pinia": "^3.0.1",<% } %>
|
|
21
21
|
"@quasar/extras": "^1.16.4",
|
|
22
22
|
"quasar": "^2.16.0",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"vue-router": "^4.0.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
<% if (preset.i18n) { %>"@intlify/unplugin-vue-i18n": "^
|
|
27
|
+
<% if (preset.i18n) { %>"@intlify/unplugin-vue-i18n": "^4.0.0",<% } %>
|
|
28
28
|
<% if (preset.eslint) { %>
|
|
29
29
|
"@eslint/js": "^9.14.0",
|
|
30
30
|
"eslint": "^9.14.0",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
<% if (preset.axios) { %>"axios": "^1.2.1",<% } %>
|
|
19
|
-
<% if (preset.i18n) { %>"vue-i18n": "^
|
|
19
|
+
<% if (preset.i18n) { %>"vue-i18n": "^11.0.0",<% } %>
|
|
20
20
|
<% if (preset.pinia) { %>"pinia": "^3.0.1",<% } %>
|
|
21
21
|
"@quasar/extras": "^1.16.4",
|
|
22
22
|
"core-js": "^3.31.1",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
<% if (preset.axios) { %>"axios": "^1.2.1",<% } %>
|
|
19
|
-
<% if (preset.i18n) { %>"vue-i18n": "^
|
|
19
|
+
<% if (preset.i18n) { %>"vue-i18n": "^11.0.0",<% } %>
|
|
20
20
|
<% if (preset.pinia) { %>"pinia": "^3.0.1",<% } %>
|
|
21
21
|
"@quasar/extras": "^1.16.4",
|
|
22
22
|
"quasar": "^2.16.0",
|
|
@@ -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.
|
|
33
|
+
"@vue/eslint-config-typescript": "^14.4.0",
|
|
34
34
|
"vite-plugin-checker": "^0.8.0",
|
|
35
35
|
<% } %>
|
|
36
36
|
<% if (prettier) { %>
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"prettier": "^3.3.3",
|
|
39
39
|
<% } %>
|
|
40
40
|
"@types/node": "^20.5.9",
|
|
41
|
-
<% if (preset.i18n) { %>"@intlify/unplugin-vue-i18n": "^
|
|
41
|
+
<% if (preset.i18n) { %>"@intlify/unplugin-vue-i18n": "^4.0.0",<% } %>
|
|
42
42
|
"@quasar/app-vite": "^2.1.0",
|
|
43
43
|
"autoprefixer": "^10.4.2",
|
|
44
44
|
"typescript": "~5.5.3"
|
|
@@ -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
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
+
)
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
<% if (preset.axios) { %>"axios": "^1.2.1",<% } %>
|
|
19
|
-
<% if (preset.i18n) { %>"vue-i18n": "^
|
|
19
|
+
<% if (preset.i18n) { %>"vue-i18n": "^11.0.0",<% } %>
|
|
20
20
|
<% if (preset.pinia) { %>"pinia": "^3.0.1",<% } %>
|
|
21
21
|
"@quasar/extras": "^1.16.4",
|
|
22
22
|
"core-js": "^3.6.5",
|
|
@@ -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.
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
+
)
|