@r_masseater/vite-plus-adopt 0.13.0 → 0.14.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/README.md +2 -2
- package/package.json +28 -8
- package/skills/configure-checks/SKILL.md +2 -2
package/README.md
CHANGED
|
@@ -12,11 +12,11 @@ For Feature-Sliced Design and other structure rules, use [wism](https://www.npmj
|
|
|
12
12
|
## Usage
|
|
13
13
|
|
|
14
14
|
```sh
|
|
15
|
-
vp add -D @r_masseater/vite-plus-adopt @r_masseater/h56m
|
|
15
|
+
vp add -D @r_masseater/vite-plus-adopt @r_masseater/h56m/presets
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
```ts
|
|
19
|
-
import { betterleaks } from "@r_masseater/h56m
|
|
19
|
+
import { betterleaks } from "@r_masseater/h56m/presets";
|
|
20
20
|
import type {} from "@r_masseater/vite-plus-adopt";
|
|
21
21
|
import { defineConfig } from "vite-plus";
|
|
22
22
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@r_masseater/vite-plus-adopt",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"description": "Adopt h56m secret scanning, commitlint, textlint, fallow and dependency checks into Vite+ through the settings in vite.config.ts, and ship @arethetypeswrong/core for TypeScript 7.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"arethetypeswrong",
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
"skills/configure-checks"
|
|
31
31
|
],
|
|
32
32
|
"type": "module",
|
|
33
|
+
"sideEffects": false,
|
|
33
34
|
"imports": {
|
|
34
35
|
"#attw-upstream/*": "./upstream/attw-core/lib/*",
|
|
35
36
|
"#/*": "./src/*"
|
|
@@ -50,51 +51,70 @@
|
|
|
50
51
|
"provenance": true
|
|
51
52
|
},
|
|
52
53
|
"dependencies": {
|
|
53
|
-
"@andrewbranch/untar.js": "^1.0.4",
|
|
54
54
|
"@commitlint/format": "^21.2.3",
|
|
55
55
|
"@commitlint/lint": "^21.2.4",
|
|
56
56
|
"@commitlint/load": "^21.2.4",
|
|
57
57
|
"@commitlint/types": "^21.2.3",
|
|
58
|
-
"@loaderkit/resolve": "^1.0.6",
|
|
59
58
|
"@pnpm/logger": "^1100.0.0",
|
|
60
59
|
"@pnpm/workspace.projects-reader": "^1101.1.9",
|
|
61
60
|
"@pnpm/workspace.workspace-manifest-reader": "^1100.3.4",
|
|
62
|
-
"@r_masseater/h56m": "^0.
|
|
61
|
+
"@r_masseater/h56m": "^0.3.0",
|
|
63
62
|
"@r_masseater/node-main": "^0.1.0",
|
|
64
63
|
"@textlint/config-loader": "^16.1.3",
|
|
65
64
|
"@textlint/kernel": "^16.1.3",
|
|
66
65
|
"@textlint/utils": "^16.1.3",
|
|
67
|
-
"cjs-module-lexer": "^2.3.0",
|
|
68
|
-
"fflate": "^0.8.3",
|
|
69
66
|
"minimatch": "^11.0.9",
|
|
70
67
|
"semver": "^7.8.6",
|
|
71
68
|
"textlint": "^16.1.3",
|
|
72
|
-
"validate-npm-package-name": "^8.0.0",
|
|
73
69
|
"yaml": "^2.9.1"
|
|
74
70
|
},
|
|
75
71
|
"devDependencies": {
|
|
72
|
+
"@andrewbranch/untar.js": "1.0.4",
|
|
76
73
|
"@effect/platform-node": "4.1.5",
|
|
77
74
|
"@effect/vitest": "4.1.5",
|
|
75
|
+
"@loaderkit/resolve": "1.0.6",
|
|
78
76
|
"@masseater.dev/path-kit": "0.0.0",
|
|
79
|
-
"@r_masseater/h56m-presets": "0.2.1",
|
|
80
77
|
"@size-limit/file": "14.3.0",
|
|
81
78
|
"@types/node": "26.6.6",
|
|
82
79
|
"@types/semver": "7.8.0",
|
|
80
|
+
"cjs-module-lexer": "2.3.0",
|
|
83
81
|
"effect": "4.1.5",
|
|
82
|
+
"fflate": "0.8.3",
|
|
84
83
|
"size-limit": "14.3.0",
|
|
85
84
|
"typescript": "7.1.0-dev.20261124.1",
|
|
85
|
+
"validate-npm-package-name": "8.0.0",
|
|
86
86
|
"vite": "npm:@voidzero-dev/vite-plus-core@8.3.8001",
|
|
87
87
|
"vite-plus": "1.8.0"
|
|
88
88
|
},
|
|
89
89
|
"peerDependencies": {
|
|
90
|
+
"@andrewbranch/untar.js": ">=1.0.4",
|
|
91
|
+
"@loaderkit/resolve": ">=1.0.6",
|
|
92
|
+
"cjs-module-lexer": ">=2.3.0",
|
|
90
93
|
"effect": "^4.1.0",
|
|
94
|
+
"fflate": ">=0.8.3",
|
|
91
95
|
"typescript": ">=7.1.0-beta",
|
|
96
|
+
"validate-npm-package-name": ">=8.0.0",
|
|
92
97
|
"vite": "*",
|
|
93
98
|
"vite-plus": ">=1.8.0"
|
|
94
99
|
},
|
|
95
100
|
"peerDependenciesMeta": {
|
|
101
|
+
"@andrewbranch/untar.js": {
|
|
102
|
+
"optional": true
|
|
103
|
+
},
|
|
104
|
+
"@loaderkit/resolve": {
|
|
105
|
+
"optional": true
|
|
106
|
+
},
|
|
107
|
+
"cjs-module-lexer": {
|
|
108
|
+
"optional": true
|
|
109
|
+
},
|
|
110
|
+
"fflate": {
|
|
111
|
+
"optional": true
|
|
112
|
+
},
|
|
96
113
|
"typescript": {
|
|
97
114
|
"optional": true
|
|
115
|
+
},
|
|
116
|
+
"validate-npm-package-name": {
|
|
117
|
+
"optional": true
|
|
98
118
|
}
|
|
99
119
|
},
|
|
100
120
|
"size-limit": [
|
|
@@ -29,13 +29,13 @@ Run without arguments, it runs every configured check in parallel and prints the
|
|
|
29
29
|
1. Install it.
|
|
30
30
|
|
|
31
31
|
```sh
|
|
32
|
-
vp add -D @r_masseater/vite-plus-adopt @r_masseater/h56m
|
|
32
|
+
vp add -D @r_masseater/vite-plus-adopt @r_masseater/h56m/presets
|
|
33
33
|
```
|
|
34
34
|
|
|
35
35
|
2. Write the sections. `import type {} from "@r_masseater/vite-plus-adopt"` types them in `defineConfig`.
|
|
36
36
|
|
|
37
37
|
```ts
|
|
38
|
-
import { betterleaks } from "@r_masseater/h56m
|
|
38
|
+
import { betterleaks } from "@r_masseater/h56m/presets";
|
|
39
39
|
import type {} from "@r_masseater/vite-plus-adopt";
|
|
40
40
|
import { defineConfig } from "vite-plus";
|
|
41
41
|
|