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
Donny/강동윤
aac11e712b
chore(ci): Fix CI issue due to yarn
( #8319 )
2023-11-20 17:57:16 +00:00
David Sherret
7bbe5e67d9
refactor: Remove swc_ecma_dep_graph
( #8290 )
2023-11-15 17:47:16 +00:00
Donny/강동윤
9a0572b968
refactor(swc_node_base): Rename to swc_malloc
( #8272 )
...
**Description:**
This is quite convinient.
2023-11-11 19:10:56 +00:00
Donny/강동윤
ee0c12e4e7
chore(ci): Fix CI ( #8267 )
2023-11-12 02:25:36 +09:00
강동윤 (Donny)
d4e21fcb78
chore: Fix publish action
2023-11-01 13:19:46 +09:00
Donny/강동윤
8db80b8c28
fix(ci): Set tag
for wasm publish actions ( #8200 )
2023-10-31 18:27:07 +09:00
Donny/강동윤
e446942e17
chore(ci): Remove benchmark action ( #8192 )
...
It's not used at the moment, while creating noticeable cost
2023-10-30 07:32:44 +09:00
강동윤 (Donny)
115f6fe4ae
chore: Add lightningcss.dev
to the allowed repro domain list
2023-10-25 09:57:47 -07:00
Donny/강동윤
affb6fb5e3
refactor(es/compat): Split swc_ecma_transforms_compat
( #8110 )
...
**Description:**
- New: `cargo build --release 478.59s user 19.16s system 814% cpu 1:01.09 total`
- Prev: `cargo build --release 495.60s user 18.89s system 742% cpu 1:09.26 total`
2023-10-12 10:08:00 +00:00
강동윤 (Donny)
5779a7e26c
chore(ci): Use --tag
of npm publish
2023-10-12 10:10:37 +09:00
Donny/강동윤
9d773bfa12
chore(xtask): Add a command for nigjtly build ( #8104 )
2023-10-12 07:48:28 +09:00
Donny/강동윤
226b17fa86
chore(ci): Remove unused concurrency tests ( #8100 )
2023-10-11 21:40:49 +09:00
Donny/강동윤
f5d7acfa10
chore(xtask): Add --features
to xtask bench
( #8094 )
2023-10-11 05:21:25 +00:00
강동윤 (Donny)
c26ee63839
chore: Add evanw.github.io
to the allowed repro hosts
2023-10-05 16:18:46 +09:00
Balázs Orbán
a2f1010b4e
chore: Update nissuer.yml ( #8060 )
...
See https://github.com/swc-project/swc/issues/8059#issuecomment-1744960852
2023-10-03 16:47:13 +00:00
강동윤 (Donny)
a5558236b7
chore: Configure issue validator
2023-10-03 12:42:09 +09:00
Donny/강동윤
2a508bcb9a
chore: Configure nissuer
( #8053 )
...
**Description:**
Add https://github.com/marketplace/actions/nissuer to the repository.
2023-10-03 03:33:37 +00:00
강동윤 (Donny)
0c8d8a3f4a
chore: Fix CI
2023-10-03 01:08:43 +09:00
강동윤 (Donny)
9c9c03b76b
chore: Fix CI condition
2023-10-03 01:06:49 +09:00
Donny/강동윤
f717cf21cc
refactor(cli): Make CLI testable/managable with swc-bump
( #8045 )
...
**Description:**
It was hard to maintain CLI because actual logic was in `./bindings`.
2023-10-02 15:46:14 +00:00
강동윤 (Donny)
77b8591d86
chore(ci): Fix publish action for minifier
2023-10-02 14:09:02 +09:00
강동윤 (Donny)
8ddb0dafa2
chore(ci): Fix publish action
2023-10-02 12:41:23 +09:00
강동윤 (Donny)
dec68c3212
chore(ci): Remove wrong if
s
2023-09-30 05:54:53 +09:00
Donny/강동윤
186ecfadb5
chore(ci): Expose more crates to JS ( #8033 )
2023-09-29 20:52:40 +00:00
Donny/강동윤
8214b9ed4e
chore(ci): Prepare @swc/minifier
( #8027 )
2023-09-29 19:51:00 +00:00
Donny/강동윤
64d8f4b59f
feat(bindings): Create a minifier-only package ( #7993 )
2023-09-29 08:47:59 +00:00
Donny/강동윤
ab39f1c3c8
chore(ci): Cleanup CI ( #7787 )
...
**Description**:
- Disable `crev` action.
- Cleanup compilation check matrix.
- Update `cargo-hack`.
2023-08-09 08:35:36 +00:00
LongYinan
fa7e4289bd
chore(ci): Fix permissions of publish action ( #7768 )
2023-08-07 17:16:05 +09:00
Donny/강동윤
dc5135f43f
buiild(bindings/wasm): Fix Wasm build ( #7666 )
...
**Related issue:**
- Closes #7663 .
2023-07-18 03:33:46 +00:00
Donny/강동윤
724e75d256
chore(ci): Change condition for ci
testing ( #7533 )
2023-06-21 09:05:21 +00:00
LongYinan
e4e77fd84f
chore(ci): Publish npm packages with provenance option ( #7481 )
2023-06-03 16:05:42 +09:00
Donny/강동윤
e15adaf6ea
chore(es/preset-env): Update data ( #7459 )
2023-05-28 13:27:38 +00:00
Donny/강동윤
578960d321
chore(ci): Fix crev action ( #7272 )
2023-04-15 07:53:43 +09:00
OJ Kwon
6bd58cbcfd
refactor(plugin): Remove bytecheck
flag ( #7256 )
2023-04-13 05:49:58 +00:00
OJ Kwon
56bdacc72d
feat(plugin/runner): Update wasmer
to v3
( #7197 )
...
**Description:**
This PR reattempts https://github.com/swc-project/swc/pull/5456 .
Most of the changes are for the breaking changes of wasmer@3, as well as enabling rkyv's strict mode (https://github.com/swc-project/swc/pull/6922 ). This could not be seperated since wasmer@3 enables strict mode by default without a way to turn it off.
There are a couple of changes worth noting:
- Disabling in-memory module lookup: https://github.com/swc-project/swc/pull/7197/files#diff-3bda5def6ce2b7553c3b3a5ad241c0bdb7021e67b7de1e594df4cd5a54d403b3R154-R159
- Disabling plugin_runner in bindings_wasm: https://github.com/swc-project/swc/pull/7197/files#diff-dc3ded556a1fd709a129acd588e5eda651b842c6acc3f5340d40088a1f927facR310-R312
- Skipping plugin compat test: https://github.com/swc-project/swc/pull/7197/files#diff-531197dfcefba05faca53f0cf442ecc2dc6b59d5ead01979f5ffb912aa36249aR64-R66
2023-04-10 03:40:25 +00:00
Donny/강동윤
5e58b3e5f6
feat(css/parser): Add legacy_ie
to the ParserConfig
( #7109 )
2023-03-27 15:02:18 +09:00
Donny/강동윤
915f747cb7
refactor(es/parser): Remove EnumKind
to reduce compile time ( #7137 )
2023-03-24 11:40:26 +09:00
Donny/강동윤
f36d945a33
fix(es/parser): Fix stack overflow due to deeply nested if ( #6910 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6813 .
2023-02-07 14:33:13 +00:00
Donny/강동윤
1ef2347bdf
chore(ci): Make stale action to wait 30 days ( #6828 )
2023-01-17 15:54:17 +09:00
Donny/강동윤
7e6e7b107e
chore(ci): Fix publish action ( #6757 )
...
Co-authored-by: LongYinan <lynweklm@gmail.com>
2023-01-06 08:43:32 +09:00
Donny/강동윤
ed2277fc07
chore(ci): Fix publish action
2023-01-05 19:58:28 +09:00
Donny/강동윤
154c315d91
chore(ci): Fix benchmark action ( #6596 )
...
**Description:**
It's broken due to the 6-hour time limit of GitHub actions. To fix it, this PR changes the machine type to `ubuntu-large`.
2022-12-08 11:05:53 +09:00
Donny/강동윤
8cdc28cdfa
feat(css/plugin): Prepare Wasm plugins ( #6567 )
2022-12-02 10:14:46 +00:00
Donny/강동윤
85875897f1
chore(ci): Fix CI ( #6558 )
2022-12-01 04:21:19 +00:00
OJ Kwon
80834843f4
chore(ci): Add debug logs for cli binaries ( #6556 )
2022-11-30 20:58:54 +00:00
Donny/강동윤
ae6322064d
feat(es/preset-env): Update data ( #6538 )
2022-11-30 04:27:59 +00:00
Donny/강동윤
d56b5a890a
chore(bindings): Fix jemalloc on aarch64 ( #6541 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/5967 .
2022-11-29 20:16:37 +09:00
OJ Kwon
4f8af16156
build(publish): Upload cli binaries to github release ( #6495 )
2022-11-22 08:41:12 +00:00
OJ Kwon
78af96e507
chore(ci): Skip benchmark for forks ( #6489 )
2022-11-21 04:17:02 +00:00
OJ Kwon
7fe091af1f
chore(ci): Reduce trigger scope for PRs ( #6486 )
2022-11-21 00:54:01 +00:00
Alexander Akait
08a9e21b36
feat(es/codegen): Skip whitespaces for comments in minify mode ( #6465 )
...
Co-authored-by: Donny/강동윤 <kdy1997.dev@gmail.com>
2022-11-20 10:03:26 +00:00
OJ Kwon
dd4b9e87de
refactor(bindings): Deprecate jsvalue::*_serde
( #6462 )
2022-11-18 10:21:23 +09:00
Donny/강동윤
375fe85ce2
chore: Publish v1.13.17
( #6442 )
2022-11-15 05:48:57 +00:00
OJ Kwon
8ca3cc7875
chore(ci): Ensure to honor node package manager ( #6437 )
2022-11-15 00:52:44 +00:00
Daiki Nishikawa
f6faeb3bad
fix(es/parser): Fix parsing of TS satisfies
expressions ( #6354 )
2022-11-07 03:56:15 +00:00
Donny/강동윤
241f9f05cb
chore: Publish v1.3.13
( #6320 )
2022-11-03 09:33:56 +09:00
Donny/강동윤
0967e8f06d
chore(ci): Enforce clippy for all targets ( #6299 )
2022-10-31 16:59:29 +09:00
Donny/강동윤
39168865c8
chore(ci): Fix publish action
2022-10-26 18:52:15 +09:00
Donny/강동윤
83c98507e7
chore: Fix publish action
2022-10-26 16:26:06 +09:00
Donny/강동윤
55a836ac82
chore: Add lock action
2022-10-16 09:47:14 +09:00
Donny/강동윤
d6fd476721
chore(ci): Deny clippy warnings ( #6126 )
2022-10-12 04:59:54 +00:00
Donny/강동윤
347d4b7602
feat(css/compat): Implement transform for nested css ( #6077 )
2022-10-07 05:18:14 +00:00
Donny/강동윤
39481c622c
chore(ci): Extract bot action to a separate repository ( #6064 )
2022-10-06 12:44:58 +09:00
Donny/강동윤
2cce1c82b2
feat(css/modules): Implement css modules ( #6000 )
2022-10-05 05:48:28 +00:00
Donny/강동윤
10fb645552
chore(ci): Merge CI scripts ( #5999 )
...
**Description:**
This PR merges CI scripts, and make integration tests use patched crates.
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/5540 .
2022-09-30 16:57:15 +09:00
Donny/강동윤
19131e168e
perf(es): Don't share Globals
( #5975 )
...
**Description:**
We don't need to share an instance of `Globals`.
2022-09-28 10:34:30 +00:00
Donny/강동윤
d0e2e3c43b
fix(es/testing): Remove cycle
2022-09-26 18:25:05 +09:00
Donny/강동윤
2ba88154fc
fix(es/codegen): Align sourcemap with terser ( #5657 )
2022-09-26 18:12:42 +09:00
Donny/강동윤
3c3529cb84
build(rustc): Update rustc ( #5943 )
...
**Description:**
This PR updates rustc, and fix some performance bugs of `swc_common`.
2022-09-24 03:33:47 +00:00
Donny/강동윤
20d071bdc7
test(es/plugin): Add a noop plugin ( #5892 )
...
**Description:**
The plugin is used for benchmark and verification of rkyv.
2022-09-18 09:54:06 +00:00
Donny/강동윤
9ca3966686
chore(ci): Reduce CI time ( #5870 )
2022-09-15 06:53:09 +00:00
OJ Kwon
092b7281d0
refactor(es/ast): Apply rkyv-bytecheck flag ( #5866 )
2022-09-15 05:20:46 +00:00
Donny/강동윤
f3e02675ad
chore: Update MSRV ( #5856 )
2022-09-14 19:33:49 +09:00
Donny/강동윤
c2f25c9998
chore(ci): FIx publish action ( #5857 )
2022-09-14 19:18:50 +09:00
Donny/강동윤
4cde553811
fix(es/ast): Revert #5798 ( #5798 ) ( #5855 )
...
This reverts commit 37f42df877
.
2022-09-14 16:52:46 +09:00
OJ Kwon
37f42df877
refactor(es/ast): Apply rkyv-bytecheck flag ( #5798 )
...
**Description:**
This PR updates ast* related package's rkyv bytecheck flags.
2022-09-14 16:16:18 +09:00
Donny/강동윤
bb427c4267
build(bindings): Use new llvm pass manager ( #5816 )
2022-09-10 16:20:30 +00:00
Donny/강동윤
88e59ffcda
perf(css/minifier): Setup benchmark ( #5800 )
...
**Description:**
I created a simple benchmark for the css minifier. It's full benchmark, which also profiles parser and codegen
2022-09-10 13:39:55 +09:00
OJ Kwon
6f19f8902f
refactor(swc_core): enable bytechecked flag ( #5792 )
...
**Description:**
Another update to enable bytecheck rkyv feature flag.
Our dep tree is quite tangled with implicit enable (plugin -> rkyv). PR tries to detach some of it while trying to preserve existing behavior as much as it can.
2022-09-09 08:05:51 +00:00
Donny/강동윤
1e8a58da4d
chore(ci): Cleanup CI config ( #5769 )
2022-09-06 16:47:06 +00:00
Donny/강동윤
f59d44e295
chore: Fix publish action
2022-09-06 09:11:02 +09:00
Donny/강동윤
49e0c71cba
perf(bindings): Enable LTO ( #5740 )
2022-09-04 23:34:41 +09:00
OJ Kwon
975cbfe0d9
refactor(swc_core): Use namespace ecma
( #5713 )
2022-09-02 10:24:27 +09:00
Donny/강동윤
1085667049
perf(es/minifier): Enable parallel processing ( #5705 )
2022-09-01 13:36:30 +09:00