Skip to content

Conversation

@harmony7
Copy link
Member

@harmony7 harmony7 commented Mar 4, 2024

This PR lowers the dependency version of @fastly/js-compute to ^3.0.0 and removes package-lock.json (or npm-shrinkwrap.json).

In a starter kit, we should declare a version of the SDK that has the features needed (^3 in this case), as well as dependencies. And by not including package-lock.json, the user always gets the newest compatible version at the time their project is initialized, and a new lock file that they would commit to their new project's code repo.

For example a new user kicking off with this starter kit today would get 3.8.3 because that matches ^3.0.0. A person who runs this starter kit next week might get 3.9.0 if that is available by then, and so on.

@harmony7 harmony7 requested a review from doramatadora March 4, 2024 05:55
@doramatadora doramatadora merged commit 162e6b0 into main Mar 5, 2024
@doramatadora doramatadora deleted the kats/dependencies branch March 5, 2024 09:02
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