Commit Graph

515 Commits

Author SHA1 Message Date
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
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
Donny/강동윤
9c176632b1
refactor(visit): Pre-generate visitor code (#9262)
**Description:**

This would improve compile time by a margin, and this is a refactoring that should be done before applying `swc_allocator::boxed::Box` to ES AST.

This PR removes `swc_visit_macros` because we now use a simple binary to generate code before publishing.


**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/9101
2024-07-17 23:00:45 +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
Donny/강동윤
398dc21e07
feat(allocator): Add a cargo feature (#9239)
**Description:**

This PR is a part of https://github.com/swc-project/swc/pull/9230
2024-07-15 15:22:26 +09: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
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
Donny/강동윤
b129343c94
feat(es/typescript): Add swc_fast_ts_strip (#9143)
**Description:**

This PR also adds a CI process for each Wasm binding.

---------

Co-authored-by: magic-akari <akari.ccino@gmail.com>
2024-07-05 21:07:24 +09:00
강동윤 (Donny)
3d80173acd chore: Publish 1.6.8-nightly-20240704.3 with swc_core v0.96.3 2024-07-04 18:40:17 +09:00
강동윤 (Donny)
f04365a4cf chore: Publish 1.6.8-nightly-20240704.2 with swc_core v0.96.3 2024-07-04 18:26:07 +09:00
강동윤 (Donny)
178cbdd325 chore: Publish 1.6.8-nightly-20240704.1 with swc_core v0.96.2 2024-07-04 12:43:48 +09:00
강동윤 (Donny)
c12c8d93f3 chore: Publish 1.6.7 with swc_core v0.96.2 2024-07-03 23:10:46 +09:00
강동윤 (Donny)
917cf830fe chore: Publish 1.6.7-nightly-20240703.4 with swc_core v0.96.2 2024-07-03 15:57:49 +09:00
강동윤 (Donny)
e2527fb969 chore: Publish 1.6.7-nightly-20240703.3 with swc_core v0.96.2 2024-07-03 15:39:16 +09:00
강동윤 (Donny)
cffc68d9df chore: Publish 1.6.7-nightly-20240703.2 with swc_core v0.96.1 2024-07-03 10:40:52 +09:00
강동윤 (Donny)
50c0eaf4de chore: Publish 1.6.7-nightly-20240703.1 with swc_core v0.96.1 2024-07-03 10:23:39 +09:00
Donny/강동윤
6b3c0da755
feat(binding): Create Wasm package for stripping only TypeScript (#9124)
**Description:**

This PR adds a Wasm binding which is only capable of stripping TypeScript types.


**Related issue:**

 - https://github.com/marco-ippolito/node/pull/2
2024-07-03 00:50:59 +00:00
Pig Fang
18d6277e4c
feat(preset-env): Upgrade browserslist-rs (#9023)
**Description:**

Compilation time of browserslist-rs has beed reduced by 32%. See:
https://github.com/browserslist/browserslist-rs/pull/23

But, it's still slower that oxc-browserslist:


![image](https://github.com/swc-project/swc/assets/17216317/44602603-e33f-442e-9ee0-242061089397)

while browserslist-rs costs about 3.9s.




**Related issue:**

Close #9014

---------

Co-authored-by: 강동윤 (Donny) <kdy1997.dev@gmail.com>
2024-07-01 05:20:49 +00:00
강동윤 (Donny)
3ed3ff0e9a chore: Publish 1.6.6 with swc_core v0.95.10 2024-06-29 20:01:20 +09:00
강동윤 (Donny)
8e98fa0ba8 chore: Publish 1.6.5 with swc_core v0.95.6 2024-06-22 12:01:34 +09:00
강동윤 (Donny)
a56d311666 chore: Publish 1.6.4 with swc_core v0.95.6 2024-06-22 10:03:17 +09:00
강동윤 (Donny)
60ae1f75b5 chore: Publish 1.6.3 with swc_core v0.95.4 2024-06-19 13:03:59 +09:00
강동윤 (Donny)
e640972dae chore: Publish 1.6.1 with swc_core v0.95.2 2024-06-16 14:56:06 +09:00
강동윤 (Donny)
13c2b2eef0 chore: Publish 1.6.0 with swc_core v0.95.0 2024-06-15 22:01:17 +09:00
강동윤 (Donny)
3797b0b1af chore: Publish 1.5.30-nightly-20240614.2 with swc_core v0.94.0 2024-06-14 22:57:08 +09:00
강동윤 (Donny)
0e09be47da chore: Publish 1.5.30-nightly-20240614.1 with swc_core v0.94.0 2024-06-14 22:04:14 +09:00
강동윤 (Donny)
4ecda3851c chore: Publish 1.5.29 with swc_core v0.93.4 2024-06-13 09:15:07 +09:00
강동윤 (Donny)
1c9a050c6c chore: Publish 1.5.29-nightly-20240612.3 with swc_core v0.93.4 2024-06-12 23:27:24 +09:00