create-vite-react-cli 0.4.1 → 0.4.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/README.md +19 -0
- package/dist/index.mjs +2569 -0
- package/index.js +3 -0
- package/package.json +50 -58
- package/templates/formatting/prettier/package.json +3 -3
- package/bundle.js +0 -2013
package/index.js
ADDED
package/package.json
CHANGED
|
@@ -1,87 +1,79 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-vite-react-cli",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"description": "🛠️ The recommended way to start a Vite-powered React project",
|
|
5
|
-
"
|
|
5
|
+
"keywords": [
|
|
6
|
+
"cli",
|
|
7
|
+
"react",
|
|
8
|
+
"scaffold",
|
|
9
|
+
"template",
|
|
10
|
+
"vite"
|
|
11
|
+
],
|
|
12
|
+
"homepage": "https://github.com/pm0915/create-vite-react-cli#readme",
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/pm0915/create-vite-react-cli/issues"
|
|
15
|
+
},
|
|
16
|
+
"license": "MIT",
|
|
17
|
+
"author": "Miles Pan",
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "git+https://github.com/pm0915/create-vite-react-cli.git"
|
|
21
|
+
},
|
|
6
22
|
"bin": {
|
|
7
|
-
"create-vite-react-cli": "
|
|
23
|
+
"create-vite-react-cli": "index.js"
|
|
8
24
|
},
|
|
9
25
|
"files": [
|
|
26
|
+
"dist",
|
|
27
|
+
"index.js",
|
|
10
28
|
"locales",
|
|
11
|
-
"bundle.js",
|
|
12
29
|
"templates",
|
|
13
30
|
"!templates/**/node_modules/.bin/*"
|
|
14
31
|
],
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
"type": "git",
|
|
20
|
-
"url": "git+https://github.com/pm0915/create-vite-react-cli.git"
|
|
32
|
+
"type": "module",
|
|
33
|
+
"exports": {
|
|
34
|
+
".": "./dist/index.mjs",
|
|
35
|
+
"./package.json": "./package.json"
|
|
21
36
|
},
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"scaffold",
|
|
26
|
-
"cli",
|
|
27
|
-
"create-react-app",
|
|
28
|
-
"template"
|
|
29
|
-
],
|
|
30
|
-
"author": "Miles Pan",
|
|
31
|
-
"license": "MIT",
|
|
32
|
-
"bugs": {
|
|
33
|
-
"url": "https://github.com/pm0915/create-vite-react-cli/issues"
|
|
37
|
+
"publishConfig": {
|
|
38
|
+
"access": "public",
|
|
39
|
+
"provenance": true
|
|
34
40
|
},
|
|
35
|
-
"homepage": "https://github.com/pm0915/create-vite-react-cli#readme",
|
|
36
41
|
"devDependencies": {
|
|
37
42
|
"@clack/prompts": "^0.11.0",
|
|
38
|
-
"@
|
|
39
|
-
"@rollup/plugin-json": "^6.1.0",
|
|
40
|
-
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
41
|
-
"@rollup/plugin-typescript": "^12.3.0",
|
|
42
|
-
"@tsconfig/node24": "^24.0.3",
|
|
43
|
-
"@types/eslint": "^9.6.1",
|
|
43
|
+
"@types/ejs": "^3.1.5",
|
|
44
44
|
"@types/node": "^25.0.3",
|
|
45
|
+
"bumpp": "^10.3.2",
|
|
45
46
|
"ejs": "^3.1.10",
|
|
46
|
-
"eslint": "^9.39.2",
|
|
47
|
-
"eslint-config-prettier": "^10.1.8",
|
|
48
|
-
"eslint-plugin-n": "^17.23.1",
|
|
49
|
-
"eslint-plugin-prettier": "^5.5.4",
|
|
50
|
-
"globals": "^16.5.0",
|
|
51
47
|
"husky": "^9.1.7",
|
|
52
|
-
"jiti": "^2.6.1",
|
|
53
48
|
"lint-staged": "^16.2.7",
|
|
49
|
+
"oxfmt": "^0.24.0",
|
|
50
|
+
"oxlint": "^1.39.0",
|
|
54
51
|
"picocolors": "^1.1.1",
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"typescript-eslint": "^8.51.0",
|
|
59
|
-
"vitest": "^4.0.16",
|
|
60
|
-
"zx": "^8.8.5"
|
|
52
|
+
"tsdown": "^0.19.0",
|
|
53
|
+
"typescript": "^5.9.3",
|
|
54
|
+
"vitest": "^4.0.16"
|
|
61
55
|
},
|
|
62
56
|
"lint-staged": {
|
|
63
|
-
"*.{js,jsx,ts,tsx}": [
|
|
64
|
-
"
|
|
65
|
-
"
|
|
57
|
+
"*.{js,jsx,ts,tsx,mjs,cjs}": [
|
|
58
|
+
"oxlint --fix",
|
|
59
|
+
"oxfmt"
|
|
66
60
|
],
|
|
67
61
|
"*.{json,md,css,scss}": [
|
|
68
|
-
"
|
|
62
|
+
"oxfmt"
|
|
69
63
|
]
|
|
70
64
|
},
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"provenance": true
|
|
65
|
+
"engines": {
|
|
66
|
+
"node": "^20.19.0 || >=22.12.0"
|
|
74
67
|
},
|
|
75
68
|
"scripts": {
|
|
76
|
-
"build": "
|
|
77
|
-
"dev": "
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"test
|
|
84
|
-
"
|
|
85
|
-
"postversion": "zx ./scripts/postversion.mjs"
|
|
69
|
+
"build": "tsdown",
|
|
70
|
+
"dev": "tsdown --watch",
|
|
71
|
+
"typecheck": "tsc --noEmit",
|
|
72
|
+
"lint": "oxlint",
|
|
73
|
+
"lint:fix": "oxlint --fix",
|
|
74
|
+
"format": "oxfmt",
|
|
75
|
+
"format:check": "oxfmt --check",
|
|
76
|
+
"test": "vitest",
|
|
77
|
+
"release": "bumpp"
|
|
86
78
|
}
|
|
87
79
|
}
|