Shopify / hydrogen

Hydrogen lets you build faster headless storefronts in less time, on Shopify.
https://hydrogen.shop
MIT License
1.45k stars 278 forks source link

Update ordering of `workspaces` in `package.json` to reflect folder order #2636

Closed lb- closed 10 hours ago

lb- commented 2 weeks ago

WHY are these changes introduced?

To make it easier for developers to cross-reference the workspaces, it would be good to have these sorted alphabetically. Similar to how folders would be ordered.

WHAT is this pull request doing?

Adjusts package.json to have an alphabetical sorting for workspaces.

Before

Observe the ordering of examples is ad-hoc/inconsistent. Screenshot 2024-11-07 at 12 30 11 PM

After

Observe the ordering is now the same as the folders. Screenshot 2024-11-07 at 11 56 13 AM

HOW to test your changes?

The ordering of the workspaces does not have impacts on dependencies between packages, running tests & checks should be sufficient.

Checklist

lb- commented 2 weeks ago

I have signed the CLA!