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

Automate version resolution #216

Merged
merged 1 commit into from
Jul 29, 2021
Merged

Automate version resolution #216

merged 1 commit into from
Jul 29, 2021

Conversation

mbostock
Copy link
Member

@mbostock mbostock commented May 28, 2021

I wanted to make it easier to keep these versions up-to-date, and to avoid hard-coding the versions in multiple places. I couldn’t figure out a good way to track the versions using yarn (I considered devDependencies), but this at least gives us a script we can run to refresh the dependency versions and then see if we want to update.

@mbostock mbostock force-pushed the mbostock/resolve-dependencies branch 2 times, most recently from c30afb5 to 2e62dd9 Compare May 29, 2021 14:40
@mbostock mbostock marked this pull request as ready for review May 29, 2021 14:41
@mbostock mbostock requested a review from visnup May 29, 2021 14:41
@mbostock
Copy link
Member Author

mbostock commented Jul 2, 2021

Gentle ping on the review, @visnup?

Copy link
Member

@visnup visnup left a comment

Choose a reason for hiding this comment

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

Do you need yarn to actually do work given the version or are you just looking for a convenient place to list package names and versions? I think npm and yarn are neutral when it comes to additional package.json keys and values that aren't standard so it could be possible to list the dependencies in there under a custom key... that's probably not buying us much though?

@mbostock mbostock force-pushed the mbostock/resolve-dependencies branch from 2e62dd9 to 386fcb7 Compare July 29, 2021 21:35
@mbostock mbostock force-pushed the mbostock/resolve-dependencies branch from 386fcb7 to 72ee81a Compare July 29, 2021 21:39
@mbostock mbostock merged commit 46d5290 into main Jul 29, 2021
@mbostock mbostock deleted the mbostock/resolve-dependencies branch July 29, 2021 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants