create-packer 1.10.3 → 1.10.4
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/template/react-vite/.eslintrc +2 -3
- package/template/react-vite/.vscode/extensions.json +3 -0
- package/template/react-vite/package.json +2 -0
- package/template/vue-vite/.eslintrc +45 -0
- package/template/vue-vite/.vscode/extensions.json +1 -1
- package/template/vue-vite/package.json +5 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"root": true,
|
|
3
3
|
"parser": "@typescript-eslint/parser",
|
|
4
|
-
"plugins": ["@typescript-eslint"],
|
|
4
|
+
"plugins": ["@typescript-eslint", "prettier"],
|
|
5
5
|
"extends": ["eslint:recommended", "plugin:react/recommended", "plugin:react-hooks/recommended"],
|
|
6
6
|
"settings": {
|
|
7
7
|
"react": {
|
|
@@ -42,7 +42,6 @@
|
|
|
42
42
|
"react-hooks/exhaustive-deps": "warn",
|
|
43
43
|
"react/display-name": "off",
|
|
44
44
|
"react/react-in-jsx-scope": "off",
|
|
45
|
-
"
|
|
46
|
-
"quotes": "off"
|
|
45
|
+
"prettier/prettier": "error"
|
|
47
46
|
}
|
|
48
47
|
}
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
"react-router-dom": "6.3.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
+
"@testing-library/dom": "8.14.0",
|
|
28
29
|
"@testing-library/jest-dom": "5.16.5",
|
|
29
30
|
"@testing-library/react": "13.3.0",
|
|
30
31
|
"@testing-library/user-event": "14.4.2",
|
|
@@ -40,6 +41,7 @@
|
|
|
40
41
|
"cssnano": "5.1.12",
|
|
41
42
|
"cz-adapter-eslint": "0.3.0",
|
|
42
43
|
"eslint": "8.21.0",
|
|
44
|
+
"eslint-plugin-prettier": "4.0.0",
|
|
43
45
|
"eslint-plugin-react": "7.30.1",
|
|
44
46
|
"eslint-plugin-react-hooks": "4.6.0",
|
|
45
47
|
"husky": "8.0.1",
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"root": true,
|
|
3
|
+
"env": {
|
|
4
|
+
"browser": true,
|
|
5
|
+
"node": true,
|
|
6
|
+
"es6": true,
|
|
7
|
+
"jest": true
|
|
8
|
+
},
|
|
9
|
+
"globals": {
|
|
10
|
+
"defineProps": "readonly",
|
|
11
|
+
"defineEmits": "readonly",
|
|
12
|
+
"defineExpose": "readonly",
|
|
13
|
+
"withDefaults": "readonly"
|
|
14
|
+
},
|
|
15
|
+
"plugins": ["prettier"],
|
|
16
|
+
"extends": [
|
|
17
|
+
"plugin:vue/vue3-recommended",
|
|
18
|
+
"eslint:recommended",
|
|
19
|
+
"plugin:@typescript-eslint/recommended"
|
|
20
|
+
],
|
|
21
|
+
"parser": "vue-eslint-parser",
|
|
22
|
+
"parserOptions": {
|
|
23
|
+
"parser": "@typescript-eslint/parser",
|
|
24
|
+
"ecmaVersion": 2021
|
|
25
|
+
},
|
|
26
|
+
"rules": {
|
|
27
|
+
"@typescript-eslint/no-var-requires": 0,
|
|
28
|
+
"@typescript-eslint/explicit-function-return-type": "off",
|
|
29
|
+
"@typescript-eslint/no-explicit-any": 0,
|
|
30
|
+
"@typescript-eslint/no-inferrable-types": [
|
|
31
|
+
"warn",
|
|
32
|
+
{
|
|
33
|
+
"ignoreParameters": true
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"@typescript-eslint/no-unused-vars": "warn",
|
|
37
|
+
"@typescript-eslint/member-delimiter-style": 0,
|
|
38
|
+
"@typescript-eslint/class-name-casing": 0,
|
|
39
|
+
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
40
|
+
"@typescript-eslint/ban-ts-comment": "off",
|
|
41
|
+
"prettier/prettier": "error",
|
|
42
|
+
"vue/multi-word-component-names": 0,
|
|
43
|
+
"vue/html-indent": ["error", 4]
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -21,11 +21,16 @@
|
|
|
21
21
|
"vue-router": "4.1.3"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
+
"@typescript-eslint/eslint-plugin": "5.33.0",
|
|
25
|
+
"@typescript-eslint/parser": "5.33.0",
|
|
24
26
|
"@vitejs/plugin-vue": "3.0.3",
|
|
25
27
|
"autoprefixer": "10.4.8",
|
|
26
28
|
"commitizen": "4.2.5",
|
|
27
29
|
"cssnano": "5.1.12",
|
|
28
30
|
"cz-adapter-eslint": "0.3.0",
|
|
31
|
+
"eslint": "8.22.0",
|
|
32
|
+
"eslint-plugin-prettier": "4.0.0",
|
|
33
|
+
"eslint-plugin-vue": "9.3.0",
|
|
29
34
|
"husky": "8.0.1",
|
|
30
35
|
"postcss": "8.4.14",
|
|
31
36
|
"postcss-import": "14.1.0",
|