Skip to content

Commit

Permalink
feat(bindings): Remove swcx from @swc/core (#6720)
Browse files Browse the repository at this point in the history
  • Loading branch information
kwonoj committed Dec 30, 2022
1 parent 0a65209 commit 30dd65b
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 93 deletions.
82 changes: 0 additions & 82 deletions node-swc/src/run_swcx.ts

This file was deleted.

6 changes: 1 addition & 5 deletions package.json
Expand Up @@ -4,9 +4,6 @@
"description": "Super-fast alternative for babel",
"homepage": "https://swc.rs",
"main": "./index.js",
"bin": {
"swcx": "run_swcx.js"
},
"author": "강동윤 <kdy1997.dev@gmail.com>",
"license": "Apache-2.0",
"keywords": [
Expand Down Expand Up @@ -162,7 +159,6 @@
"Visitor.js",
"binding.d.ts",
"index.js",
"run_swcx.js",
"types.d.ts",
"util.js",
"README.md",
Expand All @@ -174,4 +170,4 @@
"bindings/binding_core_wasm/pkg/binding_core_wasm.d.ts"
],
"packageManager": "yarn@3.3.0"
}
}
6 changes: 2 additions & 4 deletions scripts/cli_artifacts.sh
Expand Up @@ -15,10 +15,8 @@ do

if [ -f "$CLI_BINARY_PATH" ]; then
chmod +x $CLI_BINARY_PATH
cp -v $CLI_BINARY_PATH ./artifacts_cli/swc-$BINDING_ABI
mv $CLI_BINARY_PATH ./scripts/npm/$BINDING_ABI
mv -v $CLI_BINARY_PATH ./artifacts_cli/swc-$BINDING_ABI
elif [ -f "$CLI_BINARY_PATH.exe" ]; then
cp -v $CLI_BINARY_PATH.exe ./artifacts_cli/swc-$BINDING_ABI.exe
mv $CLI_BINARY_PATH.exe ./scripts/npm/$BINDING_ABI
mv -v $CLI_BINARY_PATH.exe ./artifacts_cli/swc-$BINDING_ABI.exe
fi
done
2 changes: 0 additions & 2 deletions yarn.lock
Expand Up @@ -2522,8 +2522,6 @@ __metadata:
optional: true
"@swc/core-win32-x64-msvc":
optional: true
bin:
swcx: run_swcx.js
languageName: unknown
linkType: soft

Expand Down

0 comments on commit 30dd65b

Please sign in to comment.