print node version
Massimo Melina committed
Sep 13, 2023 at 08:56 UTC
1825b42f7ddc20851fc9802194889c9ddb11ce7d
2 files changed
+4
-3
package.json
+2
-2
@@ -32,8 +32,8 @@
32
"dist-bin": "npm run dist-modules && cd dist && pkg . --public -C gzip && mv -f hfs-win-x64.exe hfs.exe && zip hfs-windows.zip hfs.exe -r plugins && cp -f hfs-linux-x64 hfs && zip hfs-linux.zip hfs -r plugins && cp -f hfs-macos-x64 hfs && zip hfs-mac.zip hfs -r plugins && cp -f hfs-macos-arm64 hfs && zip hfs-mac-arm.zip hfs -r plugins && rm hfs",
33
"dist-modules": "cp package*.json central.json dist && cd dist && npm ci --omit=dev && npm run dist-crclib && rm package-lock.json && cd .. && node prune_modules",
34
"dist-crclib": "npm i -f --no-save --omit=dev @node-rs/crc32-win32-x64-msvc @node-rs/crc32-darwin-arm64 @node-rs/crc32-darwin-x64 @node-rs/crc32-linux-x64-gnu",
35
- "dist-win": "npm run dist-modules && cd dist && pkg . --public -C gzip -t node16-win-x64",
36
- "dist-mac": "npm run dist-modules && cd dist && pkg . --public -C gzip -t node16-macos-arm64",
35
+ "dist-win": "npm run dist-modules && cd dist && pkg . --public -C gzip -t node18-win-x64",
36
+ "dist-mac": "npm run dist-modules && cd dist && pkg . --public -C gzip -t node18-macos-arm64",
37
"dist-node": "npm run dist-modules && cd dist && zip hfs-node.zip -r * -x *.zip *.exe hfs-* *.log logs"
38
},
39
"engines": {
src/const.ts
+2
-1
@@ -73,4 +73,5 @@ else if (!winExe) { // still considering whether to use this behavior with Windo
73
}
74
process.chdir(dir)
75
}
76
-console.log('cwd', process.cwd())
\ No newline at end of file
76
+console.log('cwd', process.cwd())
77
+console.log('node', process.version)
\ No newline at end of file