mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-26 16:27:18 +00:00
patch: replace deprecated pkg with yao-pkg and bump etcher-util node v to 20.10
This commit is contained in:
parent
96f00aa024
commit
c696c389c9
2
.github/actions/publish/action.yml
vendored
2
.github/actions/publish/action.yml
vendored
@ -15,7 +15,7 @@ inputs:
|
|||||||
# Beware that native modules will be built for this version,
|
# Beware that native modules will be built for this version,
|
||||||
# which might not be compatible with the one used by pkg (see forge.sidecar.ts)
|
# which might not be compatible with the one used by pkg (see forge.sidecar.ts)
|
||||||
# https://github.com/vercel/pkg-fetch/releases
|
# https://github.com/vercel/pkg-fetch/releases
|
||||||
default: "18.x"
|
default: "20.x"
|
||||||
VERBOSE:
|
VERBOSE:
|
||||||
type: string
|
type: string
|
||||||
default: "true"
|
default: "true"
|
||||||
|
4
.github/actions/test/action.yml
vendored
4
.github/actions/test/action.yml
vendored
@ -12,7 +12,7 @@ inputs:
|
|||||||
# --- custom environment
|
# --- custom environment
|
||||||
NODE_VERSION:
|
NODE_VERSION:
|
||||||
type: string
|
type: string
|
||||||
default: "18.18"
|
default: "20.10"
|
||||||
VERBOSE:
|
VERBOSE:
|
||||||
type: string
|
type: string
|
||||||
default: "true"
|
default: "true"
|
||||||
@ -32,7 +32,7 @@ runs:
|
|||||||
if: runner.os == 'Linux'
|
if: runner.os == 'Linux'
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get install -y --no-install-recommends xvfb libudev-dev
|
sudo apt-get update && sudo apt-get install -y --no-install-recommends xvfb libudev-dev
|
||||||
cat < package.json | jq -r '.hostDependencies[][]' - | \
|
cat < package.json | jq -r '.hostDependencies[][]' - | \
|
||||||
xargs -L1 echo | sed 's/|//g' | xargs -L1 \
|
xargs -L1 echo | sed 's/|//g' | xargs -L1 \
|
||||||
sudo apt-get --ignore-missing install || true
|
sudo apt-get --ignore-missing install || true
|
||||||
|
@ -90,7 +90,7 @@ function build(
|
|||||||
// always build for host platform and node version
|
// always build for host platform and node version
|
||||||
// https://github.com/vercel/pkg-fetch/releases
|
// https://github.com/vercel/pkg-fetch/releases
|
||||||
'--target',
|
'--target',
|
||||||
`node18-${arch}`,
|
`node20-${arch}`,
|
||||||
'--output',
|
'--output',
|
||||||
binPath,
|
binPath,
|
||||||
],
|
],
|
||||||
|
1051
npm-shrinkwrap.json
generated
1051
npm-shrinkwrap.json
generated
File diff suppressed because it is too large
Load Diff
@ -74,7 +74,7 @@
|
|||||||
"@types/debug": "^4.1.12",
|
"@types/debug": "^4.1.12",
|
||||||
"@types/mime-types": "2.1.4",
|
"@types/mime-types": "2.1.4",
|
||||||
"@types/mocha": "^10.0.6",
|
"@types/mocha": "^10.0.6",
|
||||||
"@types/node": "^18.11.9",
|
"@types/node": "^20.11.6",
|
||||||
"@types/node-ipc": "9.2.3",
|
"@types/node-ipc": "9.2.3",
|
||||||
"@types/react": "17.0.2",
|
"@types/react": "17.0.2",
|
||||||
"@types/react-dom": "17.0.2",
|
"@types/react-dom": "17.0.2",
|
||||||
@ -93,7 +93,7 @@
|
|||||||
"native-addon-loader": "2.0.1",
|
"native-addon-loader": "2.0.1",
|
||||||
"node-loader": "^2.0.0",
|
"node-loader": "^2.0.0",
|
||||||
"omit-deep-lodash": "1.1.7",
|
"omit-deep-lodash": "1.1.7",
|
||||||
"pkg": "^5.8.1",
|
"@yao-pkg/pkg": "^5.11.1",
|
||||||
"sinon": "17.0.1",
|
"sinon": "17.0.1",
|
||||||
"string-replace-loader": "3.1.0",
|
"string-replace-loader": "3.1.0",
|
||||||
"style-loader": "3.3.3",
|
"style-loader": "3.3.3",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user