@yunarch/config-web 0.1.0 → 0.1.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 +3 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
<h1
|
|
1
|
+
<h1>@yunarch/config-web</h1>
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/@yunarch/config-web)
|
|
2
4
|
|
|
3
5
|
> A curated set of linters (ESLint, Oxlint), formatters (Prettier, Biome), TypeScript configurations for web projects, and useful CLI tools.
|
|
4
6
|
|
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"name": "@yunarch/config-web",
|
|
5
5
|
"description": "Shared configurations for web projects.",
|
|
6
|
+
"license": "MIT",
|
|
6
7
|
"keywords": [
|
|
7
8
|
"config",
|
|
8
9
|
"eslint",
|
|
@@ -48,7 +49,7 @@
|
|
|
48
49
|
"gen": "bun run gen:eslint-typegen && bun run gen:oxlint-compatgen",
|
|
49
50
|
"gen:eslint-typegen": "bun run ./scripts/eslint-typegen.ts",
|
|
50
51
|
"gen:oxlint-compatgen": "bun run ./scripts/oxlint-compatgen.ts && prettier --write ./src/linters/oxlint.config.jsonc",
|
|
51
|
-
"lint": "
|
|
52
|
+
"lint": "bun run lint:code && bun run lint:ts",
|
|
52
53
|
"lint:code": "oxlint && eslint .",
|
|
53
54
|
"lint:ts": "tsc --noEmit",
|
|
54
55
|
"lint:inspect": "bunx @eslint/config-inspector --config eslint.config.ts",
|
|
@@ -58,7 +59,7 @@
|
|
|
58
59
|
"build": "bun run gen && tsup",
|
|
59
60
|
"test": "vitest --typecheck run",
|
|
60
61
|
"test:watch": "vitest --typecheck watch",
|
|
61
|
-
"release": "
|
|
62
|
+
"release": "bun run lint && bun run test && bun publish --dry-run && bunx bumpp && bun run build && bun publish"
|
|
62
63
|
},
|
|
63
64
|
"peerDependencies": {
|
|
64
65
|
"@biomejs/biome": ">= 1 || < 2",
|
|
@@ -118,7 +119,6 @@
|
|
|
118
119
|
"lint-staged": "16.0.0",
|
|
119
120
|
"rimraf": "6.0.1",
|
|
120
121
|
"tsup": "8.5.0",
|
|
121
|
-
"turbo": "2.5.3",
|
|
122
122
|
"typescript": "5.8.3",
|
|
123
123
|
"vitest": "3.1.4",
|
|
124
124
|
"@types/node": "22.15.20"
|