306 Commits

Author SHA1 Message Date
Arya Emami
41c98ff07a
fix: support Node16 and NodeNext module resolution in experimentalDts (#1225) 2024-10-25 13:34:41 +11:00
hyrious
9cc86d6d5b
fix: enable rollup output.compact when minify is enabled (#1232) 2024-10-17 19:52:09 +11:00
Arya Emami
4584b89fba
fix: change newlineKind to lf for experimentalDts (#1234) 2024-10-17 19:40:54 +11:00
Superchupu
ec53f288fa
refactor: upgrade chokidar to v4 (#1211)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-09 21:56:36 +08:00
Adam Haglund
4dd5bfeb2f
refactor: replace execa with tinyexec (#1127) 2024-09-22 02:27:25 +08:00
kricsleo
52b4e0739f
refactor: remove unnecessary promise wrapper (#1213) 2024-09-19 19:00:47 +08:00
三咲智子 Kevin Deng
4c8cd7f3a3
feat: add es2024 target
Supported in `esbuild@0.22.0`
2024-09-17 13:50:24 +08:00
三咲智子 Kevin Deng
c52a4d6145
style: format code 2024-09-17 13:48:55 +08:00
odanado
1979b06a80
fix: wider restriction for target option (#1118) 2024-09-17 13:46:46 +08:00
三咲智子 Kevin Deng
28b9ce9d3a
fix: support TS 5.6 for svelte 2024-09-17 13:36:15 +08:00
Ariel Weinberger
f25a9db77d
feat: add support for async injectStyle (#1193) 2024-09-17 12:46:39 +10:00
Shinigami
fc72d45fbe
chore: add target es2023 (#1190) 2024-09-17 12:43:52 +10:00
Jun
76dc18b703
fix: fix experimentalDts file cleaning and watching (#1199) 2024-09-17 12:41:44 +10:00
Arya Emami
ec811b3b7d
feat: add support for cts and mts config files (#1178) 2024-08-24 17:38:43 +08:00
Superchupu
3f4430323f
refactor: replace globby with tinyglobby (#1168) 2024-08-24 17:34:38 +08:00
EGOIST
49c11c3073 fix: do not terminate dts worker in watch mode, closes #1172, closes #1171 2024-08-02 15:22:15 +08:00
三咲智子 Kevin Deng
048c93b346
fix: get metafile on windows 2024-07-25 00:17:12 +08:00
EGOIST
2de6dd5300 fix: Revert "refactor: replace globby with faster alternative (#1158)"
This reverts commit 0f0b4b205df201e9cdd047764868dd2619a528b0.
2024-07-22 16:28:47 +08:00
Grigory
44c88a7410
fix(dts): terminate worker when work is done (#1142) 2024-07-21 02:30:36 +08:00
Superchupu
0f0b4b205d
refactor: replace globby with faster alternative (#1158) 2024-07-19 22:56:33 +08:00
三咲智子 Kevin Deng
aeda546c1f
refactor: replace colorette with picocolors 2024-07-19 20:13:04 +08:00
三咲智子 Kevin Deng
e7ced3474a
feat: add option to retain node protocol 2024-07-18 04:21:47 +08:00
三咲智子 Kevin Deng
e8c6079cdf
refactor: lint
eslint --fix by @sxzz/eslint-config

- add `node:` protocol
- sort imports
- ...
2024-07-17 23:46:22 +08:00
xiaohj
6ca0cb0aee
fix: correct sourcemap with treeshake (#1069) 2024-07-17 23:16:14 +08:00
三咲智子 Kevin Deng
43cf9f69e2
fix: only import type statement
closes #1157, closes #1156
2024-07-17 23:12:49 +08:00
Sunny Fu
26e1bb776f
chore: prefer property shorthand [skip ci] (#1144) 2024-07-17 06:17:43 +08:00
三咲智子 Kevin Deng
31b5fa4884
refactor: upgrade swc 2024-07-17 04:47:45 +08:00
三咲智子 Kevin Deng
32003931f7
refactor: upgrade some deps 2024-07-17 04:18:18 +08:00
三咲智子 Kevin Deng
f1f21c50dd
refactor: upgrade TS & enable verbatimModuleSyntax 2024-07-17 04:14:59 +08:00
三咲智子 Kevin Deng
b537d37269
style: format code, upgrade prettier to v3 2024-07-17 03:38:11 +08:00
Haydn
83c7c7f313
fix: support swc target for mjs (#1081) 2024-02-10 14:58:39 +08:00
ocavue
8c26e63c92
fix(experimental-dts): make --experimental-dts to be compatible with --clean (#1041) 2023-11-20 16:27:43 +08:00
ocavue
731f43fe14
fix(experimental-dts): only include exported declarations (#1039) 2023-11-20 15:45:11 +08:00
ocavue
d8a203c661
chore(ci): automatically format code (#1035) 2023-11-19 20:54:39 +08:00
ckohen
f83baf86c8
fix(dts): ensure chunks conform to bundle format (#1034) 2023-11-19 20:53:05 +08:00
ocavue
d4e22c5fb9
fix: await postcss for async plugins (#1036) 2023-11-18 16:36:54 +08:00
ocavue
61fc06c613
feat: add experimental dts rollup using @microsoft/api-extractor (#983) 2023-11-17 20:29:07 +08:00
Pink Champagne
690af7b899
fix: process not found on windows (#1013) 2023-10-16 12:53:10 +00:00
三咲智子 Kevin Deng
b749a274be
fix: add newline after cjsInterop
closes #1022
2023-10-16 20:49:40 +08:00
三咲智子 Kevin Deng
1dbd86b734
feat: support es3 target (#965) 2023-10-16 12:47:47 +00:00
翠 / green
438ec47484
feat!: update to rollup v4 (#1018) 2023-10-16 12:39:54 +00:00
三咲智子 Kevin Deng
9b813620a8
chore: correct default value jsdoc of splitting 2023-08-29 17:20:33 +08:00
三咲智子 Kevin Deng
d870f4e76c
feat: add option for interop default in cjs (#947) 2023-08-02 23:05:34 +08:00
三咲智子 Kevin Deng
692c112ac8
refactor: remove enum fix (#948) 2023-07-17 09:37:19 +08:00
EGOIST
87b80ca8bc chore: tweak cli help 2023-06-26 00:20:57 +08:00
EGOIST
612cabf1c1 fix: allow to kill onSuccess process using SIGKILL signal, closes #936 2023-06-26 00:19:50 +08:00
EGOIST
c151d5327c chore: update extensions in cleanup 2023-06-25 17:06:03 +08:00
Andrew Branch
fb4c2b6e75
feat: Ensure matching declaration file exists for each output bundle format (#934)
* Ensure dts files match all output formats

* Update docs
2023-06-25 16:58:14 +08:00
Tmk
3606e45dff
feat: support svelte-preprocess (#906)
* feat: support svelte-preprocess

* chore: update lockfile

---------

Co-authored-by: EGOIST <hi@egoist.dev>
2023-06-16 17:40:22 +08:00
Mathis Møller
23e25cd779
fix: Remove SWC and Terser minification clash (#881) 2023-06-16 14:40:12 +08:00