Repository navigation
Conversation
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.
Description
Add release preparation and npm publishing modeled on Coderrob/typescript-ast, adapted to this repository's VS Code extension and existing VSIX release workflow.
workflow_dispatch, main only): choose major/minor/revision (patch), bump manifest and lockfile versions, promote nonempty Unreleased notes into a dated changelog section, validate the candidate, and open a release PR..npmignoreand verify exact nonempty packed contents. Preserve the existing.vscodeignore: VSCE rejects combining it with package.jsonfiles.The npm artifact remains the VS Code extension bundle and requires its extension host. Package identity remains
barrel-roll; no library or CLI interface is introduced.Validation
npm run release:verify: quality checks, type checking, all 354 extension tests, per-file coverage, memory retention, production build, and npm pack verificationvsce ls: exactly LICENSE, package.json, README.md, dist/extension.js, and public/img/barrel-roll-icon.pngnpm run lintand npm package verification rerun after final packaging adjustmentsSetup before publishing
Configure npm trusted publishing for owner
Coderrob, repositorybarrel-roll, workflowpublish-npm.yml, no environment, with directnpm publishallowed. Initial package publication/setup and npm name ownership are prerequisites. The registry has unpublished historicalbarrel-rollversions through 1.1.7; choose an unused version.Enable Actions PR creation for the default GITHUB_TOKEN, or configure the optional RELEASE_PR_TOKEN secret with contents and pull-request write access. Use that optional token when branch rules require automatic PR CI, since GITHUB_TOKEN-created PRs do not trigger PR workflows.
No release workflow has been dispatched and no package has been published by this PR.