@versatiles/release-tool 2.5.0 → 2.7.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versatiles/release-tool",
3
- "version": "2.5.0",
3
+ "version": "2.7.0",
4
4
  "description": "VersaTiles release and documentation tools",
5
5
  "bin": {
6
6
  "vrt": "./dist/index.js"
@@ -11,12 +11,15 @@
11
11
  ],
12
12
  "scripts": {
13
13
  "build": "npm run build-node && npm run doc",
14
+ "prepare": "husky",
14
15
  "build-node": "rm -rf dist && tsc -p tsconfig.build.json && chmod +x dist/index.js",
15
- "check": "npm run lint && npm run build && npm run test",
16
+ "check": "npm run lint && npm run build && npm run test && npm run format:check",
16
17
  "dev": "tsx src/index.ts",
17
18
  "doc": "npm run doc-command && npm run doc-graph",
18
19
  "doc-command": "tsx src/index.ts doc-command vrt | tsx src/index.ts doc-insert README.md '# Command'",
19
20
  "doc-graph": "tsx src/index.ts deps-graph | tsx src/index.ts doc-insert README.md '## Dependency Graph'",
21
+ "format": "prettier --write .",
22
+ "format:check": "prettier --check .",
20
23
  "lint": "eslint . --color",
21
24
  "prepack": "npm run build",
22
25
  "release": "tsx src/index.ts release-npm",
@@ -27,6 +30,9 @@
27
30
  "author": "Michael Kreil <versatiles@michael-kreil.de>",
28
31
  "license": "Unlicense",
29
32
  "type": "module",
33
+ "engines": {
34
+ "node": ">=20"
35
+ },
30
36
  "repository": {
31
37
  "type": "git",
32
38
  "url": "git+https://github.com/versatiles-org/node-release-tool.git"
@@ -34,26 +40,33 @@
34
40
  "homepage": "https://github.com/versatiles-org/node-release-tool",
35
41
  "devDependencies": {
36
42
  "@schemastore/package": "^0.0.10",
37
- "@types/node": "^24.10.1",
38
- "@typescript-eslint/eslint-plugin": "^8.48.1",
39
- "@typescript-eslint/parser": "^8.48.1",
40
- "@vitest/coverage-v8": "^4.0.15",
41
- "eslint": "^9.39.1",
43
+ "@types/node": "^25.2.0",
44
+ "@typescript-eslint/eslint-plugin": "^8.54.0",
45
+ "@typescript-eslint/parser": "^8.54.0",
46
+ "@vitest/coverage-v8": "^4.0.18",
47
+ "eslint": "^9.39.2",
48
+ "husky": "^9.1.7",
49
+ "lint-staged": "^16.2.7",
50
+ "prettier": "^3.8.1",
42
51
  "tsx": "^4.21.0",
43
52
  "typescript": "^5.9.3",
44
- "typescript-eslint": "^8.48.1",
45
- "vitest": "^4.0.15"
53
+ "typescript-eslint": "^8.54.0",
54
+ "vitest": "^4.0.18"
46
55
  },
47
56
  "dependencies": {
48
- "@inquirer/select": "^5.0.2",
49
- "commander": "^14.0.2",
50
- "dependency-cruiser": "^17.3.2",
51
- "npm-check-updates": "^19.1.2",
57
+ "@inquirer/select": "^5.0.4",
58
+ "commander": "^14.0.3",
59
+ "dependency-cruiser": "^17.3.7",
60
+ "npm-check-updates": "^19.3.2",
52
61
  "remark": "^15.0.1",
53
62
  "remark-gfm": "^4.0.1",
54
- "typedoc": "^0.28.15",
63
+ "typedoc": "^0.28.16",
55
64
  "typedoc-github-theme": "^0.3.1",
56
65
  "typedoc-github-wiki-theme": "^2.1.0",
57
66
  "typedoc-plugin-markdown": "^4.9.0"
67
+ },
68
+ "lint-staged": {
69
+ "*.{ts,js,json,md,yml,yaml}": "prettier --write",
70
+ "*.ts": "eslint --fix"
58
71
  }
59
72
  }