293 Commits

Author SHA1 Message Date
EGOIST
cc91403ef5 chore(deps): update tsup 2021-12-25 12:31:02 +08:00
EGOIST
6c44f3d245 fix(dts): apply required defaults to rollup-plugin-dts, closes emitted dts is bundled source #509 2021-12-25 12:00:48 +08:00
EGOIST
838838705d chore(deps): update tsup 2021-12-25 01:09:36 +08:00
EGOIST
e7aba26444 fix: update rollup-plugin-dts, closes #500 2021-12-24 18:33:44 +08:00
EGOIST
26a7390583 chore(deps): update tsup 2021-12-15 14:18:23 +08:00
EGOIST
d428ce7be1 chore(deps): update tsup 2021-12-14 17:05:55 +08:00
EGOIST
b540a6705c chore: clean up 2021-12-11 19:03:33 +08:00
EGOIST
bff7fdfae6 refactor: deprecate options.entryPoints in favor of options.entry 2021-12-11 17:19:26 +08:00
EGOIST
5e8369c034 chore(deps): update tsup 2021-12-10 17:01:08 +08:00
EGOIST
7f2660c8ef feat: upgrade esbuild to 0.14 2021-12-10 16:46:46 +08:00
EGOIST
5edf9a8dff feat: add bundle size reporter 2021-12-10 16:34:26 +08:00
EGOIST
524470c49b
feat: experimental plugin system (#486)
Co-authored-by: EGOIST <0x142857@gmail.com>
Co-authored-by: 木杉 <zhmushan@qq.com>
2021-12-10 15:44:27 +08:00
EGOIST
993fe56c4a chore(deps): update tsup 2021-12-07 20:24:17 +08:00
EGOIST
8d8abfe63b fix: missing types in previous release 2021-12-07 15:04:23 +08:00
EGOIST
b3fab602a1 chore: fix some lint errors 2021-12-06 16:41:59 +08:00
EGOIST
11f57e2dd6 chore: use npm in npm scripts 2021-12-02 21:06:20 +08:00
EGOIST
b0c3677aeb chore: remove unnecessary dependencies 2021-11-26 19:21:45 +08:00
EGOIST
c6ad05fcfd chore(deps): update tsup 2021-11-26 19:19:03 +08:00
EGOIST
da9011f924 chore: remove unnecessary snapshot 2021-11-26 01:41:27 +08:00
EGOIST
d79d8e988c chore(test): set timeout 2021-11-26 01:30:00 +08:00
EGOIST
6e126083c6 chore: migrate to pnpm and ava 2021-11-26 01:26:55 +08:00
EGOIST
557fcae6b0 feat: add dts.banner and dts.footer options 2021-11-25 22:33:17 +08:00
EGOIST
531a05eeda feat: use swc to support decorator metadata
skip-release
2021-11-25 20:47:33 +08:00
dependabot[bot]
71ad251014
chore(deps): bump cac from 6.7.3 to 6.7.12 (#468)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-25 16:42:12 +08:00
EGOIST
8eac146481 fix(tsup-node): don't mark compilerOptions.paths as external, closes #409 2021-11-25 16:26:58 +08:00
EGOIST
6115254019 chore(dependencies): update tsup 2021-11-24 18:39:17 +08:00
Giant
9d4d3d7ac6
fix(windows): normalize path in watcher (#466)
Co-authored-by: EGOIST <0x142857@gmail.com>
2021-11-24 18:15:10 +08:00
EGOIST
6072da3b94 refactor: remove chalk
skip-release
2021-11-24 18:03:15 +08:00
EGOIST
3aba009478 fix: use bundle-require to bundle tsup.config.ts
skip-release
2021-11-24 17:41:12 +08:00
木杉
8c8f19f382
fix(windows): support backslash in cli arguments (#463) 2021-11-23 12:57:04 +08:00
EGOIST
555c535b8c feat: custom tsconfig and allow multpile tsup config 2021-11-22 17:12:22 +08:00
dependabot[bot]
c28cc2f981
chore(deps): bump rollup from 2.56.1 to 2.60.0 (#453)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-18 23:41:35 +08:00
EGOIST
981a575a38 refactor: move esbuild related code to its own file 2021-11-18 23:38:12 +08:00
EGOIST
e487ffef8c fix: Revert "fix: do not use preserveSymlinks: true when bundling dts file"
5697b205a5543395e63065aad3ea27b9b6cb5b19
2021-11-12 14:40:56 +08:00
EGOIST
5697b205a5 fix: do not use preserveSymlinks: true when bundling dts file 2021-11-12 14:35:26 +08:00
EGOIST
0f7837d38b build: enable code splitting 2021-10-20 00:48:28 +08:00
EGOIST
ad95e5c9cf fix: make --define support nested properties, closes #440 2021-10-20 00:46:14 +08:00
Pablo Sáez
792234624d
feat: update esbuild to ^0.13.4 (#431) 2021-10-07 12:15:04 +08:00
Homyee King
f7cae28188
build: add dev script (#411) 2021-09-23 23:03:35 +08:00
EGOIST
1667fd2b97 feat: make experimental cjs code splitting available behine flag --splitting
closes #408
2021-09-16 21:07:24 +08:00
FM
49f48ead4c
fix: only enable code splitting in esm format (#403)
BREAKING CHANGE:

Code splitting now only works for esm format (default output format is `cjs`), code splitting with cjs format is not supported by esbuild, and our workaround is kinda buggy, so we reverted that decision.
2021-09-15 21:59:43 +08:00
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
2021-08-04 23:51:41 +08:00
EGOIST
3ca80afe32 feat: update esbuild to 0.12 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
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>
2021-04-27 17:13:50 +08:00
Pablo Sáez
2a13f4bedb
fix(win): use tree-kill (#286) 2021-04-19 14:58:43 +08:00
Pablo Sáez
c992b13a43
feat: improve watch mode & add silent mode (#285) 2021-04-18 18:28:14 +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 2021-03-21 18:13:17 +08:00