Upgrade node and pnpm versions, change node_zettair to use node-addon-api
authorNick Downing <nick@ndcode.org>
Mon, 3 Jan 2022 02:31:15 +0000 (13:31 +1100)
committerNick Downing <nick@ndcode.org>
Mon, 3 Jan 2022 02:32:32 +0000 (13:32 +1100)
.gitignore
install.sh
node_zettair
zettair

index e4fa73e..eb77d43 100644 (file)
@@ -1 +1 @@
-/node-v11.15.0-linux-x64.tar.xz
+/node-v17.3.0-linux-x64.tar.xz
index 8c439a1..3ea477b 100755 (executable)
@@ -1,11 +1,9 @@
 #!/bin/sh
 
 sudo apt install build-essential recode zlib1g-dev automake
-# note: the below fails in the gyp stage as cannot find $HOME/include
-#(cd zettair && ./configure --prefix=$HOME && make -j5 install)
-(cd zettair && ./configure && make -j5 && sudo make install)
+(cd zettair && ./configure --prefix=$HOME && make -j5 install)
 
-NODE_VERSION=v11.15.0
+NODE_VERSION=v17.3.0
 NODE=node-$NODE_VERSION-linux-x64
 if ! test -f $NODE.tar.xz
 then
@@ -16,7 +14,7 @@ PATH=/opt/$NODE/bin:$PATH
 
 sudo rm -rf ~/.npm
 echo "prefix=$HOME" >~/.npmrc
-sudo `which node` `which npm` install --global pnpm@4.11.5
+sudo `which node` `which npm` install --global pnpm@6.24.4
 
 rm -rf ~/.pnpm-store
 
index 61c28ec..e766792 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 61c28eced50ec0f8e448339e0c774a4ec9a58c4e
+Subproject commit e766792c988c937051ff6531fda1f722b51702a4
diff --git a/zettair b/zettair
index 9e077b1..911629b 160000 (submodule)
--- a/zettair
+++ b/zettair
@@ -1 +1 @@
-Subproject commit 9e077b18b07d6f3d35e4bea07ebe48800fba352f
+Subproject commit 911629b0d0e946b4e9409bcfefe4e1db7d7aa9bd