create-rezor 0.2.0 → 0.3.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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-rezor",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Rezor 脚手架",
|
|
6
6
|
"bin": {
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@eslint/js": "^10.0.1",
|
|
29
29
|
"@types/ejs": "^3.1.5",
|
|
30
|
-
"@types/node": "^26.
|
|
30
|
+
"@types/node": "^26.4.0",
|
|
31
31
|
"@types/prompts": "^2.4.9",
|
|
32
|
-
"eslint": "^10.
|
|
32
|
+
"eslint": "^10.9.1",
|
|
33
33
|
"prettier": "^3.9.6",
|
|
34
34
|
"typescript": "^6.0.3",
|
|
35
|
-
"typescript-eslint": "^8.
|
|
35
|
+
"typescript-eslint": "^8.68.0"
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
38
38
|
"format": "prettier --check \"**/*.{js,ts,json,md}\"",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@babel/runtime": "^8.0.0",
|
|
30
|
-
"rezor": "^0.
|
|
30
|
+
"rezor": "^0.6.0",
|
|
31
31
|
trailing-comma
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
@@ -47,10 +47,10 @@
|
|
|
47
47
|
"@rollup/plugin-replace": "^6.0.3",
|
|
48
48
|
"@rollup/plugin-terser": "^1.0.0",
|
|
49
49
|
<%_ if (needsTypeScript && needsVitest) { _%>
|
|
50
|
-
"@types/node": "^26.
|
|
50
|
+
"@types/node": "^26.4.0",
|
|
51
51
|
<%_ } _%>
|
|
52
52
|
<%_ if (needsVitest) { _%>
|
|
53
|
-
"@vitest/coverage-v8": "^4.1.
|
|
53
|
+
"@vitest/coverage-v8": "^4.1.11",
|
|
54
54
|
<%_ } _%>
|
|
55
55
|
"babel-plugin-autocomplete-index": "^0.3.0",
|
|
56
56
|
"babel-plugin-inline-env-var": "^0.1.0",
|
|
@@ -58,10 +58,11 @@
|
|
|
58
58
|
"chokidar": "^5.0.0",
|
|
59
59
|
"cross-env": "^10.1.0",
|
|
60
60
|
<%_ if (needsEslint) { _%>
|
|
61
|
-
"eslint": "^10.
|
|
61
|
+
"eslint": "^10.9.1",
|
|
62
62
|
<%_ if (needsPrettier) { _%>
|
|
63
63
|
"eslint-config-prettier": "^10.1.8",
|
|
64
64
|
<%_ } _%>
|
|
65
|
+
"eslint-plugin-rezor": "^0.2.0",
|
|
65
66
|
<%_ } _%>
|
|
66
67
|
"fs-extra": "^11.4.0",
|
|
67
68
|
<%_ if (needsEslint) { _%>
|
|
@@ -75,20 +76,20 @@
|
|
|
75
76
|
<%_ if (needsPrettier) { _%>
|
|
76
77
|
"prettier": "^3.9.6",
|
|
77
78
|
<%_ } _%>
|
|
78
|
-
"rollup": "^4.
|
|
79
|
+
"rollup": "^4.63.1",
|
|
79
80
|
<%_ if (needsStylelint) { _%>
|
|
80
81
|
"stylelint": "^17.14.1",
|
|
81
82
|
"stylelint-config-standard": "^40.0.0",
|
|
82
83
|
<%_ } _%>
|
|
83
|
-
"terser": "^5.
|
|
84
|
+
"terser": "^5.51.2",
|
|
84
85
|
<%_ if (needsTypeScript) { _%>
|
|
85
86
|
"typescript": "^6.0.3",
|
|
86
87
|
<%_ } _%>
|
|
87
88
|
<%_ if (needsTypeScript && needsEslint) { _%>
|
|
88
|
-
"typescript-eslint": "^8.
|
|
89
|
+
"typescript-eslint": "^8.68.0",
|
|
89
90
|
<%_ } _%>
|
|
90
91
|
<%_ if (needsVitest) { _%>
|
|
91
|
-
"vitest": "^4.1.
|
|
92
|
+
"vitest": "^4.1.11",
|
|
92
93
|
<%_ } _%>
|
|
93
94
|
trailing-comma
|
|
94
95
|
},
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import globals from 'globals';
|
|
2
2
|
import eslint from '@eslint/js';
|
|
3
|
+
import rezor from 'eslint-plugin-rezor';
|
|
3
4
|
<%_ if (needsTypeScript) { _%>
|
|
4
5
|
import tseslint from 'typescript-eslint';
|
|
5
6
|
<%_ } _%>
|
|
@@ -23,6 +24,10 @@ const config = [
|
|
|
23
24
|
},
|
|
24
25
|
...eslint.configs.recommended,
|
|
25
26
|
},
|
|
27
|
+
{
|
|
28
|
+
files: ['**/*.js', '**/*.ts'],
|
|
29
|
+
...rezor.configs.recommended,
|
|
30
|
+
},
|
|
26
31
|
{
|
|
27
32
|
files: ['**/*.js'],
|
|
28
33
|
languageOptions: {
|