Skip to content

chore(repo): Update lock file on version PR - #2989

Merged
LekoArts merged 2 commits into
mainfrom
chore/release-action-update-lockfile
Mar 13, 2024
Merged

chore(repo): Update lock file on version PR#2989
LekoArts merged 2 commits into
mainfrom
chore/release-action-update-lockfile

Conversation

@LekoArts

@LekoArts LekoArts commented Mar 13, 2024

Copy link
Copy Markdown
Contributor

Description

There's this changesets issue: changesets/changesets#421

When our "Version packages" PR is merged the lock file is not updated. This PR changes the GitHub action to run npm run version instead of changeset version. Our custom scripts uses npm install --lock-file-only (https://docs.npmjs.com/cli/v10/commands/npm-install#package-lock-only) to update the lock file after the individual package.json files are changed.

Checklist

  • npm test runs as expected.
  • npm run build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

@changeset-bot

changeset-bot Bot commented Mar 13, 2024

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 5bef2fb

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Comment thread scripts/version-info.sh

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file wasn't used anywhere

@LekoArts
LekoArts marked this pull request as ready for review March 13, 2024 10:10

@nikosdouvlis nikosdouvlis left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏🏻

@LekoArts
LekoArts merged commit a6ff429 into main Mar 13, 2024
@LekoArts
LekoArts deleted the chore/release-action-update-lockfile branch March 13, 2024 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants