Commit Graph

38 Commits

Author SHA1 Message Date
LongYinan
1a659d3214
ci: Sync to latest napi workflow (#2592) 2021-10-31 10:04:18 +09:00
Donny
e3b8e5324b chore: Use ubuntu-18.04 for musl 2021-10-30 23:35:28 +09:00
Donny
dfd8d1ad61 chore: Fix musl target 2021-10-30 23:29:44 +09:00
Donny
344daefd16 chore: Publish 2021-10-30 23:22:05 +09:00
Donny
ac02f3f3fa chore: Fix publish scripts 2021-10-28 10:40:32 +09:00
Donny
a6fcfe1ddd chore: Fix ci script 2021-10-28 09:57:17 +09:00
Donny
e3869f1d27 chore: Disable freebsd build to publish 2021-10-27 18:39:15 +09:00
LongYinan
1b91d55277
ci: Re-enable FreeBSD build (#2497) 2021-10-21 15:15:52 +09:00
Donny/강동윤
3d204b44f0
perf(es/transforms): Make transforms parallel (#2449)
swc_ecma_utils:
 - `collect_decls`: More parallel.

swc_ecma_transforms_macros:
 - Add `Parallel`, which is helper for `#[parallel]`.
 - Add `ParExplode`, which is helper for `#[parallel(explode)]`.

swc_ecma_transforms_macros:
 - Add `#[parllel]`.

swc_ecma_transforms_compat:
 - `sticky_regex`: Parallel.
 - `typeof_symbol`: Parallel.
 - `for_of`: Remove exponential visit.
 - `regenerator`: Remove exponential visit.
 - `object_spread`: Parallel.
 - `instance_of`: Parallel.
 - `duplicate_keys`: Parallel.
 - `logical_assignments`: Parallel.
 - `template_literal`: Parallel.
 - `block_scoped_functions`: Migrate to `VisitMut`.
 - `for_of`: Migrate to `VisitMut`.
 - `destructuring`: Reduce `Visit`.
 - `arrow`: Migrate to `VisitMut`.
 - `function_name`: Parallel.
 - `reserved_words`: Parallel.
 - `for_of`: Parallel.

swc_ecma_transforms_module:
 - `import_analyzer`: Migrate to `VisitMut`.

swc_ecma_transforms_react:
 - `jsx_src`: Parallel.
-  `jsx_self`: Migrate to `VisitMut`.
-  `jsx_self`: Parallel.

swc_ecma_transforms_proposal:
 - `export_default_from`: Migrate to `VisitMut`.

swc_ecma_transforms_optimization:
 - `inline_globals`: Parallel.
 - `json_parse`: Migrate to `VisitMut`.
 - `json_parse`: Parallel.
2021-10-18 00:03:30 +09:00
Donny
267d639c2e chore: Disable freebsd to publish 2021-10-14 12:06:24 +09:00
Donny
5fb5a7058f chore: Fix CI script for publising 2021-10-14 00:15:16 +09:00
Donny
eb402d8c6f chore: Publish 2021-10-13 23:32:42 +09:00
강동윤
cab37f8166
fix(ci): Publish (#2250) 2021-09-15 01:38:50 +09:00
강동윤
f78a504806
fix(ci): Publish v1.2.86 (#2235) 2021-09-11 09:36:06 +00:00
강동윤
d600d52157 fix(build): Increase memory 2021-07-31 19:50:13 +09:00
강동윤
204a71ca94
fix(es/transforms): Fix bugs (#1950)
swc_ecma_trasnsforms_base:
 - `fixer`: Don't de-optimize `++foo || bar`.

swc_ecma_trasnsforms_typescript:
 - Allow using properties from a decorated class. (#1869)

swc_ecma_transforms_optimization:
 - Fix infinite loop. (#1901, #1946)
2021-07-22 07:33:00 +00:00
LongYinan
d6454add72
fix(node/swc): Fix for m1 mac (#1939) 2021-07-20 14:54:02 +09:00
강동윤
44b6400385
chore: Publish v1.2.63 (#1895) 2021-07-05 23:49:24 +09:00
강동윤
35af4c5186
chore: Publish v1.2.63 & Update rustc (#1894) 2021-07-05 12:51:09 +00:00
강동윤
3c3fb359ee
fix(es): Remove UB (#1815)
swc_ecma_parser:
 - Remove UB.

swc_ecma_codegen:
 - Remove codes related to the UB of the parser. (#1782)
2021-06-12 05:17:09 +00:00
LongYinan
c6ce8c60b7
build(node-swc): Support lower version glibc linux on non-x64 arch (#1809) 2021-06-09 23:05:27 +09:00
LongYinan
d6571933ff
feat(node-swc): Support windows aarch64 and linux aarch64 musl (#1773) 2021-06-02 09:34:27 +09:00
LongYinan
6a13615381
feat(node-swc): Support FreeBSD (#1758) 2021-05-28 12:47:02 +09:00
강동윤
e3bdb97e66 fix(ci): Fix android build 2021-05-08 10:05:39 +09:00
강동윤
0593ce87c0 Disable android 2021-05-07 21:13:54 +09:00
LongYinan
7ea87600b4
fix(ci): Use ghcr.io build image (#1622) 2021-04-30 12:20:39 +09:00
LongYinan
6ece76367b
fix(node-swc): Fix glibc compatibility issue (#1431) 2021-02-24 01:53:36 +09:00
LongYinan
9d896c746e
feat(node-swc): Reduce binary size (#1418) 2021-02-20 17:07:58 +09:00
LongYinan
ca417e9d59
feat(node-swc): Support windows ia32 arch (#1367) 2021-01-29 15:09:44 +09:00
Hee
78dc61af33
chore: Update actions/setup-node (#1315) 2021-01-11 19:39:17 +09:00
LongYinan
0c45a31f31
Upgrade to napi@1 (#1244)
node-swc:
 - Support apple silicon.
 - Support linux aarch64.
 - Support linux armv7.
 - Support android aarch64.
 - Support yarn pnp.
2020-12-30 14:30:09 +09:00
Maxime Guerreiro
dd977ff80c
fix(ci): publish npm packages as public (#1277) (#1290) 2020-12-23 12:01:49 +09:00
강동윤
ad23a58fed
feature: Macro for fixture testing (#1226)
testing_macros:
 - Add `#[fixture]` for easier fixture testing
2020-11-22 18:14:22 +09:00
강동윤
512153f944 Fix publish script, really 2020-11-22 15:33:37 +09:00
강동윤
1268206bff fix: publish script 2020-11-21 21:43:27 +09:00
강동윤
6f7bdd6995 Fix ci 2020-11-21 14:01:55 +09:00
강동윤
4294b5e7ba
bundler: Fix issues (#1212)
swc_bundler:
 - Bundler rework. (denoland/deno#6802)
 - Reexports are not transitive. (denoland/deno#8246)
 - Dependencies of module with circular dependency. (denoland/deno#8302)
 - Order of injection between import vs export. (denoland/deno#8302)
 - `export *` in wrapped modules. (denoland/deno#8308, denoland/deno#8399)
 - `export { a as b }` in wrapped modules.
 - Fix denoland/deno#8314.
 - Fix denoland/deno#8325.
 - Fix denoland/deno#8344.
 - Make deno test verify exported names. 
 - Handle `export * from './foo'`.

swc_ecma_parser:
 - Don't panic on private name in interface (Closes #1211)

swc_ecma_transforms:
 -  dce: Prevent infinite loop
 -  Faster constant propagation pass.
2020-11-19 20:42:56 +09:00
강동윤
7905b0dcf5
wasm: Automatic deployment (#1084)
wasm:
 - Add auto deployment.
2020-09-19 02:07:28 +09:00