Loading
fix(package): make npm authentication explicit
Plan
- Publish older stable npm releases with a safe
release-x.y.zdist-tag instead of failing tag selection. - Keep npm trusted publishing opt-in and use
NPM_TOKENfor the live@xrow/testmerge-request publish. - Cover token, OIDC opt-in, merge-request publishing, and generated documentation behavior with focused tests.
Acceptance criteria
- Older stable versions such as
4.210.0selectrelease-4.210.0when a newer stable tag exists. -
trusted-publishingis a boolean component input and defaults tofalse. -
NPM_ID_TOKENis used only when trusted publishing is explicitly enabled for npmjs.com. - The merge-request
@xrow/testpublish uses the maskedNPM_TOKENvariable. - Merge-request remote publishes use commit-scoped versions and dist-tags.
- Component tests, shell syntax checks, generated docs, and GitLab CI lint pass.
Closes #358 (closed)
Edited by Eugene Harold Krabs