Commit Graph

208 Commits

Author SHA1 Message Date
magic-akari
3ca954b9f9
fix(es/helpers): Use snake_case for helpers (#7147)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/7144.
 - Closes https://github.com/swc-project/swc/issues/7118.
2023-03-31 15:15:21 +09:00
Donny/강동윤
a785f18740
test(es/plugin): Enable E2E plugin test (#7178) 2023-03-31 04:01:17 +00:00
Donny/강동윤
0259a7465f
build(cargo): Update rustc to nightly-2023-03-20 (#7170)
**Description:**

This PR also updates `rkyv` to `=0.7.40`.

**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6807.
2023-03-30 08:06:02 +00:00
Donny/강동윤
12546c853a
build(cargo): Revert rustc upgrade (#7162)
**Description:**

The `rkyv` bug is not fixed.
2023-03-29 17:48:45 +09:00
Donny/강동윤
e445502072
build(cargo): Update rustc to nightly-2023-03-28 (#7154)
**Description:**

This PR also updates `rkyv` to `=0.7.40`.

**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6807.
2023-03-29 06:24:19 +00:00
Ivan Zakharchanka
a4d1af18de
fix(bindings/node): Fix loading of spack.config.js (#7105) 2023-03-21 08:04:55 +00:00
Chen Yangjian
6a1201cfc4
fix(es/minifier): Pass keep_* in config to compress and mangle (#7102) 2023-03-21 02:57:57 +00:00
Chen Yangjian
00869147d3
fix(es/minifier): Accept keep_fnames and keep_classnames (#7090) 2023-03-16 09:38:06 +00:00
magic-akari
7b491a69a5
fix(es/react): Align to babel@8 behavior (#7081)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/7044.
2023-03-16 03:35:17 +00:00
Donny/강동윤
873e532f91
chore: Publish v1.3.38 (#7018) 2023-03-06 09:30:21 +00:00
Chen Yangjian
30cff01656
fix(bindings/node): Fix visitBindingIdentifier (#7000) 2023-03-03 02:03:54 +00:00
Donny/강동윤
d5c0dec40c
fix(bindings/node): Treat .cts and .mts as input by default (#6959)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6958.
2023-02-18 11:42:46 +00:00
Daiki Nishikawa
82128e3734
fix(bindings/node): Add esnext to JscTarget (#6908)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6904.
2023-02-07 03:43:37 +00:00
AsPulse
964dfbaf1a
fix(bindings): Don't require unnecessary package (#6902) 2023-02-05 19:48:15 +00:00
Donny/강동윤
ff78b8f7e0
feat(es/ast): Add EsNext to EsVersion (#6816) 2023-01-15 15:43:10 +09:00
Donny/강동윤
1c6fe35313
chore: Publish v1.3.26 (#6787) 2023-01-11 08:40:40 +00:00
Donny/강동윤
6c126da1d4
test(es): Add a test for a fixed source map issue (#6768)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6244.
2023-01-09 06:25:03 +00:00
OJ Kwon
30dd65bb83
feat(bindings): Remove swcx from @swc/core (#6720) 2022-12-30 06:31:57 +00:00
Sukka
7e841a5d30
fix(node-swc): Add missing const_to_let to the type (#6615) 2022-12-11 09:01:05 +00:00
meskill
b97aa45c5c
fix(node-swc): Sync types for jsc.optimizer.globals (#6603) 2022-12-09 09:15:02 +09: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
Donny/강동윤
05d185d59b
fix(es/modules): Fix jsc.paths (#6454)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6446.
2022-11-16 04:51:59 +00:00
Daiki Nishikawa
f6faeb3bad
fix(es/parser): Fix parsing of TS satisfies expressions (#6354) 2022-11-07 03:56:15 +00:00
Donny/강동윤
de036754c4
test(es/preset-env): Ensure custom transforms are working (#6227)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/5052
2022-10-21 07:53:45 +00:00
Arnaud Barré
2bafd53e96
chore(bindings): Fix type (#6184) 2022-10-21 14:08:36 +09:00
Donny/강동윤
fee747de59 chore(ci): Fix publish action by reverting #5969 2022-10-06 16:36:01 +09:00
RiESAEX
8fea8ca3fa
fix(bindings): Fix type definitions (#6018) 2022-10-02 10:24:09 +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
OJ Kwon
af64217f19
build(cargo): Introduce workspace deps (#5997) 2022-09-30 13:43:32 +09:00
Donny/강동윤
fbc09d0cba
chore: Publish v1.3.4 (#5998) 2022-09-30 12:47:00 +09:00
OJ Kwon
ca38a7027e
test(es/plugin): Reenable compat test (#5969) 2022-09-28 10:54:51 +09:00
Donny/강동윤
21cbc0d561
chore: Publish v1.3.3 (#5942) 2022-09-23 17:51:57 +09:00
Donny/강동윤
e9f4f4eb06
chore: Publish v1.3.1 (#5854) 2022-09-14 17:24:15 +09:00
Sukka
9d1629369b
fix(node-swc): Fix the type definition of jsc.paths (#5811) 2022-09-10 10:43:37 +00:00
Donny/강동윤
6fde98217b
chore: Publish v1.2.249 (#5782) 2022-09-08 16:17:11 +09:00
OJ Kwon
81ab8a29e3
test(es/plugin): Add E2E test for the published plugins (#5771) 2022-09-07 02:05:42 +00:00
Donny/강동윤
46aa86f5f8
chore: Publish v1.2.245 2022-08-30 13:01:04 +09:00
OJ Kwon
a3e855f720
feat(es/plugin): Provide swc_core diagnostic from plugin (#5591) 2022-08-22 23:48:50 +00:00
OJ Kwon
496346ac04
refactor(bindings): Use separate workspace for bindings (#5506) 2022-08-16 15:01:49 +09:00
OJ Kwon
ff7f6f63f9
fix(es/plugin): Share SourceFile for plugin transforms (#5475) 2022-08-15 00:45:19 +00:00
OJ Kwon
9d04f24c26
feat(node): Use published version of swc_core for node binding (#5481) 2022-08-14 01:15:56 +00: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
OJ Kwon
8ca736f8ee
feat(swc_core): Expose quote! macros (#5400) 2022-08-05 07:37:42 +00:00
OJ Kwon
038a543be9
feat(swc_core): Expand features to support node bindings (#5387) 2022-08-05 14:11:40 +09:00
Donny/강동윤
3943eb24d1
feat(es/minifier): Consider char frequencies (#5375) 2022-08-03 10:20:17 +00:00
OJ Kwon
8b9dd6f026
feat(swc_core): Expand features and use it from wasm and cli (#5369) 2022-08-03 03:38:05 +00:00
OJ Kwon
27b464d90a
feat(swc_core): Introduce package (#5364) 2022-08-02 07:25:59 +00:00
Donny/강동윤
27cdc65a51
fix(es/minifier): Drop more comments (#5361) 2022-08-02 04:24:24 +00:00
Donny/강동윤
4c461d1ba7
chore(ci): Fix publish action (#5358) 2022-08-01 21:07:28 +09:00