fix(release): changes

This commit is contained in:
2025-07-12 16:59:48 -05:00
parent 84091ecdba
commit ab1d8fa556
3 changed files with 7065 additions and 7055 deletions

33
package-lock.json generated
View File

@@ -10,6 +10,7 @@
"license": "ISC",
"dependencies": {
"conventional-changelog": "^7.1.1",
"conventional-changelog-conventionalcommits": "^9.1.0",
"dotenv": "^17.2.0",
"fs-extra": "^11.3.0",
"node-fetch": "^3.3.2"
@@ -1385,7 +1386,6 @@
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/array-ify/-/array-ify-1.0.0.tgz",
"integrity": "sha512-c5AMf34bKdvPhQ7tBGhqkgKNUzMr4WUs+WDtC2ZUGOUncbxKMTvqxYctiseW3+L4bA8ec+GcZ6/A/FW4m8ukng==",
"dev": true,
"license": "MIT"
},
"node_modules/arrify": {
@@ -1841,7 +1841,6 @@
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/compare-func/-/compare-func-2.0.0.tgz",
"integrity": "sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA==",
"dev": true,
"license": "MIT",
"dependencies": {
"array-ify": "^1.0.0",
@@ -1958,18 +1957,15 @@
"license": "MIT"
},
"node_modules/conventional-changelog-conventionalcommits": {
"version": "4.6.3",
"resolved": "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-4.6.3.tgz",
"integrity": "sha512-LTTQV4fwOM4oLPad317V/QNQ1FY4Hju5qeBIM1uTHbrnCE+Eg4CdRZ3gO2pUeR+tzWdp80M2j3qFFEDWVqOV4g==",
"dev": true,
"version": "9.1.0",
"resolved": "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-9.1.0.tgz",
"integrity": "sha512-MnbEysR8wWa8dAEvbj5xcBgJKQlX/m0lhS8DsyAAWDHdfs2faDJxTgzRYlRYpXSe7UiKrIIlB4TrBKU9q9DgkA==",
"license": "ISC",
"dependencies": {
"compare-func": "^2.0.0",
"lodash": "^4.17.15",
"q": "^1.5.1"
"compare-func": "^2.0.0"
},
"engines": {
"node": ">=10"
"node": ">=18"
}
},
"node_modules/conventional-changelog-core": {
@@ -2634,7 +2630,6 @@
"version": "5.3.0",
"resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz",
"integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==",
"dev": true,
"license": "MIT",
"dependencies": {
"is-obj": "^2.0.0"
@@ -3957,7 +3952,6 @@
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz",
"integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=8"
@@ -6466,6 +6460,21 @@
"node": ">=10"
}
},
"node_modules/standard-version/node_modules/conventional-changelog-conventionalcommits": {
"version": "4.6.3",
"resolved": "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-4.6.3.tgz",
"integrity": "sha512-LTTQV4fwOM4oLPad317V/QNQ1FY4Hju5qeBIM1uTHbrnCE+Eg4CdRZ3gO2pUeR+tzWdp80M2j3qFFEDWVqOV4g==",
"dev": true,
"license": "ISC",
"dependencies": {
"compare-func": "^2.0.0",
"lodash": "^4.17.15",
"q": "^1.5.1"
},
"engines": {
"node": ">=10"
}
},
"node_modules/stdin-discarder": {
"version": "0.2.2",
"resolved": "https://registry.npmjs.org/stdin-discarder/-/stdin-discarder-0.2.2.tgz",

View File

@@ -37,6 +37,7 @@
},
"dependencies": {
"conventional-changelog": "^7.1.1",
"conventional-changelog-conventionalcommits": "^9.1.0",
"dotenv": "^17.2.0",
"fs-extra": "^11.3.0",
"node-fetch": "^3.3.2"

View File

@@ -14,7 +14,7 @@ dotenv.config({ path: "./.env" });
import { createRequire } from "node:module";
const require = createRequire(import.meta.url);
const conventionalChangelog = require("conventional-changelog");
const conventionalChangelog = require("conventional-changelog-conventionalcommits");
// Resolve the directory of the current script
const __filename = fileURLToPath(import.meta.url);
@@ -66,7 +66,6 @@ if (result.status !== 0) {
const getLatestChangelog = async () => {
const changelogStream = conventionalChangelog({
preset: "conventionalcommits",
releaseCount: 1,
});
@@ -74,6 +73,7 @@ const getLatestChangelog = async () => {
for await (const chunk of changelogStream) {
changelog += chunk;
}
return changelog;
};