@versatiles/release-tool 2.7.0 → 2.7.1

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.
@@ -24,7 +24,7 @@ export async function upgradeDependencies(directory) {
24
24
  });
25
25
  });
26
26
  const shell = new Shell(directory);
27
- await check('Remove lock file and node_modules', shell.stdout('rm -f package-lock.json && rm -rf node_modules'));
27
+ await shell.run('rm -f package-lock.json && rm -rf node_modules', false);
28
28
  await check('Reinstall all dependencies', shell.stdout('npm i'));
29
29
  // Final log message
30
30
  info('All dependencies are up to date');
@@ -112,7 +112,7 @@ export async function release(directory, branch = 'main', dryRun = false) {
112
112
  info(' git add .');
113
113
  info(` git commit -m "v${nextVersion}"`);
114
114
  info(` git tag -f -a "v${nextVersion}" -m "new release: v${nextVersion}"`);
115
- info(' git push --no-verify --follow-tags');
115
+ info(' git push --atomic --no-verify --follow-tags');
116
116
  info(` gh release create/edit "v${nextVersion}"`);
117
117
  info('Dry-run complete - no changes were made');
118
118
  return;
@@ -137,9 +137,9 @@ export async function release(directory, branch = 'main', dryRun = false) {
137
137
  }
138
138
  // git push
139
139
  await check('git add', shell.run('git add .'));
140
- await check('git commit', shell.run(`git commit -m "v${nextVersion}"`, false));
140
+ await check('git commit', shell.run(`git commit -m "v${nextVersion}"`));
141
141
  await check('git tag', shell.run(`git tag -f -a "v${nextVersion}" -m "new release: v${nextVersion}"`));
142
- await check('git push', withRetry(() => shell.run('git push --no-verify --follow-tags'), {
142
+ await check('git push', withRetry(() => shell.run('git push --atomic --no-verify --follow-tags'), {
143
143
  onRetry: (attempt, error) => warn(`git push failed (attempt ${attempt}): ${error.message}, retrying...`),
144
144
  }));
145
145
  // github release (with retry for transient network failures)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versatiles/release-tool",
3
- "version": "2.7.0",
3
+ "version": "2.7.1",
4
4
  "description": "VersaTiles release and documentation tools",
5
5
  "bin": {
6
6
  "vrt": "./dist/index.js"
@@ -40,9 +40,9 @@
40
40
  "homepage": "https://github.com/versatiles-org/node-release-tool",
41
41
  "devDependencies": {
42
42
  "@schemastore/package": "^0.0.10",
43
- "@types/node": "^25.2.0",
44
- "@typescript-eslint/eslint-plugin": "^8.54.0",
45
- "@typescript-eslint/parser": "^8.54.0",
43
+ "@types/node": "^25.2.3",
44
+ "@typescript-eslint/eslint-plugin": "^8.55.0",
45
+ "@typescript-eslint/parser": "^8.55.0",
46
46
  "@vitest/coverage-v8": "^4.0.18",
47
47
  "eslint": "^9.39.2",
48
48
  "husky": "^9.1.7",
@@ -50,20 +50,20 @@
50
50
  "prettier": "^3.8.1",
51
51
  "tsx": "^4.21.0",
52
52
  "typescript": "^5.9.3",
53
- "typescript-eslint": "^8.54.0",
53
+ "typescript-eslint": "^8.55.0",
54
54
  "vitest": "^4.0.18"
55
55
  },
56
56
  "dependencies": {
57
57
  "@inquirer/select": "^5.0.4",
58
58
  "commander": "^14.0.3",
59
- "dependency-cruiser": "^17.3.7",
59
+ "dependency-cruiser": "^17.3.8",
60
60
  "npm-check-updates": "^19.3.2",
61
61
  "remark": "^15.0.1",
62
62
  "remark-gfm": "^4.0.1",
63
63
  "typedoc": "^0.28.16",
64
64
  "typedoc-github-theme": "^0.3.1",
65
65
  "typedoc-github-wiki-theme": "^2.1.0",
66
- "typedoc-plugin-markdown": "^4.9.0"
66
+ "typedoc-plugin-markdown": "^4.10.0"
67
67
  },
68
68
  "lint-staged": {
69
69
  "*.{ts,js,json,md,yml,yaml}": "prettier --write",