337 Commits

Author SHA1 Message Date
EGOIST
30ff79db91 feat: upgrade esbuild 0.16 -> 0.17 2023-02-07 22:17:03 +08:00
Raz Luvaton
2e73ca96bd
fix: add home page to package.json (#817) 2023-02-07 21:23:29 +08:00
EGOIST
85e01add59 chore: cleanup
incremental mode is not actually used
2023-02-07 21:07:31 +08:00
await-ovo
4154e05032
feat: update rollup-plugin-dts to support custom tsconfig and preserve export {} for file that have no exports (#807)
Co-authored-by: EGOIST <hi@egoist.dev>
close https://github.com/egoist/tsup/issues/762
close https://github.com/egoist/tsup/issues/791
2023-02-07 20:26:08 +08:00
Amit Dahan
904e07a21b
feat: Bump esbuild 0.15 -> 0.16 (#805)
Co-authored-by: EGOIST <hi@egoist.sh>
2023-02-07 20:16:03 +08:00
Puru Vijay
fdd4dfa283
feat: Minify with terser (#789)
closes #742
2023-02-07 19:19:00 +08:00
ΝΙΚΟΛΑΣ
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
EGOIST
002cb990a9 docs: clarify target option, closes #769 2022-11-11 18:08:25 +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
EGOIST
d074dd9c33 fix(deps): update bundle-require, fix #695 2022-08-26 16:26:21 +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
52bc732100 chore(pkg): add description 2022-07-30 14:54:58 +08:00
EGOIST
b44d69c7d0 chore: update deps 2022-07-25 20:10:31 +08:00
Julien Goux
be48b8b7a5
feat(minor): use shell option for complex commands in onSuccess (#649) 2022-06-10 22:45:13 +08:00
EGOIST
b9cd8d5f09 feat: new option outExtension 2022-05-30 21:29:37 +08:00
EGOIST
21d549cc8a Revert "chore(deps): update postcss-load-config"
This reverts commit 485f432b7f2b0b9116f47f0d11cd0ae0de444348.
2022-05-25 16:56:43 +08:00
EGOIST
485f432b7f chore(deps): update postcss-load-config 2022-05-25 16:43:54 +08:00
EGOIST
f7c53f70a6 feat: update default target to node14
BREAKING CHANGE:

Now tsup requires node 14 or above, the build target is also changed to `node14` by default
2022-05-25 16:31:21 +08:00
EGOIST
0a5b4b6939 chore: adding postcss and swc to optional peerDependencies 2022-05-25 14:17:39 +08:00
Oscar Newman
a792668a40 fix(deps): Update rollup and rollup-plugin-dts to latest versions (#632) 2022-05-25 14:17:39 +08:00
EGOIST
c67e03debc fix: update source-map to 0.8.0-beta.0, closes #623
the `source-map` package is broken in Node.js 18, it was fixed but the beta version was never released

see https://github.com/mozilla/source-map/issues/454
2022-05-16 23:48:38 +08:00
EGOIST
009d9045aa chore(deps): update tsup 2022-04-12 20:51:16 +08:00
EGOIST
b3ad95f9d8 fix: Exit Code returns 0 for failed builds, closes #606 2022-04-12 20:44:23 +08:00
renovate[bot]
b7cf55282c
chore(deps): update dependency vitest to v0.8.4 (#601) 2022-04-04 21:52:49 +08:00
EGOIST
095b8ca188 chore(deps): update tsup 2022-04-02 13:40:44 +00:00
EGOIST
93bf6e808a chore(deps): update vitest 2022-04-01 12:42:40 +08:00
renovate[bot]
c42eb9d58a
chore(deps): pin dependencies (#555)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-26 16:56:28 +08:00
renovate[bot]
2dfb20927f
chore(deps): update dependency svelte to v3.46.4 (#535)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-26 16:50:45 +08:00
renovate[bot]
2516ef995e
chore(deps): update dependency postcss to v8.4.12 (#592)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-26 16:49:29 +08:00
renovate[bot]
7a36bf5fb0
chore(deps): update dependency @types/node to v14.18.12 (#532)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-26 16:42:39 +08:00
renovate[bot]
79e16df1d1
chore(deps): update dependency typescript to v4.6.3 (#549)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-26 16:41:43 +08:00
Zhang Zhi
f08cde4439
chore: supports cross-module inlining of TypeScript enum constants (#587) 2022-03-17 12:30:31 +08:00
EGOIST
e6009846d0 test: replace ava with vitest 2022-01-30 17:05:44 +08:00
EGOIST
b8c51f4553 fix: node 12.20.0 compatibility 2022-01-29 18:06:20 +08:00
renovate[bot]
d49f66195d
chore(deps): update dependency tsup to v5.11.10 (#526)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-04 19:44:34 +08:00
renovate[bot]
34f7b303e4
chore(deps): update dependency ts-essentials to v9 (#521)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-04 19:44:23 +08:00
renovate[bot]
637035b46a
chore(deps): update dependency @types/node to v14.18.4 (#527)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-04 19:44:14 +08:00
renovate[bot]
c01cbd65be
chore(deps): update dependency @swc/core to v1.2.126 (#528)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-04 19:44:03 +08:00
renovate[bot]
8dde3c983d
chore(deps): update dependency ava to v4.0.0 (#529)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-04 19:43:40 +08:00
renovate[bot]
529be6895d
chore(deps): update dependency fs-extra to v10 (#520)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-29 16:05:00 +08:00
renovate[bot]
6477383832
chore(deps): update dependency svelte to v3.44.3 (#517)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-29 16:04:39 +08:00
renovate[bot]
db7b55a4b5
chore(deps): pin dependencies (#516)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-29 15:59:12 +08:00
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