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: switch to using package_json for interacting with package.json #466

Merged
merged 20 commits into from
Sep 6, 2024

Conversation

G-Rath
Copy link
Contributor

@G-Rath G-Rath commented Aug 12, 2023

This allows us to support all of the major javascript package managers by relying on the package_json gem to handle running and generating commands for a particular package manager.

Currently I'm making our template actually agnostic and have setup to test that is the case by running against the major package managers + Yarn PnP, though I expect after landing this we'll decide on a single package manager to use going forward and remove code that is needed for the other package managers.

@G-Rath G-Rath force-pushed the use-package_json branch 4 times, most recently from 87d0b8f to 994e8b0 Compare August 12, 2023 23:18
@G-Rath G-Rath force-pushed the use-package_json branch 15 times, most recently from d82c432 to e507562 Compare August 15, 2023 20:29
@G-Rath G-Rath force-pushed the use-package_json branch 9 times, most recently from 2e394b9 to bf17a19 Compare August 26, 2023 20:48
@G-Rath G-Rath marked this pull request as ready for review September 6, 2024 00:08
@G-Rath
Copy link
Contributor Author

G-Rath commented Sep 6, 2024

Discussed this in our guild meeting today: we're going to land it as-is so that it's in the history, and immediately follow up with switching to using npm as our preferred package manager as that aligns with what we use everywhere else currently.

That's not to say we won't potentially explore and switch to another package manager in the future, but doing so would be in response to a wider choice rather than Rails specific, which is what this PR is meant to enable

@eoinkelly eoinkelly self-requested a review September 6, 2024 00:24
@G-Rath G-Rath merged commit ae1962d into main Sep 6, 2024
112 checks passed
@G-Rath G-Rath deleted the use-package_json branch September 6, 2024 03:29
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.

3 participants