diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 54cc7e2..d2e6663 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -60,6 +60,7 @@ jobs: registry-url: https://registry.npmjs.org - run: npm ci - run: "have=\"$(npm --version)\"; if [ \"$(printf '%s\\n' \"11.5.1\" \"$have\" | sort -V | head -n1)\" != \"11.5.1\" ]; then npm install -g npm@11.19.0; fi; npm --version" + - run: npx chant release doctor --from cut - run: git fetch origin 'refs/tags/ci/*:refs/tags/ci/*' - run: rc=0; git ls-remote --exit-code --heads origin chant/lifecycle >/dev/null || rc=$?; if [ "$rc" = 0 ]; then git fetch origin chant/lifecycle:chant/lifecycle; elif [ "$rc" != 2 ]; then exit "$rc"; fi - run: | diff --git a/action/index.mjs b/action/index.mjs index 33896ba..fb25fa9 100644 --- a/action/index.mjs +++ b/action/index.mjs @@ -238963,6 +238963,8 @@ var init_config = __esm({ legacyTags: external_exports.array(external_exports.string().min(1)).optional(), // #5191: what a breaking change does to a 0.x version when the label comes from commits. breakingOnZero: external_exports.enum(["minor", "major"]).optional(), + // #5271: paths outside a train member, relative to it, whose changes release it too. + sources: external_exports.array(external_exports.string().min(1)).min(1).optional(), // #5150: the tag a cut makes, as a template, and the floating tag a publish moves. tag: external_exports.union([external_exports.string().min(1), external_exports.object({ name: external_exports.string().min(1), floating: external_exports.string().min(1).optional() }).strict()]).optional(), // #5164: Sigstore signatures and SLSA provenance at publish; on under the supply-chain group unless false. @@ -259163,7 +259165,7 @@ var package_default = { "@intentius/tsad-reference": "^2.3.0" }, devDependencies: { - "@intentius/chant": "^0.124.104", + "@intentius/chant": "^0.124.105", "@types/libsodium-wrappers": "^0.7.14", "@types/node": "^22.0.0", ajv: "^8.20.0", diff --git a/chant.config.ts b/chant.config.ts index 39705b9..681eb56 100644 --- a/chant.config.ts +++ b/chant.config.ts @@ -6,6 +6,6 @@ export default { green: "forge-checks", version: { packages: ["."] }, publish: [{ type: "npm", packages: ["."], stage: false }], - workflow: { trigger: "dispatch", file: ".github/workflows/publish.yml", doctor: false }, + workflow: { trigger: "dispatch", file: ".github/workflows/publish.yml" }, }, }; diff --git a/package-lock.json b/package-lock.json index d6f0cf2..98dda81 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,7 @@ "github-warden": "bin/github-warden.js" }, "devDependencies": { - "@intentius/chant": "^0.124.104", + "@intentius/chant": "^0.124.105", "@types/libsodium-wrappers": "^0.7.14", "@types/node": "^22.0.0", "ajv": "^8.20.0", @@ -495,9 +495,9 @@ } }, "node_modules/@intentius/chant": { - "version": "0.124.104", - "resolved": "https://registry.npmjs.org/@intentius/chant/-/chant-0.124.104.tgz", - "integrity": "sha512-pXwTYUenEucMqvhNkYQ2RyCU24mUZlIhk5suNIoVFEyEP5JYL5oYI1Y6toHj+qvP9dxqS78U2Co3Oz7AJIjEUw==", + "version": "0.124.105", + "resolved": "https://registry.npmjs.org/@intentius/chant/-/chant-0.124.105.tgz", + "integrity": "sha512-cOwD9C2efWUZAOR+KNsp3DRTZfPF5038Z5W9o4QUXaPqzk8mUCw/VpHWt00cR3Mp6e/EaW5TtLUg+wZ/I/wUXA==", "license": "Apache-2.0", "dependencies": { "@dagrejs/dagre": "^3.0.0", diff --git a/package.json b/package.json index c00f9bc..b7b4b3a 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,7 @@ "@intentius/tsad-reference": "^2.3.0" }, "devDependencies": { - "@intentius/chant": "^0.124.104", + "@intentius/chant": "^0.124.105", "@types/libsodium-wrappers": "^0.7.14", "@types/node": "^22.0.0", "ajv": "^8.20.0",