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

build: pin versions of NPM global deps in Makefile #11425

Merged
merged 1 commit into from
Jul 24, 2023

Conversation

agilgur5
Copy link
Member

@agilgur5 agilgur5 commented Jul 23, 2023

Motivation

Make sure that there are no version inconsistencies due to NPM global deps installed in the Makefile (which is used locally as well as in CI)

  • This has been a bit concerning to me ever since I noticed the installs are not pinned 😅
  • This also makes the "# update this in Nix" comments make more sense as there's a version specified now

Modifications

Verification

Ran in my devcontainer successfully:

npm i -g markdown-spellcheck@1.3.1
npm i -g markdownlint-cli@0.33.0

- make sure that there are no version inconsistencies due to NPM global deps installed in the `Makefile`

- add their versions as referenced in `dev/nix/node-packages.nix` and `dev/nix/package.json#dependencies`

Signed-off-by: Anton Gilgur <agilgur5@gmail.com>
@terrytangyuan
Copy link
Member

Thanks!

@terrytangyuan terrytangyuan merged commit 589a4b7 into argoproj:master Jul 24, 2023
23 checks passed
@agilgur5 agilgur5 deleted the build-pin-npm-global branch July 24, 2023 20:56
@agilgur5 agilgur5 added the area/build Build or GithubAction/CI issues label Aug 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/build Build or GithubAction/CI issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants