Skip to content

docs: replace deprecated npx option#1070

Merged
typicode merged 4 commits intotypicode:mainfrom
sibiraj-s:patch-1
Apr 28, 2022
Merged

docs: replace deprecated npx option#1070
typicode merged 4 commits intotypicode:mainfrom
sibiraj-s:patch-1

Conversation

@sibiraj-s
Copy link
Contributor

The --no-install option is deprecated, and will be converted to --no

https://docs.npmjs.com/cli/v7/commands/npx#compatibility-with-older-npx-versions.

@stale
Copy link

stale bot commented Dec 29, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Dec 29, 2021
@sibiraj-s
Copy link
Contributor Author

Still valid.

@stale stale bot removed the wontfix label Dec 29, 2021
@devinrhode2
Copy link

Is --no-install removed or just deprecated?

@sibiraj-s
Copy link
Contributor Author

Its deprecated. See here for more details https://docs.npmjs.com/cli/v8/commands/npx#compatibility-with-older-npx-versions

@devinrhode2
Copy link

Maybe it would be better to keep using --no-install for greater compatibility?

@sibiraj-s
Copy link
Contributor Author

It's been over a year since it got deprecated from v7, now we have v8. Majority of projects appears to be using npm7. IMO, we should move forward.

@typicode
Copy link
Owner

Tricky one, though I do agree.

Node 12 and 14 are still maintained and use npm 6 (so there are still people using them). Let's merge this PR in April when Node 12 is out of life.

@sibiraj-s
Copy link
Contributor Author

Tricky one, though I do agree.

Node 12 and 14 are still maintained and use npm 6 (so there are still people using them). Let's merge this PR in April when Node 12 is out of life.

Agreed 👍

@stale
Copy link

stale bot commented Apr 18, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Apr 18, 2022
@stale stale bot closed this Apr 25, 2022
@devinrhode2
Copy link

Node 12 and 14 are still maintained and use npm 6 (so there are still people using them). Let's merge this PR in April when Node 12 is out of life.

Hey! April has come! stale bot has served it's true purpose. :)

Copy link

@devinrhode2 devinrhode2 left a comment

Choose a reason for hiding this comment

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

LGTM :) 👍

@sibiraj-s
Copy link
Contributor Author

Not seeing an option to reopen the PR.

@typicode typicode reopened this Apr 26, 2022
@stale stale bot removed the wontfix label Apr 26, 2022
@typicode typicode merged commit 19710f7 into typicode:main Apr 28, 2022
@sibiraj-s sibiraj-s deleted the patch-1 branch April 28, 2022 08:02
kodiakhq bot referenced this pull request in ToppleTheNun/npm-lockfile-version May 8, 2022
[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [husky](https://typicode.github.io/husky) ([source](https://togithub.com/typicode/husky)) | [`7.0.4` -> `8.0.0`](https://renovatebot.com/diffs/npm/husky/7.0.4/8.0.0) | [![age](https://badges.renovateapi.com/packages/npm/husky/8.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/husky/8.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/husky/8.0.0/compatibility-slim/7.0.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/husky/8.0.0/confidence-slim/7.0.4)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>typicode/husky</summary>

### [`v8.0.0`](https://togithub.com/typicode/husky/releases/v8.0.0)

[Compare Source](https://togithub.com/typicode/husky/compare/v7.0.4...v8.0.0)

#### What's Changed

##### Feats

-   feat: add `husky -` prefix to logged global error messages by [@&#8203;joshbalfour](https://togithub.com/joshbalfour) in [https://github.com/typicode/husky/pull/1092](https://togithub.com/typicode/husky/pull/1092)
-   feat: show `PATH` when command not found to improve debuggability
-   feat: drop Node 12 support
-   feat: skip install if `$HUSKY=0`

##### Fixes

-   fix: hook script use `/usr/bin/env sh` instead of direct path of `sh` by [@&#8203;skhaz](https://togithub.com/skhaz) in [https://github.com/typicode/husky/pull/1051](https://togithub.com/typicode/husky/pull/1051)
-   fix: actually set 'husky_skip_init' as readonly in `./husky.sh` by [@&#8203;hyperupcall](https://togithub.com/hyperupcall) in [https://github.com/typicode/husky/pull/1104](https://togithub.com/typicode/husky/pull/1104)
-   fix: force `basename`/`dirname` to treat `$0` as an argument by [@&#8203;mataha](https://togithub.com/mataha) in [https://github.com/typicode/husky/pull/1132](https://togithub.com/typicode/husky/pull/1132)
-   fix: remove `git.io` links by [@&#8203;renbaoshuo](https://togithub.com/renbaoshuo) in [https://github.com/typicode/husky/pull/1136](https://togithub.com/typicode/husky/pull/1136)

##### Docs

-   docs: fix uninstall via npm by [@&#8203;pddpd](https://togithub.com/pddpd) in [https://github.com/typicode/husky/pull/1033](https://togithub.com/typicode/husky/pull/1033)
-   docs: add dog emoji as favicon by [@&#8203;jamiehaywood](https://togithub.com/jamiehaywood) in [https://github.com/typicode/husky/pull/1095](https://togithub.com/typicode/husky/pull/1095)
-   docs: replace deprecated `npx --no-install` option with `npx --no` by [@&#8203;sibiraj-s](https://togithub.com/sibiraj-s) in [https://github.com/typicode/husky/pull/1070](https://togithub.com/typicode/husky/pull/1070)
-   docs: add `pnpm` installation by [@&#8203;MohamadKh75](https://togithub.com/MohamadKh75) in [https://github.com/typicode/husky/pull/1139](https://togithub.com/typicode/husky/pull/1139)

##### Chore

-   chore: update workflows by [@&#8203;tiziodcaio](https://togithub.com/tiziodcaio) in [https://github.com/typicode/husky/pull/1125](https://togithub.com/typicode/husky/pull/1125)

</details>

---

### Configuration

📅 **Schedule**: At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/ToppleTheNun/npm-lockfile-version).
hoonoh referenced this pull request in hoonoh/aws-spot-price May 9, 2022
[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [husky](https://typicode.github.io/husky) ([source](https://togithub.com/typicode/husky)) | [`7.0.4` -> `8.0.0`](https://renovatebot.com/diffs/npm/husky/7.0.4/8.0.0) | [![age](https://badges.renovateapi.com/packages/npm/husky/8.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/husky/8.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/husky/8.0.0/compatibility-slim/7.0.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/husky/8.0.0/confidence-slim/7.0.4)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>typicode/husky</summary>

### [`v8.0.0`](https://togithub.com/typicode/husky/releases/v8.0.0)

[Compare Source](https://togithub.com/typicode/husky/compare/v7.0.4...v8.0.0)

#### What's Changed

##### Feats

-   feat: add `husky -` prefix to logged global error messages by [@&#8203;joshbalfour](https://togithub.com/joshbalfour) in [https://github.com/typicode/husky/pull/1092](https://togithub.com/typicode/husky/pull/1092)
-   feat: show `PATH` when command not found to improve debuggability
-   feat: drop Node 12 support
-   feat: skip install if `$HUSKY=0`

##### Fixes

-   fix: hook script use `/usr/bin/env sh` instead of direct path of `sh` by [@&#8203;skhaz](https://togithub.com/skhaz) in [https://github.com/typicode/husky/pull/1051](https://togithub.com/typicode/husky/pull/1051)
-   fix: actually set 'husky_skip_init' as readonly in `./husky.sh` by [@&#8203;hyperupcall](https://togithub.com/hyperupcall) in [https://github.com/typicode/husky/pull/1104](https://togithub.com/typicode/husky/pull/1104)
-   fix: force `basename`/`dirname` to treat `$0` as an argument by [@&#8203;mataha](https://togithub.com/mataha) in [https://github.com/typicode/husky/pull/1132](https://togithub.com/typicode/husky/pull/1132)
-   fix: remove `git.io` links by [@&#8203;renbaoshuo](https://togithub.com/renbaoshuo) in [https://github.com/typicode/husky/pull/1136](https://togithub.com/typicode/husky/pull/1136)

##### Docs

-   docs: fix uninstall via npm by [@&#8203;pddpd](https://togithub.com/pddpd) in [https://github.com/typicode/husky/pull/1033](https://togithub.com/typicode/husky/pull/1033)
-   docs: add dog emoji as favicon by [@&#8203;jamiehaywood](https://togithub.com/jamiehaywood) in [https://github.com/typicode/husky/pull/1095](https://togithub.com/typicode/husky/pull/1095)
-   docs: replace deprecated `npx --no-install` option with `npx --no` by [@&#8203;sibiraj-s](https://togithub.com/sibiraj-s) in [https://github.com/typicode/husky/pull/1070](https://togithub.com/typicode/husky/pull/1070)
-   docs: add `pnpm` installation by [@&#8203;MohamadKh75](https://togithub.com/MohamadKh75) in [https://github.com/typicode/husky/pull/1139](https://togithub.com/typicode/husky/pull/1139)

##### Chore

-   chore: update workflows by [@&#8203;tiziodcaio](https://togithub.com/tiziodcaio) in [https://github.com/typicode/husky/pull/1125](https://togithub.com/typicode/husky/pull/1125)

</details>

---

### Configuration

📅 **Schedule**: "after 5pm on Friday,every weekend" (UTC).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/hoonoh/aws-spot-price).

Co-authored-by: Renovate Bot <[email protected]>
kodiakhq bot referenced this pull request in mheob/vscode-snippets May 14, 2022
[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [husky](https://typicode.github.io/husky) ([source](https://togithub.com/typicode/husky)) | [`^7.0.4` -> `^8.0.0`](https://renovatebot.com/diffs/npm/husky/7.0.4/8.0.1) | [![age](https://badges.renovateapi.com/packages/npm/husky/8.0.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/husky/8.0.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/husky/8.0.1/compatibility-slim/7.0.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/husky/8.0.1/confidence-slim/7.0.4)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>typicode/husky</summary>

### [`v8.0.1`](https://togithub.com/typicode/husky/releases/v8.0.1)

[Compare Source](https://togithub.com/typicode/husky/compare/v8.0.0...v8.0.1)

-   fix: use POSIX equality operator

### [`v8.0.0`](https://togithub.com/typicode/husky/releases/v8.0.0)

[Compare Source](https://togithub.com/typicode/husky/compare/v7.0.4...v8.0.0)

#### What's Changed

##### Feats

-   feat: add `husky -` prefix to logged global error messages by [@&#8203;joshbalfour](https://togithub.com/joshbalfour) in [https://github.com/typicode/husky/pull/1092](https://togithub.com/typicode/husky/pull/1092)
-   feat: show `PATH` when command not found to improve debuggability
-   feat: drop Node 12 support
-   feat: skip install if `$HUSKY=0`

##### Fixes

-   fix: hook script use `/usr/bin/env sh` instead of direct path of `sh` by [@&#8203;skhaz](https://togithub.com/skhaz) in [https://github.com/typicode/husky/pull/1051](https://togithub.com/typicode/husky/pull/1051)
-   fix: actually set 'husky_skip_init' as readonly in `./husky.sh` by [@&#8203;hyperupcall](https://togithub.com/hyperupcall) in [https://github.com/typicode/husky/pull/1104](https://togithub.com/typicode/husky/pull/1104)
-   fix: force `basename`/`dirname` to treat `$0` as an argument by [@&#8203;mataha](https://togithub.com/mataha) in [https://github.com/typicode/husky/pull/1132](https://togithub.com/typicode/husky/pull/1132)
-   fix: remove `git.io` links by [@&#8203;renbaoshuo](https://togithub.com/renbaoshuo) in [https://github.com/typicode/husky/pull/1136](https://togithub.com/typicode/husky/pull/1136)

##### Docs

-   docs: fix uninstall via npm by [@&#8203;pddpd](https://togithub.com/pddpd) in [https://github.com/typicode/husky/pull/1033](https://togithub.com/typicode/husky/pull/1033)
-   docs: add dog emoji as favicon by [@&#8203;jamiehaywood](https://togithub.com/jamiehaywood) in [https://github.com/typicode/husky/pull/1095](https://togithub.com/typicode/husky/pull/1095)
-   docs: replace deprecated `npx --no-install` option with `npx --no` by [@&#8203;sibiraj-s](https://togithub.com/sibiraj-s) in [https://github.com/typicode/husky/pull/1070](https://togithub.com/typicode/husky/pull/1070)
-   docs: add `pnpm` installation by [@&#8203;MohamadKh75](https://togithub.com/MohamadKh75) in [https://github.com/typicode/husky/pull/1139](https://togithub.com/typicode/husky/pull/1139)

##### Chore

-   chore: update workflows by [@&#8203;tiziodcaio](https://togithub.com/tiziodcaio) in [https://github.com/typicode/husky/pull/1125](https://togithub.com/typicode/husky/pull/1125)

</details>

---

### Configuration

📅 **Schedule**: "before 3am on Friday" (UTC).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] If you want to rebase/retry this PR, click this checkbox.

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/mheob/vscode-snippets).
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