Repository navigation
fix: @W-24754518 CI/CD - Migrate CLI plugin-data-setup-transfer repository to use NPM Trusted Publishing - #34
Merged
Merged
Conversation
… to use NPM Trusted Publishing - onRelease.yml: enable trustedPublishing with id-token: write permission - bump @salesforce/dev-scripts to v15 (eslint 10, typescript 6) - migrate to eslint flat config (eslint.config.mjs) - add mocha/node types to tsconfig for typescript 6 - fix new lint findings in transfer command Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
johnchenlive
force-pushed
the
trusted-publishing
branch
from
November 3, 2026 00:42
5284a54 to
72fcf0c
Compare
k80bowman
approved these changes
Nov 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Migrate npm publishing to trusted publishing, following plugin-agent#503 since this repo was on dev-scripts < v14.
onRelease.yml: addid-token: write/contents: readpermissions andtrustedPublishing: true@salesforce/dev-scripts^11.0.4→^15.0.0(brings eslint 10 + TypeScript 6)typescript→^6.0.0,eslint-plugin-sf-plugin→^3.0.4, addeslint,eslint-config-salesforce-typescript,@types/*.eslintrc.cjs,test/.eslintrc.cjs,.eslintignorewitheslint.config.mjs(keepsheaderrule off)tsconfig.json: addtypes: ["mocha", "node"](required under TS 6)transfer.ts: fix new lint findings (unnecessary type assertion; attachcauseto rethrown error)npm shrinkwrapusage to removeTesting
yarn build✅yarn test✅ (9 passing)🤖 Generated with Claude Code