From 99ad5022d11f3619932cffeda43dcf4926a28e60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Donny/=EA=B0=95=EB=8F=99=EC=9C=A4?= Date: Tue, 21 Nov 2023 10:21:44 +0900 Subject: [PATCH] chore: Publish `v1.3.98` with `swc_core` `v0.86.73` (#8321) --- .github/workflows/publish-core.yml | 94 ++++++++++--------- bindings/binding_core_wasm/Cargo.toml | 2 +- bindings/binding_minifier_wasm/Cargo.toml | 2 +- bindings/swc_cli/Cargo.toml | 2 +- package.json | 5 +- packages/minifier/package.json | 2 +- .../scripts/npm/darwin-arm64/package.json | 2 +- .../scripts/npm/darwin-x64/package.json | 2 +- .../npm/linux-arm-gnueabihf/package.json | 2 +- .../scripts/npm/linux-arm64-gnu/package.json | 2 +- .../scripts/npm/linux-arm64-musl/package.json | 2 +- .../scripts/npm/linux-x64-gnu/package.json | 2 +- .../scripts/npm/linux-x64-musl/package.json | 2 +- .../scripts/npm/win32-arm64-msvc/package.json | 2 +- .../scripts/npm/win32-ia32-msvc/package.json | 2 +- .../scripts/npm/win32-x64-msvc/package.json | 2 +- scripts/npm/darwin-arm64/package.json | 2 +- scripts/npm/darwin-x64/package.json | 2 +- scripts/npm/linux-arm-gnueabihf/package.json | 2 +- scripts/npm/linux-arm64-gnu/package.json | 2 +- scripts/npm/linux-arm64-musl/package.json | 2 +- scripts/npm/linux-x64-gnu/package.json | 2 +- scripts/npm/linux-x64-musl/package.json | 2 +- scripts/npm/win32-arm64-msvc/package.json | 2 +- scripts/npm/win32-ia32-msvc/package.json | 2 +- scripts/npm/win32-x64-msvc/package.json | 2 +- yarn.lock | 10 +- 27 files changed, 79 insertions(+), 78 deletions(-) diff --git a/.github/workflows/publish-core.yml b/.github/workflows/publish-core.yml index 037bf646090..ce3d343015e 100644 --- a/.github/workflows/publish-core.yml +++ b/.github/workflows/publish-core.yml @@ -356,51 +356,53 @@ jobs: run: >- set -e && DISABLE_PLUGIN_E2E_TESTS=true yarn test - test-linux-arm-gnueabihf-binding: - if: ${{ startsWith(github.ref, 'refs/tags/v') || startsWith(github.ref, 'refs/heads/ci') }} - name: Test bindings on armv7-unknown-linux-gnueabihf - node@${{ matrix.node }} - needs: - - build - strategy: - fail-fast: false - matrix: - node: - - "16" - - "18" - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Download artifacts - uses: actions/download-artifact@v3 - with: - name: bindings-armv7-unknown-linux-gnueabihf - path: . - - name: List packages - run: ls -R . - shell: bash - - name: Cache NPM dependencies - uses: actions/cache@v3 - with: - path: node_modules - key: npm-cache-test-linux-arm-gnueabihf-${{ matrix.node }} - - name: Install dependencies - run: yarn install --ignore-scripts --ignore-platform --registry https://registry.npmjs.org --network-timeout 300000 - - name: Build TypeScript - run: yarn build:ts - - name: Set up QEMU - uses: docker/setup-qemu-action@v2 - with: - platforms: arm - - run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes - - name: Setup and run tests - uses: addnab/docker-run-action@v3 - with: - image: node:${{ matrix.node }}-bullseye-slim - options: "--platform linux/arm/v7 -v ${{ github.workspace }}:/build -w /build" - run: >- - set -e && - DISABLE_PLUGIN_E2E_TESTS=true yarn test && - ls -la + # https://github.com/ziglang/zig/issues/16152 + # + # test-linux-arm-gnueabihf-binding: + # if: ${{ startsWith(github.ref, 'refs/tags/v') || startsWith(github.ref, 'refs/heads/ci') }} + # name: Test bindings on armv7-unknown-linux-gnueabihf - node@${{ matrix.node }} + # needs: + # - build + # strategy: + # fail-fast: false + # matrix: + # node: + # - "16" + # - "18" + # runs-on: ubuntu-latest + # steps: + # - uses: actions/checkout@v3 + # - name: Download artifacts + # uses: actions/download-artifact@v3 + # with: + # name: bindings-armv7-unknown-linux-gnueabihf + # path: . + # - name: List packages + # run: ls -R . + # shell: bash + # - name: Cache NPM dependencies + # uses: actions/cache@v3 + # with: + # path: node_modules + # key: npm-cache-test-linux-arm-gnueabihf-${{ matrix.node }} + # - name: Install dependencies + # run: yarn install --ignore-scripts --ignore-platform --registry https://registry.npmjs.org --network-timeout 300000 + # - name: Build TypeScript + # run: yarn build:ts + # - name: Set up QEMU + # uses: docker/setup-qemu-action@v2 + # with: + # platforms: arm + # - run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes + # - name: Setup and run tests + # uses: addnab/docker-run-action@v3 + # with: + # image: node:${{ matrix.node }}-bullseye-slim + # options: "--platform linux/arm/v7 -v ${{ github.workspace }}:/build -w /build" + # run: >- + # set -e && + # DISABLE_PLUGIN_E2E_TESTS=true yarn test && + # ls -la publish: if: ${{ startsWith(github.ref, 'refs/tags/v') }} @@ -409,7 +411,7 @@ jobs: needs: - test-linux-x64-gnu-binding - test-linux-x64-musl-binding - - test-linux-arm-gnueabihf-binding + # - test-linux-arm-gnueabihf-binding - test-macOS-windows-binding - test-linux-aarch64-musl-binding steps: diff --git a/bindings/binding_core_wasm/Cargo.toml b/bindings/binding_core_wasm/Cargo.toml index d16761e934f..2c9466c9e76 100644 --- a/bindings/binding_core_wasm/Cargo.toml +++ b/bindings/binding_core_wasm/Cargo.toml @@ -6,7 +6,7 @@ license = "Apache-2.0" name = "binding_core_wasm" publish = false repository = "https://github.com/swc-project/swc.git" -version = "1.3.98-nightly-20231121.1" +version = "1.3.98" [lib] bench = false diff --git a/bindings/binding_minifier_wasm/Cargo.toml b/bindings/binding_minifier_wasm/Cargo.toml index 55bf8784434..a5c53ad18f4 100644 --- a/bindings/binding_minifier_wasm/Cargo.toml +++ b/bindings/binding_minifier_wasm/Cargo.toml @@ -6,7 +6,7 @@ license = "Apache-2.0" name = "binding_minifier_wasm" publish = false repository = "https://github.com/swc-project/swc.git" -version = "1.3.98-nightly-20231121.1" +version = "1.3.98" [lib] bench = false diff --git a/bindings/swc_cli/Cargo.toml b/bindings/swc_cli/Cargo.toml index 073bc3c594a..0656f5722bb 100644 --- a/bindings/swc_cli/Cargo.toml +++ b/bindings/swc_cli/Cargo.toml @@ -6,7 +6,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_cli" repository = "https://github.com/swc-project/swc.git" -version = "0.91.88" +version = "0.91.89" [[bin]] bench = false diff --git a/package.json b/package.json index cb3dd11f372..99d0f2ee552 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@swc/core", - "version": "1.3.98-nightly-20231121.1", + "version": "1.3.98", "description": "Super-fast alternative for babel", "homepage": "https://swc.rs", "main": "./index.js", @@ -33,7 +33,6 @@ "x86_64-unknown-linux-musl", "i686-pc-windows-msvc", "aarch64-unknown-linux-gnu", - "armv7-unknown-linux-gnueabihf", "aarch64-apple-darwin", "aarch64-unknown-linux-musl", "aarch64-pc-windows-msvc" @@ -93,7 +92,7 @@ "@babel/preset-react": "^7.13.13", "@babel/preset-typescript": "^7.13.0", "@babel/types": "^7.14.0", - "@napi-rs/cli": "^2.14.1", + "@napi-rs/cli": "^2.16.5", "@swc/core": "=1.2.220", "@swc/helpers": "^0.5.0", "@swc/plugin-jest": "latest", diff --git a/packages/minifier/package.json b/packages/minifier/package.json index 0be90a269fc..71aeab7a457 100644 --- a/packages/minifier/package.json +++ b/packages/minifier/package.json @@ -1,6 +1,6 @@ { "name": "@swc/minifier", - "version": "1.3.98-nightly-20231121.1", + "version": "1.3.98", "description": "Super-fast alternative for terser", "homepage": "https://swc.rs", "main": "./index.js", diff --git a/packages/minifier/scripts/npm/darwin-arm64/package.json b/packages/minifier/scripts/npm/darwin-arm64/package.json index 5c5324ce3da..d0c60af0b55 100644 --- a/packages/minifier/scripts/npm/darwin-arm64/package.json +++ b/packages/minifier/scripts/npm/darwin-arm64/package.json @@ -1,6 +1,6 @@ { "name": "@swc/minifier-darwin-arm64", - "version": "1.3.97", + "version": "1.3.98", "os": [ "darwin" ], diff --git a/packages/minifier/scripts/npm/darwin-x64/package.json b/packages/minifier/scripts/npm/darwin-x64/package.json index fbcef51526a..a7f9b7ff907 100644 --- a/packages/minifier/scripts/npm/darwin-x64/package.json +++ b/packages/minifier/scripts/npm/darwin-x64/package.json @@ -1,6 +1,6 @@ { "name": "@swc/minifier-darwin-x64", - "version": "1.3.97", + "version": "1.3.98", "os": [ "darwin" ], diff --git a/packages/minifier/scripts/npm/linux-arm-gnueabihf/package.json b/packages/minifier/scripts/npm/linux-arm-gnueabihf/package.json index 008c0b007df..1b77b3a0aa3 100644 --- a/packages/minifier/scripts/npm/linux-arm-gnueabihf/package.json +++ b/packages/minifier/scripts/npm/linux-arm-gnueabihf/package.json @@ -1,6 +1,6 @@ { "name": "@swc/minifier-linux-arm-gnueabihf", - "version": "1.3.97", + "version": "1.3.98", "os": [ "linux" ], diff --git a/packages/minifier/scripts/npm/linux-arm64-gnu/package.json b/packages/minifier/scripts/npm/linux-arm64-gnu/package.json index 66f0703a375..309ba9ea6df 100644 --- a/packages/minifier/scripts/npm/linux-arm64-gnu/package.json +++ b/packages/minifier/scripts/npm/linux-arm64-gnu/package.json @@ -1,6 +1,6 @@ { "name": "@swc/minifier-linux-arm64-gnu", - "version": "1.3.97", + "version": "1.3.98", "os": [ "linux" ], diff --git a/packages/minifier/scripts/npm/linux-arm64-musl/package.json b/packages/minifier/scripts/npm/linux-arm64-musl/package.json index 59fc2df9154..6d4a44c1ad6 100644 --- a/packages/minifier/scripts/npm/linux-arm64-musl/package.json +++ b/packages/minifier/scripts/npm/linux-arm64-musl/package.json @@ -1,6 +1,6 @@ { "name": "@swc/minifier-linux-arm64-musl", - "version": "1.3.97", + "version": "1.3.98", "os": [ "linux" ], diff --git a/packages/minifier/scripts/npm/linux-x64-gnu/package.json b/packages/minifier/scripts/npm/linux-x64-gnu/package.json index e05da899524..b8d03e3ff3c 100644 --- a/packages/minifier/scripts/npm/linux-x64-gnu/package.json +++ b/packages/minifier/scripts/npm/linux-x64-gnu/package.json @@ -1,6 +1,6 @@ { "name": "@swc/minifier-linux-x64-gnu", - "version": "1.3.97", + "version": "1.3.98", "os": [ "linux" ], diff --git a/packages/minifier/scripts/npm/linux-x64-musl/package.json b/packages/minifier/scripts/npm/linux-x64-musl/package.json index d33b29af3bd..6e9afa07899 100644 --- a/packages/minifier/scripts/npm/linux-x64-musl/package.json +++ b/packages/minifier/scripts/npm/linux-x64-musl/package.json @@ -1,6 +1,6 @@ { "name": "@swc/minifier-linux-x64-musl", - "version": "1.3.97", + "version": "1.3.98", "os": [ "linux" ], diff --git a/packages/minifier/scripts/npm/win32-arm64-msvc/package.json b/packages/minifier/scripts/npm/win32-arm64-msvc/package.json index 07957c5ad5b..66e081872d3 100644 --- a/packages/minifier/scripts/npm/win32-arm64-msvc/package.json +++ b/packages/minifier/scripts/npm/win32-arm64-msvc/package.json @@ -1,6 +1,6 @@ { "name": "@swc/minifier-win32-arm64-msvc", - "version": "1.3.97", + "version": "1.3.98", "os": [ "win32" ], diff --git a/packages/minifier/scripts/npm/win32-ia32-msvc/package.json b/packages/minifier/scripts/npm/win32-ia32-msvc/package.json index 3a960dc5b3a..7068879b742 100644 --- a/packages/minifier/scripts/npm/win32-ia32-msvc/package.json +++ b/packages/minifier/scripts/npm/win32-ia32-msvc/package.json @@ -1,6 +1,6 @@ { "name": "@swc/minifier-win32-ia32-msvc", - "version": "1.3.97", + "version": "1.3.98", "os": [ "win32" ], diff --git a/packages/minifier/scripts/npm/win32-x64-msvc/package.json b/packages/minifier/scripts/npm/win32-x64-msvc/package.json index ba1f8c3b7b4..9e596c9bab7 100644 --- a/packages/minifier/scripts/npm/win32-x64-msvc/package.json +++ b/packages/minifier/scripts/npm/win32-x64-msvc/package.json @@ -1,6 +1,6 @@ { "name": "@swc/minifier-win32-x64-msvc", - "version": "1.3.97", + "version": "1.3.98", "os": [ "win32" ], diff --git a/scripts/npm/darwin-arm64/package.json b/scripts/npm/darwin-arm64/package.json index 090e6223d15..fe5f3dfde29 100644 --- a/scripts/npm/darwin-arm64/package.json +++ b/scripts/npm/darwin-arm64/package.json @@ -1,6 +1,6 @@ { "name": "@swc/core-darwin-arm64", - "version": "1.3.97", + "version": "1.3.98", "os": [ "darwin" ], diff --git a/scripts/npm/darwin-x64/package.json b/scripts/npm/darwin-x64/package.json index 10c91b68cc6..e1d1efb2890 100644 --- a/scripts/npm/darwin-x64/package.json +++ b/scripts/npm/darwin-x64/package.json @@ -1,6 +1,6 @@ { "name": "@swc/core-darwin-x64", - "version": "1.3.97", + "version": "1.3.98", "os": [ "darwin" ], diff --git a/scripts/npm/linux-arm-gnueabihf/package.json b/scripts/npm/linux-arm-gnueabihf/package.json index a0f43431a60..e53b7e5f36c 100644 --- a/scripts/npm/linux-arm-gnueabihf/package.json +++ b/scripts/npm/linux-arm-gnueabihf/package.json @@ -1,6 +1,6 @@ { "name": "@swc/core-linux-arm-gnueabihf", - "version": "1.3.97", + "version": "1.3.98", "os": [ "linux" ], diff --git a/scripts/npm/linux-arm64-gnu/package.json b/scripts/npm/linux-arm64-gnu/package.json index 89f4b251275..be2242c2d0c 100644 --- a/scripts/npm/linux-arm64-gnu/package.json +++ b/scripts/npm/linux-arm64-gnu/package.json @@ -1,6 +1,6 @@ { "name": "@swc/core-linux-arm64-gnu", - "version": "1.3.97", + "version": "1.3.98", "os": [ "linux" ], diff --git a/scripts/npm/linux-arm64-musl/package.json b/scripts/npm/linux-arm64-musl/package.json index 354cfdab092..df004137fc5 100644 --- a/scripts/npm/linux-arm64-musl/package.json +++ b/scripts/npm/linux-arm64-musl/package.json @@ -1,6 +1,6 @@ { "name": "@swc/core-linux-arm64-musl", - "version": "1.3.97", + "version": "1.3.98", "os": [ "linux" ], diff --git a/scripts/npm/linux-x64-gnu/package.json b/scripts/npm/linux-x64-gnu/package.json index 4d667781342..61793ed6f6a 100644 --- a/scripts/npm/linux-x64-gnu/package.json +++ b/scripts/npm/linux-x64-gnu/package.json @@ -1,6 +1,6 @@ { "name": "@swc/core-linux-x64-gnu", - "version": "1.3.97", + "version": "1.3.98", "os": [ "linux" ], diff --git a/scripts/npm/linux-x64-musl/package.json b/scripts/npm/linux-x64-musl/package.json index 56a5e24fc24..4c188c772be 100644 --- a/scripts/npm/linux-x64-musl/package.json +++ b/scripts/npm/linux-x64-musl/package.json @@ -1,6 +1,6 @@ { "name": "@swc/core-linux-x64-musl", - "version": "1.3.97", + "version": "1.3.98", "os": [ "linux" ], diff --git a/scripts/npm/win32-arm64-msvc/package.json b/scripts/npm/win32-arm64-msvc/package.json index 24f44e86e9f..ee9da6c51cd 100644 --- a/scripts/npm/win32-arm64-msvc/package.json +++ b/scripts/npm/win32-arm64-msvc/package.json @@ -1,6 +1,6 @@ { "name": "@swc/core-win32-arm64-msvc", - "version": "1.3.97", + "version": "1.3.98", "os": [ "win32" ], diff --git a/scripts/npm/win32-ia32-msvc/package.json b/scripts/npm/win32-ia32-msvc/package.json index 04d7b43eaff..bc13715b0c3 100644 --- a/scripts/npm/win32-ia32-msvc/package.json +++ b/scripts/npm/win32-ia32-msvc/package.json @@ -1,6 +1,6 @@ { "name": "@swc/core-win32-ia32-msvc", - "version": "1.3.97", + "version": "1.3.98", "os": [ "win32" ], diff --git a/scripts/npm/win32-x64-msvc/package.json b/scripts/npm/win32-x64-msvc/package.json index 6da5e35291f..f2a0c3497d9 100644 --- a/scripts/npm/win32-x64-msvc/package.json +++ b/scripts/npm/win32-x64-msvc/package.json @@ -1,6 +1,6 @@ { "name": "@swc/core-win32-x64-msvc", - "version": "1.3.97", + "version": "1.3.98", "os": [ "win32" ], diff --git a/yarn.lock b/yarn.lock index 8d73f085495..96a318ef76d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2224,12 +2224,12 @@ __metadata: languageName: node linkType: hard -"@napi-rs/cli@npm:^2.14.1": - version: 2.16.1 - resolution: "@napi-rs/cli@npm:2.16.1" +"@napi-rs/cli@npm:^2.16.5": + version: 2.16.5 + resolution: "@napi-rs/cli@npm:2.16.5" bin: napi: scripts/index.js - checksum: 5f61712cf1a4002b7b9b65bc4a6f2a7df68b197cfc7024c7d28820e3b12b5e9c0baa0d85f262f25dbf928586ce01c5c06837754f9f98ef4ebafa55dd027c6837 + checksum: 8d6583572638c8b9c7b6df440d4627958cc877e6b7bb5ebda58ae74b70aa3ce72b2054c8d6ecc7ba15a2710bb6f14a90f5ee75852fa234e1392760ecf36d4ae7 languageName: node linkType: hard @@ -2550,7 +2550,7 @@ __metadata: "@babel/preset-react": ^7.13.13 "@babel/preset-typescript": ^7.13.0 "@babel/types": ^7.14.0 - "@napi-rs/cli": ^2.14.1 + "@napi-rs/cli": ^2.16.5 "@swc/core": =1.2.220 "@swc/core-darwin-arm64": 1.2.146 "@swc/core-darwin-x64": 1.2.146