Sets up CI and publishing for workbench-cli#15
Merged
Conversation
- Rename package to @pap.dev/workbench - Add build scripts using bun and configure dist directory for distribution - Set package type to module and add MIT license - Update .gitignore to exclude build artifacts
- Point package binary to the compiled output in dist/ instead of source - Update build script and shebang to target the bun runtime instead of node - Bump version to 0.1.2
- Add jsr.json to support publishing the package to the JSR registry
- Add documentation for the workbench-cli package, including installation, prerequisites, and usage instructions - Describe the interactive initialization process and configuration output
- Add a version lifecycle script to automatically update the version in jsr.json whenever the package version is bumped - Ensure the updated jsr.json is staged during the versioning process
- Automatically create a git tag matching the new version after the versioning process is complete
- Add convenience scripts for patch, minor, and major version bumps - Ensure consistent commit messages when updating the package version
- Provide a script to orchestrate version bumping and pushing tags to origin - Include a confirmation prompt to prevent accidental releases and ensure the correct release type is selected
- Automate the build and distribution of the workbench-cli package to npm and JSR - Trigger the workflow whenever a new version tag (v*) is pushed to the repository
- Set up Node.js v22 and configure the npm registry URL - Required for the npm publish step to execute correctly in the CI environment
This reverts commit 5fa08bd.
- Rename the GitHub Actions workflow file extension from .yaml to .yml for consistency
- Validate pull requests with changes in the workbench-cli package - Perform type checking, build, and a smoke test using Bun
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.
This pull request establishes continuous integration and delivery pipelines for the
workbench-clipackage.Key changes include:
workbench-clipackage on pull requests, ensuring code quality and functionality before merging.workbench-clipackage to both npm and JSR whenever a new version tag is pushed, streamlining releases.package.jsonscripts and a dedicated shell script to simplify version bumping, automatic tagging, and pushing release commits.package.jsonwith a new scoped name (@pap.dev/workbench), module type, and a corrected distribution entry point. Also includes JSR-specific configuration and a comprehensiveREADME.mdto guide users.Relates to PAP-7012