chore: Publish v1.3.91 with swc_core v0.83.34 (#8040)

This commit is contained in:
Donny/강동윤 2023-10-01 20:51:50 +09:00 committed by GitHub
parent 203b2297c3
commit 020027d5d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
79 changed files with 479 additions and 541 deletions

View File

@ -1,83 +0,0 @@
name: "Build node.js binding"
description: "Build a binding for node.js by using `settings` matrix"
inputs:
package:
description: "Package name"
required: true
runs:
using: "composite"
steps:
- name: Setup node x64
uses: actions/setup-node@v3
if: matrix.settings.target != 'i686-pc-windows-msvc'
with:
node-version: 18
architecture: x64
- name: Setup node x86
uses: actions/setup-node@v3
if: matrix.settings.target == 'i686-pc-windows-msvc'
with:
node-version: 18
architecture: x86
- name: Install
uses: actions-rs/toolchain@v1
if: ${{ !matrix.settings.docker }}
with:
profile: minimal
override: true
target: ${{ matrix.settings.target }}
- uses: goto-bus-stop/setup-zig@v2
if: ${{ matrix.settings.target == 'armv7-unknown-linux-gnueabihf' }}
with:
version: 0.10.1
- shell: bash
run: corepack enable
- name: Install node dependencies
shell: bash
working-directory: "./packages/minifier"
run: corepack yarn
- name: Setup toolchain
run: ${{ matrix.settings.setup }}
if: ${{ matrix.settings.setup }}
shell: bash
- name: Install dependencies
shell: bash
working-directory: "./packages"
run: |
# curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
echo '/usr/local/cargo/bin' >> $GITHUB_PATH
- name: Build in docker
uses: addnab/docker-run-action@v3
if: ${{ matrix.settings.docker }}
with:
image: ${{ matrix.settings.docker }}
options: -v ${{ env.HOME }}/.cargo/git:/root/.cargo/git -v ${{ env.HOME }}/.cargo/registry:/root/.cargo/registry -v ${{ github.workspace }}:/build -w /build
run: >-
yarn global add wasm-pack &&
${{ matrix.settings.build }}
- name: Build
if: ${{ !matrix.settings.docker }}
run: ${{ matrix.settings.build }}
shell: bash
- run: ls -al ./packages/minifier
shell: bash
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: |
minifier-${{ matrix.settings.target }}
path: |
./packages/minifier/minifier*
if-no-files-found: error

67
bindings/Cargo.lock generated
View File

@ -229,7 +229,7 @@ dependencies = [
[[package]]
name = "binding_core_wasm"
version = "1.3.90"
version = "1.3.91"
dependencies = [
"anyhow",
"getrandom",
@ -242,9 +242,9 @@ dependencies = [
[[package]]
name = "binding_macros"
version = "0.57.28"
version = "0.57.32"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "390503249d331cbac560d3d044d0f88ad4f1d632c25a262adcf8b767609a18ca"
checksum = "38ebaa734fa9e04c7230c7d476cee5b59d7087ec16eba4a6e8f227ff4b9c1e8a"
dependencies = [
"anyhow",
"console_error_panic_hook",
@ -289,7 +289,7 @@ dependencies = [
[[package]]
name = "binding_minifier_wasm"
version = "1.3.87"
version = "1.3.91"
dependencies = [
"anyhow",
"getrandom",
@ -2839,9 +2839,9 @@ dependencies = [
[[package]]
name = "swc"
version = "0.266.28"
version = "0.266.32"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "49be68a31f62828304f0325a324bbf47cf128c954a49f4e3730eba29b01b6376"
checksum = "13b3d7a8d1f76260545e981465fbfa4fd8b4132eede49729babcf86d6ca9373a"
dependencies = [
"anyhow",
"base64 0.13.1",
@ -2863,6 +2863,7 @@ dependencies = [
"swc_atoms",
"swc_cached",
"swc_common",
"swc_compiler_base",
"swc_config",
"swc_ecma_ast",
"swc_ecma_codegen",
@ -2906,9 +2907,9 @@ dependencies = [
[[package]]
name = "swc_bundler"
version = "0.220.22"
version = "0.220.25"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ddde339479d4fa42c162d61a8ff85b4c59d1e6feed542ecdf5e93c3ad12b3600"
checksum = "6b3e048b8193ed9831fd131e8783cd8e5b0909a665c919ab0fe2177cd856d083"
dependencies = [
"anyhow",
"crc",
@ -2952,7 +2953,7 @@ dependencies = [
[[package]]
name = "swc_cli"
version = "0.91.78"
version = "0.91.80"
dependencies = [
"anyhow",
"atty",
@ -3006,9 +3007,9 @@ dependencies = [
[[package]]
name = "swc_compiler_base"
version = "0.1.0"
version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b05b3e969466455c810cedbcc0de91d5a2b14c0c6e96726009ec2018f3ec948c"
checksum = "51ac1d332a21573d425209c2e05aa3929ff1f7ebfe408e932dd5d27b7d5537a6"
dependencies = [
"anyhow",
"base64 0.13.1",
@ -3055,9 +3056,9 @@ dependencies = [
[[package]]
name = "swc_core"
version = "0.83.30"
version = "0.83.34"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5a60b353ac1e591e8cb15f1fe4fffccf04a91c4074ca6c32ae22aafa0ef089df"
checksum = "d8978af13ae3630983086f55affeb44baa558312f0c3720fbf648a58e9c9b3f1"
dependencies = [
"binding_macros",
"swc",
@ -3188,9 +3189,9 @@ dependencies = [
[[package]]
name = "swc_ecma_minifier"
version = "0.187.22"
version = "0.187.25"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "472a93feb00834f000cd08ec249072286cd658e9aa212c0637df1f5fbf4eefc9"
checksum = "6e72dc74688e56ca57fd22f1c359181b8d588dd9c06a2f3afbec8374490bf675"
dependencies = [
"arrayvec",
"indexmap",
@ -3243,9 +3244,9 @@ dependencies = [
[[package]]
name = "swc_ecma_preset_env"
version = "0.201.22"
version = "0.201.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bf32954488812a8adbec35784cf9b1a5ded914f371b6a047be89fb0a86de64dd"
checksum = "3401cd267184eedf7e4c3d4806f224b6df18f1fef3fbb6a6ae3ef316e41be738"
dependencies = [
"anyhow",
"dashmap",
@ -3268,9 +3269,9 @@ dependencies = [
[[package]]
name = "swc_ecma_transforms"
version = "0.224.20"
version = "0.224.22"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bb442fa8d52b2bd5caebed061e50aa0258f946f9c6cafe4854a30e33681a26fc"
checksum = "43cde8a1df6b27508859e1b4df48bca5b3bbe2702dd16f0117ae7344aeefcb7b"
dependencies = [
"swc_atoms",
"swc_common",
@ -3326,9 +3327,9 @@ dependencies = [
[[package]]
name = "swc_ecma_transforms_compat"
version = "0.159.11"
version = "0.159.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "83bf11f8c486856ea9c8d24d84e5e8629afbd49919be519fddda67d3d440a9be"
checksum = "6bfdc348f8e402b311cf25661086ea3bcdd8305688b582750d7934e2ba46f79e"
dependencies = [
"arrayvec",
"indexmap",
@ -3365,9 +3366,9 @@ dependencies = [
[[package]]
name = "swc_ecma_transforms_module"
version = "0.176.15"
version = "0.176.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9a90fbc10e51f6ec407cb012f3a673f6f337ef07a2f9cce1320afd20ae9e8f4e"
checksum = "aee1c35e2dde705a7c899247302c306c4e1d4f6c2374f6c075ae6c4964aa1c8c"
dependencies = [
"Inflector",
"anyhow",
@ -3392,9 +3393,9 @@ dependencies = [
[[package]]
name = "swc_ecma_transforms_optimization"
version = "0.193.20"
version = "0.193.22"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b902d450451427d52d1b3908c06719e1eeeb1c8098f782f35122ca5218a595ea"
checksum = "cf576db7189483eb6add53447b96f5cb2e4270793473b1d0663bf01b3ce1cb3c"
dependencies = [
"dashmap",
"indexmap",
@ -3417,9 +3418,9 @@ dependencies = [
[[package]]
name = "swc_ecma_transforms_proposal"
version = "0.167.13"
version = "0.167.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2e896e6d01b1618f4f2061c6ab4c5f74e98b47d93f80bd81731243e880aa721a"
checksum = "bf934ff95d993096b7c87a934092a07a830ec356cd2cdfe2ce5fa17ce8520ac6"
dependencies = [
"either",
"rustc-hash",
@ -3437,9 +3438,9 @@ dependencies = [
[[package]]
name = "swc_ecma_transforms_react"
version = "0.179.15"
version = "0.179.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b8a231ae019b0e8b1f6fbfe189c9fb6e42c940f301b8d647e13db7b74119c543"
checksum = "3066e5671862ec921d39a210bb94e2fd82c1d4a8b2ccf44feb9017ab8afadd61"
dependencies = [
"base64 0.13.1",
"dashmap",
@ -3462,9 +3463,9 @@ dependencies = [
[[package]]
name = "swc_ecma_transforms_typescript"
version = "0.183.19"
version = "0.183.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eb40bb1b3f0241c2590c5f3d4c1b975fe8c3d2674b66b4aed1739e5e7b926215"
checksum = "c294314370dd20734aa11fb7d05931df2fcef4886cd930bd9ab9aad44cf5b384"
dependencies = [
"ryu-js",
"serde",
@ -3602,9 +3603,9 @@ dependencies = [
[[package]]
name = "swc_node_bundler"
version = "0.55.28"
version = "0.55.32"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b08bedd8e7a4b2ddc4679e97693dc4a6f1ad2953e56470aa837ad6e13a2ee725"
checksum = "0dcc150dac57f7c88287d5d2791f1ee3bdfa2950f36eee375a4e258767a86fc7"
dependencies = [
"anyhow",
"dashmap",

View File

@ -51,7 +51,7 @@ tracing-chrome = "0.5.0"
tracing-futures = "0.2.5"
tracing-subscriber = { version = "0.3.9", features = ["env-filter"] }
swc_core = { version = "0.83.26", features = [
swc_core = { version = "0.83.34", features = [
"allocator_node",
"ecma_ast",
"ecma_codegen",

View File

@ -6,7 +6,7 @@ license = "Apache-2.0"
name = "binding_core_wasm"
publish = false
repository = "https://github.com/swc-project/swc.git"
version = "1.3.90"
version = "1.3.91"
[lib]
bench = false
@ -35,7 +35,7 @@ anyhow = "1.0.66"
getrandom = { version = "0.2.10", features = ["js"] }
serde = { version = "1", features = ["derive"] }
serde-wasm-bindgen = "0.4.5"
swc_core = { version = "0.83.26", features = [
swc_core = { version = "0.83.34", features = [
"ecma_ast_serde",
"ecma_codegen",
"binding_macro_wasm",

View File

@ -37,7 +37,7 @@ sourcemap = "6.0.0"
swc_compiler_base = { version = "0.1.0", features = ["node"] }
swc_config = "0.1.7"
swc_core = { version = "0.83.18", features = [
swc_core = { version = "0.83.34", features = [
"allocator_node",
"common_concurrent",
"common_sourcemap",

View File

@ -6,7 +6,7 @@ license = "Apache-2.0"
name = "binding_minifier_wasm"
publish = false
repository = "https://github.com/swc-project/swc.git"
version = "1.3.87"
version = "1.3.91"
[lib]
bench = false
@ -35,7 +35,7 @@ anyhow = "1.0.66"
getrandom = { version = "0.2.10", features = ["js"] }
serde = { version = "1", features = ["derive"] }
serde-wasm-bindgen = "0.4.5"
swc_core = { version = "0.83.18", features = [
swc_core = { version = "0.83.34", features = [
"ecma_ast_serde",
"ecma_codegen",
"binding_macro_wasm",

View File

@ -6,7 +6,7 @@ include = ["Cargo.toml", "src/**/*.rs"]
license = "Apache-2.0"
name = "swc_cli"
repository = "https://github.com/swc-project/swc.git"
version = "0.91.78"
version = "0.91.80"
[[bin]]
bench = false
@ -30,7 +30,7 @@ relative-path = "1.6.1"
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1", features = ["unbounded_depth"] }
sourcemap = "6.2.2"
swc_core = { version = "0.83.26", features = [
swc_core = { version = "0.83.34", features = [
"trace_macro",
"common_concurrent",
"base_concurrent",

View File

@ -1,6 +1,6 @@
{
"name": "@swc/core",
"version": "1.3.90",
"version": "1.3.91",
"description": "Super-fast alternative for babel",
"homepage": "https://swc.rs",
"main": "./index.js",

View File

@ -1,42 +1,42 @@
{
"name": "@swc/core-darwin-arm64",
"version": "1.2.130",
"os": [
"darwin"
],
"cpu": [
"arm64"
],
"main": "swc.darwin-arm64.node",
"files": [
"swc.darwin-arm64.node",
"swc"
],
"description": "Super-fast alternative for babel",
"keywords": [
"swc",
"swcpack",
"babel",
"typescript",
"rust",
"webpack",
"tsc"
],
"author": "강동윤 <kdy1997.dev@gmail.com>",
"homepage": "https://swc.rs",
"license": "Apache-2.0 AND MIT",
"engines": {
"node": ">=10"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/swc-project/swc.git"
},
"bugs": {
"url": "https://github.com/swc-project/swc/issues"
}
"name": "@swc/core-darwin-arm64",
"version": "1.3.91",
"os": [
"darwin"
],
"cpu": [
"arm64"
],
"main": "swc.darwin-arm64.node",
"files": [
"swc.darwin-arm64.node",
"swc"
],
"description": "Super-fast alternative for babel",
"keywords": [
"swc",
"swcpack",
"babel",
"typescript",
"rust",
"webpack",
"tsc"
],
"author": "강동윤 <kdy1997.dev@gmail.com>",
"homepage": "https://swc.rs",
"license": "Apache-2.0 AND MIT",
"engines": {
"node": ">=10"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/swc-project/swc.git"
},
"bugs": {
"url": "https://github.com/swc-project/swc/issues"
}
}

View File

@ -1,42 +1,42 @@
{
"name": "@swc/core-darwin-x64",
"version": "1.2.130",
"os": [
"darwin"
],
"cpu": [
"x64"
],
"main": "swc.darwin-x64.node",
"files": [
"swc.darwin-x64.node",
"swc"
],
"description": "Super-fast alternative for babel",
"keywords": [
"swc",
"swcpack",
"babel",
"typescript",
"rust",
"webpack",
"tsc"
],
"author": "강동윤 <kdy1997.dev@gmail.com>",
"homepage": "https://swc.rs",
"license": "Apache-2.0 AND MIT",
"engines": {
"node": ">=10"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/swc-project/swc.git"
},
"bugs": {
"url": "https://github.com/swc-project/swc/issues"
}
"name": "@swc/core-darwin-x64",
"version": "1.3.91",
"os": [
"darwin"
],
"cpu": [
"x64"
],
"main": "swc.darwin-x64.node",
"files": [
"swc.darwin-x64.node",
"swc"
],
"description": "Super-fast alternative for babel",
"keywords": [
"swc",
"swcpack",
"babel",
"typescript",
"rust",
"webpack",
"tsc"
],
"author": "강동윤 <kdy1997.dev@gmail.com>",
"homepage": "https://swc.rs",
"license": "Apache-2.0 AND MIT",
"engines": {
"node": ">=10"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/swc-project/swc.git"
},
"bugs": {
"url": "https://github.com/swc-project/swc/issues"
}
}

View File

@ -1,42 +1,42 @@
{
"name": "@swc/core-linux-arm-gnueabihf",
"version": "1.2.130",
"os": [
"linux"
],
"cpu": [
"arm"
],
"main": "swc.linux-arm-gnueabihf.node",
"files": [
"swc.linux-arm-gnueabihf.node",
"swc"
],
"description": "Super-fast alternative for babel",
"keywords": [
"swc",
"swcpack",
"babel",
"typescript",
"rust",
"webpack",
"tsc"
],
"author": "강동윤 <kdy1997.dev@gmail.com>",
"homepage": "https://swc.rs",
"license": "Apache-2.0 AND MIT",
"engines": {
"node": ">=10"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/swc-project/swc.git"
},
"bugs": {
"url": "https://github.com/swc-project/swc/issues"
}
"name": "@swc/core-linux-arm-gnueabihf",
"version": "1.3.91",
"os": [
"linux"
],
"cpu": [
"arm"
],
"main": "swc.linux-arm-gnueabihf.node",
"files": [
"swc.linux-arm-gnueabihf.node",
"swc"
],
"description": "Super-fast alternative for babel",
"keywords": [
"swc",
"swcpack",
"babel",
"typescript",
"rust",
"webpack",
"tsc"
],
"author": "강동윤 <kdy1997.dev@gmail.com>",
"homepage": "https://swc.rs",
"license": "Apache-2.0 AND MIT",
"engines": {
"node": ">=10"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/swc-project/swc.git"
},
"bugs": {
"url": "https://github.com/swc-project/swc/issues"
}
}

View File

@ -1,45 +1,45 @@
{
"name": "@swc/core-linux-arm64-gnu",
"version": "1.2.130",
"os": [
"linux"
],
"cpu": [
"arm64"
],
"main": "swc.linux-arm64-gnu.node",
"files": [
"swc.linux-arm64-gnu.node",
"swc"
],
"libc": [
"glibc"
],
"description": "Super-fast alternative for babel",
"keywords": [
"swc",
"swcpack",
"babel",
"typescript",
"rust",
"webpack",
"tsc"
],
"author": "강동윤 <kdy1997.dev@gmail.com>",
"homepage": "https://swc.rs",
"license": "Apache-2.0 AND MIT",
"engines": {
"node": ">=10"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/swc-project/swc.git"
},
"bugs": {
"url": "https://github.com/swc-project/swc/issues"
}
}
"name": "@swc/core-linux-arm64-gnu",
"version": "1.3.91",
"os": [
"linux"
],
"cpu": [
"arm64"
],
"main": "swc.linux-arm64-gnu.node",
"files": [
"swc.linux-arm64-gnu.node",
"swc"
],
"libc": [
"glibc"
],
"description": "Super-fast alternative for babel",
"keywords": [
"swc",
"swcpack",
"babel",
"typescript",
"rust",
"webpack",
"tsc"
],
"author": "강동윤 <kdy1997.dev@gmail.com>",
"homepage": "https://swc.rs",
"license": "Apache-2.0 AND MIT",
"engines": {
"node": ">=10"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/swc-project/swc.git"
},
"bugs": {
"url": "https://github.com/swc-project/swc/issues"
}
}

View File

@ -1,45 +1,45 @@
{
"name": "@swc/core-linux-arm64-musl",
"version": "1.2.130",
"os": [
"linux"
],
"cpu": [
"arm64"
],
"main": "swc.linux-arm64-musl.node",
"files": [
"swc.linux-arm64-musl.node",
"swc"
],
"libc": [
"musl"
],
"description": "Super-fast alternative for babel",
"keywords": [
"swc",
"swcpack",
"babel",
"typescript",
"rust",
"webpack",
"tsc"
],
"author": "강동윤 <kdy1997.dev@gmail.com>",
"homepage": "https://swc.rs",
"license": "Apache-2.0 AND MIT",
"engines": {
"node": ">=10"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/swc-project/swc.git"
},
"bugs": {
"url": "https://github.com/swc-project/swc/issues"
}
}
"name": "@swc/core-linux-arm64-musl",
"version": "1.3.91",
"os": [
"linux"
],
"cpu": [
"arm64"
],
"main": "swc.linux-arm64-musl.node",
"files": [
"swc.linux-arm64-musl.node",
"swc"
],
"libc": [
"musl"
],
"description": "Super-fast alternative for babel",
"keywords": [
"swc",
"swcpack",
"babel",
"typescript",
"rust",
"webpack",
"tsc"
],
"author": "강동윤 <kdy1997.dev@gmail.com>",
"homepage": "https://swc.rs",
"license": "Apache-2.0 AND MIT",
"engines": {
"node": ">=10"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/swc-project/swc.git"
},
"bugs": {
"url": "https://github.com/swc-project/swc/issues"
}
}

View File

@ -1,45 +1,45 @@
{
"name": "@swc/core-linux-x64-gnu",
"version": "1.2.130",
"os": [
"linux"
],
"cpu": [
"x64"
],
"main": "swc.linux-x64-gnu.node",
"files": [
"swc.linux-x64-gnu.node",
"swc"
],
"libc": [
"glibc"
],
"description": "Super-fast alternative for babel",
"keywords": [
"swc",
"swcpack",
"babel",
"typescript",
"rust",
"webpack",
"tsc"
],
"author": "강동윤 <kdy1997.dev@gmail.com>",
"homepage": "https://swc.rs",
"license": "Apache-2.0 AND MIT",
"engines": {
"node": ">=10"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/swc-project/swc.git"
},
"bugs": {
"url": "https://github.com/swc-project/swc/issues"
}
}
"name": "@swc/core-linux-x64-gnu",
"version": "1.3.91",
"os": [
"linux"
],
"cpu": [
"x64"
],
"main": "swc.linux-x64-gnu.node",
"files": [
"swc.linux-x64-gnu.node",
"swc"
],
"libc": [
"glibc"
],
"description": "Super-fast alternative for babel",
"keywords": [
"swc",
"swcpack",
"babel",
"typescript",
"rust",
"webpack",
"tsc"
],
"author": "강동윤 <kdy1997.dev@gmail.com>",
"homepage": "https://swc.rs",
"license": "Apache-2.0 AND MIT",
"engines": {
"node": ">=10"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/swc-project/swc.git"
},
"bugs": {
"url": "https://github.com/swc-project/swc/issues"
}
}

View File

@ -1,45 +1,45 @@
{
"name": "@swc/core-linux-x64-musl",
"version": "1.2.130",
"os": [
"linux"
],
"cpu": [
"x64"
],
"main": "swc.linux-x64-musl.node",
"files": [
"swc.linux-x64-musl.node",
"swc"
],
"libc": [
"musl"
],
"description": "Super-fast alternative for babel",
"keywords": [
"swc",
"swcpack",
"babel",
"typescript",
"rust",
"webpack",
"tsc"
],
"author": "강동윤 <kdy1997.dev@gmail.com>",
"homepage": "https://swc.rs",
"license": "Apache-2.0 AND MIT",
"engines": {
"node": ">=10"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/swc-project/swc.git"
},
"bugs": {
"url": "https://github.com/swc-project/swc/issues"
}
}
"name": "@swc/core-linux-x64-musl",
"version": "1.3.91",
"os": [
"linux"
],
"cpu": [
"x64"
],
"main": "swc.linux-x64-musl.node",
"files": [
"swc.linux-x64-musl.node",
"swc"
],
"libc": [
"musl"
],
"description": "Super-fast alternative for babel",
"keywords": [
"swc",
"swcpack",
"babel",
"typescript",
"rust",
"webpack",
"tsc"
],
"author": "강동윤 <kdy1997.dev@gmail.com>",
"homepage": "https://swc.rs",
"license": "Apache-2.0 AND MIT",
"engines": {
"node": ">=10"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/swc-project/swc.git"
},
"bugs": {
"url": "https://github.com/swc-project/swc/issues"
}
}

View File

@ -1,42 +1,42 @@
{
"name": "@swc/core-win32-arm64-msvc",
"version": "1.2.130",
"os": [
"win32"
],
"cpu": [
"arm64"
],
"main": "swc.win32-arm64-msvc.node",
"files": [
"swc.win32-arm64-msvc.node",
"swc.exe"
],
"description": "Super-fast alternative for babel",
"keywords": [
"swc",
"swcpack",
"babel",
"typescript",
"rust",
"webpack",
"tsc"
],
"author": "강동윤 <kdy1997.dev@gmail.com>",
"homepage": "https://swc.rs",
"license": "Apache-2.0 AND MIT",
"engines": {
"node": ">=10"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/swc-project/swc.git"
},
"bugs": {
"url": "https://github.com/swc-project/swc/issues"
}
"name": "@swc/core-win32-arm64-msvc",
"version": "1.3.91",
"os": [
"win32"
],
"cpu": [
"arm64"
],
"main": "swc.win32-arm64-msvc.node",
"files": [
"swc.win32-arm64-msvc.node",
"swc.exe"
],
"description": "Super-fast alternative for babel",
"keywords": [
"swc",
"swcpack",
"babel",
"typescript",
"rust",
"webpack",
"tsc"
],
"author": "강동윤 <kdy1997.dev@gmail.com>",
"homepage": "https://swc.rs",
"license": "Apache-2.0 AND MIT",
"engines": {
"node": ">=10"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/swc-project/swc.git"
},
"bugs": {
"url": "https://github.com/swc-project/swc/issues"
}
}

View File

@ -1,42 +1,42 @@
{
"name": "@swc/core-win32-ia32-msvc",
"version": "1.2.130",
"os": [
"win32"
],
"cpu": [
"ia32"
],
"main": "swc.win32-ia32-msvc.node",
"files": [
"swc.win32-ia32-msvc.node",
"swc.exe"
],
"description": "Super-fast alternative for babel",
"keywords": [
"swc",
"swcpack",
"babel",
"typescript",
"rust",
"webpack",
"tsc"
],
"author": "강동윤 <kdy1997.dev@gmail.com>",
"homepage": "https://swc.rs",
"license": "Apache-2.0 AND MIT",
"engines": {
"node": ">=10"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/swc-project/swc.git"
},
"bugs": {
"url": "https://github.com/swc-project/swc/issues"
}
"name": "@swc/core-win32-ia32-msvc",
"version": "1.3.91",
"os": [
"win32"
],
"cpu": [
"ia32"
],
"main": "swc.win32-ia32-msvc.node",
"files": [
"swc.win32-ia32-msvc.node",
"swc.exe"
],
"description": "Super-fast alternative for babel",
"keywords": [
"swc",
"swcpack",
"babel",
"typescript",
"rust",
"webpack",
"tsc"
],
"author": "강동윤 <kdy1997.dev@gmail.com>",
"homepage": "https://swc.rs",
"license": "Apache-2.0 AND MIT",
"engines": {
"node": ">=10"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/swc-project/swc.git"
},
"bugs": {
"url": "https://github.com/swc-project/swc/issues"
}
}

View File

@ -1,42 +1,42 @@
{
"name": "@swc/core-win32-x64-msvc",
"version": "1.2.130",
"os": [
"win32"
],
"cpu": [
"x64"
],
"main": "swc.win32-x64-msvc.node",
"files": [
"swc.win32-x64-msvc.node",
"swc.exe"
],
"description": "Super-fast alternative for babel",
"keywords": [
"swc",
"swcpack",
"babel",
"typescript",
"rust",
"webpack",
"tsc"
],
"author": "강동윤 <kdy1997.dev@gmail.com>",
"homepage": "https://swc.rs",
"license": "Apache-2.0 AND MIT",
"engines": {
"node": ">=10"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/swc-project/swc.git"
},
"bugs": {
"url": "https://github.com/swc-project/swc/issues"
}
"name": "@swc/core-win32-x64-msvc",
"version": "1.3.91",
"os": [
"win32"
],
"cpu": [
"x64"
],
"main": "swc.win32-x64-msvc.node",
"files": [
"swc.win32-x64-msvc.node",
"swc.exe"
],
"description": "Super-fast alternative for babel",
"keywords": [
"swc",
"swcpack",
"babel",
"typescript",
"rust",
"webpack",
"tsc"
],
"author": "강동윤 <kdy1997.dev@gmail.com>",
"homepage": "https://swc.rs",
"license": "Apache-2.0 AND MIT",
"engines": {
"node": ">=10"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/swc-project/swc.git"
},
"bugs": {
"url": "https://github.com/swc-project/swc/issues"
}
}

20
scripts/publish.sh Executable file
View File

@ -0,0 +1,20 @@
#!/usr/bin/env bash
set -eux
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
version="$1"
# Reset other changes
git commit $SCRIPT_DIR/publish.sh -m 'Update publish script' || true
git reset --hard
# Update swc_core
(cd ./bindings && cargo upgrade -p swc_core --recursive false)
# Update version
npm version "$version" --no-git-tag-version --allow-same-version
(cd ./bindings && cargo set-version $version -p binding_core_wasm -p binding_minifier_wasm)
(cd ./bindings && cargo set-version --bump patch -p swc_cli)