-
Notifications
You must be signed in to change notification settings - Fork 41
Pin package dependencies to specific versions #1570
Conversation
For what it's worth, I encourage removing all of the rest of those When working like this, I have found ncu a handy tool for managing and updating packages. Version updates then go into their own PRs and get the full review that normal code changes get. |
Hey @dmsnell thanks for the second PR and I apologize for the delayed response. I think this is a good suggestion, but I will want to wait to discuss this with @shawnbot before merging. Also to note, most of the recent dev work has happened on the |
Thanks @gemfarmer - would it be helpful then to rebase against |
No problem, and thanks for taking a look at this @dmsnell! We've been off on the Fair warning: There will most likely be merge conflicts in |
Well @shawnbot, I guess I'll just have to risk dealing with a merge conflict on a +3/-3 PR 😉 git checkout dev
git branch -D update/pin-dependencies
git checkout -b update/pin-dependencies
sed 's/\^//' package.json 😄 |
In DOI-ONRR#1565 I ran into an issue where changes were brought in to the minified javascript bundle that were unrelated to the changes made in the PR. This was due to NPM packages which were pulled in under the compatability version spec `pkg: ^1.2.3` but which differed from the versions used to build the current release in `dev`. This PR only pins the versions of the three libraries that interfered with DOI-ONRR#1563, but it might be worthwhile to ammend it and pin all of the dependency versions to ensure that all development environments are building with the same code. Cheers!
4831880
to
5c25537
Compare
Thanks @shawnbot. Likewise, what I meant is that there is nothing manual that needs to be done. When/if you want to do this, it's literally as simple as removing the carets from the versions, or adding version numbers. Basically, I am fine closing this PR as there would be little difference in redoing the work here and creating a new one.
reminds me of the Great Vowel Migration |
I'm closing this PR as it is now irrelevant. Pinning is still good but this is out of date. |
In #1565 I ran into an issue where changes were brought in to the
minified javascript bundle that were unrelated to the changes made in
the PR. This was due to NPM packages which were pulled in under
the compatability version spec
pkg: ^1.2.3
but which differed from theversions used to build the current release in
dev
.This PR only pins the versions of the three libraries that interfered
with #1563, but it might be worthwhile to ammend it and pin all of the
dependency versions to ensure that all development environments are
building with the same code.
cc: @gemfarmer
Cheers!
P.S.
queue-async
has been deprecated and renamed to d3-queue