Skip to content

Conversation

@dlockhart
Copy link
Member

Having a lock file prevents a lot of issues around unwanted dependency updates sneaking into vdiff or other random PRs. This updates our create template to assume that a lock file is in use.

@dlockhart dlockhart requested a review from a team as a code owner November 14, 2025 21:16
uses: BrightspaceUI/actions/update-package-lock@main
with:
AUTO_MERGE_METHOD: squash
AUTO_MERGE_TOKEN: ${{ secrets.PR_GITHUB_TOKEN }}
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we add a little blurb here linking to the action, where it talks about setting up this token?

Copy link
Member Author

Choose a reason for hiding this comment

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

Good idea -- done.

Copy link
Contributor

Choose a reason for hiding this comment

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

Oh I meant on the README with the others but that works too!

Copy link
Contributor

Choose a reason for hiding this comment

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

They're probably more likely to see it in the code than going back to check the create repo's README

Copy link
Member Author

Choose a reason for hiding this comment

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

Ah I see, right. The stuff in the README is under "Optional" which technically this isn't. I think I'll just leave it here!

Copy link
Contributor

@svanherk svanherk left a comment

Choose a reason for hiding this comment

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

I guess we can't easily have a default package-lock.json without hardcoding in dependency versions

@dlockhart dlockhart merged commit db6bdf7 into main Nov 14, 2025
2 checks passed
@dlockhart dlockhart deleted the GAUD-9029/use-lock-file branch November 14, 2025 22:03
@d2l-github-release-tokens
Copy link

🎉 This PR is included in version 3.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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