create-vite-taro 0.2.0 → 0.2.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/README.md
CHANGED
|
@@ -45,7 +45,7 @@ bun create vite-taro my-app
|
|
|
45
45
|
| `npm run build:wx` | Build the WeChat Mini Program output into `dist/wx`. |
|
|
46
46
|
| `npm run build:h5` | Build the H5 output into `dist/h5`. |
|
|
47
47
|
| `npm run preview:h5` | Preview the built H5 output. |
|
|
48
|
-
| `npm run typecheck` | Typecheck with `
|
|
48
|
+
| `npm run typecheck` | Typecheck with `tsc`. |
|
|
49
49
|
|
|
50
50
|
## Troubleshooting
|
|
51
51
|
|
package/package.json
CHANGED
|
@@ -34,7 +34,7 @@ npm run dev:h5 # Start the H5 dev server
|
|
|
34
34
|
npm run build:wx # Build dist/wx
|
|
35
35
|
npm run build:h5 # Build dist/h5
|
|
36
36
|
npm run preview:h5 # Preview dist/h5
|
|
37
|
-
npm run typecheck # Typecheck with
|
|
37
|
+
npm run typecheck # Typecheck with tsc
|
|
38
38
|
```
|
|
39
39
|
|
|
40
40
|
## Troubleshooting
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"build:wx": "cross-env NODE_ENV=production VITE_PLUGIN_TARO_TARGET=wx vite build",
|
|
10
10
|
"build:h5": "cross-env NODE_ENV=production VITE_PLUGIN_TARO_TARGET=h5 vite build",
|
|
11
11
|
"preview:h5": "cross-env NODE_ENV=production VITE_PLUGIN_TARO_TARGET=h5 vite preview --outDir dist/h5",
|
|
12
|
-
"typecheck": "
|
|
12
|
+
"typecheck": "tsc -b"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"react": "^19.2.7",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"@types/node": "^26.0.0",
|
|
20
20
|
"@types/react": "^19.2.17",
|
|
21
21
|
"@types/react-dom": "^19.2.3",
|
|
22
|
-
"
|
|
22
|
+
"typescript": "^7.0.1-rc",
|
|
23
23
|
"cross-env": "^10.1.0",
|
|
24
24
|
"vite": "^8.0.16",
|
|
25
|
-
"vite-plugin-taro": "^0.2.
|
|
25
|
+
"vite-plugin-taro": "^0.2.1"
|
|
26
26
|
}
|
|
27
27
|
}
|