@kasoa/vite-plus-config 0.1.0 → 0.1.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 +2 -2
- package/package.json +10 -11
package/README.md
CHANGED
|
@@ -7,10 +7,10 @@ Kasoa's shared Vite+ presets for formatting, linting, and type checking.
|
|
|
7
7
|
Install Vite+ and the shared config:
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
pnpm add -D @kasoa/vite-plus-config vite-plus
|
|
10
|
+
pnpm add -D @kasoa/vite-plus-config vite-plus typescript@^7
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
**Note**: Requires Node.js >=24 and TypeScript-first projects.
|
|
13
|
+
**Note**: Requires Node.js >=24 and TypeScript-first projects. Use the stable `typescript` package; Vite+'s native type-checking path does not require `@typescript/native-preview` or a separate `tsgo` command.
|
|
14
14
|
|
|
15
15
|
## Usage
|
|
16
16
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kasoa/vite-plus-config",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Kasoa's Vite+ configurations",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"config",
|
|
@@ -57,18 +57,10 @@
|
|
|
57
57
|
"publishConfig": {
|
|
58
58
|
"access": "public"
|
|
59
59
|
},
|
|
60
|
-
"scripts": {
|
|
61
|
-
"dev": "vp pack --watch",
|
|
62
|
-
"build": "vp pack",
|
|
63
|
-
"check": "vp check",
|
|
64
|
-
"check:fix": "vp check --fix",
|
|
65
|
-
"test": "vp test --passWithNoTests",
|
|
66
|
-
"prepublishOnly": "pnpm build"
|
|
67
|
-
},
|
|
68
60
|
"devDependencies": {
|
|
69
61
|
"@cloudflare/vitest-pool-workers": "^0.16.8",
|
|
70
62
|
"@types/node": "^25.9.1",
|
|
71
|
-
"
|
|
63
|
+
"typescript": "^7.0.2",
|
|
72
64
|
"vite-plus": "^0.2.5",
|
|
73
65
|
"wrangler": "^4.93.1"
|
|
74
66
|
},
|
|
@@ -87,5 +79,12 @@
|
|
|
87
79
|
},
|
|
88
80
|
"engines": {
|
|
89
81
|
"node": ">=24"
|
|
82
|
+
},
|
|
83
|
+
"scripts": {
|
|
84
|
+
"dev": "vp pack --watch",
|
|
85
|
+
"build": "vp pack",
|
|
86
|
+
"check": "vp check",
|
|
87
|
+
"check:fix": "vp check --fix",
|
|
88
|
+
"test": "vp test --passWithNoTests"
|
|
90
89
|
}
|
|
91
|
-
}
|
|
90
|
+
}
|