chore: update package setup and workflows - #94
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR updates project dependencies and configuration files for package management and publishing improvements. It bumps the main version to 2.0.0, updates repository metadata format, and streamlines CI workflows.
- Updated dependency versions and package manager to pnpm@10.17.0
- Standardized repository field format to expanded object notation across package.json files
- Simplified npm publishing workflow by removing provenance and access flags
- Enhanced Dependabot configuration with commit message customization
Reviewed Changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| package.json | Version bump to 2.0.0, pnpm upgrade, and repository field standardization |
| lib/package.json | Repository field format update to match parent package.json |
| .github/workflows/release.yml | Simplified npm publish command by removing flags and auth token |
| .github/dependabot.yml | Added commit message customization with scope and prefix configuration |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
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 of Changes
This pull request updates dependencies and configuration files to ensure the project uses the latest versions and follows best practices for package management and publishing. The most important changes include dependency upgrades in
pnpm-lock.yaml, improvements to repository metadata, and adjustments to publishing and automation workflows.Dependency upgrades:
pnpm-lock.yaml.Repository metadata and configuration:
repositoryfield in bothpackage.jsonandlib/package.jsonto use the expanded object format withtypeandurl, improving clarity and compatibility.package.jsonto2.0.0and updated thepackageManagerfield to a newerpnpmversion.Publishing and automation workflow improvements:
.github/workflows/release.ymlto remove the--provenanceand--access publicflags from thenpm publishcommand and removed theNODE_AUTH_TOKENenvironment variable, simplifying the publish step..github/dependabot.ymlto include commit message customization, adding scope and using "fix" and "chore" prefixes for updates.How to Test
Vitest) and build steps pass successfully on this PR.pnpm install(or equivalent).pnpm devor equivalent) for the library or examples to ensure Vite starts correctly.pnpm buildor equivalent) to ensure it completes successfully.Checklist
Notes for Reviewers