614 Commits

Author SHA1 Message Date
ΝΙΚΟΛΑΣ
31b2e7261f
feat: Provide JSON Schema (#763)
* inform about schema store in docs

* json schema store for tsup

* provide store to files

* schema composition for tsup.config.json

Brings support for both package.json "tsup" property and "tsup.config.json" files. In addition, array configuration types are now supported, allowing for multiple configuration exports.

* update documentation

* align validators

prevent the schema from revalidating the package.json

* minor edits to code sample

fixes semi and does not use plural on heading
2022-12-26 20:38:45 +08:00
await-ovo
4cb1bc21a1
fix: use postMessage instead of console in worker thread (#779)
resolve https://github.com/egoist/tsup/issues/776
2022-12-26 17:29:17 +08:00
Steven Luscher
8094cef088
chore(README): s/outout/output/ (#778) 2022-12-26 17:23:17 +08:00
await-ovo
78432e23b5
fix: search postcss config from current work dir (#773)
fix https://github.com/egoist/tsup/issues/770
2022-12-26 17:13:25 +08:00
Gavin Sharp
b107de09c9
fix: clean d.ts files if "dts" option is false (#747)
Co-authored-by: EGOIST <0x142857@gmail.com>
2022-12-26 16:51:09 +08:00
Gavin Sharp
a2803ddd35
fix: fix typo in postcssPlugin (#764) v6.5.0 2022-11-15 00:23:21 +08:00
EGOIST
3da1c00b13 feat: add --publicDir [dir] flag 2022-11-15 00:18:31 +08:00
EGOIST
002cb990a9 docs: clarify target option, closes #769 2022-11-11 18:08:25 +08:00
EGOIST
fd49cac6fc
Update README.md 2022-11-04 00:04:11 +08:00
EGOIST
6cd20a0a36
Update README.md 2022-11-04 00:03:01 +08:00
EGOIST
9291b57690 update sponsors 2022-11-03 23:51:21 +08:00
EGOIST
74df08ee78 docs: add og tags 2022-11-03 23:43:10 +08:00
await-ovo
d4b317bce3
feat: rebuild when package.json dependencies changed (#759)
Co-authored-by: EGOIST <hi@egoist.dev>
v6.4.0
2022-11-03 23:04:04 +08:00
EGOIST
6cbbea1c46 fix: update bundle-require, closes #719 2022-11-03 22:30:24 +08:00
EGOIST
9ce5c1310e fix: use rollup v3, closes #749 2022-11-03 22:07:22 +08:00
await-ovo
44d3d47aeb
fix: ensure setContext before run buildStarted (#758) 2022-11-03 17:37:45 +08:00
await-ovo
906f124ada
feat: respect target config in tsconfig.json (#757)
Co-authored-by: EGOIST <0x142857@gmail.com>
2022-11-03 17:30:22 +08:00
Baptiste Arnaud
48b3381b15
fix: use loader from config for postcss (#744) v6.3.0 2022-10-17 20:19:41 +08:00
rxliuli
fd0d78739d
docs: Instructions for adding shims configuration (#740) 2022-10-17 20:15:16 +08:00
Young
5161f8fdab
chore: fix a typo (#737) 2022-10-17 20:14:18 +08:00
Amit Dahan
2f9d370ab2
fix: Configure Rollup's external to support subpaths too (#722) 2022-10-17 19:42:51 +08:00
Eric Burel
bb2309a384
fix: respect noExternal option with Tsup node (#720)
Co-authored-by: EGOIST <hi@egoist.dev>
2022-10-17 19:39:04 +08:00
Yugang Cao
3ab4b880c5
docs: add copy loader (#721)
Co-authored-by: caoyugang <yugang.cao@tusen.ai>
2022-10-06 23:31:36 +08:00
Segev Finer
9488ac0b44
fix(types): Add typing for platform: 'neutral' (#713) 2022-10-06 22:47:03 +08:00
ArcherGu
8d7ce9e03f
feat: allow to exclude dependencies from specific package.json (#717) 2022-10-06 22:46:05 +08:00
dusion
fb248e4936
fix: ignore rollup warning if silent is true (#707) 2022-10-06 22:36:16 +08:00
EGOIST
d074dd9c33 fix(deps): update bundle-require, fix #695 v6.2.3 2022-08-26 16:26:21 +08:00
EGOIST
dd9ef53e84 fix: respect exit code from onSuccess process, closes #697 2022-08-26 15:53:28 +08:00
Parbez
900a260e4f
fix: pass globalName to rollup for tree-shaking iife build (#692) 2022-08-26 15:39:40 +08:00
EGOIST
7000c8b6f5 fix: don't transform to cjs twice, resolves #675 v6.2.2 2022-08-12 14:01:45 +08:00
EGOIST
c06b5e1426 fix: make --treeshake work with hashbang 2022-08-12 13:48:19 +08:00
EGOIST
c3dc8d8cc5 fix(deps): upgrade esbuild to 0.15, resolves #690 2022-08-12 13:17:33 +08:00
EGOIST
dda4b3cdb5 chore: update analytics id 2022-08-06 16:41:27 +08:00
EGOIST
47e6f4d8cb chore(docs): update url 2022-08-02 02:57:41 +00:00
EGOIST
eb3a03441c
chore: update docs url 2022-08-01 17:29:57 +08:00
EGOIST
52bc732100 chore(pkg): add description 2022-07-30 14:54:58 +08:00
EGOIST
06fd4db4b8 chore: add sponsor 2022-07-30 14:49:36 +08:00
EGOIST
241aaac5fc chore(docs): we can use shell script now v6.2.1 2022-07-30 05:38:36 +00:00
EGOIST
64deb61f15 fix: return a function in onSuccess to do cleanup 2022-07-30 05:36:48 +00:00
Ian VanSchooten
b595f72d8f fix: properly log rollup errors (#682) 2022-07-30 04:37:37 +00:00
nikaple
34df1da747
feat: improve minification for --target es5 (#664)
* feat: improve minification for `--target es5`

* remove .only

Co-authored-by: EGOIST <0x142857@gmail.com>
v6.2.0
2022-07-25 22:57:57 +08:00
三咲智子
407cec60f9
feat: optimize tsconfig.json loading (#660)
* feat: add option to override tsconfig

* fix: resolve tsconfig

* tweaks

Co-authored-by: EGOIST <0x142857@gmail.com>
2022-07-25 22:45:08 +08:00
Joel M
20879071a9
feat: allow onSuccess callback in tsup config file (#657)
Co-authored-by: EGOIST <0x142857@gmail.com>
2022-07-25 22:34:44 +08:00
EGOIST
135ff397cd fix: actually trigger rebuild when watched files change 2022-07-25 22:18:09 +08:00
EGOIST
8dbb97dd7b test: fix decorator test 2022-07-25 20:42:51 +08:00
EGOIST
fcdcd8bcce test: ability to remove unused code 2022-07-25 20:26:31 +08:00
EGOIST
b44d69c7d0 chore: update deps 2022-07-25 20:10:31 +08:00
Victor Duarte
504031796c
fix: fix DataCloneError when DTS is on (#668) v6.1.3 2022-07-02 14:19:16 +08:00
EGOIST
8230221e4e fix: make --minify work with es5 target, fix #653 v6.1.2 2022-06-10 23:46:49 +08:00
Julien Goux
58d0145e84
feat(cli): add --tsconfig flag to accept custom tsconfig path (#652)
* feat: expose tsconfig option

* write a test

* oops, remove the only function

* no need for a snapshot

Co-authored-by: EGOIST <hi@egoist.sh>
v6.1.1
2022-06-10 23:08:43 +08:00