fastports

npm 11.12.1

www/npm

Node package manager (meta port)

Category
www
Maintainer
sunpoet@FreeBSD.org
WWW
https://www.npmjs.com/package/npm https://docs.npmjs.com/ https://github.com/npm/cli
License
NA
USES
metaport nodejs:env

Description

npm is a package manager for node. You can use it to install and publish your
node programs. It manages dependencies and does other cool stuff.

Dependencies

Commit History

may be incomplete — full history at freebsd-ports on GitHub

Commit Credits Log message
11.12.1
4e1b2e66ba files touched
Po-Chuan Hsieh (sunpoet)
www/npm*: Update to 11.12.1
Changes:	https://github.com/npm/cli/releases
11.11.1
a247f8799f files touched
Po-Chuan Hsieh (sunpoet)
www/npm*: Update to 11.11.1
Changes:	https://github.com/npm/cli/releases
11.11.0
5d8ab5afa8 files touched
Po-Chuan Hsieh (sunpoet)
www/npm*: Update to 11.11.0
Changes:	https://github.com/npm/cli/releases
11.10.0
80b8687407 files touched
Po-Chuan Hsieh (sunpoet)
www/npm*: Update to 11.10.0
Changes:	https://github.com/npm/cli/releases
11.8.0
032326d428 files touched
Po-Chuan Hsieh (sunpoet)
www/npm*: Update to 11.8.0
Changes:	https://github.com/npm/cli/releases
11.7.0
ce20a1a58e files touched
Po-Chuan Hsieh (sunpoet)
www/npm*: Update to 11.7.0
Changes:	https://github.com/npm/cli/releases
11.6.4
33017154a7 files touched
Po-Chuan Hsieh (sunpoet)
www/npm*: Update to 11.6.4
Changes:	https://github.com/npm/cli/releases
11.6.2
772b540887 files touched
Po-Chuan Hsieh (sunpoet)
www/npm*: Update to 11.6.2
Changes:	https://github.com/npm/cli/releases
11.6.1
3884f7c25c files touched
Po-Chuan Hsieh (sunpoet)
www/npm: Bump PORTREVISION for dependency change as node24 is the new default
11.6.1
b0952977c5 files touched
Po-Chuan Hsieh (sunpoet)
www/npm*: Update to 11.6.1
Changes:	https://github.com/npm/cli/releases
11.6.0
2ab041e102 files touched
Po-Chuan Hsieh (sunpoet)
www/npm: www/npm*: Update to 11.6.0
Changes:	https://github.com/npm/cli/releases
11.5.1
3f2a46f49e files touched
Po-Chuan Hsieh (sunpoet)
www/npm*: Update to 11.5.1
Changes:	https://github.com/npm/cli/releases
11.4.2
3d0922e64f files touched
Po-Chuan Hsieh (sunpoet)
www/npm*: Update to 11.4.2
Changes:	https://github.com/npm/cli/releases
10.9.3
3df5b8dfd2 files touched
Po-Chuan Hsieh (sunpoet)
www/npm*: Update to 10.9.3
- Update WWW

Changes:	https://github.com/npm/cli/releases
10.9.2
b646dc81ad files touched
Po-Chuan Hsieh (sunpoet)
www/npm: Update WWW
10.9.2
35e4f478d8 files touched
Po-Chuan Hsieh (sunpoet)
www/npm*: Update to 10.9.2
Changes:	https://github.com/npm/cli/releases
10.9.0
8bb58b5ee1 files touched
Po-Chuan Hsieh (sunpoet)
nodejs: Bump PORTREVISION for dependency change
USES=nodejs defaults to www/node22 now.
10.9.0
422ff2fb07 files touched
Po-Chuan Hsieh (sunpoet)
www/npm*: Update to 10.9.0
Changes:	https://github.com/npm/cli/releases
10.8.3
82a265ac07 files touched
Po-Chuan Hsieh (sunpoet)
www/npm*: Update to 10.8.3
Changes:	https://github.com/npm/cli/releases
10.8.2
bbcc66d2e0 files touched
Po-Chuan Hsieh (sunpoet)
www/npm*: Update to 10.8.2
Changes:	https://github.com/npm/cli/releases
10.8.1
d88d6b35cf files touched
Po-Chuan Hsieh (sunpoet)
www/npm*: Update to 10.8.1
Changes:	https://github.com/npm/cli/releases
10.8.0
858549f278 files touched
Po-Chuan Hsieh (sunpoet)
www/npm*: Update to 10.8.0
Changes:	https://github.com/npm/cli/releases
10.5.2
edfcc103ee files touched
Po-Chuan Hsieh (sunpoet)
www/npm*: Update to 10.5.2
Changes:	https://github.com/npm/cli/releases
10.5.1
869d57d293 files touched
Po-Chuan Hsieh (sunpoet)
www/npm*: Update to 10.5.1
Changes:	https://github.com/npm/cli/releases
10.5.0
702b8b66ac files touched
Po-Chuan Hsieh (sunpoet)
www/npm: Update WWW
10.5.0
81036087d1 files touched
Po-Chuan Hsieh (sunpoet)
www/npm*: Update to 10.5.0
Changes:	https://github.com/npm/cli/releases
10.4.0
75565224b0 files touched
Po-Chuan Hsieh (sunpoet)
www/npm*: Update to 10.4.0
Changes:	https://github.com/npm/cli/releases
10.2.5
5b2906300d files touched
Po-Chuan Hsieh (sunpoet)
www/npm: Update to 10.2.5
Changes:	https://github.com/npm/cli/releases
10.2.4
ce78a4fd33 files touched
Po-Chuan Hsieh (sunpoet)
www/npm: Update to 10.2.4
Changes:	https://github.com/npm/cli/releases
10.2.3
473e7e111d files touched
Po-Chuan Hsieh (sunpoet)
www/npm: Update to 10.2.3
Changes:	https://github.com/npm/cli/releases
10.2.2
f9eb8cbfe6 files touched
Po-Chuan Hsieh (sunpoet)
www/npm: Update to 10.2.0
Changes:	https://github.com/npm/cli/releases
10.2.0
1ce58015ec files touched
Po-Chuan Hsieh (sunpoet)
nodejs: Bump PORTREVISION for dependency change
USES=nodejs defaults to www/node20 now.
10.2.0
1d22f1275f files touched
Po-Chuan Hsieh (sunpoet)
www/npm: Update to 10.2.0
Changes:	https://github.com/npm/cli/releases
9.7.2
dd04175688 files touched
Po-Chuan Hsieh (sunpoet)
www/npm: Update to 9.7.2
Changes:	https://github.com/npm/cli/releases
9.6.7
ffdd0ef87d files touched
Po-Chuan Hsieh (sunpoet)
www/npm: Update to 9.6.7
Changes:	https://github.com/npm/cli/releases
9.6.6
58fa7c3cc5 files touched
Po-Chuan Hsieh (sunpoet)
www/npm: Update to 9.6.6
Changes:	https://github.com/npm/cli/releases
9.6.5
1331c939e8 files touched
Po-Chuan Hsieh (sunpoet)
www/npm: Update to 9.6.5
Changes:	https://github.com/npm/cli/releases
9.6.4
8f2b0b0f58 files touched
Po-Chuan Hsieh (sunpoet)
www/npm: Update to 9.6.4
Changes:	https://github.com/npm/cli/releases
9.6.2
3a9b48bfa5 files touched
Po-Chuan Hsieh (sunpoet)
www/npm: Update to 9.6.2
Changes:	https://github.com/npm/cli/releases
9.5.0
282c5cde52 files touched
Po-Chuan Hsieh (sunpoet)
www/npm: Update to 9.5.0
Changes:	https://github.com/npm/cli/releases
9.4.2
74ca7d84c0 files touched
Po-Chuan Hsieh (sunpoet)
www/npm: Update to 9.4.2
Changes:	https://github.com/npm/cli/releases
9.4.1
a439ef3fcb files touched
Po-Chuan Hsieh (sunpoet)
www/npm: Update to 9.4.1
Changes:	https://github.com/npm/cli/releases
9.4.0
96dd0cfb88 files touched
Po-Chuan Hsieh (sunpoet)
www/npm: Update to 9.1.2
Changes:	https://github.com/npm/cli/releases
9.1.2
fa93fdc383 files touched
Po-Chuan Hsieh (sunpoet)
Framework: Rewrite nodejs.mk and reorganize www/{node,npm,yarn}
The current USES=nodejs has the following issues:
- www/node is not the default version while www/node16 is.
- It also means inconsistent naming of node ports.
- www/npm duplicates with www/npm-node16.
- www/yarn duplicates with www/yarn-node16.

The notable changes are introduced to fix the above issues:
- Rewrite Mk/Uses/nodejs.mk.
- Add new LTS version of nodejs (www/noe18).
- Add new current version of nodejs (www/node19).
- Change default nodejs version from 16 to 18 (latest LTS).
- Use consistent naming for all supported node versions.
- Convert www/node, www/npm and www/yarn to meta ports.

After this commit:
- All supported node versions are named as node{14,16,18,19}
- www/node is a meta port which depends on the default version (e.g. www/node18)
- www/npm is a meta port which depends on the default version (e.g. www/npm-node18)
- www/yarn is a meta port which depends on the default version (e.g. www/yarn-node18)
- Bump PORTREVISION of dependent ports for dependency change (from www/node16 to www/node18)

Discussed with:	jrm, otis, pizzamig
9.1.2
cb9139ad0a files touched
Guido Falsi (madpilot)
www/npm: Fix npm ability to run commands
PR:		268098
Approved by:	portmg (fixit blanket)
9.1.2
0e303723bf files touched
Po-Chuan Hsieh (sunpoet)
www/npm: Update to 9.1.2
- Simplify CONFLICTS_INSTALL

Changes:	https://github.com/npm/cli/releases
8.19.2
9df3768e64 files touched
Po-Chuan Hsieh (sunpoet)
www/npm: Fix LICENSE
- Update WWW and clean up pkg-descr
8.19.2
1cb3606f47 files touched
Po-Chuan Hsieh (sunpoet)
www/npm: Update to 8.19.2
Changes:	https://github.com/npm/cli/releases
8.19.1
fb16dfecae files touched
Stefan Eßer (se)
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
8.19.1
b7f05445c0 files touched
Stefan Eßer (se)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)

Load all commits →