Skip to content

Commit

Permalink
feat: Use swc for running scripts (#23080)
Browse files Browse the repository at this point in the history
  • Loading branch information
zharinov authored Jul 1, 2023
1 parent 91f31b4 commit 4c99ab0
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@
"@openpgp/web-stream-tools": "0.0.13",
"@renovate/eslint-plugin": "file:./tools/eslint",
"@semantic-release/exec": "6.0.3",
"@swc/core": "1.3.67",
"@types/auth-header": "1.0.2",
"@types/aws4": "1.11.3",
"@types/breejs__later": "4.1.2",
Expand Down
6 changes: 5 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,9 @@
"config.js",
"tmp"
],
"ts-node": { "transpileOnly": true, "esm": true }
"ts-node": {
"transpileOnly": true,
"esm": false,
"swc": true
}
}
66 changes: 66 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2910,6 +2910,72 @@
dependencies:
tslib "^2.5.0"

"@swc/core-darwin-arm64@1.3.67":
version "1.3.67"
resolved "https://registry.npmjs.org/@swc/core-darwin-arm64/-/core-darwin-arm64-1.3.67.tgz#8076dcd75862b92a7987a8da5a24986ab559d793"
integrity sha512-zCT2mCkOBVNf5uJDcQ3A9KDoO1OEaGdfjsRTZTo7sejDd9AXLfJg+xgyCBBrK2jNS/uWcT21IvSv3LqKp4K8pA==

"@swc/core-darwin-x64@1.3.67":
version "1.3.67"
resolved "https://registry.npmjs.org/@swc/core-darwin-x64/-/core-darwin-x64-1.3.67.tgz#49da279b06232a388e9c9179db1cbff81d3dee18"
integrity sha512-hXTVsfTatPEec5gFVyjGj3NccKZsYj/OXyHn6XA+l3Q76lZzGm2ISHdku//XNwXu8OmJ0HhS7LPsC4XXwxXQhg==

"@swc/core-linux-arm-gnueabihf@1.3.67":
version "1.3.67"
resolved "https://registry.npmjs.org/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.3.67.tgz#668645ac62ea7beb4319d177f43cdefb0326cd90"
integrity sha512-l8AKL0RkDL5FRTeWMmjoz9zvAc37amxC+0rheaNwE+gZya7ObyNjnIYz5FwN+3y+z6JFU7LS2x/5f6iwruv6pg==

"@swc/core-linux-arm64-gnu@1.3.67":
version "1.3.67"
resolved "https://registry.npmjs.org/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.3.67.tgz#709bccc5ced37b64ab5ae479bf73fc2ab5ef0b48"
integrity sha512-S8zOB1AXEpb7kmtgMaFNeLAj01VOky4B0RNZ+uJWigdrDiFT67FeZzNHUNmNSOU0QM79G+Lie/xD/beqEw0vDg==

"@swc/core-linux-arm64-musl@1.3.67":
version "1.3.67"
resolved "https://registry.npmjs.org/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.3.67.tgz#9187378e17200b1ffb3d06b78c4a33f85dd12efb"
integrity sha512-Fex8J8ASrt13pmOr2xWh41tEeKWwXYGk3sV8L/aGHiYtIJEUi2f+RtMx3jp7LIdOD8pQptor7i5WBlfR9jhp8A==

"@swc/core-linux-x64-gnu@1.3.67":
version "1.3.67"
resolved "https://registry.npmjs.org/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.3.67.tgz#bcdaf46c430bc85a59ae9b38ab9bd540aa1fbd2d"
integrity sha512-9bz9/bMphrv5vDg0os/d8ve0QgFpDzJgZgHUaHiGwcmfnlgdOSAaYJLIvWdcGTjZuQeV4L0m+iru357D9TXEzA==

"@swc/core-linux-x64-musl@1.3.67":
version "1.3.67"
resolved "https://registry.npmjs.org/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.3.67.tgz#fbb63517cd72eaa3250726a4209c179ada520a57"
integrity sha512-ED0H6oLvQmhgo9zs8usmEA/lcZPGTu7K9og9K871b7HhHX0h/R+Xg2pb5KD7S/GyUHpfuopxjVROm+h6X1jMUA==

"@swc/core-win32-arm64-msvc@1.3.67":
version "1.3.67"
resolved "https://registry.npmjs.org/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.3.67.tgz#dadce08f9245c57e9c54c1bbcc815c4bd2077fba"
integrity sha512-J1yFDLgPFeRtA8t5E159OXX+ww1gbkFg70yr4OP7EsOkOD1uMkuTf9yK/woHfsaVJlUYjJHzw7MkUIEgQBucqQ==

"@swc/core-win32-ia32-msvc@1.3.67":
version "1.3.67"
resolved "https://registry.npmjs.org/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.3.67.tgz#be026a3a389e64c24fe67a329c04eccf744ac45e"
integrity sha512-bK11/KtasewqHxzkjKUBXRE9MSAidbZCxrgJUd49bItG2N/DHxkwMYu8Xkh5VDHdTYWv/2idYtf/VM9Yi+53qw==

"@swc/core-win32-x64-msvc@1.3.67":
version "1.3.67"
resolved "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.3.67.tgz#6fe2f3854d91b58f6e0b00f99366cfd84334b2ea"
integrity sha512-GxzUU3+NA3cPcYxCxtfSQIS2ySD7Z8IZmKTVaWA9GOUQbKLyCE8H5js31u39+0op/1gNgxOgYFDoj2lUyvLCqw==

"@swc/core@1.3.67":
version "1.3.67"
resolved "https://registry.npmjs.org/@swc/core/-/core-1.3.67.tgz#e0eb33285abb07cb0fd097d4190096977971da1e"
integrity sha512-9DROjzfAEt0xt0CDkOYsWpkUPyne8fl5ggWGon049678BOM7p0R0dmaalZGAsKatG5vYP1IWSKWsKhJIubDCsQ==
optionalDependencies:
"@swc/core-darwin-arm64" "1.3.67"
"@swc/core-darwin-x64" "1.3.67"
"@swc/core-linux-arm-gnueabihf" "1.3.67"
"@swc/core-linux-arm64-gnu" "1.3.67"
"@swc/core-linux-arm64-musl" "1.3.67"
"@swc/core-linux-x64-gnu" "1.3.67"
"@swc/core-linux-x64-musl" "1.3.67"
"@swc/core-win32-arm64-msvc" "1.3.67"
"@swc/core-win32-ia32-msvc" "1.3.67"
"@swc/core-win32-x64-msvc" "1.3.67"

"@szmarczak/http-timer@^4.0.5":
version "4.0.6"
resolved "https://registry.yarnpkg.com/@szmarczak/http-timer/-/http-timer-4.0.6.tgz#b4a914bb62e7c272d4e5989fe4440f812ab1d807"
Expand Down

0 comments on commit 4c99ab0

Please sign in to comment.