Happy Friday! 🎉
This week’s release brings two new features, starting with a brand new command: npm set-script
that helps you manage your package.json
scripts - thanks to the community contribution from @Yash-Singh1 🏆
Also npm exec
(no args) now triggers an interactive subshell that enables you to run installed binaries (similar to how scripts
from your package.json
can access binaries when running npm run
).
Update now and give them a try:
npm install -g npm@7
You can see the full changelog for more details:
6b1575110
#2237 add npm set-script
command (@Yash-Singh1)15d7333f8
add interactive npm exec
(@isaacs)def85c726
@npmcli/[email protected]
npm exec
from file system root folder4c94673ab
[email protected]
🎉 Happy Release/Recap Friday! We shipped two releases 🚀 this past week addressing even more user feedback & improving our test coverage.
You can get the latest npm
in the usual way:
npm install -g npm@7
00e6028ef
@npmcli/[email protected]
package.json
9c3413fbc
#2034 #2245 npm link <pkg>
should not save package.json
(@ruyadorno)1875347f9
#2196 remove doc on obsolete unsafe-perm
flag (@kaizhu256)f51e50603
#2200 config.md
cleanup (@alexwoollam)997cbdb40
#2238 Fix broken link to package.json
documentation (@d-fischer)9da972dc4
#2241 npm star
docs cleanup (@ruyadorno)
09d21ab90
@npmcli/[email protected]
Hooray, it’s Friday! We made it through Friday the 13th last week, so this week we went ahead and cut two shiny new releases.
Included are several bug fixes that our wonderful users reported to us, as well as some improvements to our Windows compatibility.
You can install the usual way:
npm install -g npm@7
5fc56b6db
npm/statusboard#174 #2204 fix npm unstar command (@ruyadorno)7842b4d4d
npm/statusboard#182 #2205 fix npm version usage output (@ruyadorno)a0adbf9f8
#2206 #2213 fix: fix flatOptions usage in npm init (@ruyadorno)3daaf000a
@npmcli/[email protected]
084a7b6ad
#2210 docs: Fix typo (@HollowMan6)7b89576bd
#2174 fix running empty scripts with npm run-script
(@nlf)bc9afb195
#2002 #2184 Preserve builtin conf when installing npm globally (@isaacs)b74c05d88
@npmcli/[email protected]
Happy Friday the 13th! What better way to tempt the fates on this auspicious day than with an npm CLI release?
This addresses more bugs reported by the wonderful members of our community, including some ERESOLVE
errors and missing bin files when upgrading from lockfiles created by npm v6.
Install it in the usual way:
npm install -g npm@7
629a667a9
[email protected]
de9891bd2
[email protected]
c3e7aa31c
#2123 #1957 @npmcli/[email protected]
a8aa38513
#2134 #2156 Fix cannot read property length of undefined
in ERESOLVE
explanation code (@isaacs)1dbf0f9bb
#2150 #2155 send json errors to stderr, not stdout (@isaacs)fd1d7a21b
#1927 #2154 Set process.title a bit more usefully (@isaacs)2a80c67ef
#2008 #2153 Support legacy auth tokens for registries that use them (@ruyadorno)786e36404
#2017 #2159 pass all options to Arborist for npm ci
(@darcyclarke)b47ada7d1
#2161 fixed typo (@scarabedore)Happy Friday 🎉 It’s been a long week but we hope we can brighten your day a bit with another round of releases to npm v7.
You can get the latest release in the usual ways
npm install -g npm@7
96a0d2802
default the ‘start’ script when server.js present (@isaacs)7716e423e
#2075 #2071 print the registry when using 'npm login’ (@Wicked7000)7046fe10c
#2122 tests for npm cache
command (@nlf)74325f53b
#2124 @npmcli/[email protected]
:
isServerPackage
method0e58e6f6b
#1984 #2079 #1923 #606 #2031 @npmcli/[email protected]
:
1dad328a1
#1865 #2106 #2084 [email protected]
:
prepare
scripts when installing git/dir depse090d706c
#2097 [email protected]
:
8fa541a10
[email protected]
052e977b9
#1822 #1247 add section on peerDependenciesMeta field in package.json (@foxxyz)52d32d175
#1970 match npm-exec.md -p usage with lib/exec.js (@dr-js)48ee8d01e
#2096 Fix RFC links in changelog (@jtojnar)6cd3cd08a
Support all conf keys in publishConfiga1f9be8a7
#2074 Support publishing any kind of spec, not just directories545382df6
[email protected]
:
7d88f1719
[email protected]
823b40a4e
[email protected]
90bf57826
[email protected]
e5a413577
[email protected]
fc5aa7b4a
[email protected]
9fc1dee13
[email protected]
0ea870ec5
[email protected]
32fd744ea
[email protected]
fc76f3d9f
@npmcli/[email protected]
cannot read property 'description' of undefined
in npm ls
when package-lock.json
is corrupted--prefer-dedupe
mode3990b422d
#2067 use sh as default unix shell, not bash (@isaacs)81d6ceef6
#1975 fix npm exec on folders missing package.json (@ruyadorno)2a680e91a
#2083 delete the contents of node_modules
only in npm ci
(@nlf)2636fe1f4
#2086 disable banner output if loglevel is silent in npm run-script
(@macno)4156f053e
@npmcli/[email protected]
npm start
script1900ae9ad
@npmcli/[email protected]
8cb0c166c
@npmcli/[email protected]
Another Tuesday, another release (or three)!
This week we released some bug fixes, a few documentation updates, and some dependency updates while we continue improving the npm 7 experience for everyone.
You can get the latest release in the usual ways
npm install -g npm@7
46c7f792a
#2047 #1935 skip the prompt when in a known ci environment (@nlf)f8f6e1fad
#2049 properly remove pycache in release script (@MylesBorins)5db95b393
#2050 pack: do not show individual files of bundled deps (@isaacs)3ee8f3b34
#2051 view: Better errors when package.json is not JSON (@isaacs)99ae633f6
[email protected]
d4173f58d
@npmcli/[email protected]
c09380fa5
@npmcli/[email protected]
b154861ad
@npmcli/[email protected]
ffea6596b
[email protected]
77ad86b5e
Merge docs deps with main projectcc026daf8
docs: npm-dedupe
through npm-install
aec77acf8
#1915 use “dockhand” for faster static documentation generation (@ethomson)aeb10d210
#2024 Fix post-install script name (@irajtaghlidi)39ad1ad9e
#2001 npm config
tests (@ruyadorno)b9c1caa8e
#2026 npm owner
test and refactor (@ruyadorno)ed6e6a9d3
[email protected]
b737ee999
#2009 #2007 [email protected]
:
783965508
#1997 #2000 #2005 @npmcli/[email protected]
Hello everyone 😄 happy npm7 patch-release day! In the last week we had a bunch of fixes that you can now get with: npm install -g npm@7
.
It includes some fixes for installing peer dependencies, add/update documentation and a number of bug fixes, including some community contributions that you can check over here in the changelogs:
ce4724a38
#1986 check result
when determining exit code of ls <filter>
(@G-Rath)00d926f8d
#1987 don’t suppress run output when --silent
is passed (@G-Rath)043da2347
improve cache clear error message (@isaacs)a57f5c466
update docs for: access, adduser, audit, bin, bugs, build, cache, ci, completion, config and dedupe (@isaacs)5b88b72b9
remove the long-gone bundle command (@isaacs)ae09aa5c1
#1993 document –save-peer as a common option to npm install (@JakeChampion)c9993e6b1
#1982 fix url links for init-package-json/node-semver (@takenspc)9476734b7
#1967 add mention to workspaces prepare lifecycle (@ruyadorno)5cf71c689
#1971 owner rm at local pkg not work (@ShangguanQuail)722b7ae63
#1974 patch node-gyp (@targos)4ae825c01
#1976 patch node-gyp (@MylesBorins)181eabf13
@npmcli/[email protected]
prepare
lifecycle scripts6cc115409
[email protected]
dbf9d6d1f
[email protected]
03fca6a3b
Adds docs on workspaces, explaining its basic concept and how to use it. (@ruyadorno)120e62736
[email protected]
6560b8d95
@npmcli/[email protected]
282a1e008
[email protected]
b259edcb4
[email protected]
🎉 Happy release Tuesday! Today marks a major milestone for the npm CLI team - we’ve officially cut [email protected]
. If you’ve been following along this past year, or more, you’ll now that we’ve been working hard to bring you this release. Our focus & determination excelerated these past 3 months as we picked up a weekly+ release cadence & began addressing bugs/feedback during our beta/rc windows.
As I’ve mentioned before, we’ve still got a lot of room for improvement but we think that the cli is in a very stable place today & ready for you to use. npm v7 will be shipping with Node.js v15 (a PR to land this work will be opened shortly) & we hope to continue the pace of change/improvement as we head in to this last quarter of the year.
You can start using this update today by running:
npm install -g npm@7
Here’s some notable changes for v7.0.0
& v7.0.0-rc.4
(which landed 2020-10-09 last week):
7bcdb3636
#1949 fix: ensure publishConfig
is passed through (@nlf)97978462e
fix: patch config.js
to remove duplicate vals (@darcyclarke)60769d757
#1911 docs: v7 npm-install refresh (@ruyadorno)08de49042
#1938 docs: v7 using npm config updates (@ruyadorno)15366a1cf
[email protected]
f04a74140
[email protected]
1de21dce0
fix: support dot-separated aliases defined in a .npmrc
ini files for init-*
configs (@ruyadorno)a67275cd9
[email protected]
6fb83b78d
[email protected]
1ca30cc9b
[email protected]
28a2d2ba4
@npmcli/[email protected]
peerDependencies
in transitive dependencies, so that --force
will always accept a best effort override, and --strict-peer-deps
will fail faster on conflicts.9306c6833
[email protected]
fafb348ef
[email protected]
365f2e756
[email protected]
09b456f2d
@npmcli/[email protected]
e859fba9e
#1936 fix npx for non-interactive shells (@nlf)9320b8e4f
#1906 restore old npx behavior of running existing bins first (@nlf)7bd47ca2c
@npmcli/[email protected]
02737453b
[email protected]
To read the full list of changes in v7
, check out our CHANGELOG.md
Sometimes, “releasing at least weekly” means 3 releases in one week. This was one such week :)
The release candidates are getting more stable as we fix more of the bugs that our brave testers are putting them through their paces and giving us feedback.
You can get this update in the standard way, by running this command in your terminal:
npm install -g npm@next-7
Full changelogs below.
d816c2efa
c8f0d5457
d48086d0d
f34595f2e
#1902 tests for several commands (@nlf)6d49207db
#1903 Revert “Remove unused npx binary” (@MylesBorins)138dfc202
set executable permissions on bins that node installer usesb06d68078
@npmcli/[email protected]
node_modules
folders from Workspaces when loadActual
races with buildIdealTree
(@ruyadorno)2509e3a1b
[email protected]
6de81a013
@npmcli/[email protected]
281a7f39a
@npmcli/[email protected]
npm update
to update bundled root dependenciesbinding.gyp
384f5ec47
update minipass-fetch to fix many 'cb() never called’ errors7b1e75906
@npmcli/[email protected]
binding.gyp
c20e2f0c7
#1892 Support --omit
options in npm outdated🎉 Happy Thursday! Over the past few months the cli team has been working hard to ship a release each week to clean up & stabilize the npm v7 beta; We’re excited about where we are today & have cut our first release candidate this morning.
Our intent is to continue to ship weekly improvements as more & more of the community adopts npm@7 & hope you’ll continue to give us feedback.
You can get today’s release as you usually do:
npm i -g npm@next-7
3b417055c
#1859 fix proxy
and https-proxy
config support (@badeggg)dd7d7a284
@npmcli/[email protected]
40c17e12c
[email protected]
47a8ca1d7
[email protected]
81073f99a
[email protected]
67793abd4
[email protected]
a27e8d006
[email protected]
893fed45e
[email protected]
bc20e0c8a
[email protected]
a2b8fd3c1
[email protected]
ee4c85b87
[email protected]
4bdad5fdf
[email protected]
c394937ec
@npmcli/[email protected]
558e9781a
deep-equal2aa9a1f8a
requestd77594e52
npm-registry-couchapp8ec84d9f6
tacksa07b421f7
lincesee41126e165
npm-cache-filename130da51b5
npm-registry-mockb355af486
sprintf-js721c0a873
uid-number9c920e5f5
umaskaae1c38bb
config-chain450845eac
find-npm-prefix963d542d3
has-unicodecad9cbc70
infer-owner3ae02914d
lockfile7bc474d7c
once5c5e0099a
retrycfaddd334
sha3a978ffc7
slide