summaryrefslogtreecommitdiff
path: root/lang/npm
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2019-03-07 09:22:48 +0000
committeradam <adam@pkgsrc.org>2019-03-07 09:22:48 +0000
commitbfd90d0eb9184684dde9c7e193d471ab9454bb57 (patch)
tree8e979bd158fdd6de1f2eef9aa6a9154fcd58f209 /lang/npm
parent0a90d94d20392464a6c25008f5f1f5334f7f7480 (diff)
downloadpkgsrc-bfd90d0eb9184684dde9c7e193d471ab9454bb57.tar.gz
npm: updated to 6.9.0
6.9.0: FEATURES * Time traveling installs using the --before flag. * Add support for package aliases. This allows packages to be installed under a different directory than the package name listed in package.json, and adds a new dependency type to allow this to be done for registry dependencies. * Always save package-lock.json when using --package-lock-only. * Make empty-string run-scripts run successfully as a no-op. * Match git semver ranges when flattening the tree. * Re-enable updating local packages. BUGFIXES * Set modified to undefined in npm view when time is not available. This fixes a bug where npm view would crash on certain third-party registries. * Print out tar version in install.sh only when the flag is supported not all the tar implementations support --version flag. This allows the install script to work in OpenBSD, for example. * Fix typo in error message for npm stars. * Strip version info from pkg on E404. This improves the error messaging format. DOCS * Add npm add as alias to npm install in docs. * Fix link to RFC 10 in the changelog. * Describe exit codes in npm-audit docs.
Diffstat (limited to 'lang/npm')
-rw-r--r--lang/npm/Makefile11
-rw-r--r--lang/npm/distinfo18
2 files changed, 14 insertions, 15 deletions
diff --git a/lang/npm/Makefile b/lang/npm/Makefile
index baf09266f91..5437c0ff49c 100644
--- a/lang/npm/Makefile
+++ b/lang/npm/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.20 2019/03/06 10:07:35 maya Exp $
+# $NetBSD: Makefile,v 1.21 2019/03/07 09:22:48 adam Exp $
-DISTNAME= cli-6.8.0
+DISTNAME= cli-6.9.0
PKGNAME= ${DISTNAME:S/cli/npm/}
-PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GITHUB:=npm/}
GITHUB_PROJECT= cli
@@ -14,7 +13,7 @@ COMMENT= Package manager for JavaScript
LICENSE= artistic-2.0
# Pre-fetch marked so that man pages can be built offline
-MARKED= marked-0.6.0
+MARKED= marked-0.6.1
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX} ${MARKED}.tar.gz
SITES.${MARKED}.tar.gz= -https://github.com/markedjs/marked/archive/v${MARKED:S/marked-//}.tar.gz
@@ -42,13 +41,13 @@ SUBST_FILES.man-directory= node_modules/bin-links/index.js
SUBST_MESSAGE.man-directory= Changing installation to PREFIX/man
SUBST_VARS.man-directory= PKGMANDIR
-
CHECK_INTERPRETER_SKIP+= lib/node_modules/npm/*
.include "../../mk/bsd.prefs.mk"
pre-build:
- cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} node bin/npm-cli.js install ${WRKDIR}/${MARKED} --no-global --no-timing --no-save
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} node bin/npm-cli.js install \
+ ${WRKDIR}/${MARKED} --no-global --no-timing --no-save
do-install:
${FIND} ${WRKSRC} -type f -name '*.orig' -delete
diff --git a/lang/npm/distinfo b/lang/npm/distinfo
index 1c95722548e..f868b0cc7e8 100644
--- a/lang/npm/distinfo
+++ b/lang/npm/distinfo
@@ -1,13 +1,13 @@
-$NetBSD: distinfo,v 1.14 2019/03/06 09:42:09 maya Exp $
+$NetBSD: distinfo,v 1.15 2019/03/07 09:22:48 adam Exp $
-SHA1 (cli-6.8.0.tar.gz) = d79c28c6e49ea9597dbe4e3f41d45ac73b8e5176
-RMD160 (cli-6.8.0.tar.gz) = 05b0ddac914774e410d400c9412ef4bb41cedfb2
-SHA512 (cli-6.8.0.tar.gz) = df6e9f00deed9f91b30c0cdd53eb6756eb43f661ec0f377a65d40511d5f7379b7d9ac15c8b992ca689ddbaa6c8680e2c00592ea1c01541a1ce35a9947364dff5
-Size (cli-6.8.0.tar.gz) = 5707299 bytes
-SHA1 (marked-0.6.0.tar.gz) = 807809ccc45947a1b3d7ecf7801a5df67c3f5a85
-RMD160 (marked-0.6.0.tar.gz) = b3a69bdf788b4cfbbe15c0588a1c81ea8d91a273
-SHA512 (marked-0.6.0.tar.gz) = 3efbda7b2ed8a5d75948805f2835b4e985ab81ccd68548db7f939173042693d6f1bec5dfea696430a4a2dbab424bbf5a21f14de462f5a7eb322311e7196452f9
-Size (marked-0.6.0.tar.gz) = 141482 bytes
+SHA1 (cli-6.9.0.tar.gz) = fdd7ba828a2aa6ec8418b975cc79a221edce92f2
+RMD160 (cli-6.9.0.tar.gz) = 6f7f8f695e87fdda22f7989bdd0f4a3bf3e9cd02
+SHA512 (cli-6.9.0.tar.gz) = 53ee1964ae944b153fdec3a4b0862cc045807e1ef23387b00a34caaff96d71e78b8e2c5bb01fd58b610896a5325385556abe042537ac32f9056b298ae4812527
+Size (cli-6.9.0.tar.gz) = 5766464 bytes
+SHA1 (marked-0.6.1.tar.gz) = 20bcb4665fa1c69c69120e8f44aee5dcf7804741
+RMD160 (marked-0.6.1.tar.gz) = 4d6c72fb379ff4483407f698b51cb14c429da764
+SHA512 (marked-0.6.1.tar.gz) = 7f078b89b4c0bde0ae532bb11bcac377ae3db943e4110e4a89f9644ff1c6228f1405ed4a07525724b6f6900a1e0918a511c1f5893af753d0f0508d98c4eaa73c
+Size (marked-0.6.1.tar.gz) = 146567 bytes
SHA1 (patch-Makefile) = 29b3e9515ee2a45f3b12c116075c00faca73d270
SHA1 (patch-lib_config_defaults.js) = 5a00cbef781c9ab4efcec41ad781987f3f540886
SHA1 (patch-node__modules_bin-links_index.js) = adbabdccde34483973ba134aa461b48ba690b5a2