@zairakai/js-dev-tools 3.0.0 → 3.1.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/.gitlab/ci/pipeline-js-package.yml +1 -1
- package/README.md +9 -1
- package/config/eslint.config.js +2 -0
- package/config/knip.config.js +3 -0
- package/package.json +17 -9
|
@@ -74,7 +74,7 @@ variables:
|
|
|
74
74
|
JS_DEV_TOOLS_SCRIPTS: "node_modules/@zairakai/js-dev-tools/scripts"
|
|
75
75
|
|
|
76
76
|
# ── NODE ──────────────────────────────────────────────────────────────────
|
|
77
|
-
NODE_VERSION: "
|
|
77
|
+
NODE_VERSION: "24"
|
|
78
78
|
NODE_IMAGE: "zairakai/node:latest-dev"
|
|
79
79
|
NODE_TEST_IMAGE: "zairakai/node:latest-test"
|
|
80
80
|
SHELLCHECK_IMAGE: "koalaman/shellcheck-alpine:v0.10.0"
|
package/README.md
CHANGED
|
@@ -14,6 +14,8 @@
|
|
|
14
14
|
|
|
15
15
|
One unified toolkit to set up JavaScript/TypeScript quality tooling. Context-aware by default — it adapts to both standalone packages and full-stack applications.
|
|
16
16
|
|
|
17
|
+
**Documentation: <https://js-dev-tools-3fa149.gitlab.io>**
|
|
18
|
+
|
|
17
19
|
---
|
|
18
20
|
|
|
19
21
|
## Why @zairakai/js-dev-tools?
|
|
@@ -53,6 +55,12 @@ On install, the `postinstall` script:
|
|
|
53
55
|
|
|
54
56
|
---
|
|
55
57
|
|
|
58
|
+
## Documentation
|
|
59
|
+
|
|
60
|
+
The documentation site has this guide and the reference of the API generated from the source with TypeDoc, for every released version (selector at the top right, `next` is `main`). Build it with `cd docs && npm ci && npm run dev`. It is published with GitLab Pages from `main`.
|
|
61
|
+
|
|
62
|
+
---
|
|
63
|
+
|
|
56
64
|
## Install
|
|
57
65
|
|
|
58
66
|
```bash
|
|
@@ -195,7 +203,7 @@ make doctor # environment diagnostics
|
|
|
195
203
|
[security]: ./SECURITY.md
|
|
196
204
|
[issues-badge]: https://img.shields.io/gitlab/issues/open-raw/zairakai%2Fnpm-packages%2Fdev-tools?logo=gitlab&label=Issues
|
|
197
205
|
[issues]: https://gitlab.com/zairakai/npm-packages/js-dev-tools/-/issues
|
|
198
|
-
[node-badge]: https://img.shields.io/badge/node.js-%3E%
|
|
206
|
+
[node-badge]: https://img.shields.io/badge/node.js-%3E%3D24-green.svg?logo=node.js
|
|
199
207
|
[node]: https://nodejs.org
|
|
200
208
|
[eslint-badge]: https://img.shields.io/badge/code%20style-eslint-4B32C3.svg?logo=eslint
|
|
201
209
|
[eslint]: https://eslint.org
|
package/config/eslint.config.js
CHANGED
package/config/knip.config.js
CHANGED
|
@@ -9,6 +9,9 @@
|
|
|
9
9
|
export default {
|
|
10
10
|
entry: ['config/**/*.js'],
|
|
11
11
|
|
|
12
|
+
// The documentation site (VitePress) has its own tools and is not part of the package.
|
|
13
|
+
ignore: ['docs/**'],
|
|
14
|
+
|
|
12
15
|
// "Referenced optional peerDependencies" is informational — stylelint is intentionally optional
|
|
13
16
|
exclude: ['optionalPeerDependencies'],
|
|
14
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zairakai/js-dev-tools",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "The unified and centralized development toolkit for JavaScript/TypeScript projects - ESLint, Prettier, Stylelint, Knip, Vitest, Git Hooks, and GitLab CI pipeline templates",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dev-tools",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"knip",
|
|
18
18
|
"typescript"
|
|
19
19
|
],
|
|
20
|
-
"homepage": "https://
|
|
20
|
+
"homepage": "https://js-dev-tools-3fa149.gitlab.io",
|
|
21
21
|
"bugs": {
|
|
22
22
|
"url": "https://gitlab.com/zairakai/npm-packages/js-dev-tools/-/issues",
|
|
23
23
|
"email": "contact-project+zairakai-npm-packages-js-dev-tools-80188322-issue-@incoming.gitlab.com"
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
"globals": "^17.5.0",
|
|
100
100
|
"markdownlint-cli2": "^0.23.0",
|
|
101
101
|
"prettier": "^3.8.3",
|
|
102
|
-
"prettier-plugin-blade": "^
|
|
102
|
+
"prettier-plugin-blade": "^3.3.3",
|
|
103
103
|
"prettier-plugin-organize-imports": "^4.0.0",
|
|
104
104
|
"stylelint": "^17.8.0",
|
|
105
105
|
"stylelint-config-html": "^2.0.0",
|
|
@@ -111,11 +111,11 @@
|
|
|
111
111
|
"vue-eslint-parser": "^10.0.0"
|
|
112
112
|
},
|
|
113
113
|
"devDependencies": {
|
|
114
|
-
"@vitest/coverage-v8": "^
|
|
114
|
+
"@vitest/coverage-v8": "^5.0.3",
|
|
115
115
|
"knip": "^6.4.1",
|
|
116
116
|
"sort-package-json": "^4.0.0",
|
|
117
117
|
"typescript": "^6.0.3",
|
|
118
|
-
"vitest": "^
|
|
118
|
+
"vitest": "^5.0.3",
|
|
119
119
|
"zod": "^4.0.0"
|
|
120
120
|
},
|
|
121
121
|
"peerDependencies": {
|
|
@@ -135,12 +135,20 @@
|
|
|
135
135
|
}
|
|
136
136
|
},
|
|
137
137
|
"engines": {
|
|
138
|
-
"node": ">=
|
|
138
|
+
"node": ">=24.0.0"
|
|
139
139
|
},
|
|
140
140
|
"publishConfig": {
|
|
141
141
|
"access": "public"
|
|
142
142
|
},
|
|
143
|
-
"
|
|
144
|
-
"
|
|
145
|
-
|
|
143
|
+
"overrides": {
|
|
144
|
+
"markdown-it": "14.3.2",
|
|
145
|
+
"nanoid": "3.3.20",
|
|
146
|
+
"smol-toml": "1.9.0",
|
|
147
|
+
"colord": "2.9.7",
|
|
148
|
+
"fast-uri": "3.1.8",
|
|
149
|
+
"js-yaml": {
|
|
150
|
+
".": "4.3.2"
|
|
151
|
+
},
|
|
152
|
+
"brace-expansion": "5.0.12"
|
|
153
|
+
}
|
|
146
154
|
}
|