ruyadorno

Ruy Adorno

Posted on November 7, 2019

npm@6.13.0

I'm happy to share that I've cut a release of npm for the first time this week! šŸŽ‰ npm@6.13.0 is out there! It was a bit stressful making sure I don't get anything wrong but all in all it's a very straightforward process as you can see in the Release process wiki page and I had the support of my entire team. ā¤ļø

This release comes with 2 exciting new features, the first being the work from @koste4 on the new look of the browser CLI docs (the one that pops up docs in your browser when you run npm help <command> --viewer browser):

new browser cli docs screenshot


And the second new feature we shipped in this version is the work I've put together to support a new funding property in package.json - in a bid to help the open source community npm decided to add a new command:
npm fund that will provide more visibility to npm users on what dependencies are actively looking for ways to fund their work.

As part of that change, npm install will also show a single message at the end in order to let the user aware that dependencies are looking for funding, it looks like this:

$ npm install
3 packages are looking for funding.
Run "npm fund" to find out more.
Enter fullscreen mode Exit fullscreen mode

Here is a quick preview of what the output from npm fund looks like:

$ npm fund
tmp4@1.0.0
ā”œā”€ā”¬ fund-dev-dep@1.0.0
ā”‚ ā”œā”€ā”€ type: dev dep
ā”‚ ā””ā”€ā”€ url: http://example.com/fund
ā”œā”€ā”¬ fund-project@1.0.0
ā”‚ ā”œā”€ā”€ type: individual
ā”‚ ā””ā”€ā”€ url: https://example.com/project/support
ā””ā”€ā”¬ sub-fund-foo@1.0.0
  ā”œā”€ā”€ type: corporate
  ā””ā”€ā”€ url: https://corp.example.com/sponsor

Enter fullscreen mode Exit fullscreen mode

Running npm fund <package> will open the url listed for that given package right in your browser.

I'm excited to see how this will evolve as we collect feedback from the community and iterate on it in the following months. šŸ˜Š


For more info on this release and the latest news about the Community & Open Source team, go check out the npm blog post: https://blog.npmjs.org/post/188841555980/updates-to-community-docs-more

Photo by Paul Esch-Laurent on Unsplash

šŸ’– šŸ’Ŗ šŸ™… šŸš©
ruyadorno
Ruy Adorno

Posted on November 7, 2019

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

npm@6.13.0
npm npm@6.13.0

November 7, 2019