@edcalderon/versioning 1.5.3 → 1.5.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.
- package/CHANGELOG.md +13 -50
- package/README.md +2 -19
- package/dist/changelog.d.ts +3 -1
- package/dist/changelog.js +12 -5
- package/dist/extensions/readme-maintainer/index.js +5 -1
- package/package.json +1 -1
- package/versioning.config.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,80 +1,43 @@
|
|
|
1
|
-
## [1.5.
|
|
1
|
+
## [1.5.5](https://github.com/edcalderon/my-second-brain/compare/versioning-v1.5.4...versioning-v1.5.5) (2026-03-22)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
* **
|
|
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))
|
|
6
|
+
* **versioning:** guard against blank changelog sections in readme-maintainer ([1570811](https://github.com/edcalderon/my-second-brain/commit/1570811e4890ee4b376bb7fcae4d7ca065c2bde5))
|
|
14
7
|
|
|
15
8
|
|
|
16
|
-
### Features
|
|
17
9
|
|
|
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
10
|
|
|
25
11
|
|
|
12
|
+
## [1.5.5](https://github.com/edcalderon/my-second-brain/compare/versioning-v1.5.4...versioning-v1.5.5) (2026-03-22)
|
|
26
13
|
|
|
27
14
|
|
|
28
15
|
|
|
29
|
-
## [1.5.2](https://github.com/edcalderon/my-second-brain/compare/v1.5.1...v1.5.2) (2026-03-22)
|
|
30
16
|
|
|
31
17
|
|
|
32
|
-
|
|
18
|
+
## [1.5.4](https://github.com/edcalderon/my-second-brain/compare/versioning-v1.5.3...versioning-v1.5.4) (2026-03-22)
|
|
33
19
|
|
|
34
|
-
|
|
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))
|
|
20
|
+
### Bug Fixes
|
|
41
21
|
|
|
22
|
+
* **versioning:** isolate changelog generation to package path and fix tag prefix ([8b94673](https://github.com/edcalderon/my-second-brain/commit/8b94673e738ff9eb7b30f40df88296a24683526f))
|
|
42
23
|
|
|
43
|
-
### Features
|
|
44
24
|
|
|
45
|
-
|
|
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))
|
|
25
|
+
## [1.5.3](https://github.com/edcalderon/my-second-brain/compare/v1.5.1...v1.5.3) (2026-03-22)
|
|
51
26
|
|
|
27
|
+
### Bug Fixes
|
|
52
28
|
|
|
29
|
+
* **versioning:** execute postChangelog hook in release manager and run update-readme ([219e62e](https://github.com/edcalderon/my-second-brain/commit/219e62eb86b234eabf0ab7b306e10b864e2f0f51))
|
|
53
30
|
|
|
31
|
+
### Features
|
|
54
32
|
|
|
33
|
+
* **versioning:** add workspace env extension ([c3c7131](https://github.com/edcalderon/my-second-brain/commit/c3c71315aabe8cb266a0a1b59a2194169471d19f))
|
|
34
|
+
* **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))
|
|
55
35
|
|
|
56
36
|
## [1.5.2](https://github.com/edcalderon/my-second-brain/compare/v1.5.1...v1.5.2) (2026-03-22)
|
|
57
37
|
|
|
38
|
+
(No changes recorded for versioning in v1.5.2)
|
|
58
39
|
|
|
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
40
|
|
|
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
41
|
|
|
79
42
|
|
|
80
43
|
|
package/README.md
CHANGED
|
@@ -8,28 +8,11 @@ A comprehensive versioning and changelog management tool designed for monorepos
|
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
11
|
-
## 📋 Latest Changes (v1.5.
|
|
11
|
+
## 📋 Latest Changes (v1.5.5)
|
|
12
12
|
|
|
13
13
|
### Bug Fixes
|
|
14
14
|
|
|
15
|
-
* **
|
|
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))
|
|
15
|
+
* **versioning:** guard against blank changelog sections in readme-maintainer ([1570811](https://github.com/edcalderon/my-second-brain/commit/1570811e4890ee4b376bb7fcae4d7ca065c2bde5))
|
|
33
16
|
|
|
34
17
|
For full version history, see [CHANGELOG.md](./CHANGELOG.md) and [GitHub releases](https://github.com/edcalderon/my-second-brain/releases)
|
|
35
18
|
|
package/dist/changelog.d.ts
CHANGED
|
@@ -4,10 +4,12 @@ export interface ChangelogConfig {
|
|
|
4
4
|
outfile?: string;
|
|
5
5
|
releaseCount?: number;
|
|
6
6
|
sameFile?: boolean;
|
|
7
|
+
tagPrefix?: string;
|
|
8
|
+
path?: string;
|
|
7
9
|
}
|
|
8
10
|
export declare class ChangelogManager {
|
|
9
11
|
private config;
|
|
10
|
-
constructor(config?:
|
|
12
|
+
constructor(config?: any);
|
|
11
13
|
generate(from?: string, to?: string): Promise<string>;
|
|
12
14
|
private updateExistingChangelog;
|
|
13
15
|
getLatestRelease(): Promise<string | null>;
|
package/dist/changelog.js
CHANGED
|
@@ -41,22 +41,29 @@ const fs = __importStar(require("fs-extra"));
|
|
|
41
41
|
const conventional_changelog_1 = __importDefault(require("conventional-changelog"));
|
|
42
42
|
class ChangelogManager {
|
|
43
43
|
constructor(config = {}) {
|
|
44
|
+
const computedPath = config.changelog?.path || config.path || '.';
|
|
44
45
|
this.config = {
|
|
45
|
-
preset: 'angular',
|
|
46
|
-
infile: 'CHANGELOG.md',
|
|
47
|
-
outfile: 'CHANGELOG.md',
|
|
46
|
+
preset: config.changelog?.preset || 'angular',
|
|
47
|
+
infile: config.changelogFile || 'CHANGELOG.md',
|
|
48
|
+
outfile: config.changelogFile || 'CHANGELOG.md',
|
|
48
49
|
sameFile: true,
|
|
50
|
+
tagPrefix: config.changelog?.tagPrefix || config.tagPrefix,
|
|
51
|
+
path: computedPath,
|
|
49
52
|
...config
|
|
50
53
|
};
|
|
51
54
|
}
|
|
52
55
|
async generate(from, to) {
|
|
53
56
|
return new Promise((resolve, reject) => {
|
|
54
57
|
let changelog = '';
|
|
55
|
-
const stream =
|
|
58
|
+
const stream = conventional_changelog_1.default({
|
|
56
59
|
preset: this.config.preset,
|
|
57
60
|
releaseCount: this.config.releaseCount,
|
|
58
61
|
...(from && { from }),
|
|
59
|
-
...(to && { to })
|
|
62
|
+
...(to && { to }),
|
|
63
|
+
...(this.config.tagPrefix && { tagPrefix: this.config.tagPrefix })
|
|
64
|
+
}, undefined, // context
|
|
65
|
+
{
|
|
66
|
+
...(this.config.path && { path: this.config.path })
|
|
60
67
|
});
|
|
61
68
|
stream.on('data', (chunk) => {
|
|
62
69
|
changelog += chunk.toString();
|
|
@@ -127,8 +127,12 @@ exports.default = {
|
|
|
127
127
|
blockLines.shift();
|
|
128
128
|
while (blockLines.length > 0 && blockLines[blockLines.length - 1].trim() === '')
|
|
129
129
|
blockLines.pop();
|
|
130
|
-
const extractedChanges = blockLines.join('\n');
|
|
130
|
+
const extractedChanges = blockLines.join('\n').trim();
|
|
131
131
|
const versionStr = selectedBlock.version;
|
|
132
|
+
if (!extractedChanges) {
|
|
133
|
+
console.log(`⚠️ Changelog block for v${versionStr} is empty. Skipping README update.`);
|
|
134
|
+
return;
|
|
135
|
+
}
|
|
132
136
|
const readmeDir = path.dirname(readmePath);
|
|
133
137
|
const changelogRelPath = path.relative(readmeDir, changelogPath).split(path.sep).join('/');
|
|
134
138
|
const changelogLinkPath = changelogRelPath.startsWith('..') ? changelogRelPath : `./${changelogRelPath}`;
|
package/package.json
CHANGED