@nodenv/node-build 5.0.2 → 5.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,17 @@
1
1
  # node-build
2
2
 
3
- [![Test](https://github.com/nodenv/node-build/workflows/Test/badge.svg)](https://github.com/nodenv/node-build/actions?query=workflow%3ATest)
3
+ [![Tests](
4
+ https://img.shields.io/github/actions/workflow/status/nodenv/node-build/test.yml?label=tests&logo=github)](
5
+ https://github.com/nodenv/node-build/actions/workflows/test.yml)
6
+ [![Latest Homebrew Release](
7
+ https://img.shields.io/homebrew/v/node-build?logo=homebrew&logoColor=white)](
8
+ https://formulae.brew.sh/formula/node-build)
9
+ [![Latest GitHub Release](
10
+ https://img.shields.io/github/v/release/nodenv/node-build?label=github&logo=github&sort=semver)](
11
+ https://github.com/nodenv/node-build/releases/latest)
12
+ [![Latest npm Release](
13
+ https://img.shields.io/npm/v/@nodenv/node-build?logo=npm&logoColor=white)](
14
+ https://www.npmjs.com/package/@nodenv/node-build/v/latest)
4
15
 
5
16
  node-build is a command-line utility that makes it easy to install virtually any
6
17
  version of Node, from source or precompiled binary.
package/bin/node-build CHANGED
@@ -15,7 +15,7 @@
15
15
  # --version Show version of node-build
16
16
  #
17
17
 
18
- NODE_BUILD_VERSION=5.0.2
18
+ NODE_BUILD_VERSION=5.0.4
19
19
 
20
20
  OLDIFS="$IFS"
21
21
 
@@ -92,7 +92,7 @@ os_information() {
92
92
  if type -p lsb_release >/dev/null; then
93
93
  lsb_release -sir | xargs echo
94
94
  elif type -p sw_vers >/dev/null; then
95
- echo "OS X $(sw_vers -productVersion)"
95
+ echo "$(sw_vers -productName) $(sw_vers -productVersion)"
96
96
  elif [ -r /etc/os-release ]; then
97
97
  source /etc/os-release
98
98
  echo "$NAME $VERSION_ID"
@@ -725,11 +725,20 @@ build_package_autoconf() {
725
725
  } >&4 2>&1
726
726
  }
727
727
 
728
- build_package_copy() {
728
+ clean_prefix_path() {
729
729
  # Make sure there are no leftover files in $PREFIX_PATH
730
730
  rm -rf "$PREFIX_PATH"
731
- mkdir -p "$PREFIX_PATH"
732
- cp -fR . "$PREFIX_PATH"
731
+ }
732
+
733
+ build_package_copy_to() {
734
+ to="$1"
735
+ mkdir -p "$to"
736
+ cp -fR . "$to"
737
+ }
738
+
739
+ build_package_copy() {
740
+ clean_prefix_path
741
+ build_package_copy_to "$PREFIX_PATH"
733
742
  }
734
743
 
735
744
  build_package_jxcore_v8_328() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nodenv/node-build",
3
- "version": "5.0.2",
3
+ "version": "5.0.4",
4
4
  "description": "Install NodeJS versions",
5
5
  "homepage": "https://github.com/nodenv/node-build#readme",
6
6
  "license": "MIT",
@@ -41,7 +41,7 @@
41
41
  "preversion": "script/preversion",
42
42
  "version": "script/version-sync",
43
43
  "postversion": "git push --follow-tags",
44
- "unmerged": "git for-each-ref refs/rbenv-tags --format='%(refname)' --merged"
44
+ "unmerged": "git for-each-ref refs/rbenv-tags --format='%(refname)' --no-merged"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@nodenv/node-build-update-defs": "^2.11.0",
@@ -0,0 +1,10 @@
1
+ binary aix-ppc64 "https://nodejs.org/dist/v20.14.0/node-v20.14.0-aix-ppc64.tar.gz#06ac9b1f35de7b05dc0aea58b99804edf608ee500b2e9b303d1a6044eb3eeab2"
2
+ binary darwin-arm64 "https://nodejs.org/dist/v20.14.0/node-v20.14.0-darwin-arm64.tar.gz#d2148d79e9ff04d2982d00faeae942ceba488ca327a91065e528235167b9e9d6"
3
+ binary darwin-x64 "https://nodejs.org/dist/v20.14.0/node-v20.14.0-darwin-x64.tar.gz#1dcc18a199cb5f46d43ed1c3c61b87a247d1a1a11dd6b32a36a9c46ac1088f86"
4
+ binary linux-arm64 "https://nodejs.org/dist/v20.14.0/node-v20.14.0-linux-arm64.tar.gz#d63e83fca4f81801396620c46a42892a2ef26e21a4508f68de373e61a12bd9c5"
5
+ binary linux-armv7l "https://nodejs.org/dist/v20.14.0/node-v20.14.0-linux-armv7l.tar.gz#af45ea0d09e55a4f05c0190636532bdf9f70b2eaf0a1c4d7594207cf21284df0"
6
+ binary linux-ppc64le "https://nodejs.org/dist/v20.14.0/node-v20.14.0-linux-ppc64le.tar.gz#2405a23249ddb4d2495f212255f5f5f11892fac77f9835c491b9ffaee1404078"
7
+ binary linux-s390x "https://nodejs.org/dist/v20.14.0/node-v20.14.0-linux-s390x.tar.gz#74668f3e337980acf1579e31f6f9490ec28d98603bb2ff17390c115606af7806"
8
+ binary linux-x64 "https://nodejs.org/dist/v20.14.0/node-v20.14.0-linux-x64.tar.gz#5b9bf40cfc7c21de14a1b4c367650e3c96eb101156bf9368ffc2f947414b6581"
9
+
10
+ install_package "node-v20.14.0" "https://nodejs.org/dist/v20.14.0/node-v20.14.0.tar.gz#f01109d3102754ac360fcf25aa588f3bef5c090a8eed3fb1d0be194149c46cf2"