Commit Graph

349 Commits

Author SHA1 Message Date
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
Donny/강동윤
4820f0cbcc
fix(es/compat): Handle yield in block scoping pass (#5668) 2022-08-30 09:55:18 +00:00
Donny/강동윤
32bb36b85d chore: Publish v1.2.241 2022-08-19 19:59:32 +09:00
OJ Kwon
c833d088d5
fix(ci): Adjust script path (#5546) 2022-08-18 13:53:01 +09:00
OJ Kwon
f1a4263954
feat(swc_core): Implement engine diagnostics (#5515) 2022-08-18 04:29:19 +00:00
Donny/강동윤
7487e3341d
feat(es/minifier): Optimize more string property names (#5545) 2022-08-18 11:58:05 +09:00
Donny/강동윤
1a5b9792ef chore: Publish v1.2.235 2022-08-17 00:17:38 +09:00
Donny/강동윤
bbf9e2f243
refactor(bindings): Merge cargo workspace (#5511) 2022-08-16 23:19:45 +09:00
OJ Kwon
496346ac04
refactor(bindings): Use separate workspace for bindings (#5506) 2022-08-16 15:01:49 +09:00
Donny/강동윤
a76380c585
test(es/plugin): Expand test matrix (#5477) 2022-08-13 23:06:27 +09:00
Donny/강동윤
c918975967
fix(es/plugin): Revert rustc upgrade to workaround a bug of rkyv (#5476) 2022-08-13 15:38:09 +09:00
Donny/강동윤
3eb1f4b2b1
chore(ci): Fix lints (#5462) 2022-08-12 13:13:35 +00:00
Donny/강동윤
d298b20c7a chore(ci): Fix bot script 2022-08-12 17:31:26 +09:00
Donny/강동윤
31bd2c8abb
chore(ci): Fix publish action (#5443) 2022-08-12 17:01:49 +09:00
Donny/강동윤
9d793f1cd3
doc(swc_core): Fix rustdoc, really (#5447) 2022-08-11 19:25:46 +09:00
Donny/강동윤
2e883a72d7
doc(swc_core): Fix rustdoc (#5446) 2022-08-11 19:00:43 +09:00
Donny/강동윤
4bdb6a1de4
chore(ci): Reduce CI time (#5440) 2022-08-11 11:04:58 +09:00
OJ Kwon
8ca736f8ee
feat(swc_core): Expose quote! macros (#5400) 2022-08-05 07:37:42 +00:00
Donny/강동윤
4fdbe40c74
feat(es/minifier): Remove duplicate var declarations (#5373) 2022-08-03 13:05:56 +09:00
Donny/강동윤
cf3de124d6
doc(rustdoc): FIx CI (#5370) 2022-08-03 11:30:17 +09:00
Donny/강동윤
4c461d1ba7
chore(ci): Fix publish action (#5358) 2022-08-01 21:07:28 +09:00
OJ Kwon
fbdc9af5ca
fix(es/minifier): Allow single-thread mode (#5353) 2022-08-01 05:16:51 +00:00
Donny/강동윤
d3ecfd36cd
chore(ci): Set MSRV to 1.60 (#5354) 2022-08-01 04:23:26 +00:00
Alexander Akait
83e502367b
feat(xml): Add xml crates (#5329) 2022-08-01 03:56:12 +00:00
OJ Kwon
c16b6b7230
feat(wasm): Add interfaces for wasm bindings (#5341) 2022-07-30 03:44:37 +00:00
OJ Kwon
0782d25074
build(node): Include fallback binding as a dependency (#5322) 2022-07-28 03:10:08 +00:00
LongYinan
18d4029b33
chore(ci): Fix build for Android platforms (#5317) 2022-07-27 16:48:02 +09:00
Sukka
e8473eb8a8
chore(ci): Update macos runner (#5284) 2022-07-25 13:48:01 +09:00
Donny/강동윤
a0007e11c3
fix(es/visit): Disable serde by default (#5273) 2022-07-23 13:54:39 +00:00
Donny/강동윤
66550d6e87
chore(ci): Fix publish script (#5241) 2022-07-18 02:03:53 +00:00
OJ Kwon
cd94f0a2e9
test(es/plugin): Build plugins for e2e testing (#5210) 2022-07-15 02:10:13 +00:00