@hugojosefson/cli 0.11.0 → 0.13.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/README.md +1 -1
- package/esm/deno.js +16 -8
- package/esm/hj.js +19 -0
- package/esm/node_modules/@conventional-changelog/template/LICENSE.md +21 -0
- package/esm/node_modules/@conventional-changelog/template/README.md +66 -0
- package/esm/node_modules/@conventional-changelog/template/dist/elements.d.ts +78 -0
- package/esm/node_modules/@conventional-changelog/template/dist/elements.d.ts.map +1 -0
- package/esm/node_modules/@conventional-changelog/template/dist/elements.js +132 -0
- package/esm/node_modules/@conventional-changelog/template/dist/index.d.ts +6 -0
- package/esm/node_modules/@conventional-changelog/template/dist/index.d.ts.map +1 -0
- package/esm/node_modules/@conventional-changelog/template/dist/index.js +5 -0
- package/esm/node_modules/@conventional-changelog/template/dist/legacy.d.ts +20 -0
- package/esm/node_modules/@conventional-changelog/template/dist/legacy.d.ts.map +1 -0
- package/esm/node_modules/@conventional-changelog/template/dist/legacy.js +22 -0
- package/esm/node_modules/@conventional-changelog/template/dist/references.d.ts +43 -0
- package/esm/node_modules/@conventional-changelog/template/dist/references.d.ts.map +1 -0
- package/esm/node_modules/@conventional-changelog/template/dist/references.js +82 -0
- package/esm/node_modules/@conventional-changelog/template/dist/templates.d.ts +74 -0
- package/esm/node_modules/@conventional-changelog/template/dist/templates.d.ts.map +1 -0
- package/esm/node_modules/@conventional-changelog/template/dist/templates.js +125 -0
- package/esm/node_modules/@conventional-changelog/template/dist/types/commit.d.ts +37 -0
- package/esm/node_modules/@conventional-changelog/template/dist/types/commit.d.ts.map +1 -0
- package/esm/node_modules/@conventional-changelog/template/dist/types/commit.js +2 -0
- package/esm/node_modules/@conventional-changelog/template/dist/types/context.d.ts +113 -0
- package/esm/node_modules/@conventional-changelog/template/dist/types/context.d.ts.map +1 -0
- package/esm/node_modules/@conventional-changelog/template/dist/types/context.js +2 -0
- package/esm/node_modules/@conventional-changelog/template/dist/types/index.d.ts +4 -0
- package/esm/node_modules/@conventional-changelog/template/dist/types/index.d.ts.map +1 -0
- package/esm/node_modules/@conventional-changelog/template/dist/types/index.js +2 -0
- package/esm/node_modules/@conventional-changelog/template/dist/types/utils.d.ts +2 -0
- package/esm/node_modules/@conventional-changelog/template/dist/types/utils.d.ts.map +1 -0
- package/esm/node_modules/@conventional-changelog/template/dist/types/utils.js +2 -0
- package/esm/node_modules/@conventional-changelog/template/package.json +38 -0
- package/esm/node_modules/@simple-libs/stream-utils/LICENSE +21 -0
- package/esm/node_modules/@simple-libs/stream-utils/README.md +79 -0
- package/esm/node_modules/@simple-libs/stream-utils/dist/index.d.ts +51 -0
- package/esm/node_modules/@simple-libs/stream-utils/dist/index.d.ts.map +1 -0
- package/esm/node_modules/@simple-libs/stream-utils/dist/index.js +116 -0
- package/esm/node_modules/@simple-libs/stream-utils/package.json +38 -0
- package/esm/node_modules/argue-cli/LICENSE +21 -0
- package/esm/node_modules/argue-cli/README.md +239 -0
- package/esm/node_modules/argue-cli/dist/args.d.ts +30 -0
- package/esm/node_modules/argue-cli/dist/args.d.ts.map +1 -0
- package/esm/node_modules/argue-cli/dist/argv.d.ts +14 -0
- package/esm/node_modules/argue-cli/dist/argv.d.ts.map +1 -0
- package/esm/node_modules/argue-cli/dist/core.d.ts +24 -0
- package/esm/node_modules/argue-cli/dist/core.d.ts.map +1 -0
- package/esm/node_modules/argue-cli/dist/index.d.ts +6 -0
- package/esm/node_modules/argue-cli/dist/index.d.ts.map +1 -0
- package/esm/node_modules/argue-cli/dist/index.js +254 -0
- package/esm/node_modules/argue-cli/dist/index.js.map +1 -0
- package/esm/node_modules/argue-cli/dist/options.d.ts +9 -0
- package/esm/node_modules/argue-cli/dist/options.d.ts.map +1 -0
- package/esm/node_modules/argue-cli/dist/types.d.ts +16 -0
- package/esm/node_modules/argue-cli/dist/types.d.ts.map +1 -0
- package/esm/node_modules/argue-cli/dist/utils.d.ts +24 -0
- package/esm/node_modules/argue-cli/dist/utils.d.ts.map +1 -0
- package/esm/node_modules/argue-cli/package.json +34 -0
- package/esm/node_modules/conventional-changelog-core/node_modules/conventional-changelog-writer/LICENSE.md +21 -0
- package/esm/node_modules/conventional-changelog-core/node_modules/conventional-changelog-writer/README.md +369 -0
- package/esm/node_modules/conventional-changelog-core/node_modules/conventional-changelog-writer/package.json +53 -0
- package/esm/node_modules/conventional-changelog-core/node_modules/conventional-commits-filter/LICENSE +21 -0
- package/esm/node_modules/conventional-changelog-core/node_modules/conventional-commits-filter/README.md +184 -0
- package/esm/node_modules/conventional-changelog-core/node_modules/conventional-commits-filter/package.json +31 -0
- package/esm/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/LICENSE.md +21 -0
- package/esm/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/README.md +383 -0
- package/esm/node_modules/conventional-changelog-core/node_modules/conventional-commits-parser/package.json +47 -0
- package/esm/node_modules/conventional-changelog-writer/README.md +49 -342
- package/esm/node_modules/conventional-changelog-writer/dist/cli/index.d.ts +3 -0
- package/esm/node_modules/conventional-changelog-writer/dist/cli/index.d.ts.map +1 -0
- package/esm/node_modules/conventional-changelog-writer/dist/cli/index.js +68 -0
- package/esm/node_modules/conventional-changelog-writer/dist/cli/utils.d.ts +4 -0
- package/esm/node_modules/conventional-changelog-writer/dist/cli/utils.d.ts.map +1 -0
- package/esm/node_modules/conventional-changelog-writer/dist/cli/utils.js +39 -0
- package/esm/node_modules/conventional-changelog-writer/dist/commit.d.ts +10 -0
- package/esm/node_modules/conventional-changelog-writer/dist/commit.d.ts.map +1 -0
- package/esm/node_modules/conventional-changelog-writer/dist/commit.js +43 -0
- package/esm/node_modules/conventional-changelog-writer/dist/context.d.ts +27 -0
- package/esm/node_modules/conventional-changelog-writer/dist/context.d.ts.map +1 -0
- package/esm/node_modules/conventional-changelog-writer/dist/context.js +134 -0
- package/esm/node_modules/conventional-changelog-writer/dist/index.d.ts +7 -0
- package/esm/node_modules/conventional-changelog-writer/dist/index.d.ts.map +1 -0
- package/esm/node_modules/conventional-changelog-writer/dist/index.js +6 -0
- package/esm/node_modules/conventional-changelog-writer/dist/options.d.ts +25 -0
- package/esm/node_modules/conventional-changelog-writer/dist/options.d.ts.map +1 -0
- package/esm/node_modules/conventional-changelog-writer/dist/options.js +79 -0
- package/esm/node_modules/conventional-changelog-writer/dist/template.d.ts +10 -0
- package/esm/node_modules/conventional-changelog-writer/dist/template.d.ts.map +1 -0
- package/esm/node_modules/conventional-changelog-writer/dist/template.js +18 -0
- package/esm/node_modules/conventional-changelog-writer/dist/types/index.d.ts +8 -0
- package/esm/node_modules/conventional-changelog-writer/dist/types/index.d.ts.map +1 -0
- package/esm/node_modules/conventional-changelog-writer/dist/types/index.js +2 -0
- package/esm/node_modules/conventional-changelog-writer/dist/types/options.d.ts +122 -0
- package/esm/node_modules/conventional-changelog-writer/dist/types/options.d.ts.map +1 -0
- package/esm/node_modules/conventional-changelog-writer/dist/types/options.js +2 -0
- package/esm/node_modules/conventional-changelog-writer/dist/types/utils.d.ts +9 -0
- package/esm/node_modules/conventional-changelog-writer/dist/types/utils.d.ts.map +1 -0
- package/esm/node_modules/conventional-changelog-writer/dist/types/utils.js +2 -0
- package/esm/node_modules/conventional-changelog-writer/dist/utils.d.ts +20 -0
- package/esm/node_modules/conventional-changelog-writer/dist/utils.d.ts.map +1 -0
- package/esm/node_modules/conventional-changelog-writer/dist/utils.js +70 -0
- package/esm/node_modules/conventional-changelog-writer/dist/writers.d.ts +29 -0
- package/esm/node_modules/conventional-changelog-writer/dist/writers.d.ts.map +1 -0
- package/esm/node_modules/conventional-changelog-writer/dist/writers.js +94 -0
- package/esm/node_modules/conventional-changelog-writer/package.json +24 -26
- package/esm/node_modules/conventional-commits-filter/README.md +51 -170
- package/esm/node_modules/conventional-commits-filter/dist/RevertedCommitsFilter.d.ts +17 -0
- package/esm/node_modules/conventional-commits-filter/dist/RevertedCommitsFilter.d.ts.map +1 -0
- package/esm/node_modules/conventional-commits-filter/dist/RevertedCommitsFilter.js +46 -0
- package/esm/node_modules/conventional-commits-filter/dist/filters.d.ts +19 -0
- package/esm/node_modules/conventional-commits-filter/dist/filters.d.ts.map +1 -0
- package/esm/node_modules/conventional-commits-filter/dist/filters.js +34 -0
- package/esm/node_modules/conventional-commits-filter/dist/index.d.ts +4 -0
- package/esm/node_modules/conventional-commits-filter/dist/index.d.ts.map +1 -0
- package/esm/node_modules/conventional-commits-filter/dist/index.js +3 -0
- package/esm/node_modules/conventional-commits-filter/dist/types.d.ts +6 -0
- package/esm/node_modules/conventional-commits-filter/dist/types.d.ts.map +1 -0
- package/esm/node_modules/conventional-commits-filter/dist/types.js +2 -0
- package/esm/node_modules/conventional-commits-filter/dist/utils.d.ts +16 -0
- package/esm/node_modules/conventional-commits-filter/dist/utils.d.ts.map +1 -0
- package/esm/node_modules/conventional-commits-filter/dist/utils.js +43 -0
- package/esm/node_modules/conventional-commits-filter/package.json +22 -16
- package/esm/node_modules/conventional-commits-parser/README.md +49 -353
- package/esm/node_modules/conventional-commits-parser/dist/CommitParser.d.ts +40 -0
- package/esm/node_modules/conventional-commits-parser/dist/CommitParser.d.ts.map +1 -0
- package/esm/node_modules/conventional-commits-parser/dist/CommitParser.js +319 -0
- package/esm/node_modules/conventional-commits-parser/dist/cli/index.d.ts +3 -0
- package/esm/node_modules/conventional-commits-parser/dist/cli/index.d.ts.map +1 -0
- package/esm/node_modules/conventional-commits-parser/dist/cli/index.js +67 -0
- package/esm/node_modules/conventional-commits-parser/dist/cli/options.d.ts +3 -0
- package/esm/node_modules/conventional-commits-parser/dist/cli/options.d.ts.map +1 -0
- package/esm/node_modules/conventional-commits-parser/dist/cli/options.js +40 -0
- package/esm/node_modules/conventional-commits-parser/dist/cli/utils.d.ts +5 -0
- package/esm/node_modules/conventional-commits-parser/dist/cli/utils.d.ts.map +1 -0
- package/esm/node_modules/conventional-commits-parser/dist/cli/utils.js +49 -0
- package/esm/node_modules/conventional-commits-parser/dist/index.d.ts +4 -0
- package/esm/node_modules/conventional-commits-parser/dist/index.d.ts.map +1 -0
- package/esm/node_modules/conventional-commits-parser/dist/index.js +3 -0
- package/esm/node_modules/conventional-commits-parser/dist/options.d.ts +3 -0
- package/esm/node_modules/conventional-commits-parser/dist/options.d.ts.map +1 -0
- package/esm/node_modules/conventional-commits-parser/dist/options.js +27 -0
- package/esm/node_modules/conventional-commits-parser/dist/regex.d.ts +8 -0
- package/esm/node_modules/conventional-commits-parser/dist/regex.d.ts.map +1 -0
- package/esm/node_modules/conventional-commits-parser/dist/regex.js +63 -0
- package/esm/node_modules/conventional-commits-parser/dist/stream.d.ts +14 -0
- package/esm/node_modules/conventional-commits-parser/dist/stream.d.ts.map +1 -0
- package/esm/node_modules/conventional-commits-parser/dist/stream.js +38 -0
- package/esm/node_modules/conventional-commits-parser/dist/types.d.ts +100 -0
- package/esm/node_modules/conventional-commits-parser/dist/types.d.ts.map +1 -0
- package/esm/node_modules/conventional-commits-parser/dist/types.js +2 -0
- package/esm/node_modules/conventional-commits-parser/dist/utils.d.ts +41 -0
- package/esm/node_modules/conventional-commits-parser/dist/utils.d.ts.map +1 -0
- package/esm/node_modules/conventional-commits-parser/dist/utils.js +75 -0
- package/esm/node_modules/conventional-commits-parser/package.json +22 -23
- package/esm/src/cli/command-help.js +15 -0
- package/esm/src/cli/repair-configuration-description.js +98 -0
- package/esm/src/cli/run-changelog.js +51 -0
- package/esm/src/cli/run-cli.js +8 -0
- package/esm/src/features/built-in-feature-registry.js +2 -0
- package/esm/src/features/changelog-feature.js +155 -0
- package/esm/src/features/github-ci-artifacts.js +17 -3
- package/esm/src/features/github-ci-runtime-matrix.js +50 -0
- package/esm/src/features/github-release-publish-artifacts.js +5 -4
- package/esm/src/features/github-release-publish-feature.js +7 -2
- package/esm/src/features/github-workflow-cache.js +18 -0
- package/esm/src/features/npm-readme-badge.js +163 -0
- package/esm/src/features/readme-contribution-plans.js +18 -1
- package/esm/src/features/workflow-deno.js +1 -1
- package/esm/src/package/npm-name.js +5 -0
- package/esm/src/readme/contribution-blocks.js +33 -6
- package/esm/src/release/changelog-markdown.js +41 -0
- package/esm/src/release/changelog.js +155 -7
- package/esm/src/release/format-changelog.js +15 -0
- package/esm/src/release/migrate-changelog.js +92 -0
- package/esm/src/release/publish-github.js +7 -3
- package/esm/src/release/publish-npm.js +2 -2
- package/esm/src/release/publish-tag-prepare.js +63 -78
- package/esm/src/release/release-history.js +53 -0
- package/npm-dependencies.lock.json +115 -48
- package/package.json +7 -5
- package/esm/node_modules/conventional-commits-parser/node_modules/meow/build/dependencies.js +0 -11036
- package/esm/node_modules/conventional-commits-parser/node_modules/meow/build/index.d.ts +0 -1416
- package/esm/node_modules/conventional-commits-parser/node_modules/meow/build/index.js +0 -100
- package/esm/node_modules/conventional-commits-parser/node_modules/meow/build/licenses.md +0 -1767
- package/esm/node_modules/conventional-commits-parser/node_modules/meow/build/options.js +0 -92
- package/esm/node_modules/conventional-commits-parser/node_modules/meow/build/parser.js +0 -84
- package/esm/node_modules/conventional-commits-parser/node_modules/meow/build/utils.js +0 -7
- package/esm/node_modules/conventional-commits-parser/node_modules/meow/build/validate.js +0 -122
- package/esm/node_modules/conventional-commits-parser/node_modules/meow/license +0 -9
- package/esm/node_modules/conventional-commits-parser/node_modules/meow/package.json +0 -107
- package/esm/node_modules/conventional-commits-parser/node_modules/meow/readme.md +0 -314
- /package/esm/node_modules/{conventional-changelog-writer → conventional-changelog-core/node_modules/conventional-changelog-writer}/cli.mjs +0 -0
- /package/esm/node_modules/{conventional-changelog-writer → conventional-changelog-core/node_modules/conventional-changelog-writer}/index.js +0 -0
- /package/esm/node_modules/{conventional-changelog-writer → conventional-changelog-core/node_modules/conventional-changelog-writer}/lib/util.js +0 -0
- /package/esm/node_modules/{conventional-changelog-writer → conventional-changelog-core/node_modules/conventional-changelog-writer}/templates/commit.hbs +0 -0
- /package/esm/node_modules/{conventional-changelog-writer → conventional-changelog-core/node_modules/conventional-changelog-writer}/templates/footer.hbs +0 -0
- /package/esm/node_modules/{conventional-changelog-writer → conventional-changelog-core/node_modules/conventional-changelog-writer}/templates/header.hbs +0 -0
- /package/esm/node_modules/{conventional-changelog-writer → conventional-changelog-core/node_modules/conventional-changelog-writer}/templates/template.hbs +0 -0
- /package/esm/node_modules/{conventional-commits-filter → conventional-changelog-core/node_modules/conventional-commits-filter}/index.js +0 -0
- /package/esm/node_modules/{conventional-commits-parser → conventional-changelog-core/node_modules/conventional-commits-parser}/cli.mjs +0 -0
- /package/esm/node_modules/{conventional-commits-parser → conventional-changelog-core/node_modules/conventional-commits-parser}/index.js +0 -0
- /package/esm/node_modules/{conventional-commits-parser → conventional-changelog-core/node_modules/conventional-commits-parser}/lib/parser.js +0 -0
- /package/esm/node_modules/{conventional-commits-parser → conventional-changelog-core/node_modules/conventional-commits-parser}/lib/regex.js +0 -0
- /package/esm/node_modules/{conventional-changelog-writer → conventional-changelog-core}/node_modules/meow/build/dependencies.js +0 -0
- /package/esm/node_modules/{conventional-changelog-writer → conventional-changelog-core}/node_modules/meow/build/index.d.ts +0 -0
- /package/esm/node_modules/{conventional-changelog-writer → conventional-changelog-core}/node_modules/meow/build/index.js +0 -0
- /package/esm/node_modules/{conventional-changelog-writer → conventional-changelog-core}/node_modules/meow/build/licenses.md +0 -0
- /package/esm/node_modules/{conventional-changelog-writer → conventional-changelog-core}/node_modules/meow/build/options.js +0 -0
- /package/esm/node_modules/{conventional-changelog-writer → conventional-changelog-core}/node_modules/meow/build/parser.js +0 -0
- /package/esm/node_modules/{conventional-changelog-writer → conventional-changelog-core}/node_modules/meow/build/utils.js +0 -0
- /package/esm/node_modules/{conventional-changelog-writer → conventional-changelog-core}/node_modules/meow/build/validate.js +0 -0
- /package/esm/node_modules/{conventional-changelog-writer → conventional-changelog-core}/node_modules/meow/license +0 -0
- /package/esm/node_modules/{conventional-changelog-writer → conventional-changelog-core}/node_modules/meow/package.json +0 -0
- /package/esm/node_modules/{conventional-changelog-writer → conventional-changelog-core}/node_modules/meow/readme.md +0 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { runOrThrow } from "./release-process.js";
|
|
2
|
+
const sha = /^[0-9a-f]{40}(?:[0-9a-f]{24})?$/;
|
|
3
|
+
export async function releaseTags(process, selectedSha) {
|
|
4
|
+
const text = await runOrThrow(process, "git", [
|
|
5
|
+
"for-each-ref",
|
|
6
|
+
"--format=%(refname:strip=2)%00%(objecttype)%00%(objectname)%00%(*objectname)%00",
|
|
7
|
+
"refs/tags",
|
|
8
|
+
]);
|
|
9
|
+
const fields = text.split("\0");
|
|
10
|
+
const tags = [];
|
|
11
|
+
for (let index = 0; index + 3 < fields.length; index += 4) {
|
|
12
|
+
const name = fields[index].replace(/^\n+/, "");
|
|
13
|
+
const objectType = fields[index + 1];
|
|
14
|
+
const objectName = fields[index + 2];
|
|
15
|
+
const peeled = fields[index + 3];
|
|
16
|
+
if (!name)
|
|
17
|
+
continue;
|
|
18
|
+
const target = objectType === "commit" ? objectName : peeled;
|
|
19
|
+
if (!sha.test(target))
|
|
20
|
+
continue;
|
|
21
|
+
const ancestor = await process.run("git", [
|
|
22
|
+
"merge-base",
|
|
23
|
+
"--is-ancestor",
|
|
24
|
+
target,
|
|
25
|
+
selectedSha,
|
|
26
|
+
]);
|
|
27
|
+
if (ancestor.code !== 0 && ancestor.code !== 1) {
|
|
28
|
+
throw new Error("Could not determine release-tag ancestry.");
|
|
29
|
+
}
|
|
30
|
+
tags.push({
|
|
31
|
+
name,
|
|
32
|
+
target,
|
|
33
|
+
lightweight: objectType === "commit",
|
|
34
|
+
targetIsAncestor: ancestor.code === 0,
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
return tags;
|
|
38
|
+
}
|
|
39
|
+
export async function commitMessages(process, commits) {
|
|
40
|
+
const messages = [];
|
|
41
|
+
for (const commit of commits) {
|
|
42
|
+
if (!sha.test(commit)) {
|
|
43
|
+
throw new Error("Git returned an invalid commit SHA.");
|
|
44
|
+
}
|
|
45
|
+
messages.push((await runOrThrow(process, "git", [
|
|
46
|
+
"show",
|
|
47
|
+
"--no-patch",
|
|
48
|
+
"--format=%B",
|
|
49
|
+
commit,
|
|
50
|
+
])).replace(/\n+$/, ""));
|
|
51
|
+
}
|
|
52
|
+
return messages;
|
|
53
|
+
}
|
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@inquirer/core": "12.0.3",
|
|
12
12
|
"@jsr/std__path": "1.1.6",
|
|
13
|
+
"conventional-changelog-writer": "9.2.1",
|
|
14
|
+
"conventional-commits-parser": "7.1.2",
|
|
13
15
|
"fork-version": "5.2.0",
|
|
14
16
|
"jsonc-parser": "3.3.1",
|
|
15
17
|
"yaml": "2.8.3"
|
|
@@ -38,6 +40,15 @@
|
|
|
38
40
|
"node": ">=6.9.0"
|
|
39
41
|
}
|
|
40
42
|
},
|
|
43
|
+
"node_modules/@conventional-changelog/template": {
|
|
44
|
+
"version": "1.4.0",
|
|
45
|
+
"resolved": "https://registry.npmjs.org/@conventional-changelog/template/-/template-1.4.0.tgz",
|
|
46
|
+
"integrity": "sha512-aalGyl7dbB5PArRebDIX43ZvBlXrYm9uWzGJ26t+4SzJVPsOuvfILGGbw5X4yX7i50YEmJ8zvbiWnqH/AAnZqg==",
|
|
47
|
+
"license": "MIT",
|
|
48
|
+
"engines": {
|
|
49
|
+
"node": ">=22"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
41
52
|
"node_modules/@esbuild/aix-ppc64": {
|
|
42
53
|
"version": "0.28.0",
|
|
43
54
|
"resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.28.0.tgz",
|
|
@@ -537,6 +548,18 @@
|
|
|
537
548
|
"@jsr/std__internal": "^1.0.14"
|
|
538
549
|
}
|
|
539
550
|
},
|
|
551
|
+
"node_modules/@simple-libs/stream-utils": {
|
|
552
|
+
"version": "2.0.0",
|
|
553
|
+
"resolved": "https://registry.npmjs.org/@simple-libs/stream-utils/-/stream-utils-2.0.0.tgz",
|
|
554
|
+
"integrity": "sha512-fCTuZK4QBa+39Oz9l4OGfJfz+GpwCp3AqO7Zch3to99xHPgstVsRFpeQ8LNd2o1Gv8raL2mCFwiaHh7bFSp5DQ==",
|
|
555
|
+
"license": "MIT",
|
|
556
|
+
"engines": {
|
|
557
|
+
"node": ">=22"
|
|
558
|
+
},
|
|
559
|
+
"funding": {
|
|
560
|
+
"url": "https://ko-fi.com/dangreen"
|
|
561
|
+
}
|
|
562
|
+
},
|
|
540
563
|
"node_modules/@types/normalize-package-data": {
|
|
541
564
|
"version": "2.4.4",
|
|
542
565
|
"resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.4.tgz",
|
|
@@ -549,6 +572,18 @@
|
|
|
549
572
|
"integrity": "sha512-qQLMr+8o0WC4FZGQTcJiKBVC59JylcPSrTtk6usvmIDFUOCKegapy1VHQwRbFMOFyb/inzUVqHs+eMYKDM1YeQ==",
|
|
550
573
|
"license": "MIT"
|
|
551
574
|
},
|
|
575
|
+
"node_modules/argue-cli": {
|
|
576
|
+
"version": "3.2.0",
|
|
577
|
+
"resolved": "https://registry.npmjs.org/argue-cli/-/argue-cli-3.2.0.tgz",
|
|
578
|
+
"integrity": "sha512-VipTB0gXgGIFO2Rg9yEVN5wLt2AurJcZqDbgmYSwPwsykhLrQhs240/bfceev4w68lI8JshoOJIk9uW7tFzROw==",
|
|
579
|
+
"license": "MIT",
|
|
580
|
+
"engines": {
|
|
581
|
+
"node": ">=22"
|
|
582
|
+
},
|
|
583
|
+
"funding": {
|
|
584
|
+
"url": "https://ko-fi.com/dangreen"
|
|
585
|
+
}
|
|
586
|
+
},
|
|
552
587
|
"node_modules/array-ify": {
|
|
553
588
|
"version": "1.0.0",
|
|
554
589
|
"resolved": "https://registry.npmjs.org/array-ify/-/array-ify-1.0.0.tgz",
|
|
@@ -731,6 +766,65 @@
|
|
|
731
766
|
"node": ">=16"
|
|
732
767
|
}
|
|
733
768
|
},
|
|
769
|
+
"node_modules/conventional-changelog-core/node_modules/conventional-changelog-writer": {
|
|
770
|
+
"version": "7.0.1",
|
|
771
|
+
"resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-7.0.1.tgz",
|
|
772
|
+
"integrity": "sha512-Uo+R9neH3r/foIvQ0MKcsXkX642hdm9odUp7TqgFS7BsalTcjzRlIfWZrZR1gbxOozKucaKt5KAbjW8J8xRSmA==",
|
|
773
|
+
"license": "MIT",
|
|
774
|
+
"dependencies": {
|
|
775
|
+
"conventional-commits-filter": "^4.0.0",
|
|
776
|
+
"handlebars": "^4.7.7",
|
|
777
|
+
"json-stringify-safe": "^5.0.1",
|
|
778
|
+
"meow": "^12.0.1",
|
|
779
|
+
"semver": "^7.5.2",
|
|
780
|
+
"split2": "^4.0.0"
|
|
781
|
+
},
|
|
782
|
+
"bin": {
|
|
783
|
+
"conventional-changelog-writer": "cli.mjs"
|
|
784
|
+
},
|
|
785
|
+
"engines": {
|
|
786
|
+
"node": ">=16"
|
|
787
|
+
}
|
|
788
|
+
},
|
|
789
|
+
"node_modules/conventional-changelog-core/node_modules/conventional-commits-filter": {
|
|
790
|
+
"version": "4.0.0",
|
|
791
|
+
"resolved": "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-4.0.0.tgz",
|
|
792
|
+
"integrity": "sha512-rnpnibcSOdFcdclpFwWa+pPlZJhXE7l+XK04zxhbWrhgpR96h33QLz8hITTXbcYICxVr3HZFtbtUAQ+4LdBo9A==",
|
|
793
|
+
"license": "MIT",
|
|
794
|
+
"engines": {
|
|
795
|
+
"node": ">=16"
|
|
796
|
+
}
|
|
797
|
+
},
|
|
798
|
+
"node_modules/conventional-changelog-core/node_modules/conventional-commits-parser": {
|
|
799
|
+
"version": "5.0.0",
|
|
800
|
+
"resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-5.0.0.tgz",
|
|
801
|
+
"integrity": "sha512-ZPMl0ZJbw74iS9LuX9YIAiW8pfM5p3yh2o/NbXHbkFuZzY5jvdi5jFycEOkmBW5H5I7nA+D6f3UcsCLP2vvSEA==",
|
|
802
|
+
"license": "MIT",
|
|
803
|
+
"dependencies": {
|
|
804
|
+
"is-text-path": "^2.0.0",
|
|
805
|
+
"JSONStream": "^1.3.5",
|
|
806
|
+
"meow": "^12.0.1",
|
|
807
|
+
"split2": "^4.0.0"
|
|
808
|
+
},
|
|
809
|
+
"bin": {
|
|
810
|
+
"conventional-commits-parser": "cli.mjs"
|
|
811
|
+
},
|
|
812
|
+
"engines": {
|
|
813
|
+
"node": ">=16"
|
|
814
|
+
}
|
|
815
|
+
},
|
|
816
|
+
"node_modules/conventional-changelog-core/node_modules/meow": {
|
|
817
|
+
"version": "12.1.1",
|
|
818
|
+
"resolved": "https://registry.npmjs.org/meow/-/meow-12.1.1.tgz",
|
|
819
|
+
"integrity": "sha512-BhXM0Au22RwUneMPwSCnyhTOizdWoIEPU9sp0Aqa1PnDMR5Wv2FGXYDjuzJEIX+Eo2Rb8xuYe5jrnm5QowQFkw==",
|
|
820
|
+
"license": "MIT",
|
|
821
|
+
"engines": {
|
|
822
|
+
"node": ">=16.10"
|
|
823
|
+
},
|
|
824
|
+
"funding": {
|
|
825
|
+
"url": "https://github.com/sponsors/sindresorhus"
|
|
826
|
+
}
|
|
827
|
+
},
|
|
734
828
|
"node_modules/conventional-changelog-ember": {
|
|
735
829
|
"version": "4.0.0",
|
|
736
830
|
"resolved": "https://registry.npmjs.org/conventional-changelog-ember/-/conventional-changelog-ember-4.0.0.tgz",
|
|
@@ -794,74 +888,47 @@
|
|
|
794
888
|
}
|
|
795
889
|
},
|
|
796
890
|
"node_modules/conventional-changelog-writer": {
|
|
797
|
-
"version": "
|
|
798
|
-
"resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-
|
|
799
|
-
"integrity": "sha512-
|
|
891
|
+
"version": "9.2.1",
|
|
892
|
+
"resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-9.2.1.tgz",
|
|
893
|
+
"integrity": "sha512-StlYSmW3wLedRaqohJMpP3YuWiAqtgD0/cpsai9frdDkXv7rxj0hRbpJrubPYvJxJsjplONsOobEQnPuS9UgCg==",
|
|
800
894
|
"license": "MIT",
|
|
801
895
|
"dependencies": {
|
|
802
|
-
"conventional-
|
|
803
|
-
"
|
|
804
|
-
"
|
|
805
|
-
"
|
|
806
|
-
"semver": "^7.5.2"
|
|
807
|
-
"split2": "^4.0.0"
|
|
896
|
+
"@conventional-changelog/template": "^1.3.0",
|
|
897
|
+
"@simple-libs/stream-utils": "^2.0.0",
|
|
898
|
+
"argue-cli": "^3.1.0",
|
|
899
|
+
"conventional-commits-filter": "^6.0.1",
|
|
900
|
+
"semver": "^7.5.2"
|
|
808
901
|
},
|
|
809
902
|
"bin": {
|
|
810
|
-
"conventional-changelog-writer": "cli.
|
|
903
|
+
"conventional-changelog-writer": "dist/cli/index.js"
|
|
811
904
|
},
|
|
812
905
|
"engines": {
|
|
813
|
-
"node": ">=
|
|
814
|
-
}
|
|
815
|
-
},
|
|
816
|
-
"node_modules/conventional-changelog-writer/node_modules/meow": {
|
|
817
|
-
"version": "12.1.1",
|
|
818
|
-
"resolved": "https://registry.npmjs.org/meow/-/meow-12.1.1.tgz",
|
|
819
|
-
"integrity": "sha512-BhXM0Au22RwUneMPwSCnyhTOizdWoIEPU9sp0Aqa1PnDMR5Wv2FGXYDjuzJEIX+Eo2Rb8xuYe5jrnm5QowQFkw==",
|
|
820
|
-
"license": "MIT",
|
|
821
|
-
"engines": {
|
|
822
|
-
"node": ">=16.10"
|
|
823
|
-
},
|
|
824
|
-
"funding": {
|
|
825
|
-
"url": "https://github.com/sponsors/sindresorhus"
|
|
906
|
+
"node": ">=22"
|
|
826
907
|
}
|
|
827
908
|
},
|
|
828
909
|
"node_modules/conventional-commits-filter": {
|
|
829
|
-
"version": "
|
|
830
|
-
"resolved": "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-
|
|
831
|
-
"integrity": "sha512-
|
|
910
|
+
"version": "6.0.1",
|
|
911
|
+
"resolved": "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-6.0.1.tgz",
|
|
912
|
+
"integrity": "sha512-cs+LadpH7Kpw0M3k8wurk+sOVVDAENA0iK4OBOrkL94j5lEVYRJ4j3zd2bhY9qgzyrPqthdcYT3axzRN7AliMg==",
|
|
832
913
|
"license": "MIT",
|
|
833
914
|
"engines": {
|
|
834
|
-
"node": ">=
|
|
915
|
+
"node": ">=22"
|
|
835
916
|
}
|
|
836
917
|
},
|
|
837
918
|
"node_modules/conventional-commits-parser": {
|
|
838
|
-
"version": "
|
|
839
|
-
"resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-
|
|
840
|
-
"integrity": "sha512-
|
|
919
|
+
"version": "7.1.2",
|
|
920
|
+
"resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-7.1.2.tgz",
|
|
921
|
+
"integrity": "sha512-O+x4N2yH+ijvqWlIyTHsXTAP+algNWgGbjY2duCe8w2vUMvUB95cLRslCPfTMQyLAKlet3bhZTdu6ozn4M+QJQ==",
|
|
841
922
|
"license": "MIT",
|
|
842
923
|
"dependencies": {
|
|
843
|
-
"
|
|
844
|
-
"
|
|
845
|
-
"meow": "^12.0.1",
|
|
846
|
-
"split2": "^4.0.0"
|
|
924
|
+
"@simple-libs/stream-utils": "^2.0.0",
|
|
925
|
+
"argue-cli": "^3.1.0"
|
|
847
926
|
},
|
|
848
927
|
"bin": {
|
|
849
|
-
"conventional-commits-parser": "cli.
|
|
928
|
+
"conventional-commits-parser": "dist/cli/index.js"
|
|
850
929
|
},
|
|
851
930
|
"engines": {
|
|
852
|
-
"node": ">=
|
|
853
|
-
}
|
|
854
|
-
},
|
|
855
|
-
"node_modules/conventional-commits-parser/node_modules/meow": {
|
|
856
|
-
"version": "12.1.1",
|
|
857
|
-
"resolved": "https://registry.npmjs.org/meow/-/meow-12.1.1.tgz",
|
|
858
|
-
"integrity": "sha512-BhXM0Au22RwUneMPwSCnyhTOizdWoIEPU9sp0Aqa1PnDMR5Wv2FGXYDjuzJEIX+Eo2Rb8xuYe5jrnm5QowQFkw==",
|
|
859
|
-
"license": "MIT",
|
|
860
|
-
"engines": {
|
|
861
|
-
"node": ">=16.10"
|
|
862
|
-
},
|
|
863
|
-
"funding": {
|
|
864
|
-
"url": "https://github.com/sponsors/sindresorhus"
|
|
931
|
+
"node": ">=22"
|
|
865
932
|
}
|
|
866
933
|
},
|
|
867
934
|
"node_modules/css-select": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hugojosefson/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"description": "Repository tools for Deno, Node.js and Bun.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
},
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"bin": {
|
|
11
|
-
"hj": "./esm/
|
|
11
|
+
"hj": "./esm/hj.js"
|
|
12
12
|
},
|
|
13
|
-
"gitHead": "
|
|
13
|
+
"gitHead": "47f0f3cdb7ded4b6389f41adf02a78e2926d1733",
|
|
14
14
|
"type": "module",
|
|
15
15
|
"engines": {
|
|
16
|
-
"node": ">=24",
|
|
16
|
+
"node": ">=24.0.0",
|
|
17
17
|
"bun": ">=1.4.2"
|
|
18
18
|
},
|
|
19
19
|
"os": [
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"access": "public",
|
|
30
30
|
"registry": "https://registry.npmjs.org/"
|
|
31
31
|
},
|
|
32
|
-
"hjNpmArchive": "hugojosefson-cli-0.
|
|
32
|
+
"hjNpmArchive": "hugojosefson-cli-0.13.0.tgz",
|
|
33
33
|
"_generatedBy": "dnt@0.43.2",
|
|
34
34
|
"files": [
|
|
35
35
|
"esm",
|
|
@@ -40,6 +40,8 @@
|
|
|
40
40
|
"hjBundledDependencies": {
|
|
41
41
|
"@inquirer/core": "12.0.3",
|
|
42
42
|
"@jsr/std__path": "1.1.6",
|
|
43
|
+
"conventional-changelog-writer": "9.2.1",
|
|
44
|
+
"conventional-commits-parser": "7.1.2",
|
|
43
45
|
"fork-version": "5.2.0",
|
|
44
46
|
"jsonc-parser": "3.3.1",
|
|
45
47
|
"yaml": "2.8.3"
|