375 Commits

Author SHA1 Message Date
EGOIST
893bac6851 chore: switch back to npm 2021-06-03 17:54:26 +08:00
Pablo Sáez
5e5a9f19fb
fix: call setSilent earlier (#312) v4.11.2 2021-06-02 21:30:11 +08:00
NONAME
8d6b1e9d97
chore: update readme 2021-05-29 12:14:00 +08:00
NONAME
e1cf8563fe
chore: add license 2021-05-29 12:11:19 +08:00
dependabot-preview[bot]
211ba73478
Upgrade to GitHub-native Dependabot (#292)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
v4.11.1
2021-05-24 14:02:25 +08:00
Pablo Sáez
936ce8e119
fix: respect silent config (#308) 2021-05-24 14:02:07 +08:00
Pablo Sáez
1ad8d6d574
feat: Improve file config load & add docs (#301)
* separate config load with support for package.json

* add docs
v4.11.0
2021-05-16 13:51:13 +08:00
EGOIST
67354025a8 fix: ignore non-js files in dts build
closes #288
v4.10.1
2021-04-28 18:29:31 +08:00
Pablo Sáez
c7773e9a3c
feat: export main cli & add tsup-node command (#290)
* export main cli & add tsup-node

* update docs

* update tests

* refactor external-plugin to support skipNodeModulesBundle directly

* update docs

Co-authored-by: EGOIST <0x142857@gmail.com>
v4.10.0
2021-04-27 17:13:50 +08:00
EGOIST
5f0ce9f339 chore(test): sort output files v4.9.2 2021-04-25 14:11:02 +08:00
EGOIST
3c18f3bca7 fix: mark files inside dependencies as external too 2021-04-25 14:07:41 +08:00
Pablo Sáez
2a13f4bedb
fix(win): use tree-kill (#286) v4.9.1 2021-04-19 14:58:43 +08:00
NONAME
7079b9fe7c
chore: fix github workflow v4.9.0 2021-04-18 18:32:59 +08:00
Pablo Sáez
c992b13a43
feat: improve watch mode & add silent mode (#285) 2021-04-18 18:28:14 +08:00
EGOIST
6bcd81a43b fix: transform import.meta.url in cjs build v4.8.21 2021-03-27 15:33:55 +08:00
EGOIST
2061e82791 fix: change default target to node12 v4.8.20 2021-03-27 14:48:28 +08:00
EGOIST
b1f7994941 fix: use the native esbuild formatMessages method to output warnings 2021-03-27 13:41:03 +08:00
EGOIST
257033f2e1 fix: output essential esbuild warnings v4.8.19 2021-03-21 18:13:17 +08:00
Pablo Sáez
895ebafcb7
fix: add ignoreWatch & docs (#279) v4.8.18 2021-03-19 11:41:24 +08:00
EGOIST
4722b2edca fix: handle errors in worker v4.8.17 2021-03-18 22:50:12 +08:00
EGOIST
f6a07fdc0c fix: use worker thread to run rollup again v4.8.16 2021-03-18 22:40:56 +08:00
EGOIST
2aa31d9ec0 fix: always run rollup after esbuild v4.8.15 2021-03-18 22:09:22 +08:00
EGOIST
70cf288df8 fix: use chokidar to watch files again v4.8.14 2021-03-18 17:46:14 +08:00
EGOIST
508b6284f0 fix: no longer running rollup in a worker v4.8.13 2021-03-18 17:15:06 +08:00
EGOIST
a9560cb513 fix: don't pass esbuild plugins to rollup worker v4.8.12 2021-03-18 16:30:44 +08:00
EGOIST
ea351e16bc feat(patch): accept custom esbuild plugins v4.8.11 2021-03-17 19:57:23 +08:00
EGOIST
64072f5824 fix: better error when there're no input files v4.8.10 2021-03-17 15:26:20 +08:00
EGOIST
07aaf393cb fix: optimize v4.8.9 2021-03-17 15:03:46 +08:00
EGOIST
4c12e43a4c fix(dts): resolve relative path in node_modules v4.8.8 2021-03-17 14:59:18 +08:00
EGOIST
d29f1886cd chore(test): use --shamefully-hoist to install test dependencies 2021-03-17 14:29:50 +08:00
EGOIST
f58ef06812 chore: fix action 2021-03-17 14:19:57 +08:00
EGOIST
8f96c52116 chore: use pnpm 2021-03-17 14:17:01 +08:00
EGOIST
0564eec5a0 fix: make compilerOptions.paths work with --dts-resolve v4.8.7 2021-03-17 14:03:13 +08:00
EGOIST
e3e67a9a73 fix: pass only baseUrl and paths to compilerOptions v4.8.6 2021-03-17 13:33:42 +08:00
EGOIST
15ce73713b fix: respect paths in tsconfig.json in dts build v4.8.5 2021-03-17 13:23:48 +08:00
EGOIST
77bb2b4a65 test: test baseUrl and paths in tsconfig.json 2021-03-17 12:49:14 +08:00
Pablo Sáez
1758b2b4e8
fix: handle watch mode error, earlier prev process kill (#277)
* fix watch catch error, earlier prev process kill

* use error handler

* fix typo

Co-authored-by: Eren Bets <0x142857@gmail.com>
v4.8.4
2021-03-17 11:17:54 +08:00
Eren Bets
21f35f8bf1
Update nodejs.yml 2021-03-17 03:03:03 +08:00
Eren Bets
053a283d0b
fix: get rid of text decoder (#276)
* fix: get rid of text decoder

* test node 10 and 12

* remove node 10
v4.8.3
2021-03-17 02:31:06 +08:00
dependabot-preview[bot]
43b47aa995
chore(deps): bump joycon from 2.2.5 to 3.0.0 (#270)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
v4.8.2
2021-03-17 01:22:41 +08:00
dependabot-preview[bot]
a18a18c430
fix(deps-dev): bump rollup-plugin-dts from 2.0.1 to 3.0.1 (#274)
Bumps [rollup-plugin-dts](https://github.com/Swatinem/rollup-plugin-dts) from 2.0.1 to 3.0.1.
- [Release notes](https://github.com/Swatinem/rollup-plugin-dts/releases)
- [Changelog](https://github.com/Swatinem/rollup-plugin-dts/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Swatinem/rollup-plugin-dts/compare/v2.0.1...v3.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-17 01:22:22 +08:00
EGOIST
cbe9281158 refactor: rename plugins folder to esbuild v4.8.1 2021-03-17 01:18:52 +08:00
EGOIST
72015e1e76 fix: improve type declaration resolving mechanism 2021-03-17 01:18:15 +08:00
Pablo Sáez
0cc5cc15e3
feat: add --onSuccess <command> flag (#275)
Co-authored-by: EGOIST <0x142857@gmail.com>
v4.8.0
2021-03-16 18:09:22 +08:00
EGOIST
9d8b1e164b fix: allow dts entry to be an array or object v4.7.2 2021-03-16 13:01:20 +08:00
dependabot-preview[bot]
84d4088870
chore(deps): bump rollup from 2.40.0 to 2.41.2 (#272) 2021-03-15 21:24:40 +00:00
dependabot-preview[bot]
474b64fff7
chore(deps-dev): bump postcss from 8.2.7 to 8.2.8 (#273) 2021-03-15 21:21:51 +00:00
dependabot-preview[bot]
36a37c7cb6
chore(deps-dev): bump @babel/core from 7.13.8 to 7.13.10 (#269) 2021-03-15 21:21:23 +00:00
dependabot-preview[bot]
24ca37c09b
chore(deps-dev): bump @types/node from 14.14.32 to 14.14.35 (#271) 2021-03-15 21:20:16 +00:00
EGOIST
5e0ef26349 fix: support tsup.config.cjs v4.7.1 2021-03-15 18:18:45 +08:00