This MR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
tsup (source) | ^5.11.13 -> ^6.0.0 |
Release Notes
egoist/tsup
v6.7.0
Features
- add function type for options.injectStyle (#855) (01169b3)
- support typescript 5.0 (#859) (3e15867)
v6.6.3
Bug Fixes
- raise node engine requirement to 14.18 (#832) (49cde79), closes #825
- upgrade rollup-plugin-dts for better watch mode support (#836) (2ad00aa)
v6.6.2
Bug Fixes
- upgrade tsup (a4df971)
v6.6.1
Bug Fixes
v6.6.0
Bug Fixes
- add home page to package.json (#817) (2e73ca9)
- clean d.ts files if "dts" option is false (#747) (b107de0)
- default exports not working on CJS + treeshake: true (#815) (14ad4bd)
- search postcss config from current work dir (#773) (78432e2)
- use postMessage instead of console in worker thread (#779) (4cb1bc2)
Features
- Bump esbuild 0.15 -> 0.16 (#805) (904e07a)
- Minify with terser (#789) (fdd4dfa), closes #742
- Provide JSON Schema (#763) (31b2e72)
- types: allow autocomplete for target (#809) (398ae15)
- update rollup-plugin-dts to support custom tsconfig and preserve export {} for file that have no exports (#807) (4154e05)
- upgrade esbuild 0.16 -> 0.17 (30ff79d)
v6.5.0
Bug Fixes
Features
- add
--publicDir [dir]
flag (3da1c00)
v6.4.0
Bug Fixes
- ensure setContext before run buildStarted (#758) (44d3d47)
- update bundle-require, closes #719 (6cbbea1)
- use rollup v3, closes #749 (9ce5c13)
Features
- rebuild when package.json dependencies changed (#759) (d4b317b)
- respect target config in tsconfig.json (#757) (906f124)
v6.3.0
Bug Fixes
- Configure Rollup's external to support subpaths too (#722) (2f9d370)
- ignore rollup warning if silent is true (#707) (fb248e4)
- respect noExternal option with Tsup node (#720) (bb2309a)
- types: Add typing for platform: 'neutral' (#713) (9488ac0)
- use loader from config for postcss (#744) (48b3381)
Features
v6.2.3
Bug Fixes
- deps: update bundle-require, fix #695 (d074dd9)
- pass globalName to rollup for tree-shaking iife build (#692) (900a260)
- respect exit code from onSuccess process, closes #697 (dd9ef53)
v6.2.2
Bug Fixes
- deps: upgrade esbuild to 0.15, resolves #690 (c3dc8d8)
- don't transform to cjs twice, resolves #675 (7000c8b)
- make --treeshake work with hashbang (c06b5e1)
v6.2.1
Bug Fixes
v6.2.0
Bug Fixes
- actually trigger rebuild when watched files change (135ff39)
Features
- allow onSuccess callback in tsup config file (#657) (2087907)
- improve minification for
--target es5
(#664) (34df1da) - optimize tsconfig.json loading (#660) (407cec6)
v6.1.3
Bug Fixes
v6.1.2
Bug Fixes
v6.1.1
Features
-
cli: add
--tsconfig
flag to accept custom tsconfig path (#652) (58d0145) - minor: use shell option for complex commands in onSuccess (#649) (be48b8b)
v6.1.0
Bug Fixes
- allow
format
to be a string in config file (0a96985) - ignore esbuild warning if silent is true (#643) (36e2199)
Features
- allow to use an object as entry with
--entry
flag (33a7c5f) - new option
outExtension
(b9cd8d5) - support custom config file with
--config
flag (90f2d1a)
v6.0.1
Bug Fixes
- add missing
tsup-node
command (a175339)
v6.0.0
Upgrade guide
-
shims
option isfalse
by default: If you're dual-publishing (i.e.--format esm,cjs
) and using platform specific API likeimport.meta.url
,__dirname
and__filename
, you need to manually enable--shims
flag now, becauseimport.meta.url
won't work in acjs
module, and__dirname
,__filename
won't work in anesm
module. -
target
option is nownode14
by default: previously it wasnode12
, the minimal node version that tsup can run in is also changed tonode14
New Features
- New
treeshake
option: You can use Rollup for tree-shaking now, read more https://tsup.egoist.sh/#tree-shaking
v5.12.9
Bug Fixes
Features
v5.12.8
Bug Fixes
v5.12.7
Bug Fixes
- define a build-time constant called
TSUP_FORMAT
(f4a56ed) - resolve to package.json only if tsup key exists (#622) (67eea53)
v5.12.6
Bug Fixes
v5.12.5
Bug Fixes
v5.12.4
Bug Fixes
- make sure
sources
are relative path in sourcemap, closes #603 (637ec28) - reject promise with an error (401e204)
v5.12.3
Bug Fixes
v5.12.2
Bug Fixes
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.