From f7a19ade7e879a75c0d02b781c7b8a6ae388821e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Donny/=EA=B0=95=EB=8F=99=EC=9C=A4?= Date: Thu, 1 Dec 2022 11:36:53 +0900 Subject: [PATCH 1/3] CI From 10739e7987dba0470503b51dd37116d18813cfe8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Donny/=EA=B0=95=EB=8F=99=EC=9C=A4?= Date: Thu, 1 Dec 2022 11:40:02 +0900 Subject: [PATCH 2/3] Only swc_core --- .github/workflows/CI.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 8b990700d9e4..0def6c4e7097 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -170,7 +170,7 @@ jobs: run: | echo '[patch.crates-io]' >> bindings/Cargo.toml ./scripts/cargo/patch-section.sh >> bindings/Cargo.toml - cd bindings && cargo update + cd bindings && cargo update -p swc_core - name: Install wasm-pack run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh @@ -732,7 +732,7 @@ jobs: echo '[patch.crates-io]' >> bindings/Cargo.toml ./scripts/cargo/patch-section.sh ./scripts/cargo/patch-section.sh >> bindings/Cargo.toml - cd bindings && cargo update + cd bindings && cargo update -p swc_core - name: Cache uses: actions/cache@v3 @@ -794,7 +794,7 @@ jobs: run: | echo '[patch.crates-io]' >> bindings/Cargo.toml ./scripts/cargo/patch-section.sh >> bindings/Cargo.toml - cd bindings && cargo update + cd bindings && cargo update -p swc_core - name: Prepare run: | From c1c2b334f494626babbfe1b5d27206ddf57cc843 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Donny/=EA=B0=95=EB=8F=99=EC=9C=A4?= Date: Thu, 1 Dec 2022 12:53:52 +0900 Subject: [PATCH 3/3] Pin --- package.json | 2 +- yarn.lock | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index d927389011c2..d5948955455c 100644 --- a/package.json +++ b/package.json @@ -97,7 +97,7 @@ "@napi-rs/cli": "^2.10.0", "@swc/core": "=1.2.220", "@swc/helpers": "^0.4.2", - "@swc/plugin-jest": "^1.2.12", + "@swc/plugin-jest": "1.5.25", "@taplo/cli": "^0.3.2", "@types/jest": "^28.1.4", "@types/node": "^14.14.41", diff --git a/yarn.lock b/yarn.lock index f3279f7b3048..359b0013e25b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2463,7 +2463,7 @@ __metadata: "@swc/core-win32-ia32-msvc": 1.2.146 "@swc/core-win32-x64-msvc": 1.2.146 "@swc/helpers": ^0.4.2 - "@swc/plugin-jest": ^1.2.12 + "@swc/plugin-jest": 1.5.25 "@taplo/cli": ^0.3.2 "@types/jest": ^28.1.4 "@types/node": ^14.14.41 @@ -2536,10 +2536,10 @@ __metadata: languageName: node linkType: hard -"@swc/plugin-jest@npm:^1.2.12": - version: 1.5.18 - resolution: "@swc/plugin-jest@npm:1.5.18" - checksum: a72773c409d988431cbd06b216736bbb330badf61659fde9a3cfd29ccc81f541163aed0eba4f7d2063607ff757f14696562be6efe665f0e9f0887c5113a6ec20 +"@swc/plugin-jest@npm:1.5.25": + version: 1.5.25 + resolution: "@swc/plugin-jest@npm:1.5.25" + checksum: 1573d5f60920f929a16ebc696fb98d8f484052ce2ba2533d57b701141816e1d886c6f819ec81c5bb6d2851759a0edb4cb74da7551b61b2d5f2ce5db9746e06ed languageName: node linkType: hard