Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(swcx): remove swcx from @swc/core pkgs #6720

Merged
merged 3 commits into from
Dec 30, 2022
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
82 changes: 0 additions & 82 deletions node-swc/src/run_swcx.ts

This file was deleted.

6 changes: 1 addition & 5 deletions package.json
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
kdy1 marked this conversation as resolved.
Show resolved Hide resolved
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
Original file line number Diff line number Diff line change
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