강동윤 (Donny)
d55d9659fc
chore: Fix Wasm publish action
2024-07-04 18:39:50 +09:00
Donny/강동윤
307b6f27a6
refactor(bindings/ts): Inline Wasm file into wasm.js
( #9139 )
...
**Description:**
Requested by https://github.com/marco-ippolito/node/pull/2/files#r1665267733
2024-07-04 18:23:55 +09:00
강동윤 (Donny)
b021dd237d
chore(ci): Fix Wasm publish action
2024-07-04 12:42:11 +09:00
Donny/강동윤
cdfd4c85e4
fix(ci): Restore disabled CI checks ( #9002 )
2024-07-04 12:24:05 +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
Donny/강동윤
1597c5dee5
chore: Improve Wasm publish pipeline ( #9123 )
...
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
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 Linux-x64-gnu - node@${{ matrix.node }} (18) (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 armv7-unknown-linux-gnueabihf - node@${{ matrix.node }} (18) (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
**Description:**
I'm going to create a TypeScript-strip-only Wasm publish pipeline so it can be used by node.js.
**Related issue:**
- https://github.com/marco-ippolito/node/pull/2
2024-07-03 08:10:02 +09:00
Donny/강동윤
2a490ad0b2
perf(es/parser): Remove unnecessary check ( #9102 )
...
**Description:**
We can skip some checks for error recovery.
2024-06-25 09:31:10 +09:00
Donny/강동윤
a8551592b2
feat(typescript): Implement Isolated Declaration ( #9086 )
...
**Description:**
This PR adds TypeScript Isolated Declarations implementation by forking Deno's implementation.
2024-06-21 09:54:59 +00:00
강동윤 (Donny)
ae6ab656fa
chore: Skip benchmark for chore:
commits
2024-06-17 16:59:19 +09:00
Donny/강동윤
aa59ca3727
chore: Restore benchmark action ( #9067 )
...
**Description:**
Let's restore https://swc.rs/docs/benchmarks
2024-06-17 16:08:01 +09:00
Donny/강동윤
2e153707a3
chore: Enable more tests for swc-ecosystem-ci
( #9065 )
2024-06-17 12:07:46 +09:00
Donny/강동윤
e755bce438
chore: Implement Verify release with ecosystem
( #9064 )
...
**Description:**
This is a follow-up PR for https://github.com/swc-project/swc/pull/9062 . This PR integrates swc-ecosystem-ci to publish pipeline. For faster debugging, I disabled the build process.
2024-06-17 08:58:52 +09:00
Donny/강동윤
2122756394
chore: Implement Publish nightly to npm
( #9062 )
...
**Description:**
This is a follow-up PR of https://github.com/swc-project/swc/pull/9061
2024-06-16 22:07:37 +09:00
Donny/강동윤
e7ec1e541d
chore: Reduce cache of CI ( #9063 )
2024-06-16 20:19:40 +09:00
Donny/강동윤
886bf0e9c2
chore: Implement Determine nightly version
( #9061 )
...
**Description:**
This is a follow-up PR of https://github.com/swc-project/swc/pull/9060 . I'll integrate `swc-ecosystem-ci` into publish pipeline to prevent regressions.
2024-06-16 19:29:18 +09:00
Donny/강동윤
79e737caac
chore: Prepare publish CI action ( #9060 )
...
**Description:**
I'm trying to build a publishing pipeline that verifies ecosystem packages before publishing.
2024-06-16 18:15:08 +09:00
강동윤 (Donny)
ea7191e185
chore: Fix nightly publish action
2024-06-14 23:56:07 +09:00
Donny/강동윤
3337bb26f9
fix(ci): Make publish action upload cli artifacts ( #9040 )
...
**Related issue:**
- Closes #9035
2024-06-12 14:22:08 +09:00
강동윤 (Donny)
e23af00a8c
chore(ci): Disable testing on node@20
2024-06-10 14:16:10 +09:00
Donny/강동윤
6fa79be081
feat(es/transforms): Add experimental output API for transforms ( #9000 )
...
**Description:**
This interface will provide a way to emit some outputs from transforms. This data will be emitted back to the JS caller.
2024-06-05 15:38:28 +09:00
강동윤 (Donny)
69a1fd652f
chore: Disable some tests
2024-05-30 12:59:57 +09:00
강동윤 (Donny)
da433862d4
chore: Use .npmrc
2024-05-30 11:15:32 +09:00
강동윤 (Donny)
482fcf55c7
chore: Use yarn workspaces
2024-05-29 23:07:38 +09:00
강동윤 (Donny)
e1488a62c4
chore: Disable node@20
for some jobs
2024-05-29 13:29:50 +09:00
강동윤 (Donny)
7ccd27a80e
chore: Revert bd6a86a8b5
2024-05-29 13:28:11 +09:00
강동윤 (Donny)
bd6a86a8b5
chore: Enable corepack
for all publish actions
2024-05-29 10:10:21 +09:00
강동윤 (Donny)
69cac24cc9
chore: Fix publish command by using cd
2024-05-29 07:44:05 +09:00
강동윤 (Donny)
82d82356d5
chore: Use static .yarnrc
2024-05-29 00:35:29 +09:00
강동윤 (Donny)
4c78c75700
chore: Use token while publishing
2024-05-29 00:23:14 +09:00
강동윤 (Donny)
c0979db821
chore: Fix publish pipeline by using a shared workspace
2024-05-28 23:49:32 +09:00
강동윤 (Donny)
dfd5e8180d
chore: Fix publish CI action
2024-05-28 16:16:43 +09:00
강동윤 (Donny)
d0c567085e
chore: Fix publish action
2024-05-28 12:24:15 +09:00
Donny/강동윤
9d83d50af4
chore(ci): Fix CI ( #8959 )
2024-05-18 10:44:19 +09:00
Donny/강동윤
f960d52364
refactor(bindings): Make @swc/core
a subpackage ( #8625 )
...
**Description:**
This is for consistency and future extensions.
2024-05-18 09:23:06 +09:00
LongYinan
65ea99ec6f
chore(ci): Fix macOS x64 build & publish job ( #8901 )
...
`macos-latest` runner was upgraded to `macos-14-arm64`. We need to add `--target x86_64-apple-darwin` explicitly
- Closes https://github.com/swc-project/swc/issues/8898
2024-04-29 10:22:32 +09:00
Donny/강동윤
a1c5415b3b
feat(es/transforms): Allocate stacks dynamically ( #8867 )
...
**Description:**
- This PR introduces an in-tree testing system for Deno.
- This PR adds `stacker` cargo-feature to `swc_ecma_utils`.
**Related issue:**
- #1627
- Closes #8840
2024-04-16 19:43:58 +09:00
LongYinan
b0df6e5341
chore(ci): Add miri tests ( #8847 )
...
It can help to find some UB in swc
2024-04-12 03:59:25 +00:00
강동윤 (Donny)
aa4ed06fe5
chore: Allow gist.github.com for repros
2024-04-09 09:54:52 +09:00
Donny/강동윤
8a3d6f85f7
chore(ci): Fix cargo deny action ( #8699 )
2024-03-06 03:55:42 +00:00
Donny/강동윤
761365eb56
fix(es/module): Allow FileName::Anon
from node resolver ( #8686 )
...
**Related issue:**
- Closes #8674
2024-03-04 09:36:17 +00:00
Donny/강동윤
6726b631e6
build(cargo): Update rustc
to nightly-2024-02-06
( #8618 )
2024-02-13 13:32:49 +09:00
Donny/강동윤
6c50ff1bec
refactor(bindings): Remove bindings for experimental packages ( #8600 )
...
**Description:**
These packages do not have the same versioning strategy as the main package.
2024-02-05 17:52:22 +09:00
Donny/강동윤
c7236cf077
chore: Add stackblitz.com
to nissuer.yml
2024-01-18 23:13:55 +09:00
Donny/강동윤
2ef9ed663a
chore(ci): Fix license check ( #8441 )
2023-12-21 13:40:52 +09:00
Donny/강동윤
c39ba68207
chore(ci): Fix publish action ( #8420 )
2023-12-13 10:41:40 +00:00
LongYinan
4b8184ca99
chore(ci): Add linux arm build back ( #8406 )
2023-12-11 04:45:04 +00:00
Donny/강동윤
25a5189191
chore(ci): Fix publish action ( #8400 )
2023-12-08 04:43:32 +09:00
강동윤 (Donny)
5631b79d75
chore: Fix issue template
2023-12-08 04:38:57 +09:00
강동윤 (Donny)
8ac47a370e
chore: Fix publish action
2023-11-21 11:50:27 +09:00
Donny/강동윤
99ad5022d1
chore: Publish v1.3.98
with swc_core
v0.86.73
( #8321 )
2023-11-21 10:21:44 +09:00