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

Sort package.json in new Source packages #1494

Merged
merged 1 commit into from
May 28, 2024
Merged

Conversation

jamesmockett
Copy link
Contributor

What are you changing?

  • Sorted package.json files in new Source packages by running sort-package-json.

Why?

  • sort-package-json runs as a pre-commit hook. Merging from main into branches that existed before these new packages were created may cause these changes to be applied there depending on what files have been touched. It makes sense to apply these changes in a single place rather than an unrelated branch.

@jamesmockett jamesmockett requested review from a team as code owners May 24, 2024 16:23
Copy link

changeset-bot bot commented May 24, 2024

⚠️ No Changeset found

Latest commit: 50fba86

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.

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

@jamesmockett jamesmockett self-assigned this May 24, 2024
@github-actions github-actions bot added the 📦 npm Affects a @guardian package on NPM label May 24, 2024
Copy link
Contributor

Tip

Once this PR is ready to go, add the run_chromatic label to run the Chromatic tests.

This saves us a lot of money by not running the tests before we need them.

@jamesmockett
Copy link
Contributor Author

Although we probably want the comment as the first thing in the file. Should we exclude these from the pre-commit hook instead?

Copy link
Member

@sndrs sndrs left a comment

Choose a reason for hiding this comment

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

annpoying about that comment move, but let's merge so it gets out of the way for now

@jamesmockett jamesmockett added the run_chromatic Runs chromatic when label is applied label May 28, 2024
@jamesmockett jamesmockett merged commit 546f021 into main May 28, 2024
21 checks passed
@jamesmockett jamesmockett deleted the jm/sort-package-json branch May 28, 2024 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📦 npm Affects a @guardian package on NPM run_chromatic Runs chromatic when label is applied
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants