Commit Graph

457 Commits

Author SHA1 Message Date
SWC Bot
a66a95dd4f chore: Publish 1.7.5-nightly-20240801.4 with swc_core v0.99.6 2024-08-01 13:47:27 +00:00
SWC Bot
547b51ccf0 chore: Publish 1.7.5-nightly-20240801.3 with swc_core v0.99.6 2024-08-01 12:54:59 +00:00
SWC Bot
7c62acb343 chore: Publish 1.7.5-nightly-20240801.2 with swc_core v0.99.5 2024-08-01 10:58:06 +00:00
SWC Bot
d2cb842eaf chore: Publish 1.7.5-nightly-20240801.1 with swc_core v0.99.5 2024-08-01 06:09:53 +00:00
SWC Bot
6d5ac54648 chore: Publish 1.7.4 with swc_core v0.99.5 2024-07-31 15:44:16 +00:00
SWC Bot
c979849177 chore: Publish 1.7.4-nightly-20240731.1 with swc_core v0.99.5 2024-07-31 14:45:42 +00:00
SWC Bot
d4c3795252 chore: Publish 1.7.4-nightly-20240729.1 with swc_core v0.99.5 2024-07-29 06:01:13 +00:00
SWC Bot
0921bb3e0d chore: Publish 1.7.3 with swc_core v0.99.5 2024-07-27 18:43:56 +00:00
SWC Bot
54e766ed39 chore: Publish 1.7.3-nightly-20240727.1 with swc_core v0.99.5 2024-07-27 17:46:48 +00:00
SWC Bot
8fe5069cb6 chore: Publish 1.7.2 with swc_core v0.99.5 2024-07-25 14:41:18 +00:00
SWC Bot
1cbff975d0 chore: Publish 1.7.2-nightly-20240725.2 with swc_core v0.99.5 2024-07-25 07:41:41 +00:00
SWC Bot
0996f9fbda chore: Publish 1.7.2-nightly-20240725.1 with swc_core v0.99.5 2024-07-25 03:52:20 +00:00
SWC Bot
5bf3fa7f3e chore: Publish 1.7.1 with swc_core v0.99.4 2024-07-24 05:48:25 +00:00
SWC Bot
29bf7a3f44 chore: Publish 1.7.1-nightly-20240724.2 with swc_core v0.99.4 2024-07-24 04:50:43 +00:00
SWC Bot
6902806b92 chore: Publish 1.7.1-nightly-20240724.1 with swc_core v0.99.4 2024-07-24 02:14:41 +00:00
SWC Bot
4e92053ac1 chore: Publish 1.7.1-nightly-20240723.1 with swc_core v0.99.3 2024-07-23 08:02:47 +00:00
SWC Bot
273939f7bd chore: Publish 1.7.1-nightly-20240722.1 with swc_core v0.99.3 2024-07-22 08:02:21 +00:00
강동윤 (Donny)
7514d9b705 chore: Publish @swc/types@0.1.12
Some checks are pending
CI / Cargo fmt (push) Waiting to run
CI / Cargo clippy (push) Waiting to run
CI / Check license of dependencies (push) Waiting to run
CI / Check (macos-latest) (push) Waiting to run
CI / Check (ubuntu-latest) (push) Waiting to run
CI / Check (windows-latest) (push) Waiting to run
CI / Test wasm (binding_core_wasm) (push) Waiting to run
CI / Test wasm (binding_minifier_wasm) (push) Waiting to run
CI / Test wasm (binding_typescript_wasm) (push) Waiting to run
CI / List crates (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (push) Blocked by required conditions
CI / Test node bindings - ${{ matrix.os }} (macos-latest) (push) Waiting to run
CI / Test node bindings - ${{ matrix.os }} (windows-latest) (push) Waiting to run
CI / Test with @swc/cli (push) Waiting to run
CI / Miri (better_scoped_tls) (push) Waiting to run
CI / Miri (string_enum) (push) Waiting to run
CI / Miri (swc) (push) Waiting to run
CI / Miri (swc_bundler) (push) Waiting to run
CI / Miri (swc_ecma_codegen) (push) Waiting to run
CI / Miri (swc_ecma_minifier) (push) Waiting to run
CI / Done (push) Blocked by required conditions
Benchmark / Bench everything (push) Waiting to run
2024-07-21 23:46:03 +09:00
강동윤 (Donny)
068eb0062d chore: Publish @swc/types@0.1.11 2024-07-21 23:08:22 +09:00
SWC Bot
f09b94fb28 chore: Publish 1.7.1-nightly-20240721.2 with swc_core v0.99.3 2024-07-21 12:31:30 +00:00
SWC Bot
7073ca0f11 chore: Publish 1.7.1-nightly-20240721.1 with swc_core v0.99.3 2024-07-21 04:53:04 +00:00
강동윤 (Donny)
51d3f8dbb2 chore: Publish @swc/types@0.1.10 2024-07-21 04:04:40 +09:00
neverland
567f40d797
fix(bindings/types): Add missing mangle options (#9298)
**Description:**

Add missing mangle options to be consistent with the SWC documentation:

https://swc.rs/docs/configuration/minification#jscminifymangle


![image](https://github.com/user-attachments/assets/34b12efd-d1e0-4ab0-a4e2-82419f66d8a6)
2024-07-20 13:19:00 +00:00
SWC Bot
a0ff90fbf1 chore: Publish 1.7.0 with swc_core v0.99.1 2024-07-18 03:48:10 +00:00
SWC Bot
c6c24b0318 chore: Publish 1.7.0-nightly-20240718.3 with swc_core v0.99.1 2024-07-18 02:49:12 +00:00
SWC Bot
880e3a477d chore: Publish 1.7.0-nightly-20240718.2 with swc_core v0.99.1 2024-07-18 01:29:32 +00:00
SWC Bot
451fd6893c chore: Publish 1.7.0-nightly-20240718.1 with swc_core v0.99.0 2024-07-18 00:36:08 +00:00
SWC Bot
4a87670638 chore: Publish 1.7.0-nightly-20240717.3 with swc_core v0.98.0 2024-07-17 20:15:39 +00:00
SWC Bot
b998a0a765 chore: Publish 1.7.0-nightly-20240717.2 with swc_core v0.98.0 2024-07-17 19:50:04 +00:00
SWC Bot
933a7be7b5 chore: Publish 1.7.0-nightly-20240717.1 with swc_core v0.98.0 2024-07-17 19:40:33 +00:00
SWC Bot
cb0ff00c73 chore: Publish 1.7.0-nightly-20240715.2 with swc_core v0.97.5 2024-07-15 10:17:43 +00:00
SWC Bot
0891fb8aba chore: Publish 1.7.0-nightly-20240715.1 with swc_core v0.97.4 2024-07-15 07:45:23 +00:00
SWC Bot
e5f6efa97e chore: Publish 1.7.0-nightly-20240714.1 with swc_core v0.97.2 2024-07-14 15:53:09 +00:00
강동윤 (Donny)
9fc089662e chore: Publish @swc/helpers@v0.5.12 2024-07-13 17:14:27 +09:00
Jiwon Choi
69719c2acb
refactor(es/helpers): Remove unnecessary exports (#9225)
**Description:**

Helper methods were exporting twice, `_` and it's own function name.
We can map the build script to export `_` as it's own name (filename).
Therefore we export only once as `_`, and map the name on the build
script.

```js
// helpers/_foo.js

function _foo() {
  // ...
}

export { _foo as _ }
```
```js
// index.js

// We know the func name will be `_foo` based on the filename.
export { _ as _foo } from '_foo.js'
```

Closes #9203

---------

Co-authored-by: magic-akari <akari.ccino@gmail.com>
2024-07-13 17:13:25 +09:00
SWC Bot
01dd7559ac chore: Publish 1.7.0-nightly-20240713.1 with swc_core v0.97.1 2024-07-13 08:04:56 +00:00
Donny/강동윤
c40b5b97e4
chore(ci): Fix CI (#9219) 2024-07-12 15:06:53 +09:00
SWC Bot
d5ee84acf2 chore: Publish 1.6.13 with swc_core v0.96.9 2024-07-06 16:31:20 +00:00
SWC Bot
784a3c0773 chore: Publish 1.6.13-nightly-20240706.1 with swc_core v0.96.9 2024-07-06 15:33:06 +00:00
SWC Bot
4dc62950a5 chore: Publish 1.6.12 with swc_core v0.96.7 2024-07-06 11:11:06 +00:00
SWC Bot
b9e13993ed chore: Publish 1.6.12-nightly-20240706.2 with swc_core v0.96.7 2024-07-06 10:14:22 +00:00
SWC Bot
db888c539e chore: Publish 1.6.12-nightly-20240706.1 with swc_core v0.96.7
Some checks are pending
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (map[crate:swc_plugin_testing os:windows-latest runner:windows-latest]) (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (map[crate:swc_timer os:ubuntu-latest runner:ubuntu-latest]) (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (map[crate:swc_trace_macro os:ubuntu-latest runner:ubuntu-latest]) (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (map[crate:swc_transform_common os:ubuntu-latest runner:ubuntu-latest]) (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (map[crate:swc_typescript os:ubuntu-latest runner:ubuntu-latest]) (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (map[crate:swc_visit os:ubuntu-latest runner:ubuntu-latest]) (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (map[crate:swc_visit_macros os:ubuntu-latest runner:ubuntu-latest]) (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (map[crate:swc_x_optimizer os:ubuntu-latest runner:ubuntu-latest]) (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (map[crate:swc_xml os:ubuntu-latest runner:ubuntu-latest]) (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (map[crate:swc_xml_ast os:ubuntu-latest runner:ubuntu-latest]) (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (map[crate:swc_xml_codegen os:ubuntu-latest runner:ubuntu-latest]) (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (map[crate:swc_xml_codegen_macros os:ubuntu-latest runner:ubuntu-latest]) (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (map[crate:swc_xml_parser os:ubuntu-latest runner:ubuntu-latest]) (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (map[crate:swc_xml_visit os:ubuntu-latest runner:ubuntu-latest]) (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (map[crate:testing os:ubuntu-latest runner:ubuntu-latest]) (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (map[crate:testing_macros os:ubuntu-latest runner:ubuntu-latest]) (push) Waiting to run
CI / Test node bindings - ${{ matrix.os }} (macos-latest) (push) Waiting to run
CI / Test node bindings - ${{ matrix.os }} (windows-latest) (push) Waiting to run
CI / Test with @swc/cli (push) Waiting to run
CI / Miri (better_scoped_tls) (push) Waiting to run
CI / Miri (string_enum) (push) Waiting to run
CI / Miri (swc) (push) Waiting to run
CI / Miri (swc_bundler) (push) Waiting to run
CI / Miri (swc_ecma_codegen) (push) Waiting to run
CI / Miri (swc_ecma_minifier) (push) Waiting to run
CI / Done (push) Blocked by required conditions
Benchmark / List crates (push) Waiting to run
Benchmark / Bench ${{ matrix.crate }} (push) Blocked by required conditions
Benchmark / Process result (push) Blocked by required conditions
Bot / Start (push) Waiting to run
2024-07-06 07:44:52 +00:00
SWC Bot
6a4c1d379f chore: Publish 1.6.11-nightly-20240706.1 with swc_core v0.96.7 2024-07-06 06:37:43 +00:00
SWC Bot
02441ac045 chore: Publish 1.6.9-nightly-20240706.6 with swc_core v0.96.6 2024-07-06 04:58:14 +00:00
SWC Bot
787d6154c1 chore: Publish 1.6.9-nightly-20240706.5 with swc_core v0.96.6 2024-07-06 03:55:07 +00:00
SWC Bot
e4211ba9b1 chore: Publish 1.6.9-nightly-20240706.4 with swc_core v0.96.6 2024-07-06 02:02:32 +00:00
Donny/강동윤
8b4d4676be
chore(ci): Tag releases from new publish pipeline (#9156) 2024-07-06 10:35:17 +09:00
강동윤 (Donny)
2052b4c857 chore: Publish 1.6.8-nightly-20240706.1 with swc_core v0.96.6 2024-07-06 08:30:53 +09:00
강동윤 (Donny)
1a71601fc2 chore: Publish 1.6.8-nightly-20240705.2 with swc_core v0.96.5
Some checks are pending
CI / Done (push) Blocked by required conditions
Benchmark / List crates (push) Waiting to run
Benchmark / Bench ${{ matrix.crate }} (push) Blocked by required conditions
Benchmark / Process result (push) Blocked by required conditions
Bot / Start (push) Waiting to run
Publish (core) / stable - ${{ matrix.settings.target }} - node@20 (map[build:cargo build --manifest-path ../../bindings/swc_cli/Cargo.toml --release --features plugin --target x86_64-apple-darwin cp ../../bindings/target/x86_64-apple-darwin/release/swc . chmod +x ./swc… (push) Waiting to run
Publish (core) / stable - ${{ matrix.settings.target }} - node@20 (map[build:export CARGO_PROFILE_RELEASE_LTO=false yarn build --target x86_64-pc-windows-msvc cargo build --manifest-path ../../bindings/swc_cli/Cargo.toml --release --features plugin --target x86_64-pc-w… (push) Waiting to run
Publish (core) / stable - ${{ matrix.settings.target }} - node@20 (map[build:export DISABLE_PLUGIN_E2E_TESTS=true export CARGO_PROFILE_RELEASE_CODEGEN_UNITS=256 export CARGO_PROFILE_RELEASE_LTO=false cargo build --manifest-path ../../bindings/swc_cli/Cargo.toml --relea… (push) Waiting to run
Publish (core) / stable - ${{ matrix.settings.target }} - node@20 (map[build:export DISABLE_PLUGIN_E2E_TESTS=true export CARGO_PROFILE_RELEASE_LTO=false cargo build --manifest-path ../../bindings/swc_cli/Cargo.toml --release --target i686-pc-windows-msvc cp ../../bindi… (push) Waiting to run
Publish (core) / stable - ${{ matrix.settings.target }} - node@20 (map[build:export DISABLE_PLUGIN_E2E_TESTS=true yarn napi build --bin swc --release --target armv7-unknown-linux-gnueabihf --manifest-path ../../bindings/swc_cli/Cargo.toml -x --target-dir ../release -o … (push) Waiting to run
Publish (core) / stable - ${{ matrix.settings.target }} - node@20 (map[build:export JEMALLOC_SYS_WITH_LG_PAGE=16 && rustup toolchain install $(cat ../../rust-toolchain) && rustup target add aarch64-unknown-linux-musl && RUSTFLAGS='-C target-feature=+crt-static -C link-… (push) Waiting to run
Publish (core) / stable - ${{ matrix.settings.target }} - node@20 (map[build:set -e && export CARGO_PROFILE_RELEASE_LTO=false && RUSTFLAGS='-C target-feature=+sse2' cargo build --manifest-path ../../bindings/swc_cli/Cargo.toml --release --features plugin --target x86_6… (push) Waiting to run
Publish (core) / stable - ${{ matrix.settings.target }} - node@20 (map[build:set -e && export JEMALLOC_SYS_WITH_LG_PAGE=16 && rustup target add aarch64-unknown-linux-gnu && RUSTFLAGS='' cargo build --manifest-path ../../bindings/swc_cli/Cargo.toml --release --features … (push) Waiting to run
Publish (core) / stable - ${{ matrix.settings.target }} - node@20 (map[build:set -e && unset CC_x86_64_unknown_linux_gnu && unset CC && RUSTFLAGS='-C target-feature=+sse2' cargo build --manifest-path ../../bindings/swc_cli/Cargo.toml --release --features plugin --targe… (push) Waiting to run
Publish (core) / stable - ${{ matrix.settings.target }} - node@20 (map[build:sudo rm -Rf /Library/Developer/CommandLineTools/SDKs/*; export CC=$(xcrun -f clang); export CXX=$(xcrun -f clang++); SYSROOT=$(xcrun --sdk macosx --show-sdk-path); export CFLAGS="-isysroot $SY… (push) Waiting to run
Publish (core) / Test bindings on ${{ matrix.settings.target }} - node@${{ matrix.node }} (18, map[host:macos-latest target:x86_64-apple-darwin]) (push) Blocked by required conditions
Publish (core) / Test bindings on ${{ matrix.settings.target }} - node@${{ matrix.node }} (18, map[host:windows-latest target:x86_64-pc-windows-msvc]) (push) Blocked by required conditions
Publish (core) / Test bindings on ${{ matrix.settings.target }} - node@${{ matrix.node }} (20, map[host:macos-latest target:x86_64-apple-darwin]) (push) Blocked by required conditions
Publish (core) / Test bindings on ${{ matrix.settings.target }} - node@${{ matrix.node }} (20, map[host:windows-latest target:x86_64-pc-windows-msvc]) (push) Blocked by required conditions
Publish (core) / Test bindings on Linux-x64-gnu - node@${{ matrix.node }} (18) (push) Blocked by required conditions
Publish (core) / Test bindings on Linux-x64-gnu - node@${{ matrix.node }} (20) (push) Blocked by required conditions
Publish (core) / Test bindings on x86_64-unknown-linux-musl - node@${{ matrix.node }} (18) (push) Blocked by required conditions
Publish (core) / Test bindings on x86_64-unknown-linux-musl - node@${{ matrix.node }} (20) (push) Blocked by required conditions
Publish (core) / Test bindings on aarch64-unknown-linux-musl - node@lts (push) Blocked by required conditions
Publish (core) / Test bindings on armv7-unknown-linux-gnueabihf - node@${{ matrix.node }} (18) (push) Blocked by required conditions
Publish (core) / Test bindings on armv7-unknown-linux-gnueabihf - node@${{ matrix.node }} (20) (push) Blocked by required conditions
Publish (core) / npm (push) Blocked by required conditions
Publish (core) / Build - wasm (${{ matrix.settings.npm }}) for node.js (map[crate:binding_core_wasm npm:@swc\/wasm target:nodejs]) (push) Waiting to run
Publish (core) / Build - wasm (${{ matrix.settings.npm }}) for node.js (map[crate:binding_core_wasm npm:@swc\/wasm-web target:web]) (push) Waiting to run
Publish (core) / Build - wasm (${{ matrix.settings.npm }}) for node.js (map[crate:binding_typescript_wasm npm:@swc\/wasm-typescript target:nodejs]) (push) Waiting to run
2024-07-05 21:53:11 +09:00
강동윤 (Donny)
e2ae26bbdd chore: Publish 1.6.8-nightly-20240705.1 with swc_core v0.96.5 2024-07-05 21:47:37 +09:00