-
Notifications
You must be signed in to change notification settings - Fork 122
fix: add preferLocal
option to allow execa to use local npm version
#445
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
Merged
travi
merged 6 commits into
semantic-release:beta
from
antongolub-forks:prefer-local-npm
Jan 17, 2022
Merged
fix: add preferLocal
option to allow execa to use local npm version
#445
travi
merged 6 commits into
semantic-release:beta
from
antongolub-forks:prefer-local-npm
Jan 17, 2022
Conversation
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
thank you for the investigation here. since this gets the behavior back to what was intended, i think this is the appropriate step for now over #444 |
travi
approved these changes
Jan 17, 2022
travi
reviewed
Jan 17, 2022
🎉 This PR is included in version 8.0.4-beta.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 9.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
1 task
antongolub
added a commit
to qiwi/multi-semantic-release
that referenced
this pull request
Feb 22, 2022
BREAKING CHANGE: semrel npm plugin calls local npm version semantic-release/npm#445
antongolub
added a commit
to qiwi/multi-semantic-release
that referenced
this pull request
Feb 22, 2022
BREAKING CHANGE: semrel npm plugin calls local npm version semantic-release/npm#445
qiwibot
added a commit
to qiwi/multi-semantic-release
that referenced
this pull request
Feb 22, 2022
# [4.0.0](v3.17.1...v4.0.0) (2022-02-22) ### Features * bump semrel to v19 ([e6b8acb](e6b8acb)) ### BREAKING CHANGES * semrel npm plugin calls local npm version semantic-release/npm#445
prisis
pushed a commit
to anolilab/semantic-release
that referenced
this pull request
Sep 28, 2023
### ⚠ BREAKING CHANGES * semantic-release/semantic-release@v19.0.5...v21.0.5 * drop support for cycled monorepos * require Node.js v12 * sequentialPrepare is set to true, to disable pass `--no-sequential-prepare` option * semrel npm plugin calls local npm version semantic-release/npm#445 * **engine:** the latest semantic-release requires Node.js 10.18 * drop nodejs v8 ### Features * add --tag-version-format flag ([259864c](259864c)) * add debugger ([d2c090d](d2c090d)) * add dependencies updating controller ([0c9b040](0c9b040)) * add execa queued hook ([042933e](042933e)) * add execasync CLI flag to make execa calls be always synchronous ([693438c](693438c)), closes [#1](#1) * add meow as cli provider ([6de93b9](6de93b9)) * add pnpm and bolt support ([91465de](91465de)) * add process.spawn arg watcher ([7699b6f](7699b6f)) * add sequential-init flag to avoid hypothetical concurrent initialization collisions ([348678e](348678e)) * add some debug messages ([ec792e1](ec792e1)) * added declarative config support ([c98ff10](c98ff10)) * allow to run prepare steps sequentially ([299748a](299748a)) * apply --first-parent filter to commits ([14a896b](14a896b)) * apply queuefy to plugin methods instead of execa ([9ae7d0d](9ae7d0d)) * bump semrel to v19 ([e6b8acb](e6b8acb)) * check that sequentialPrepare is not enabled on cyclic projects ([68c1198](68c1198)) * **debug:** attach pkg prefixes to debug notes ([25e111f](25e111f)) * **debug:** log manifest deps changes ([88b4077](88b4077)), closes [#27](#27) * **debug:** print passed cli flags ([d720cd7](d720cd7)) * drop nodejs v8 support ([80f0a24](80f0a24)) * enable `sequentialPrepare` flag by default ([ad7e81f](ad7e81f)) * enable first-parent commits filtering by cli flag ([33306cc](33306cc)) * **engine:** up nodejs version ([10af385](10af385)) * handle .cjs configs ([38f657a](38f657a)) * ignore packages to be released with workspaces and CLI ([#42](#42)) ([b98e181](b98e181)) * Initial commit ([942ef94](942ef94)) * introduce `deps.prefix` flag to inject carets ([c3f4529](c3f4529)) * introduce `ignorePrivate` flag ([e4891c9](e4891c9)), closes [#66](#66) * introduce `log-level` config option ([3fb6584](3fb6584)) * introduce a silent mode([#88](#88)) ([47a27d8](47a27d8)) * let publish step run in parallel ([4d5c451](4d5c451)) * log filtered commits in debug ([c64b8e1](c64b8e1)) * log manifest path ([db451e8](db451e8)) * new updated version of the multi-semantic-release lib ([54be8b7](54be8b7)) * prefer nested CLI flags ([1bf08cc](1bf08cc)) * provide pre-release flow ([6a9ce16](6a9ce16)), closes [#25](#25) * replace synchronizer with @semrel-extra/topo ([ddd1032](ddd1032)) * support `${version}+${name}` tag format ([c53fefb](c53fefb)), closes [#71](#71) * support `release.config.cjs` ([a6b9370](a6b9370)) * support workspace.packages notation ([4a606b2](4a606b2)) * tech release ([828a82d](828a82d)) * update semver from v19 to v21 ([6e4c378](6e4c378)) * uphold the prev package.json indents ([ac5832f](ac5832f)) ### Bug Fixes * add flag to enable sequentialPrepare mode ([70c2dc5](70c2dc5)) * add sync point for publish step ([adc823e](adc823e)) * allow any `todo` package to run the `generateNotes` queue ([26a87d7](26a87d7)), closes [#9](#9) * apply deps update before npm's plugin prepare ([77b6ee2](77b6ee2)) * avoid non-updated local dependencies bump ([#33](#33)) ([9faeef6](9faeef6)) * beautify log labels ([78cbc8a](78cbc8a)) * bump-up of pre-version ([02ef270](02ef270)) * **cli:** fix inner spawnhook call ([70aa292](70aa292)) * **cli:** restore watchspawn context ([56145aa](56145aa)) * **config:** fix `options` and `plugins` resolver ([56e974c](56e974c)) * correct global config use ([8e5fb99](8e5fb99)) * dont fetch tags if tags arg is empty array ([3a79558](3a79558)) * ensure msr cli flags take precedence over their semrel equivalents ([2be75fa](2be75fa)) * filter only tags that are valid ([59b61ad](59b61ad)) * filter queued packages on generateNotes stage ([e0625ce](e0625ce)), closes [#6](#6) * fix cascade bumping when some dep belongs to several levels of the dep tree ([cf20dea](cf20dea)) * fix debug logging ([71527b2](71527b2)) * fix export point ([cf31425](cf31425)) * fix getNextVersion resolver ([7275ae7](7275ae7)) * fix globbing on Windows ([#57](#57)) ([1d71d21](1d71d21)) * fix internal flag ref filterParent → firstParent ([8c7400f](8c7400f)) * fix logger path ([232d2dc](232d2dc)) * fix nextType resolver ([606914b](606914b)) * fix pkgOptions resolver ([2a2f0cf](2a2f0cf)) * force a release ([1e3ece5](1e3ece5)) * getVersionFromTag tests to fix release process ([e7f1646](e7f1646)) * local dependencies correct bump from release to prerelease ([#34](#34)) ([6481a59](6481a59)) * make logger to be singleton ([1790794](1790794)) * missing @ in tagFormat ([3faa0f1](3faa0f1)) * more robust stream rescoping (to fix bug in npm module) ([34c7c62](34c7c62)) * override env.TRAVIS_PULL_REQUEST_BRANCH to fix PR checks on travis-ci ([e4b1929](e4b1929)), closes [#11](#11) * **package:** add missed sem-rel plugins ([f3c9318](f3c9318)) * **package:** up deps, fix some vuls ([d8905b0](d8905b0)) * **package:** up deps, fix vulns ([5a4d91e](5a4d91e)) * **package:** update execa to be compatible with sem-rel 15.13.28 ([069bb4e](069bb4e)), closes [#7](#7) * pass stderr and stdout into semantic's getConfig (bug in npm) ([cf596cb](cf596cb)) * pin npm as peer dep ([67d8b80](67d8b80)) * pin npm version to v8.4.1 ([22c89d1](22c89d1)), closes [#60](#60) * preserve trailing whitespace in manifest ([06426ec](06426ec)) * print queued pkg count instead of total ([d893a7f](d893a7f)) * process optional deps during manifest update ([4b7066c](4b7066c)) * provide partial release ([898998a](898998a)) * publish updated deps ([791f55a](791f55a)), closes [#1](#1) * rm npm from peer deps ([307e505](307e505)) * **sequential-prepare:** do not wait forever when a child package has no change ([713046a](713046a)) * specify used but forgotten dependencies ([73def7f](73def7f)) * sync pkg version after running the npm plugin ([1d24e45](1d24e45)) * trigger next pkg `prepare` after the prev `publish` ([f74d185](f74d185)) * try to prevent deps update rollback ([9108350](9108350)) * up deps, fix some vuls ([2d5cf86](2d5cf86)) * update deps, fix some vuls ([f3cafc8](f3cafc8)) * update manifest version before npm plugin prepare step ([a1ae4c3](a1ae4c3)), closes [#58](#58) * **update-deps:** properly resolve next pre-versions ([62b348e](62b348e)) * wrong context.commits when have multiple releases commit ([f82f125](f82f125)) ### Performance Improvements * deps revision ([4f62817](4f62817)) * log improvements ([c45dccc](c45dccc)) * log multi-sem-rel flags ([75389e0](75389e0)) * log yarn paths ([3896d5c](3896d5c)) * **package:** up deps ([506a0e8](506a0e8)) * **package:** up deps ([6b903a7](6b903a7)) * **package:** up deps & tech release ([bf00b41](bf00b41)) * refactor nextPreVersion to reduce cognitive complexity ([#35](#35)) ([601bbd3](601bbd3)) * straighten plugins execution pipeline ([e57fe2f](e57fe2f)), closes [#4](#4) * up deps ([f9e0c8a](f9e0c8a)) * up deps, minor code improvements ([a7aa625](a7aa625)) * various synchronizer optimizations ([87a7602](87a7602)) ### Code Refactoring * move to ESM ([99fffa9](99fffa9))
prisis
pushed a commit
to anolilab/semantic-release
that referenced
this pull request
Sep 28, 2023
### ⚠ BREAKING CHANGES * semantic-release/semantic-release@v19.0.5...v21.0.5 * drop support for cycled monorepos * require Node.js v12 * sequentialPrepare is set to true, to disable pass `--no-sequential-prepare` option * semrel npm plugin calls local npm version semantic-release/npm#445 * **engine:** the latest semantic-release requires Node.js 10.18 * drop nodejs v8 ### Features * add --tag-version-format flag ([259864c](259864c)) * add debugger ([d2c090d](d2c090d)) * add dependencies updating controller ([0c9b040](0c9b040)) * add execa queued hook ([042933e](042933e)) * add execasync CLI flag to make execa calls be always synchronous ([693438c](693438c)), closes [#1](#1) * add meow as cli provider ([6de93b9](6de93b9)) * add pnpm and bolt support ([91465de](91465de)) * add process.spawn arg watcher ([7699b6f](7699b6f)) * add sequential-init flag to avoid hypothetical concurrent initialization collisions ([348678e](348678e)) * add some debug messages ([ec792e1](ec792e1)) * added declarative config support ([c98ff10](c98ff10)) * allow to run prepare steps sequentially ([299748a](299748a)) * apply --first-parent filter to commits ([14a896b](14a896b)) * apply queuefy to plugin methods instead of execa ([9ae7d0d](9ae7d0d)) * bump semrel to v19 ([e6b8acb](e6b8acb)) * check that sequentialPrepare is not enabled on cyclic projects ([68c1198](68c1198)) * **debug:** attach pkg prefixes to debug notes ([25e111f](25e111f)) * **debug:** log manifest deps changes ([88b4077](88b4077)), closes [#27](#27) * **debug:** print passed cli flags ([d720cd7](d720cd7)) * drop nodejs v8 support ([80f0a24](80f0a24)) * enable `sequentialPrepare` flag by default ([ad7e81f](ad7e81f)) * enable first-parent commits filtering by cli flag ([33306cc](33306cc)) * **engine:** up nodejs version ([10af385](10af385)) * handle .cjs configs ([38f657a](38f657a)) * ignore packages to be released with workspaces and CLI ([#42](#42)) ([b98e181](b98e181)) * Initial commit ([942ef94](942ef94)) * introduce `deps.prefix` flag to inject carets ([c3f4529](c3f4529)) * introduce `ignorePrivate` flag ([e4891c9](e4891c9)), closes [#66](#66) * introduce `log-level` config option ([3fb6584](3fb6584)) * introduce a silent mode([#88](#88)) ([47a27d8](47a27d8)) * let publish step run in parallel ([4d5c451](4d5c451)) * log filtered commits in debug ([c64b8e1](c64b8e1)) * log manifest path ([db451e8](db451e8)) * new updated version of the multi-semantic-release lib ([8bdc8be](8bdc8be)) * prefer nested CLI flags ([1bf08cc](1bf08cc)) * provide pre-release flow ([6a9ce16](6a9ce16)), closes [#25](#25) * replace synchronizer with @semrel-extra/topo ([ddd1032](ddd1032)) * support `${version}+${name}` tag format ([c53fefb](c53fefb)), closes [#71](#71) * support `release.config.cjs` ([a6b9370](a6b9370)) * support workspace.packages notation ([4a606b2](4a606b2)) * tech release ([828a82d](828a82d)) * update semver from v19 to v21 ([6e4c378](6e4c378)) * uphold the prev package.json indents ([ac5832f](ac5832f)) ### Bug Fixes * add flag to enable sequentialPrepare mode ([70c2dc5](70c2dc5)) * add sync point for publish step ([adc823e](adc823e)) * added missing publishConfig ([f00ea9a](f00ea9a)) * allow any `todo` package to run the `generateNotes` queue ([26a87d7](26a87d7)), closes [#9](#9) * apply deps update before npm's plugin prepare ([77b6ee2](77b6ee2)) * avoid non-updated local dependencies bump ([#33](#33)) ([9faeef6](9faeef6)) * beautify log labels ([78cbc8a](78cbc8a)) * bump-up of pre-version ([02ef270](02ef270)) * **cli:** fix inner spawnhook call ([70aa292](70aa292)) * **cli:** restore watchspawn context ([56145aa](56145aa)) * **config:** fix `options` and `plugins` resolver ([56e974c](56e974c)) * correct global config use ([8e5fb99](8e5fb99)) * dont fetch tags if tags arg is empty array ([3a79558](3a79558)) * ensure msr cli flags take precedence over their semrel equivalents ([2be75fa](2be75fa)) * filter only tags that are valid ([59b61ad](59b61ad)) * filter queued packages on generateNotes stage ([e0625ce](e0625ce)), closes [#6](#6) * fix cascade bumping when some dep belongs to several levels of the dep tree ([cf20dea](cf20dea)) * fix debug logging ([71527b2](71527b2)) * fix export point ([cf31425](cf31425)) * fix getNextVersion resolver ([7275ae7](7275ae7)) * fix globbing on Windows ([#57](#57)) ([1d71d21](1d71d21)) * fix internal flag ref filterParent → firstParent ([8c7400f](8c7400f)) * fix logger path ([232d2dc](232d2dc)) * fix nextType resolver ([606914b](606914b)) * fix pkgOptions resolver ([2a2f0cf](2a2f0cf)) * force a release ([1e3ece5](1e3ece5)) * getVersionFromTag tests to fix release process ([e7f1646](e7f1646)) * local dependencies correct bump from release to prerelease ([#34](#34)) ([6481a59](6481a59)) * make logger to be singleton ([1790794](1790794)) * missing @ in tagFormat ([3faa0f1](3faa0f1)) * more robust stream rescoping (to fix bug in npm module) ([34c7c62](34c7c62)) * override env.TRAVIS_PULL_REQUEST_BRANCH to fix PR checks on travis-ci ([e4b1929](e4b1929)), closes [#11](#11) * **package:** add missed sem-rel plugins ([f3c9318](f3c9318)) * **package:** up deps, fix some vuls ([d8905b0](d8905b0)) * **package:** up deps, fix vulns ([5a4d91e](5a4d91e)) * **package:** update execa to be compatible with sem-rel 15.13.28 ([069bb4e](069bb4e)), closes [#7](#7) * pass stderr and stdout into semantic's getConfig (bug in npm) ([cf596cb](cf596cb)) * pin npm as peer dep ([67d8b80](67d8b80)) * pin npm version to v8.4.1 ([22c89d1](22c89d1)), closes [#60](#60) * preserve trailing whitespace in manifest ([06426ec](06426ec)) * print queued pkg count instead of total ([d893a7f](d893a7f)) * process optional deps during manifest update ([4b7066c](4b7066c)) * provide partial release ([898998a](898998a)) * publish updated deps ([791f55a](791f55a)), closes [#1](#1) * rm npm from peer deps ([307e505](307e505)) * **sequential-prepare:** do not wait forever when a child package has no change ([713046a](713046a)) * specify used but forgotten dependencies ([73def7f](73def7f)) * sync pkg version after running the npm plugin ([1d24e45](1d24e45)) * trigger next pkg `prepare` after the prev `publish` ([f74d185](f74d185)) * try to prevent deps update rollback ([9108350](9108350)) * up deps, fix some vuls ([2d5cf86](2d5cf86)) * update deps, fix some vuls ([f3cafc8](f3cafc8)) * update manifest version before npm plugin prepare step ([a1ae4c3](a1ae4c3)), closes [#58](#58) * **update-deps:** properly resolve next pre-versions ([62b348e](62b348e)) * wrong context.commits when have multiple releases commit ([f82f125](f82f125)) ### Performance Improvements * deps revision ([4f62817](4f62817)) * log improvements ([c45dccc](c45dccc)) * log multi-sem-rel flags ([75389e0](75389e0)) * log yarn paths ([3896d5c](3896d5c)) * **package:** up deps ([506a0e8](506a0e8)) * **package:** up deps ([6b903a7](6b903a7)) * **package:** up deps & tech release ([bf00b41](bf00b41)) * refactor nextPreVersion to reduce cognitive complexity ([#35](#35)) ([601bbd3](601bbd3)) * straighten plugins execution pipeline ([e57fe2f](e57fe2f)), closes [#4](#4) * up deps ([f9e0c8a](f9e0c8a)) * up deps, minor code improvements ([a7aa625](a7aa625)) * various synchronizer optimizations ([87a7602](87a7602)) ### Code Refactoring * move to ESM ([99fffa9](99fffa9))
electroluxcode
pushed a commit
to electroluxcode/npm
that referenced
this pull request
Jun 15, 2025
# 1.0.0 (2025-06-15) ### Bug Fixes * add `preferLocal` option to allow execa to use local npm version ([semantic-release#445](https://github.com/electroluxcode/npm/issues/445)) ([002439e](002439e)) * add dist-tag to publish and add-channel logs ([db6ccd2](db6ccd2)) * add dist-tag to publish log ([2de37a1](2de37a1)) * add message if no gitHead found ([9cde647](9cde647)) * add missed `preferLocal` option for execa call ([semantic-release#458](https://github.com/electroluxcode/npm/issues/458)) ([c817a88](c817a88)) * **aggregate-error:** upgraded to the latest version ([7285e05](7285e05)) * always attempt to set the legacy token env var ([2432eb0](2432eb0)) * avoid adding unnecessary new line to `.npmrc` ([6189ee7](6189ee7)) * check publish props only in verify ones are undefined ([dc9f08c](dc9f08c)) * ci ([0892bf4](0892bf4)) * ci ([47078ee](47078ee)) * **deps:** raised the minimum accepted range of npm to v10.5.0 ([semantic-release#759](https://github.com/electroluxcode/npm/issues/759)) ([a0313f8](a0313f8)), closes [semantic-release/semantic-release#3202](semantic-release/semantic-release#3202) * **deps:** update dependency @semantic-release/error to v3 ([semantic-release#402](https://github.com/electroluxcode/npm/issues/402)) ([60832fb](60832fb)) * **deps:** update dependency @semantic-release/error to v4 ([semantic-release#628](https://github.com/electroluxcode/npm/issues/628)) ([53a1012](53a1012)) * **deps:** update dependency aggregate-error to v5 ([semantic-release#676](https://github.com/electroluxcode/npm/issues/676)) ([f2bc9e7](f2bc9e7)) * **deps:** update dependency execa to v5 ([semantic-release#299](https://github.com/electroluxcode/npm/issues/299)) ([d4e5bb2](d4e5bb2)) * **deps:** update dependency execa to v7 ([semantic-release#575](https://github.com/electroluxcode/npm/issues/575)) ([4c11706](4c11706)) * **deps:** update dependency execa to v8 ([semantic-release#659](https://github.com/electroluxcode/npm/issues/659)) ([502d5ba](502d5ba)) * **deps:** update dependency execa to v9 ([9ac5ed0](9ac5ed0)) * **deps:** update dependency fs-extra to v10 ([80fde1e](80fde1e)) * **deps:** update dependency fs-extra to v11 ([7157d76](7157d76)) * **deps:** update dependency fs-extra to v11.1.1 ([semantic-release#591](https://github.com/electroluxcode/npm/issues/591)) ([31e0e27](31e0e27)) * **deps:** update dependency normalize-url to v6 ([97ca719](97ca719)) * **deps:** update dependency npm to v10 ([819f257](819f257)) * **deps:** update dependency npm to v10.2.5 ([42b5dec](42b5dec)) * **deps:** update dependency npm to v9 ([28265ec](28265ec)) * **deps:** update dependency read-pkg to v8 ([semantic-release#602](https://github.com/electroluxcode/npm/issues/602)) ([aaddc5c](aaddc5c)) * **deps:** update dependency read-pkg to v9 ([semantic-release#703](https://github.com/electroluxcode/npm/issues/703)) ([6e84013](6e84013)) * **deps:** update dependency registry-auth-token to v5 ([187671f](187671f)) * **deps:** update dependency tempy to ^0.7.0 ([semantic-release#287](https://github.com/electroluxcode/npm/issues/287)) ([dd25707](dd25707)) * **deps:** update dependency tempy to v1 ([semantic-release#289](https://github.com/electroluxcode/npm/issues/289)) ([5a1dbb8](5a1dbb8)) * **deps:** upgraded npm to v9 ([2a79f80](2a79f80)) * do not make `package.json`'s version mandatory ([eda41f0](eda41f0)) * do not use `execa.stdout.pipe` as it closes the stream ([544d4c7](544d4c7)) * **execa:** upgraded to the latest version ([7c74660](7c74660)) * factorise the verification code in a function ([8e28af9](8e28af9)) * fix error handling when no npm token is defined ([a548415](a548415)) * fix typo in error message ([18a4d64](18a4d64)) * format `package.json` and `npm-shrinkwrap.json` as `npm` ([da718a3](da718a3)) * get tarball name as last line from stdout ([cec8078](cec8078)) * Honor NPM_CONFIG_USERCONFIG setting ([932ea5e](932ea5e)) * Honor NPM_CONFIG_USERCONFIG setting ([1395b18](1395b18)) * improve error message text for npm tokens ([semantic-release#323](https://github.com/electroluxcode/npm/issues/323)) ([88e5862](88e5862)) * include version in npm release URL ([827fcb3](827fcb3)) * log the output of `npm whoami` command ([cd1ecaa](cd1ecaa)) * log the path of existing `.npmrc` files ([a0120d2](a0120d2)) * **normalize-url:** upgraded to the latest version ([b55bb01](b55bb01)) * **package:** pin npm to 6.5.0 ([ddab7b7](ddab7b7)) * **package:** pin npm to 6.5.0 ([d506b9a](d506b9a)) * **package:** update aggregate-error to version 2.0.0 ([df53298](df53298)) * **package:** update aggregate-error to version 2.0.0 ([8386664](8386664)) * **package:** update aggregate-error to version 3.0.0 ([3e0d5d0](3e0d5d0)) * **package:** update aggregate-error to version 3.0.0 ([46ec5ee](46ec5ee)) * **package:** update execa to version 0.10.0 ([f92254f](f92254f)) * **package:** update execa to version 0.11.0 ([b2dd3d7](b2dd3d7)) * **package:** update execa to version 0.9.0 ([a39db0e](a39db0e)) * **package:** update execa to version 1.0.0 ([746f734](746f734)) * **package:** update execa to version 2.0.0 ([9498e21](9498e21)) * **package:** update execa to version 2.0.2 ([d2932ba](d2932ba)) * **package:** update execa to version 2.0.2 ([2a45e25](2a45e25)) * **package:** update execa to version 3.0.0 ([b1780c1](b1780c1)) * **package:** update execa to version 3.2.0 ([7db019f](7db019f)) * **package:** update execa to version 4.0.0 ([d97dee5](d97dee5)) * **package:** update fs-extra to version 5.0.0 ([78c201f](78c201f)) * **package:** update fs-extra to version 6.0.0 ([e9d0db5](e9d0db5)) * **package:** update fs-extra to version 7.0.0 ([14f9d11](14f9d11)) * **package:** update fs-extra to version 8.0.0 ([bf603e5](bf603e5)) * **package:** update fs-extra to version 8.0.0 ([8288c24](8288c24)) * **package:** update fs-extra to version 9.0.0 ([67a3109](67a3109)) * **package:** update node requirement to 8.3 ([c2c59ab](c2c59ab)) * **package:** update normalize-url to version 3.0.0 ([d12b00b](d12b00b)) * **package:** update normalize-url to version 4.0.0 ([ee787b4](ee787b4)) * **package:** update normalize-url to version 5.0.0 ([a554580](a554580)) * **package:** update npm to version 6.8.0 ([2b0492e](2b0492e)) * **package:** update npm to version 6.8.0 ([62b27c5](62b27c5)) * **package:** update read-pkg to version 4.0.0 ([1e21691](1e21691)) * **package:** update read-pkg to version 5.0.0 ([877ce40](877ce40)) * **package:** update read-pkg to version 5.0.0 ([d03aff2](d03aff2)) * **package:** update registry-auth-token to version 4.0.0 ([2868b2c](2868b2c)) * **package:** update registry-auth-token to version 4.0.0 ([9a6176d](9a6176d)) * **package:** update semver to version 6.3.0 ([c515862](c515862)) * **package:** update semver to version 7.1.2 ([a58b30b](a58b30b)) * **package:** update tempy to version 0.4.0 ([4874bf6](4874bf6)) * **package:** update tempy to version 0.5.0 ([6ffff19](6ffff19)) * **package:** update vulnerable dependencies ([semantic-release#185](https://github.com/electroluxcode/npm/issues/185)) ([a96c6da](a96c6da)) * **package:** update vulnerable dependencies ([semantic-release#185](https://github.com/electroluxcode/npm/issues/185)) ([c663276](c663276)) * Pass registry URL to `npm` CLI with `--registry` ([187b823](187b823)) * preserve `package.json` and `npm-shrinkwrap.json` formatting ([abcc70b](abcc70b)) * preserve config in both home and local `.npmrc` ([de677ea](de677ea)) * **README:** correct docs on authentication ([semantic-release#413](https://github.com/electroluxcode/npm/issues/413)) ([f089d9d](f089d9d)) * remove support for legacy auth ([51ab3c8](51ab3c8)) * remove unecessary `Buffer.from` in `lib/set-npmrc-auth.js` ([d79b865](d79b865)) * require Node.js >=8.16 ([fce3a67](fce3a67)) * return `false` if the npm publish is skipped ([4a41228](4a41228)) * return `false` if the npm publish is skipped ([45890fd](45890fd)) * return `false` in `addChannel` if package is not published on npm ([5434bab](5434bab)) * Return `undefined` when no version is found ([b78535e](b78535e)) * revert to execa `^1.0.0` ([6f40669](6f40669)) * **revert): "fix(deps:** update dependency npm to v9" ([semantic-release#561](https://github.com/electroluxcode/npm/issues/561)) ([c28a848](c28a848)) * skip auth verification when skipping publish to registry ([1e612b6](1e612b6)) * skip npm auth verification if npmPublish is false ([4cd5cd7](4cd5cd7)) * skip tarball move if config is `cwd` ([a224497](a224497)) * skip tarball move if config is `cwd` ([a457fdc](a457fdc)) * stream command output to `stdout` and `stderr` ([5951b30](5951b30)) * **tempy:** upgraded to the latest version of tempy ([f1992a5](f1992a5)) * update required node and npm version ([semantic-release#273](https://github.com/electroluxcode/npm/issues/273)) ([493fbad](493fbad)) * updated the peer requirement for `semantic-release` to the new stable version ([575a5a4](575a5a4)) * updated the peer requirement on `semantic-release` to a version matching the engines definition of this package ([2d1f5f2](2d1f5f2)) * upgrade npm dependency to v8 ([a12d6e5](a12d6e5)) * use `logger` instead of writing on `stdout` ([0b9688a](0b9688a)) * use correct peerDependencies for semantic-release ([8b47e7b](8b47e7b)) * use NPM_CONFIG_USERCONFIG in get-registry to match auth ([semantic-release#362](https://github.com/electroluxcode/npm/issues/362)) ([13200ca](13200ca)) * validate only known options ([648b21b](648b21b)) * verify authentication for default npm registry only ([8cb4c04](8cb4c04)) ### chore * require Node.js >=10.18 ([8140f0f](8140f0f)) ### Code Refactoring * **esm:** converted the package to esm ([2d8ff15](2d8ff15)) ### Features * add `addChannel` plugin step ([fb96126](fb96126)) * add `details` to error messages ([b14d34d](b14d34d)) * Add `npmPublish` and `tarballDir` options ([d04a9b0](d04a9b0)) * add `pkgRoot` option to publish a sub-directory ([e36a56b](e36a56b)) * add dependency to `npm` ([b180a95](b180a95)) * add npm version hook ([8f3d6f9](8f3d6f9)) * allow to configure the registry via `NPM_CONFIG_REGISTRY` ([0126704](0126704)) * branch trigger ([2e2c0a7](2e2c0a7)) * ci ([1238cd9](1238cd9)) * **exports:** defined `exports` to point at ./index.js ([9e193c2](9e193c2)) * Initial release ([55c1014](55c1014)) * log npm CLI output to `stdout`/`stderr` ([c8e2ba4](c8e2ba4)) * **node-version:** raised the minimum required version to v14.17 ([semantic-release#387](https://github.com/electroluxcode/npm/issues/387)) ([semantic-release#399](https://github.com/electroluxcode/npm/issues/399)) ([f65e49d](f65e49d)) * **node-versions:** dropped support for node v18 and v19 ([2df962b](2df962b)) * **node-versions:** dropped support for node versions below v18 ([aff3574](aff3574)) * **node-versions:** raised the minimum required node version to v18.17 and dropped v19 support ([6413130](6413130)) * preserve indetentation and newline type of package.json ([bd74f54](bd74f54)) * preserve local `.npmrc` file ([8726eff](8726eff)) * Read package.json file instead using the one passed by semantic-release ([8565d9d](8565d9d)) * remove `getLastRelease` hook ([9383a98](9383a98)) * require Node.js >=10.13 ([6426458](6426458)) * require Node.js >=8.15 ([4caf538](4caf538)) * retrieve gitHead from git tag if it's missing from the npm metadata ([cf039fd](cf039fd)) * return all errors ([e611dad](e611dad)) * Return async functions ([2058e9e](2058e9e)) * return release informations from `publish` hook ([755356b](755356b)) * **semantic-release-peer:** raised the minimum peer requirement to the first version that supports loading esm plugins ([22e70ad](22e70ad)) * skip publising if the `package.json` `private` prop is `true` ([7052c9f](7052c9f)) * support `nextRelease.channel` property in `publish` step ([b8deba7](b8deba7)) * Support legacy authentication ([5fb0b09](5fb0b09)) * update `package.json` with `npm version` ([e8fe729](e8fe729)) * update package.json and create tarball in `prepare` hook ([f7b73e5](f7b73e5)) * update version in `package-lock.json` ([0f774fc](0f774fc)) * url trigger ([31bdeeb](31bdeeb)) * use `cwd` and `env` options passed by core ([f2e30c7](f2e30c7)) * Use always-auth from .npmrc ([b0635c3](b0635c3)), closes [semantic-release#6](https://github.com/electroluxcode/npm/issues/6) * use npm v7 ([semantic-release#304](https://github.com/electroluxcode/npm/issues/304)) ([a15c017](a15c017)) * verify `package.json` has a `version` property ([3c975df](3c975df)) ### Reverts * Revert "chore(deps): update dependency p-retry to v5 ([semantic-release#424](https://github.com/electroluxcode/npm/issues/424))" ([semantic-release#425](https://github.com/electroluxcode/npm/issues/425)) ([df11027](df11027)) ### BREAKING CHANGES * **exports:** `exports` has been defined, which prevents access to private apis (which arent intended for consumption anyway) * **node-versions:** node v18 and v19 are no longer supported * **node-versions:** node v18.17 is now the minimum required version and support for v19 has been dropped * **deps:** the direct dependency on npm has been upgraded to v9. details of breaking changes can be found at https://github.com/npm/cli/releases/tag/v9.0.0 * **semantic-release-peer:** the required version of semantic-release has been raised to v20.1.0 in order to support loading of ESM plugins * **aggregate-error:** due to the aggregate-error upgrade, thrown errors are no longer iterable, but instead list the errors under an `errors` property * legacy authentication using `NPM_USERNAME` and `NPM_PASSWORD` is no longer supported. Use `NPM_TOKEN` instead. * **node-versions:** node v18 is now the minimum required node version * **esm:** `@semantic-release/npm` is now a native ES Module. It has named exports for each plugin hook (`verifyConditions`, `prepare`, `publish`, `addChannel`) * the minimum required peer of `semantic-release` has been raised to match the `engines.node` requirements of this package * npm v8 dropped support for node v15, so it is no longer supported in this plugin. this should be low impact since node v15 is already EOL Co-authored-by: Matt Travi <[email protected]> * **node-version:** the minimum required version of node is now v14.17 Co-authored-by: Matt Travi <[email protected]> * Require Node.js >= 10.18 * Require Node.js >= 10.13 * Require Node.js => 8.15 * require `semantic-release` >= `15.9.0` * require `semantic-release` >= `15.8.0` * The `getLastRelease` hook is removed The plugin is compatible only with `[email protected]` and above. * Return async functions instead of functions calling a callback
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
relates #434, #270
alternative #444
From [email protected],
preferLocal
is set tofalse
by default. The plugin uses^5.0.0
now.#177, 2 Jul 2019, execa 1.0.0 → 2.0.2
https://github.com/sindresorhus/execa/releases/tag/v2.0.0
sindresorhus/execa#314
sindresorhus/execa@eb22ff7