Skip to content

Commit

Permalink
build: use @swc/core to compile
Browse files Browse the repository at this point in the history
  • Loading branch information
edbzn committed Mar 24, 2024
1 parent 18ec545 commit c4d05f1
Show file tree
Hide file tree
Showing 11 changed files with 192 additions and 2 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@
"@nx/js": "18.0.8",
"@nx/plugin": "18.0.8",
"@nx/workspace": "18.0.8",
"@swc-node/register": "^1.9.0",
"@swc/core": "^1.4.8",
"@types/jest": "29.5.12",
"@types/node": "20.11.30",
"@typescript-eslint/eslint-plugin": "7.3.1",
Expand Down
192 changes: 190 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2504,6 +2504,175 @@ __metadata:
languageName: node
linkType: hard

"@swc-node/core@npm:^1.13.0":
version: 1.13.0
resolution: "@swc-node/core@npm:1.13.0"
peerDependencies:
"@swc/core": ">= 1.3"
"@swc/types": ">= 0.1"
checksum: 10/06f5634038346fbceeb18ef44c2d6e28c499da44fe775f84199afd7db358a548127573af92ff84f6b4913cdd69047a492e0dc2cbe0830444023743cd33fe1970
languageName: node
linkType: hard

"@swc-node/register@npm:^1.9.0":
version: 1.9.0
resolution: "@swc-node/register@npm:1.9.0"
dependencies:
"@swc-node/core": "npm:^1.13.0"
"@swc-node/sourcemap-support": "npm:^0.5.0"
colorette: "npm:^2.0.20"
debug: "npm:^4.3.4"
pirates: "npm:^4.0.6"
tslib: "npm:^2.6.2"
peerDependencies:
"@swc/core": ">= 1.3"
typescript: ">= 4.3"
checksum: 10/991db9154786f67e58ffe237c78fde2d2104c1af1ec455e55b7ab9a28615f10b478bf150a26fe44783727f55ab78afab91b577587a2ad1cad0ad2725fd9c1053
languageName: node
linkType: hard

"@swc-node/sourcemap-support@npm:^0.5.0":
version: 0.5.0
resolution: "@swc-node/sourcemap-support@npm:0.5.0"
dependencies:
source-map-support: "npm:^0.5.21"
tslib: "npm:^2.6.2"
checksum: 10/4163bd5b6730ed395efa70df43a2a1ec6604a23dd70992d8a329c3bff7f8ef42fa04a090145f2c1471ae398602e8b4bf3d4d95c6d66c81cdb609a54538553d9d
languageName: node
linkType: hard

"@swc/core-darwin-arm64@npm:1.4.8":
version: 1.4.8
resolution: "@swc/core-darwin-arm64@npm:1.4.8"
conditions: os=darwin & cpu=arm64
languageName: node
linkType: hard

"@swc/core-darwin-x64@npm:1.4.8":
version: 1.4.8
resolution: "@swc/core-darwin-x64@npm:1.4.8"
conditions: os=darwin & cpu=x64
languageName: node
linkType: hard

"@swc/core-linux-arm-gnueabihf@npm:1.4.8":
version: 1.4.8
resolution: "@swc/core-linux-arm-gnueabihf@npm:1.4.8"
conditions: os=linux & cpu=arm
languageName: node
linkType: hard

"@swc/core-linux-arm64-gnu@npm:1.4.8":
version: 1.4.8
resolution: "@swc/core-linux-arm64-gnu@npm:1.4.8"
conditions: os=linux & cpu=arm64 & libc=glibc
languageName: node
linkType: hard

"@swc/core-linux-arm64-musl@npm:1.4.8":
version: 1.4.8
resolution: "@swc/core-linux-arm64-musl@npm:1.4.8"
conditions: os=linux & cpu=arm64 & libc=musl
languageName: node
linkType: hard

"@swc/core-linux-x64-gnu@npm:1.4.8":
version: 1.4.8
resolution: "@swc/core-linux-x64-gnu@npm:1.4.8"
conditions: os=linux & cpu=x64 & libc=glibc
languageName: node
linkType: hard

"@swc/core-linux-x64-musl@npm:1.4.8":
version: 1.4.8
resolution: "@swc/core-linux-x64-musl@npm:1.4.8"
conditions: os=linux & cpu=x64 & libc=musl
languageName: node
linkType: hard

"@swc/core-win32-arm64-msvc@npm:1.4.8":
version: 1.4.8
resolution: "@swc/core-win32-arm64-msvc@npm:1.4.8"
conditions: os=win32 & cpu=arm64
languageName: node
linkType: hard

"@swc/core-win32-ia32-msvc@npm:1.4.8":
version: 1.4.8
resolution: "@swc/core-win32-ia32-msvc@npm:1.4.8"
conditions: os=win32 & cpu=ia32
languageName: node
linkType: hard

"@swc/core-win32-x64-msvc@npm:1.4.8":
version: 1.4.8
resolution: "@swc/core-win32-x64-msvc@npm:1.4.8"
conditions: os=win32 & cpu=x64
languageName: node
linkType: hard

"@swc/core@npm:^1.4.8":
version: 1.4.8
resolution: "@swc/core@npm:1.4.8"
dependencies:
"@swc/core-darwin-arm64": "npm:1.4.8"
"@swc/core-darwin-x64": "npm:1.4.8"
"@swc/core-linux-arm-gnueabihf": "npm:1.4.8"
"@swc/core-linux-arm64-gnu": "npm:1.4.8"
"@swc/core-linux-arm64-musl": "npm:1.4.8"
"@swc/core-linux-x64-gnu": "npm:1.4.8"
"@swc/core-linux-x64-musl": "npm:1.4.8"
"@swc/core-win32-arm64-msvc": "npm:1.4.8"
"@swc/core-win32-ia32-msvc": "npm:1.4.8"
"@swc/core-win32-x64-msvc": "npm:1.4.8"
"@swc/counter": "npm:^0.1.2"
"@swc/types": "npm:^0.1.5"
peerDependencies:
"@swc/helpers": ^0.5.0
dependenciesMeta:
"@swc/core-darwin-arm64":
optional: true
"@swc/core-darwin-x64":
optional: true
"@swc/core-linux-arm-gnueabihf":
optional: true
"@swc/core-linux-arm64-gnu":
optional: true
"@swc/core-linux-arm64-musl":
optional: true
"@swc/core-linux-x64-gnu":
optional: true
"@swc/core-linux-x64-musl":
optional: true
"@swc/core-win32-arm64-msvc":
optional: true
"@swc/core-win32-ia32-msvc":
optional: true
"@swc/core-win32-x64-msvc":
optional: true
peerDependenciesMeta:
"@swc/helpers":
optional: true
checksum: 10/817b674130bc43345e7d8e7fbcf56658d4a655d9544c646475063c7849529c0a6c236a15f3217e7b0b2b99050bda189d3ff26e225b80b838a87b954b97abcb2a
languageName: node
linkType: hard

"@swc/counter@npm:^0.1.2, @swc/counter@npm:^0.1.3":
version: 0.1.3
resolution: "@swc/counter@npm:0.1.3"
checksum: 10/df8f9cfba9904d3d60f511664c70d23bb323b3a0803ec9890f60133954173047ba9bdeabce28cd70ba89ccd3fd6c71c7b0bd58be85f611e1ffbe5d5c18616598
languageName: node
linkType: hard

"@swc/types@npm:^0.1.5":
version: 0.1.6
resolution: "@swc/types@npm:0.1.6"
dependencies:
"@swc/counter": "npm:^0.1.3"
checksum: 10/b42fbca6f1ad56d1909fa6114b62107418a665730bb9b4d8bd8fa1c86921f8758a73959928342638fb57490b5d618a46881045fa9f094763a00f939944835d36
languageName: node
linkType: hard

"@tsconfig/node10@npm:^1.0.7":
version: 1.0.9
resolution: "@tsconfig/node10@npm:1.0.9"
Expand Down Expand Up @@ -3774,6 +3943,13 @@ __metadata:
languageName: node
linkType: hard

"colorette@npm:^2.0.20":
version: 2.0.20
resolution: "colorette@npm:2.0.20"
checksum: 10/0b8de48bfa5d10afc160b8eaa2b9938f34a892530b2f7d7897e0458d9535a066e3998b49da9d21161c78225b272df19ae3a64d6df28b4c9734c0e55bbd02406f
languageName: node
linkType: hard

"columnify@npm:^1.6.0":
version: 1.6.0
resolution: "columnify@npm:1.6.0"
Expand Down Expand Up @@ -6040,6 +6216,8 @@ __metadata:
"@nx/js": "npm:18.0.8"
"@nx/plugin": "npm:18.0.8"
"@nx/workspace": "npm:18.0.8"
"@swc-node/register": "npm:^1.9.0"
"@swc/core": "npm:^1.4.8"
"@types/jest": "npm:29.5.12"
"@types/node": "npm:20.11.30"
"@typescript-eslint/eslint-plugin": "npm:7.3.1"
Expand Down Expand Up @@ -7177,7 +7355,7 @@ __metadata:
languageName: node
linkType: hard

"pirates@npm:^4.0.4":
"pirates@npm:^4.0.4, pirates@npm:^4.0.6":
version: 4.0.6
resolution: "pirates@npm:4.0.6"
checksum: 10/d02dda76f4fec1cbdf395c36c11cf26f76a644f9f9a1bfa84d3167d0d3154d5289aacc72677aa20d599bb4a6937a471de1b65c995e2aea2d8687cbcd7e43ea5f
Expand Down Expand Up @@ -7668,6 +7846,16 @@ __metadata:
languageName: node
linkType: hard

"source-map-support@npm:^0.5.21":
version: 0.5.21
resolution: "source-map-support@npm:0.5.21"
dependencies:
buffer-from: "npm:^1.0.0"
source-map: "npm:^0.6.0"
checksum: 10/8317e12d84019b31e34b86d483dd41d6f832f389f7417faf8fc5c75a66a12d9686e47f589a0554a868b8482f037e23df9d040d29387eb16fa14cb85f091ba207
languageName: node
linkType: hard

"source-map@npm:0.7.4":
version: 0.7.4
resolution: "source-map@npm:0.7.4"
Expand Down Expand Up @@ -8137,7 +8325,7 @@ __metadata:
languageName: node
linkType: hard

"tslib@npm:^2.1.0, tslib@npm:^2.3.0, tslib@npm:^2.3.1, tslib@npm:^2.4.0":
"tslib@npm:^2.1.0, tslib@npm:^2.3.0, tslib@npm:^2.3.1, tslib@npm:^2.4.0, tslib@npm:^2.6.2":
version: 2.6.2
resolution: "tslib@npm:2.6.2"
checksum: 10/bd26c22d36736513980091a1e356378e8b662ded04204453d353a7f34a4c21ed0afc59b5f90719d4ba756e581a162ecbf93118dc9c6be5acf70aa309188166ca
Expand Down

0 comments on commit c4d05f1

Please sign in to comment.