@versatiles/release-tool 2.4.4 → 2.4.5

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.
@@ -39,7 +39,7 @@ async function getCommandResults(command) {
39
39
  FORCE_COLOR: '0'
40
40
  };
41
41
  // Spawn a child process to run the command with the '--help' flag.
42
- const childProcess = cp.spawn('npx', [...command.split(' '), '--help'], { env });
42
+ const childProcess = cp.spawn('npm', ['--offline', 'exec', '--', ...command.split(' '), '--help'], { env });
43
43
  let output = '';
44
44
  // Collect output data from the process.
45
45
  childProcess.stdout.on('data', data => output += String(data));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versatiles/release-tool",
3
- "version": "2.4.4",
3
+ "version": "2.4.5",
4
4
  "description": "VersaTiles release and documentation tools",
5
5
  "bin": {
6
6
  "vrt": "./dist/index.js"
@@ -20,8 +20,8 @@
20
20
  "lint": "eslint . --color",
21
21
  "prepack": "npm run build",
22
22
  "release": "tsx src/index.ts release-npm",
23
- "test-coverage": "NODE_OPTIONS=--experimental-vm-modules jest --coverage",
24
- "test": "NODE_OPTIONS=--experimental-vm-modules jest",
23
+ "test-coverage": "vitest --run --coverage",
24
+ "test": "vitest --run",
25
25
  "upgrade": "tsx src/index.ts deps-upgrade"
26
26
  },
27
27
  "author": "Michael Kreil <versatiles@michael-kreil.de>",
@@ -34,21 +34,20 @@
34
34
  "homepage": "https://github.com/versatiles-org/node-release-tool",
35
35
  "devDependencies": {
36
36
  "@schemastore/package": "^0.0.10",
37
- "@types/jest": "^30.0.0",
38
- "@types/node": "^24.7.2",
39
- "@typescript-eslint/eslint-plugin": "^8.46.0",
40
- "@typescript-eslint/parser": "^8.46.0",
41
- "eslint": "^9.37.0",
42
- "jest": "^30.2.0",
43
- "ts-jest": "^29.4.5",
37
+ "@types/node": "^24.10.1",
38
+ "@typescript-eslint/eslint-plugin": "^8.47.0",
39
+ "@typescript-eslint/parser": "^8.47.0",
40
+ "@vitest/coverage-v8": "^4.0.10",
41
+ "eslint": "^9.39.1",
44
42
  "tsx": "^4.20.6",
45
43
  "typescript": "^5.9.3",
46
- "typescript-eslint": "^8.46.0"
44
+ "typescript-eslint": "^8.47.0",
45
+ "vitest": "^4.0.10"
47
46
  },
48
47
  "dependencies": {
49
- "@inquirer/select": "^4.3.4",
50
- "commander": "^14.0.1",
51
- "dependency-cruiser": "^17.0.2",
48
+ "@inquirer/select": "^5.0.1",
49
+ "commander": "^14.0.2",
50
+ "dependency-cruiser": "^17.3.1",
52
51
  "remark": "^15.0.1",
53
52
  "remark-gfm": "^4.0.1",
54
53
  "typedoc": "^0.28.14",