Change from pnpm to npm, add ./link.sh shortcut for npm style package linking master
authorNick Downing <nick@ndcode.org>
Mon, 3 Jan 2022 03:59:05 +0000 (14:59 +1100)
committerNick Downing <nick@ndcode.org>
Mon, 3 Jan 2022 04:28:28 +0000 (15:28 +1100)
.gitignore
link.sh [new file with mode: 0755]
package.json

index 518f820..fe60b30 100644 (file)
@@ -1,4 +1,4 @@
 /build
 /ndcode-zettair_cache-*.tgz
 /node_modules
-/pnpm-lock.yaml
+/package-lock.json
diff --git a/link.sh b/link.sh
new file mode 100755 (executable)
index 0000000..7541759
--- /dev/null
+++ b/link.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+rm -rf node_modules package-lock.json
+npm link @ndcode/build_cache @ndcode/zettair
+npm install
+npm link
index ae4f1f4..84cd244 100644 (file)
@@ -26,8 +26,7 @@
   "directories": {},
   "dependencies": {
     "@ndcode/build_cache": "^0.1.0",
-    "@ndcode/zettair": "^0.1.3",
-    "node-gyp": "^6.1.0"
+    "@ndcode/zettair": "^0.1.4"
   },
   "devDependencies": {}
 }