chore: upgrade npm dependencies (#1557)
This commit is contained in:
parent
7fdcd7a8ae
commit
1d78f6c294
17 changed files with 2901 additions and 2960 deletions
|
@ -41,6 +41,7 @@ freebsd_task:
|
|||
CARGO_HOME: /usr/local/cargo
|
||||
PATH: /usr/local/cargo/bin:$PATH
|
||||
RUSTUP_IO_THREADS: '1'
|
||||
NX_NON_NATIVE_HASHER: 'true'
|
||||
setup_script:
|
||||
- pkg update
|
||||
- pkg install -y -f curl node libnghttp2
|
||||
|
|
5
.github/workflows/linux-aarch64-musl.yaml
vendored
5
.github/workflows/linux-aarch64-musl.yaml
vendored
|
@ -28,7 +28,10 @@ jobs:
|
|||
cache: 'yarn'
|
||||
|
||||
- name: Install dependencies
|
||||
run: yarn install --immutable --mode=skip-build
|
||||
run: |
|
||||
yarn config set --json supportedArchitectures.cpu '["current", "arm64"]'
|
||||
yarn config set --json supportedArchitectures.libc '["current", "musl"]'
|
||||
yarn install --immutable --mode=skip-build
|
||||
|
||||
- name: Cross build native tests
|
||||
uses: addnab/docker-run-action@v3
|
||||
|
|
5
.github/workflows/linux-aarch64.yaml
vendored
5
.github/workflows/linux-aarch64.yaml
vendored
|
@ -47,7 +47,10 @@ jobs:
|
|||
version: 0.10.1
|
||||
|
||||
- name: Install dependencies
|
||||
run: yarn install --immutable --mode=skip-build
|
||||
run: |
|
||||
yarn config set --json supportedArchitectures.cpu '["current", "arm64"]'
|
||||
yarn config set supportedArchitectures.libc "glibc"
|
||||
yarn install --immutable --mode=skip-build
|
||||
|
||||
- name: Cross build native tests
|
||||
run: yarn build:test -- --target aarch64-unknown-linux-gnu --cross-compile
|
||||
|
|
4
.github/workflows/linux-armv7.yaml
vendored
4
.github/workflows/linux-armv7.yaml
vendored
|
@ -49,7 +49,9 @@ jobs:
|
|||
key: stable-linux-armv7-gnu-node@18-cargo-cache
|
||||
|
||||
- name: Install dependencies
|
||||
run: yarn install --immutable --mode=skip-build
|
||||
run: |
|
||||
yarn config set --json supportedArchitectures.cpu '["arm", "current"]'
|
||||
yarn install --immutable --mode=skip-build
|
||||
|
||||
- name: Cross build native tests
|
||||
run: yarn build:test -- --target armv7-unknown-linux-gnueabihf --cross-compile
|
||||
|
|
4
.github/workflows/linux-musl.yaml
vendored
4
.github/workflows/linux-musl.yaml
vendored
|
@ -28,7 +28,9 @@ jobs:
|
|||
cache: 'yarn'
|
||||
|
||||
- name: 'Install dependencies'
|
||||
run: yarn install --immutable --mode=skip-build
|
||||
run: |
|
||||
yarn config set --json supportedArchitectures.libc '["current", "musl"]'
|
||||
yarn install --immutable --mode=skip-build
|
||||
|
||||
- name: Setup and run tests
|
||||
uses: addnab/docker-run-action@v3
|
||||
|
|
23
.github/workflows/zig.yaml
vendored
23
.github/workflows/zig.yaml
vendored
|
@ -95,8 +95,6 @@ jobs:
|
|||
target: aarch64-unknown-linux-musl
|
||||
|
||||
steps:
|
||||
- run: docker run --rm --privileged multiarch/qemu-user-static:register --reset
|
||||
if: matrix.settings.host == 'ubuntu-latest'
|
||||
- uses: actions/checkout@v3
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@v3
|
||||
|
@ -104,7 +102,10 @@ jobs:
|
|||
node-version: 18
|
||||
cache: 'yarn'
|
||||
- name: Install dependencies
|
||||
run: yarn install --immutable --mode=skip-build
|
||||
run: |
|
||||
yarn config set --json supportedArchitectures.libc '["current", "musl"]'
|
||||
yarn config set --json supportedArchitectures.cpu '["current", "arm64"]'
|
||||
yarn install --immutable --mode=skip-build
|
||||
- name: Download artifacts
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
|
@ -124,19 +125,21 @@ jobs:
|
|||
env:
|
||||
SKIP_UNWIND_TEST: 1
|
||||
if: matrix.settings.host == 'macos-latest'
|
||||
- run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
|
||||
if: matrix.settings.host == 'ubuntu-latest'
|
||||
- name: Test
|
||||
uses: docker://multiarch/alpine:aarch64-latest-stable
|
||||
uses: addnab/docker-run-action@v3
|
||||
if: matrix.settings.target == 'aarch64-unknown-linux-musl'
|
||||
with:
|
||||
args: >
|
||||
sh -c "
|
||||
apk add nodejs yarn && \
|
||||
yarn test
|
||||
"
|
||||
image: node:lts-alpine
|
||||
options: --platform linux/arm64 -v ${{ github.workspace }}:/build -w /build
|
||||
run: |
|
||||
set -e
|
||||
yarn test
|
||||
- name: Test
|
||||
uses: addnab/docker-run-action@v3
|
||||
if: matrix.settings.target == 'x86_64-unknown-linux-musl'
|
||||
with:
|
||||
image: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
|
||||
image: node:lts-alpine
|
||||
options: -v ${{ github.workspace }}:/napi-rs -w /napi-rs
|
||||
run: yarn test
|
||||
|
|
807
.yarn/releases/yarn-3.3.0.cjs
vendored
807
.yarn/releases/yarn-3.3.0.cjs
vendored
File diff suppressed because one or more lines are too long
873
.yarn/releases/yarn-3.5.0.cjs
vendored
Executable file
873
.yarn/releases/yarn-3.5.0.cjs
vendored
Executable file
File diff suppressed because one or more lines are too long
|
@ -1,3 +1,3 @@
|
|||
nodeLinker: node-modules
|
||||
|
||||
yarnPath: .yarn/releases/yarn-3.3.0.cjs
|
||||
yarnPath: .yarn/releases/yarn-3.5.0.cjs
|
||||
|
|
|
@ -79,12 +79,12 @@
|
|||
"devDependencies": {
|
||||
"@types/inquirer": "^9.0.3",
|
||||
"@types/js-yaml": "^4.0.5",
|
||||
"@types/lodash-es": "^4.17.6",
|
||||
"@types/lodash-es": "^4.17.7",
|
||||
"ava": "^5.2.0",
|
||||
"esbuild": "^0.17.14",
|
||||
"esbuild": "^0.17.16",
|
||||
"prettier": "^2.8.7",
|
||||
"ts-node": "^10.9.1",
|
||||
"typescript": "^4.9.4"
|
||||
"typescript": "^5.0.4"
|
||||
},
|
||||
"funding": {
|
||||
"type": "github",
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
"devDependencies": {
|
||||
"@napi-rs/cli": "workspace:*",
|
||||
"ava": "^5.2.0",
|
||||
"sinon": "^15.0.1"
|
||||
"sinon": "^15.0.3"
|
||||
},
|
||||
"ava": {
|
||||
"extensions": [
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Electron test</title>
|
||||
</head>
|
||||
<body>
|
||||
<div>Electron test</div>
|
||||
<script src="./index.js"></script>
|
||||
</body>
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Electron test</title>
|
||||
</head>
|
||||
<body>
|
||||
<div>Electron test</div>
|
||||
<script src="./index.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -10,10 +10,10 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@napi-rs/cli": "workspace:*",
|
||||
"@types/lodash": "^4.14.191",
|
||||
"@types/lodash": "^4.14.192",
|
||||
"ava": "^5.2.0",
|
||||
"lodash": "^4.17.21",
|
||||
"sinon": "^15.0.1"
|
||||
"sinon": "^15.0.3"
|
||||
},
|
||||
"ava": {
|
||||
"extensions": [
|
||||
|
|
|
@ -7,12 +7,12 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"colorette": "^2.0.19",
|
||||
"dockerode": "^3.3.4",
|
||||
"pretty-bytes": "^6.0.0",
|
||||
"dockerode": "^3.3.5",
|
||||
"pretty-bytes": "^6.1.0",
|
||||
"table": "^6.8.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@napi-rs/cli": "workspace:*",
|
||||
"@types/dockerode": "^3.3.14"
|
||||
"@types/dockerode": "^3.3.16"
|
||||
}
|
||||
}
|
||||
|
|
42
package.json
42
package.json
|
@ -68,38 +68,38 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@napi-rs/cli": "workspace:*",
|
||||
"@rollup/plugin-alias": "^4.0.2",
|
||||
"@rollup/plugin-commonjs": "^24.0.0",
|
||||
"@rollup/plugin-alias": "^5.0.0",
|
||||
"@rollup/plugin-commonjs": "^24.0.1",
|
||||
"@rollup/plugin-json": "^6.0.0",
|
||||
"@rollup/plugin-node-resolve": "^15.0.1",
|
||||
"@rollup/plugin-node-resolve": "^15.0.2",
|
||||
"@rollup/plugin-replace": "^5.0.2",
|
||||
"@taplo/cli": "^0.5.2",
|
||||
"@types/debug": "^4.1.7",
|
||||
"@types/lodash-es": "^4.17.6",
|
||||
"@types/node": "^18.11.18",
|
||||
"@types/lodash-es": "^4.17.7",
|
||||
"@types/node": "^18.15.11",
|
||||
"@types/sinon": "^10.0.13",
|
||||
"@typescript-eslint/eslint-plugin": "^5.48.2",
|
||||
"@typescript-eslint/parser": "^5.48.2",
|
||||
"ava": "^5.1.1",
|
||||
"c8": "^7.12.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.57.1",
|
||||
"@typescript-eslint/parser": "^5.57.1",
|
||||
"ava": "^5.2.0",
|
||||
"c8": "^7.13.0",
|
||||
"cross-env": "^7.0.3",
|
||||
"electron": "22.0.3",
|
||||
"esbuild": "^0.17.2",
|
||||
"eslint": "^8.32.0",
|
||||
"eslint-config-prettier": "^8.6.0",
|
||||
"electron": "24.0.0",
|
||||
"esbuild": "^0.17.16",
|
||||
"eslint": "^8.38.0",
|
||||
"eslint-config-prettier": "^8.8.0",
|
||||
"eslint-plugin-import": "^2.27.5",
|
||||
"eslint-plugin-prettier": "^4.2.1",
|
||||
"husky": "^8.0.1",
|
||||
"lerna": "^5.1.6",
|
||||
"lint-staged": "^13.0.3",
|
||||
"husky": "^8.0.3",
|
||||
"lerna": "^6.6.1",
|
||||
"lint-staged": "^13.2.1",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"prettier": "^2.8.3",
|
||||
"prettier": "^2.8.7",
|
||||
"shx": "^0.3.4",
|
||||
"sinon": "^15.0.1",
|
||||
"sinon": "^15.0.3",
|
||||
"source-map-support": "^0.5.21",
|
||||
"ts-node": "^10.9.1",
|
||||
"tslib": "^2.4.1",
|
||||
"typescript": "^4.9.4"
|
||||
"tslib": "^2.5.0",
|
||||
"typescript": "^5.0.4"
|
||||
},
|
||||
"packageManager": "yarn@3.3.0"
|
||||
"packageManager": "yarn@3.5.0"
|
||||
}
|
||||
|
|
|
@ -49,6 +49,6 @@
|
|||
"devDependencies": {
|
||||
"lodash-es": "^4.17.21",
|
||||
"ts-node": "^10.9.1",
|
||||
"typescript": "^4.9.4"
|
||||
"typescript": "^5.0.4"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue