Commit Graph

3420 Commits

Author SHA1 Message Date
SWC Bot
f44205bd57 chore: Publish crates 2023-10-10 04:10:33 +00:00
SWC Bot
ed648337f1 chore: Publish crates 2023-10-08 02:05:49 +00:00
SWC Bot
34e03c4661 chore: Publish crates 2023-10-08 00:41:50 +00:00
SWC Bot
d716dc823b chore: Publish crates 2023-10-07 14:22:43 +00:00
SWC Bot
4843266545 chore: Publish crates 2023-10-06 14:46:52 +00:00
Donny/강동윤
a5621bb30a
chore(xtask): Migrate scripts to xtask (#8072)
This PR adds

 - `xtask clean`
 - `xtask bench`
2023-10-06 14:44:53 +00:00
SWC Bot
5c6c82bc6a chore: Publish crates 2023-10-06 12:41:57 +00:00
SWC Bot
a6527bf9ab chore: Publish crates 2023-10-06 00:12:18 +00:00
SWC Bot
da9bee9776 chore: Publish crates 2023-10-05 09:17:21 +00:00
SWC Bot
70ec648a63 chore: Publish crates 2023-10-05 08:36:48 +00:00
Donny/강동윤
6420aefca5
chore: Use cargo xtask (#8068) 2023-10-05 08:34:51 +00:00
강동윤 (Donny)
a35fed015f chore: Publish crates 2023-10-05 16:29:43 +09:00
SWC Bot
0edd36842b chore: Publish crates 2023-10-03 16:49:03 +00:00
SWC Bot
89676946e6 chore: Publish crates 2023-10-03 06:04:32 +00:00
SWC Bot
4abfbaacc4 chore: Publish crates 2023-10-03 03:35:46 +00:00
SWC Bot
b3a59613ab chore: Publish crates 2023-10-02 17:32:00 +00:00
SWC Bot
c53a655154 chore: Publish crates 2023-10-02 16:45:51 +00:00
SWC Bot
92c6be7681 chore: Publish crates 2023-10-02 15:48:04 +00: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
SWC Bot
2bf935c68b chore: Publish crates 2023-10-02 06:18:14 +00:00
Donny/강동윤
f2bc6a3fcc
chore(ci): Prepare multi-package repository (#8043) 2023-10-02 04:41:21 +00:00
강동윤 (Donny)
13161c45cd chore: Publish crates 2023-10-01 20:52:47 +09:00
SWC Bot
203b2297c3 chore: Publish crates 2023-09-30 11:42:29 +00:00
SWC Bot
3fd6f64e60 chore: Publish crates 2023-09-29 21:35:08 +00:00
SWC Bot
8f445f49c9 chore: Publish crates 2023-09-29 20:54:50 +00:00
SWC Bot
5283e5bf82 chore: Publish crates 2023-09-29 20:36:29 +00:00
SWC Bot
d35de6444e chore: Publish crates 2023-09-29 19:53:01 +00:00
SWC Bot
537932b581 chore: Publish crates 2023-09-29 19:48:02 +00:00
SWC Bot
90387bb340 chore: Publish crates 2023-09-29 14:50:45 +00:00
Donny/강동윤
a13f5cbe03
refactor(es): Extract parser/codegen code for swc::Compiler (#8030) 2023-09-29 14:48:31 +00:00
SWC Bot
920362685b chore: Publish crates 2023-09-29 11:01:28 +00:00
SWC Bot
2153c05c66 chore: Publish crates 2023-09-29 10:27:04 +00:00
SWC Bot
83f77ddfce chore: Publish crates 2023-09-29 08:49:57 +00:00
SWC Bot
632a63a46e chore: Publish crates 2023-09-27 23:30:11 +00:00
SWC Bot
0871d4e0f0 chore: Publish crates 2023-09-27 14:36:52 +00:00
강동윤 (Donny)
8231f874e7 chore: Publish crates 2023-09-27 10:13:08 +09:00
SWC Bot
0e24dc9c74 chore: Publish crates 2023-09-27 00:57:21 +00:00
SWC Bot
7c227870c8 chore: Publish crates 2023-09-26 23:39:31 +00:00
SWC Bot
78e12595a4 chore: Publish crates 2023-09-26 03:59:50 +00:00
SWC Bot
b74a9f4357 chore: Publish crates 2023-09-25 23:38:00 +00:00
강동윤 (Donny)
243d68d8dc chore: Publish crates 2023-09-25 22:24:43 +09:00
SWC Bot
5a94ff1083 chore: Publish crates 2023-09-25 04:04:09 +00:00
SWC Bot
e146ff7d8e chore: Publish crates 2023-09-25 01:42:53 +00:00
magic-akari
9c9a538f23
refactor(es/typescript): Reimplement TypeScript pass (#7202)
**Description:**

## Bugfixes
- Exported `let`/`var` declarations in TypeScript namespaces should be mutable.
- Fix missing declaration of complex exported patterns in TypeScript namespaces.
- Preserve concrete TS namespaces.

## New Features
- Introducing [Verbatim Module Syntax](https://www.typescriptlang.org/tsconfig#verbatimModuleSyntax).
- Enum value will now be inlined whenever possible within a single module, optimizing runtime performance.
- Constant enums will be automatically eliminated when feasible, This can reduce bundle size.
- Added support for cross-referencing enum values.

## Deprecated
`TsEnumConfig` is deprecated
  - The `treat_const_enum_as_enum` transform option is deprecated.
  - The `ts_enum_is_readonly` assumption option is deprecated.

**BREAKING CHANGE:**

TypeScript Config is changed.


**Related issue:**

 - Closes #5197
 - Closes #5259 
 - Closes #7177
 - Closes #7453
 - Closes #7676 
 - Closes #7681
 - Closes #7791 
 - Closes #7961
2023-09-25 01:41:00 +00:00
SWC Bot
bea10ef5f5 chore: Publish crates 2023-09-24 23:41:11 +00:00
강동윤 (Donny)
489797f1cf chore: Publish crates 2023-09-24 13:59:06 +09:00
SWC Bot
36de9de600 chore: Publish crates 2023-09-23 15:49:46 +00:00
SWC Bot
3eb23eba7b chore: Publish crates 2023-09-22 23:50:22 +00:00
강동윤 (Donny)
276be28ae1 chore: Publish crates 2023-09-22 11:15:56 +09:00
SWC Bot
ee6260d53b chore: Publish crates 2023-09-21 05:18:49 +00:00