Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add script to sync versions in package.json files #56

Merged
merged 1 commit into from
Jan 4, 2024

Conversation

beeman
Copy link
Contributor

@beeman beeman commented Nov 11, 2023

This PR adds a sync script to help sync the package versions in all the packages in this repo.

Usage should be pretty self-explanatory, the update command is probably the most useful.

Usage: yarn sync-package-json <command> [options]

Commands:
  check  <path>        Check package.json files
  help                 Show this help
  list   <path>        List package.json files
  set    [ver] <path>  Set specific version in package.json files
  update <path> <pkgs> Update all versions in package.json files

Arguments:
  path    Path to directory

Examples:
  yarn sync-package-json check
  yarn sync-package-json check basics
  yarn sync-package-json list
  yarn sync-package-json list basics
  yarn sync-package-json help
  yarn sync-package-json set @coral-xyz/[email protected]
  yarn sync-package-json set @coral-xyz/[email protected] basics
  yarn sync-package-json update
  yarn sync-package-json update basics
  yarn sync-package-json update . @solana/web3.js @solana/spl-token

image

image

@beeman beeman force-pushed the beeman/sync-package-json branch 4 times, most recently from d00fde0 to b4b4f50 Compare November 11, 2023 21:19
@beeman beeman force-pushed the beeman/sync-package-json branch from b4b4f50 to 1f32f3e Compare December 12, 2023 23:10
@nickfrosty nickfrosty merged commit 86ab1de into solana-developers:main Jan 4, 2024
2 of 3 checks passed
@beeman beeman deleted the beeman/sync-package-json branch January 4, 2024 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants