From: Nick Downing Date: Mon, 3 Jan 2022 03:59:04 +0000 (+1100) Subject: Change from pnpm to npm, add ./link.sh shortcut for npm style package linking X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=f8c4f3165294f1a58f03755def8b419f643f2077;p=jst_cache.git Change from pnpm to npm, add ./link.sh shortcut for npm style package linking --- diff --git a/.gitignore b/.gitignore index bdb186e..e2f6e05 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ /ndcode-jst_cache-*.tgz /node_modules -/pnpm-lock.yaml +/package-lock.json diff --git a/link.sh b/link.sh new file mode 100755 index 0000000..5e21b99 --- /dev/null +++ b/link.sh @@ -0,0 +1,5 @@ +#!/bin/sh +rm -rf node_modules package-lock.json +npm link @ndcode/build_cache @ndcode/disk_build @ndcode/jst +npm install +npm link