@edcalderon/versioning 1.5.1 → 1.5.3

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/CHANGELOG.md CHANGED
@@ -1,3 +1,85 @@
1
+ ## [1.5.3](https://github.com/edcalderon/my-second-brain/compare/v1.5.1...v1.5.3) (2026-03-22)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **auth:** add Supabase SQL templates ([274db4f](https://github.com/edcalderon/my-second-brain/commit/274db4fb81682a654dd4ef1d0aeb3653b3e780e7))
7
+ * **auth:** correct repository link and bump to v1.0.1 ([280f2d2](https://github.com/edcalderon/my-second-brain/commit/280f2d2f6f99f12199a986adfff4cb5843cc0411))
8
+ * **auth:** update lockfile after react-native peer bump and publish v1.1.1 ([8d95c64](https://github.com/edcalderon/my-second-brain/commit/8d95c6473d6bdf12c58c27f8175c5bf15ca42637))
9
+ * **auth:** update repository link to direct tree URL, bump to v1.0.2 ([85e2e0c](https://github.com/edcalderon/my-second-brain/commit/85e2e0c5603fae9d863e8cfe0bbb03b94e4f7a31))
10
+ * **ci:** use --frozen-lockfile to resolve @ed/auth workspace link from lockfile; remove packages/auth from monorepo versioning scope ([99e38c0](https://github.com/edcalderon/my-second-brain/commit/99e38c03abf6fa4c3ead41b0ad34840ef859a5e0))
11
+ * **release:** skip re-tagging on plain release command since tag exists from patch ([e1212e1](https://github.com/edcalderon/my-second-brain/commit/e1212e1fc141b3146e04220aa785565a51b88ae4))
12
+ * restore workspace:* for @ed/auth, disable syncDependencies to prevent overwrite on release ([e941714](https://github.com/edcalderon/my-second-brain/commit/e941714c52a3dcecc677919df4d0068245d67a41))
13
+ * **versioning:** execute postChangelog hook in release manager and run update-readme ([219e62e](https://github.com/edcalderon/my-second-brain/commit/219e62eb86b234eabf0ab7b306e10b864e2f0f51))
14
+
15
+
16
+ ### Features
17
+
18
+ * **auth:** add canonical Authentik OIDC client helpers ([64fb5c6](https://github.com/edcalderon/my-second-brain/commit/64fb5c6a377614fd820cabaf46ac2aeaa476a5e4)), closes [#13](https://github.com/edcalderon/my-second-brain/issues/13)
19
+ * **auth:** add Web3 authentication support (SIWE/SIWS) v1.2.0 ([f585d46](https://github.com/edcalderon/my-second-brain/commit/f585d465d9ee8a7653b098ac550a780e94fc1c2d))
20
+ * **auth:** prepare @edcalderon/auth for NPM publishing ([ba57163](https://github.com/edcalderon/my-second-brain/commit/ba5716360d6c454286d9a349bcaf7f762f60fd6d))
21
+ * **auth:** Upgrade to fully universal compatibility (Web, Next, React Native) ([5c8aade](https://github.com/edcalderon/my-second-brain/commit/5c8aade273f021e56b19f75bec1ac17e6683e301))
22
+ * **versioning:** add workspace env extension ([c3c7131](https://github.com/edcalderon/my-second-brain/commit/c3c71315aabe8cb266a0a1b59a2194169471d19f))
23
+ * **versioning:** workspace-scripts extension v1.0.0 — auto-generate dev:all, build:all, per-app scripts ([adb586c](https://github.com/edcalderon/my-second-brain/commit/adb586cc7021fd6b554fe62884a3dc9d24b8c311))
24
+
25
+
26
+
27
+
28
+
29
+ ## [1.5.2](https://github.com/edcalderon/my-second-brain/compare/v1.5.1...v1.5.2) (2026-03-22)
30
+
31
+
32
+ ### Bug Fixes
33
+
34
+ * **auth:** add Supabase SQL templates ([274db4f](https://github.com/edcalderon/my-second-brain/commit/274db4fb81682a654dd4ef1d0aeb3653b3e780e7))
35
+ * **auth:** correct repository link and bump to v1.0.1 ([280f2d2](https://github.com/edcalderon/my-second-brain/commit/280f2d2f6f99f12199a986adfff4cb5843cc0411))
36
+ * **auth:** update lockfile after react-native peer bump and publish v1.1.1 ([8d95c64](https://github.com/edcalderon/my-second-brain/commit/8d95c6473d6bdf12c58c27f8175c5bf15ca42637))
37
+ * **auth:** update repository link to direct tree URL, bump to v1.0.2 ([85e2e0c](https://github.com/edcalderon/my-second-brain/commit/85e2e0c5603fae9d863e8cfe0bbb03b94e4f7a31))
38
+ * **ci:** use --frozen-lockfile to resolve @ed/auth workspace link from lockfile; remove packages/auth from monorepo versioning scope ([99e38c0](https://github.com/edcalderon/my-second-brain/commit/99e38c03abf6fa4c3ead41b0ad34840ef859a5e0))
39
+ * **release:** skip re-tagging on plain release command since tag exists from patch ([e1212e1](https://github.com/edcalderon/my-second-brain/commit/e1212e1fc141b3146e04220aa785565a51b88ae4))
40
+ * restore workspace:* for @ed/auth, disable syncDependencies to prevent overwrite on release ([e941714](https://github.com/edcalderon/my-second-brain/commit/e941714c52a3dcecc677919df4d0068245d67a41))
41
+
42
+
43
+ ### Features
44
+
45
+ * **auth:** add canonical Authentik OIDC client helpers ([64fb5c6](https://github.com/edcalderon/my-second-brain/commit/64fb5c6a377614fd820cabaf46ac2aeaa476a5e4)), closes [#13](https://github.com/edcalderon/my-second-brain/issues/13)
46
+ * **auth:** add Web3 authentication support (SIWE/SIWS) v1.2.0 ([f585d46](https://github.com/edcalderon/my-second-brain/commit/f585d465d9ee8a7653b098ac550a780e94fc1c2d))
47
+ * **auth:** prepare @edcalderon/auth for NPM publishing ([ba57163](https://github.com/edcalderon/my-second-brain/commit/ba5716360d6c454286d9a349bcaf7f762f60fd6d))
48
+ * **auth:** Upgrade to fully universal compatibility (Web, Next, React Native) ([5c8aade](https://github.com/edcalderon/my-second-brain/commit/5c8aade273f021e56b19f75bec1ac17e6683e301))
49
+ * **versioning:** add workspace env extension ([c3c7131](https://github.com/edcalderon/my-second-brain/commit/c3c71315aabe8cb266a0a1b59a2194169471d19f))
50
+ * **versioning:** workspace-scripts extension v1.0.0 — auto-generate dev:all, build:all, per-app scripts ([adb586c](https://github.com/edcalderon/my-second-brain/commit/adb586cc7021fd6b554fe62884a3dc9d24b8c311))
51
+
52
+
53
+
54
+
55
+
56
+ ## [1.5.2](https://github.com/edcalderon/my-second-brain/compare/v1.5.1...v1.5.2) (2026-03-22)
57
+
58
+
59
+ ### Bug Fixes
60
+
61
+ * **auth:** add Supabase SQL templates ([274db4f](https://github.com/edcalderon/my-second-brain/commit/274db4fb81682a654dd4ef1d0aeb3653b3e780e7))
62
+ * **auth:** correct repository link and bump to v1.0.1 ([280f2d2](https://github.com/edcalderon/my-second-brain/commit/280f2d2f6f99f12199a986adfff4cb5843cc0411))
63
+ * **auth:** update lockfile after react-native peer bump and publish v1.1.1 ([8d95c64](https://github.com/edcalderon/my-second-brain/commit/8d95c6473d6bdf12c58c27f8175c5bf15ca42637))
64
+ * **auth:** update repository link to direct tree URL, bump to v1.0.2 ([85e2e0c](https://github.com/edcalderon/my-second-brain/commit/85e2e0c5603fae9d863e8cfe0bbb03b94e4f7a31))
65
+ * **ci:** use --frozen-lockfile to resolve @ed/auth workspace link from lockfile; remove packages/auth from monorepo versioning scope ([99e38c0](https://github.com/edcalderon/my-second-brain/commit/99e38c03abf6fa4c3ead41b0ad34840ef859a5e0))
66
+ * **release:** skip re-tagging on plain release command since tag exists from patch ([e1212e1](https://github.com/edcalderon/my-second-brain/commit/e1212e1fc141b3146e04220aa785565a51b88ae4))
67
+ * restore workspace:* for @ed/auth, disable syncDependencies to prevent overwrite on release ([e941714](https://github.com/edcalderon/my-second-brain/commit/e941714c52a3dcecc677919df4d0068245d67a41))
68
+
69
+
70
+ ### Features
71
+
72
+ * **auth:** add canonical Authentik OIDC client helpers ([64fb5c6](https://github.com/edcalderon/my-second-brain/commit/64fb5c6a377614fd820cabaf46ac2aeaa476a5e4)), closes [#13](https://github.com/edcalderon/my-second-brain/issues/13)
73
+ * **auth:** add Web3 authentication support (SIWE/SIWS) v1.2.0 ([f585d46](https://github.com/edcalderon/my-second-brain/commit/f585d465d9ee8a7653b098ac550a780e94fc1c2d))
74
+ * **auth:** prepare @edcalderon/auth for NPM publishing ([ba57163](https://github.com/edcalderon/my-second-brain/commit/ba5716360d6c454286d9a349bcaf7f762f60fd6d))
75
+ * **auth:** Upgrade to fully universal compatibility (Web, Next, React Native) ([5c8aade](https://github.com/edcalderon/my-second-brain/commit/5c8aade273f021e56b19f75bec1ac17e6683e301))
76
+ * **versioning:** add workspace env extension ([c3c7131](https://github.com/edcalderon/my-second-brain/commit/c3c71315aabe8cb266a0a1b59a2194169471d19f))
77
+ * **versioning:** workspace-scripts extension v1.0.0 — auto-generate dev:all, build:all, per-app scripts ([adb586c](https://github.com/edcalderon/my-second-brain/commit/adb586cc7021fd6b554fe62884a3dc9d24b8c311))
78
+
79
+
80
+
81
+
82
+
1
83
 
2
84
 
3
85
  # Changelog
package/README.md CHANGED
@@ -8,16 +8,28 @@ A comprehensive versioning and changelog management tool designed for monorepos
8
8
 
9
9
  ---
10
10
 
11
- ## 📋 Latest Changes (v1.5.1)
11
+ ## 📋 Latest Changes (v1.5.3)
12
12
 
13
- ### Fixed
14
- - 🔧 Fixed `secrets-check` extension to use Husky v9 hook format (removed deprecated `._/husky.sh` sourcing)
15
- - 🔧 Fixed `cleanup-repo` extension to use Husky v9 hook format
16
- - 🔄 Enhanced `init` command to automatically set up husky and add `prepare` script to package.json
17
- - ✨ Added optional `postinstall` hook to versioning package that conditionally sets up husky when consumed
13
+ ### Bug Fixes
18
14
 
19
- ### Changed
20
- - 📝 Updated hook generation to be compatible with Husky v9+ (eliminates deprecation warnings in v10)
15
+ * **auth:** add Supabase SQL templates ([274db4f](https://github.com/edcalderon/my-second-brain/commit/274db4fb81682a654dd4ef1d0aeb3653b3e780e7))
16
+ * **auth:** correct repository link and bump to v1.0.1 ([280f2d2](https://github.com/edcalderon/my-second-brain/commit/280f2d2f6f99f12199a986adfff4cb5843cc0411))
17
+ * **auth:** update lockfile after react-native peer bump and publish v1.1.1 ([8d95c64](https://github.com/edcalderon/my-second-brain/commit/8d95c6473d6bdf12c58c27f8175c5bf15ca42637))
18
+ * **auth:** update repository link to direct tree URL, bump to v1.0.2 ([85e2e0c](https://github.com/edcalderon/my-second-brain/commit/85e2e0c5603fae9d863e8cfe0bbb03b94e4f7a31))
19
+ * **ci:** use --frozen-lockfile to resolve @ed/auth workspace link from lockfile; remove packages/auth from monorepo versioning scope ([99e38c0](https://github.com/edcalderon/my-second-brain/commit/99e38c03abf6fa4c3ead41b0ad34840ef859a5e0))
20
+ * **release:** skip re-tagging on plain release command since tag exists from patch ([e1212e1](https://github.com/edcalderon/my-second-brain/commit/e1212e1fc141b3146e04220aa785565a51b88ae4))
21
+ * restore workspace:* for @ed/auth, disable syncDependencies to prevent overwrite on release ([e941714](https://github.com/edcalderon/my-second-brain/commit/e941714c52a3dcecc677919df4d0068245d67a41))
22
+ * **versioning:** execute postChangelog hook in release manager and run update-readme ([219e62e](https://github.com/edcalderon/my-second-brain/commit/219e62eb86b234eabf0ab7b306e10b864e2f0f51))
23
+
24
+
25
+ ### Features
26
+
27
+ * **auth:** add canonical Authentik OIDC client helpers ([64fb5c6](https://github.com/edcalderon/my-second-brain/commit/64fb5c6a377614fd820cabaf46ac2aeaa476a5e4)), closes [#13](https://github.com/edcalderon/my-second-brain/issues/13)
28
+ * **auth:** add Web3 authentication support (SIWE/SIWS) v1.2.0 ([f585d46](https://github.com/edcalderon/my-second-brain/commit/f585d465d9ee8a7653b098ac550a780e94fc1c2d))
29
+ * **auth:** prepare @edcalderon/auth for NPM publishing ([ba57163](https://github.com/edcalderon/my-second-brain/commit/ba5716360d6c454286d9a349bcaf7f762f60fd6d))
30
+ * **auth:** Upgrade to fully universal compatibility (Web, Next, React Native) ([5c8aade](https://github.com/edcalderon/my-second-brain/commit/5c8aade273f021e56b19f75bec1ac17e6683e301))
31
+ * **versioning:** add workspace env extension ([c3c7131](https://github.com/edcalderon/my-second-brain/commit/c3c71315aabe8cb266a0a1b59a2194169471d19f))
32
+ * **versioning:** workspace-scripts extension v1.0.0 — auto-generate dev:all, build:all, per-app scripts ([adb586c](https://github.com/edcalderon/my-second-brain/commit/adb586cc7021fd6b554fe62884a3dc9d24b8c311))
21
33
 
22
34
  For full version history, see [CHANGELOG.md](./CHANGELOG.md) and [GitHub releases](https://github.com/edcalderon/my-second-brain/releases)
23
35
 
@@ -129,13 +129,15 @@ exports.default = {
129
129
  blockLines.pop();
130
130
  const extractedChanges = blockLines.join('\n');
131
131
  const versionStr = selectedBlock.version;
132
- const changelogRelPath = options.changelog.replace(/^\.\//, '');
132
+ const readmeDir = path.dirname(readmePath);
133
+ const changelogRelPath = path.relative(readmeDir, changelogPath).split(path.sep).join('/');
134
+ const changelogLinkPath = changelogRelPath.startsWith('..') ? changelogRelPath : `./${changelogRelPath}`;
133
135
  const newBlock = [
134
136
  `## 📋 Latest Changes (v${versionStr})`,
135
137
  '',
136
138
  extractedChanges,
137
139
  '',
138
- `For full version history, see [CHANGELOG.md](./${changelogRelPath}) and [GitHub releases](https://github.com/edcalderon/my-second-brain/releases)`,
140
+ `For full version history, see [CHANGELOG.md](${changelogLinkPath}) and [GitHub releases](https://github.com/edcalderon/my-second-brain/releases)`,
139
141
  '',
140
142
  ].join('\n');
141
143
  // -------------------------------------------------------------------
@@ -179,7 +181,14 @@ exports.default = {
179
181
  },
180
182
  hooks: {
181
183
  postChangelog: async (_options) => {
182
- console.log('💡 Run `versioning update-readme` to sync README with the latest CHANGELOG entry.');
184
+ console.log('💡 Syncing READMEs with the latest CHANGELOG entries...');
185
+ try {
186
+ const { execSync } = require('child_process');
187
+ execSync('pnpm --recursive run --if-present update-readme', { stdio: 'inherit' });
188
+ }
189
+ catch (err) {
190
+ console.log('⚠️ Failed to auto-sync readmes or none found.');
191
+ }
183
192
  }
184
193
  }
185
194
  };
package/dist/release.js CHANGED
@@ -36,6 +36,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
36
36
  exports.ReleaseManager = void 0;
37
37
  const fs = __importStar(require("fs-extra"));
38
38
  const path = __importStar(require("path"));
39
+ const extensions_1 = require("./extensions");
39
40
  class ReleaseManager {
40
41
  constructor(config) {
41
42
  this.config = {
@@ -63,6 +64,7 @@ class ReleaseManager {
63
64
  }
64
65
  // Generate changelog
65
66
  await this.config.changelogManager.generate();
67
+ await (0, extensions_1.runExtensionHooks)('postChangelog', {});
66
68
  // Commit changes
67
69
  if (this.config.createCommit) {
68
70
  await this.config.versionManager.commitChanges(version);
@@ -119,6 +121,7 @@ class ReleaseManager {
119
121
  build: options.build
120
122
  });
121
123
  await this.config.changelogManager.generate();
124
+ await (0, extensions_1.runExtensionHooks)('postChangelog', {});
122
125
  if (this.config.createCommit) {
123
126
  await this.config.versionManager.commitChanges(result.version);
124
127
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edcalderon/versioning",
3
- "version": "1.5.1",
3
+ "version": "1.5.3",
4
4
  "description": "A comprehensive versioning and changelog management tool for monorepos",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -15,15 +15,15 @@
15
15
  "lint": "eslint src/**/*.ts",
16
16
  "postinstall": "node scripts/post-install.js",
17
17
  "prepublishOnly": "npm run build && npm run test",
18
- "version:patch": "node dist/cli.js patch --no-commit --no-tag",
19
- "version:minor": "node dist/cli.js minor --no-commit --no-tag",
20
- "version:major": "node dist/cli.js major --no-commit --no-tag",
18
+ "version:patch": "node dist/cli.js patch --no-tag",
19
+ "version:minor": "node dist/cli.js minor --no-tag",
20
+ "version:major": "node dist/cli.js major --no-tag",
21
21
  "changelog": "node dist/cli.js changelog",
22
22
  "publish:npm": "node dist/cli.js publish-package",
23
23
  "publish:local": "node dist/cli.js publish-local",
24
24
  "create-tag": "node scripts/create-tag.js",
25
- "release": "npm run version:patch && npm run changelog && npm run create-tag",
26
- "release:local": "npm run version:patch && npm run changelog && npm run publish:local",
25
+ "release": "npm run version:patch && npm run create-tag",
26
+ "release:local": "npm run version:patch && npm run publish:local",
27
27
  "update-readme": "node dist/cli.js update-readme"
28
28
  },
29
29
  "keywords": [