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

Add yarn.lock file to git #173

Merged
merged 1 commit into from
Dec 4, 2024
Merged

Add yarn.lock file to git #173

merged 1 commit into from
Dec 4, 2024

Conversation

jhugman
Copy link
Owner

@jhugman jhugman commented Dec 3, 2024

Fixes #170 .

@jhugman jhugman requested a review from Johennes December 3, 2024 16:39
Copy link
Collaborator

@Johennes Johennes left a comment

Choose a reason for hiding this comment

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

LGTM

Thanks for tackling this so swiftly. 🚀

@@ -37,7 +37,6 @@ impl Bootstrap for YarnCmd {
let mut cmd = Command::new("yarn");
run_cmd(
cmd.current_dir(repository_root()?)
.arg("--no-lockfile")
Copy link
Collaborator

Choose a reason for hiding this comment

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

It might be good to use --frozen-lockfile which is usually recommended for CI, I believe, because in some cases yarn install can cause updates even if a lock file exists. Not a blocker though.

@jhugman jhugman force-pushed the jhugman/170-add-yarn-lock branch from d718977 to 414c0e9 Compare December 4, 2024 13:33
@jhugman jhugman merged commit 66f6e84 into main Dec 4, 2024
17 checks passed
@jhugman jhugman deleted the jhugman/170-add-yarn-lock branch December 4, 2024 15:13
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.

Add yarn.lock to version control?
2 participants