387 Commits

Author SHA1 Message Date
dependabot[bot]
f640865dbf
chore(deps): bump rollup from 2.50.6 to 2.56.1 (#383)
Bumps [rollup](https://github.com/rollup/rollup) from 2.50.6 to 2.56.1.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.50.6...v2.56.1)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-12 17:02:20 +08:00
EGOIST
5cac0ea8db fix: upgrade to rollup-plugin-dts 3.0.2
closes #368
v4.13.1
2021-08-04 23:51:41 +08:00
Pong
d5d2f77e77
feat: make build option more flexible (#364)
* feat(): allow to disable esbuild bundle option

* feat(): allow to add clean patterns

* Update index.ts

Co-authored-by: EGOIST <0x142857@gmail.com>
v4.13.0
2021-08-04 23:44:49 +08:00
Pablo Sáez
405e165ef7
fix: fix config file with "type": "module" (#353)
closes #352
v4.12.5
2021-07-07 03:39:51 +08:00
EGOIST
fc8d689178 fix(config): allow to export config as tsup
closes #351
v4.12.4
2021-07-07 00:00:39 +08:00
EGOIST
6f6f959750 fix(config): support module.exports
closes #350
v4.12.3
2021-07-06 23:39:13 +08:00
EGOIST
7d03efeb54 fix: bundle config file
closes #346
v4.12.2
2021-07-06 17:53:41 +08:00
EGOIST
17ac44cd2f fix: add --pure flag
closes #349
v4.12.1
2021-07-06 16:39:43 +08:00
EGOIST
3ca80afe32 feat: update esbuild to 0.12 v4.12.0 2021-06-26 16:09:00 +08:00
dependabot[bot]
3f69964df2
chore(deps): bump esbuild from 0.11.23 to 0.12.8 (#329)
Bumps [esbuild](https://github.com/evanw/esbuild) from 0.11.23 to 0.12.8.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/master/CHANGELOG.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.11.23...v0.12.8)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-15 13:39:00 +08:00
EGOIST
33f3589399 chore: remove -y flag 2021-06-03 18:00:21 +08:00
EGOIST
03d74e0942 chore: fix test dependencies 2021-06-03 17:57:28 +08:00
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