FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

tools: make update-eslint.sh work with npm@9 by lpinca · Pull Request #46088 · nodejs/node · GitHub

/ node Public

tools: make update-eslint.sh work with npm@9 - #46088

Closed
lpinca wants to merge 2 commits into
nodejs:mainfrom
lpinca:fix/update-eslint-script
Closed

tools: make update-eslint.sh work with npm@9#46088
lpinca wants to merge 2 commits into
nodejs:mainfrom
lpinca:fix/update-eslint-script

Conversation

lpinca commented Jan 4, 2023
edited
Loading

Copy link
Copy Markdown
Member

Make the update-eslint.sh script work with npm@9.

Refs: https://github.com/nodejs/node/actions/runs/3814364920/jobs/6488613583#step:3:64

nodejs-github-bot added the tools Issues and PRs related to the tools directory. label Jan 4, 2023
Comment thread tools/update-eslint.sh Outdated

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

The --global-style option has been deprecated in favor of --install-strategy=shallow.

Comment thread tools/update-eslint.sh Outdated

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

The default value has been flipped.

Comment thread tools/update-eslint.sh Outdated

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Ditto.

Comment thread tools/update-eslint.sh Outdated

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I'm not sure why but an ENOENT error is raised with the original command.

lpinca force-pushed the fix/update-eslint-script branch from dc78120 to 975aeff Compare January 4, 2023 09:19
lpinca added the commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. label Jan 4, 2023

aduh95 commented Jan 4, 2023

Copy link
Copy Markdown
Contributor

Duplicate of #45974?

lpinca commented Jan 4, 2023

Copy link
Copy Markdown
Member Author

I did not see #45974 but it seems it does not include the --install-links change, and it fails without it.

aduh95 commented Jan 4, 2023

Copy link
Copy Markdown
Contributor

I did not see #45974 but it seems it does not include the --install-links change, and it fails without it.

My PR works FWIW (yes even without --install-links), but I like yours better. Would you consider moving the script to tools/dep_updaters?

lpinca commented Jan 4, 2023
edited
Loading

Copy link
Copy Markdown
Member Author

My PR works FWIW (yes even without --install-links), but I like yours better.

It did not work on WSL (Ubuntu 22.04). I don't have access to it at the moment, but I can test again tomorrow.

Would you consider moving the script to tools/dep_updaters?

Yes, I can add a commit for it. I will do it later.

lpinca force-pushed the fix/update-eslint-script branch from 975aeff to e78ebf0 Compare January 4, 2023 19:56
lpinca added commit-queue-rebase Add this label to allow the Commit Queue to land a PR in several commits. and removed commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. labels Jan 4, 2023
lpinca added 2 commits January 4, 2023 21:34
Make the `update-eslint.sh` script work with `npm@9`.
Move the `update-eslint.sh` script to the `dep_updaters/` directory.
aduh95 added commit-queue Add this label to land a pull request using GitHub Actions. author ready PRs that have at least one approval, no outstanding review comments, and a CI started. labels Jan 5, 2023
nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Jan 6, 2023

Copy link
Copy Markdown
Collaborator

Landed in 6f50acd...6668c4d

nodejs-github-bot pushed a commit that referenced this pull request Jan 6, 2023
Make the `update-eslint.sh` script work with `npm@9`.

PR-URL: #46088
Refs: https://github.com/nodejs/node/actions/runs/3814364920/jobs/6488613583#step:3:64
Reviewed-By: Ruy Adorno <ruyadorno@google.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
nodejs-github-bot pushed a commit that referenced this pull request Jan 6, 2023
Move the `update-eslint.sh` script to the `dep_updaters/` directory.

PR-URL: #46088
Refs: https://github.com/nodejs/node/actions/runs/3814364920/jobs/6488613583#step:3:64
Reviewed-By: Ruy Adorno <ruyadorno@google.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
lpinca deleted the fix/update-eslint-script branch January 6, 2023 09:18
RafaelGSS pushed a commit to RafaelGSS/node that referenced this pull request Jan 17, 2023
Make the `update-eslint.sh` script work with `npm@9`.

PR-URL: nodejs#46088
Refs: https://github.com/nodejs/node/actions/runs/3814364920/jobs/6488613583#step:3:64
Reviewed-By: Ruy Adorno <ruyadorno@google.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
RafaelGSS pushed a commit to RafaelGSS/node that referenced this pull request Jan 17, 2023
Move the `update-eslint.sh` script to the `dep_updaters/` directory.

PR-URL: nodejs#46088
Refs: https://github.com/nodejs/node/actions/runs/3814364920/jobs/6488613583#step:3:64
Reviewed-By: Ruy Adorno <ruyadorno@google.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
RafaelGSS pushed a commit that referenced this pull request Jan 20, 2023
Make the `update-eslint.sh` script work with `npm@9`.

PR-URL: #46088
Refs: https://github.com/nodejs/node/actions/runs/3814364920/jobs/6488613583#step:3:64
Reviewed-By: Ruy Adorno <ruyadorno@google.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
RafaelGSS pushed a commit that referenced this pull request Jan 20, 2023
Move the `update-eslint.sh` script to the `dep_updaters/` directory.

PR-URL: #46088
Refs: https://github.com/nodejs/node/actions/runs/3814364920/jobs/6488613583#step:3:64
Reviewed-By: Ruy Adorno <ruyadorno@google.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
RafaelGSS mentioned this pull request Jan 20, 2023
juanarbol pushed a commit that referenced this pull request Jan 26, 2023
Make the `update-eslint.sh` script work with `npm@9`.

PR-URL: #46088
Refs: https://github.com/nodejs/node/actions/runs/3814364920/jobs/6488613583#step:3:64
Reviewed-By: Ruy Adorno <ruyadorno@google.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
juanarbol pushed a commit that referenced this pull request Jan 26, 2023
Move the `update-eslint.sh` script to the `dep_updaters/` directory.

PR-URL: #46088
Refs: https://github.com/nodejs/node/actions/runs/3814364920/jobs/6488613583#step:3:64
Reviewed-By: Ruy Adorno <ruyadorno@google.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
juanarbol mentioned this pull request Jan 28, 2023
juanarbol pushed a commit that referenced this pull request Jan 31, 2023
Make the `update-eslint.sh` script work with `npm@9`.

PR-URL: #46088
Refs: https://github.com/nodejs/node/actions/runs/3814364920/jobs/6488613583#step:3:64
Reviewed-By: Ruy Adorno <ruyadorno@google.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
juanarbol pushed a commit that referenced this pull request Jan 31, 2023
Move the `update-eslint.sh` script to the `dep_updaters/` directory.

PR-URL: #46088
Refs: https://github.com/nodejs/node/actions/runs/3814364920/jobs/6488613583#step:3:64
Reviewed-By: Ruy Adorno <ruyadorno@google.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no outstanding review comments, and a CI started. commit-queue-rebase Add this label to allow the Commit Queue to land a PR in several commits. tools Issues and PRs related to the tools directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL