From 67fe8d6cb6b0584479f18c741c1634770d18820b Mon Sep 17 00:00:00 2001 From: Gianni Ferullo Date: Fri, 5 Jan 2024 09:38:36 -0500 Subject: [PATCH] upgrade tsup, declare multiple entries --- package.json | 2 +- packages/react-components/package.json | 11 +- tsup.config.ts | 5 + yarn.lock | 438 +++++++++++++++++++++++-- 4 files changed, 429 insertions(+), 27 deletions(-) create mode 100644 tsup.config.ts diff --git a/package.json b/package.json index 1ca4721d..b0a0d8fa 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "prettier-eslint-cli": "^7.1.0", "publint": "^0.1.12", "ts-jest": "^29.1.0", - "tsup": "^7.0.0", + "tsup": "^8.0.0", "turbo": "1.10.11", "typescript": "^5.0.4" }, diff --git a/packages/react-components/package.json b/packages/react-components/package.json index f2636cea..4947a2a1 100644 --- a/packages/react-components/package.json +++ b/packages/react-components/package.json @@ -4,7 +4,7 @@ "clean": "rm -rf ./dist", "types": "tsc ./src/index.tsx -d --emitDeclarationOnly -declarationDir ./dist", "dev": "storybook dev -p 5001", - "build": "run -T tsup src/index.ts --format cjs,esm --dts --legacyOutput", + "build": "run -T tsup --format cjs,esm --dts --legacyOutput", "prepublish": "npm run clean && npm run build", "deploy-storybook": "storybook-to-ghpages", "snapshot": "NODE_ENV=PERCY storybook build && percy storybook ./storybook-static", @@ -74,6 +74,15 @@ "react": "16.10.2 - 18", "styled-components": ">= 5" }, + "tsup": { + "entry": [ + "src/index.ts", + "src/components/**.tsx", + "src/components/attribution/**.tsx", + "src/components/video/**.tsx", + "src/components/search-bar/**.tsx" + ] + }, "dependencies": { "@giphy/colors": "*", "@giphy/js-analytics": "*", diff --git a/tsup.config.ts b/tsup.config.ts new file mode 100644 index 00000000..90e74ac9 --- /dev/null +++ b/tsup.config.ts @@ -0,0 +1,5 @@ +import { defineConfig } from 'tsup' + +export default defineConfig({ + treeshake: true, +}) diff --git a/yarn.lock b/yarn.lock index 48414c0d..ba5102b7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2235,6 +2235,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/aix-ppc64@npm:0.19.11": + version: 0.19.11 + resolution: "@esbuild/aix-ppc64@npm:0.19.11" + conditions: os=aix & cpu=ppc64 + languageName: node + linkType: hard + "@esbuild/android-arm64@npm:0.18.16": version: 0.18.16 resolution: "@esbuild/android-arm64@npm:0.18.16" @@ -2242,6 +2249,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/android-arm64@npm:0.19.11": + version: 0.19.11 + resolution: "@esbuild/android-arm64@npm:0.19.11" + conditions: os=android & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/android-arm@npm:0.18.16": version: 0.18.16 resolution: "@esbuild/android-arm@npm:0.18.16" @@ -2249,6 +2263,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/android-arm@npm:0.19.11": + version: 0.19.11 + resolution: "@esbuild/android-arm@npm:0.19.11" + conditions: os=android & cpu=arm + languageName: node + linkType: hard + "@esbuild/android-x64@npm:0.18.16": version: 0.18.16 resolution: "@esbuild/android-x64@npm:0.18.16" @@ -2256,6 +2277,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/android-x64@npm:0.19.11": + version: 0.19.11 + resolution: "@esbuild/android-x64@npm:0.19.11" + conditions: os=android & cpu=x64 + languageName: node + linkType: hard + "@esbuild/darwin-arm64@npm:0.18.16": version: 0.18.16 resolution: "@esbuild/darwin-arm64@npm:0.18.16" @@ -2263,6 +2291,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/darwin-arm64@npm:0.19.11": + version: 0.19.11 + resolution: "@esbuild/darwin-arm64@npm:0.19.11" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/darwin-x64@npm:0.18.16": version: 0.18.16 resolution: "@esbuild/darwin-x64@npm:0.18.16" @@ -2270,6 +2305,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/darwin-x64@npm:0.19.11": + version: 0.19.11 + resolution: "@esbuild/darwin-x64@npm:0.19.11" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + "@esbuild/freebsd-arm64@npm:0.18.16": version: 0.18.16 resolution: "@esbuild/freebsd-arm64@npm:0.18.16" @@ -2277,6 +2319,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/freebsd-arm64@npm:0.19.11": + version: 0.19.11 + resolution: "@esbuild/freebsd-arm64@npm:0.19.11" + conditions: os=freebsd & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/freebsd-x64@npm:0.18.16": version: 0.18.16 resolution: "@esbuild/freebsd-x64@npm:0.18.16" @@ -2284,6 +2333,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/freebsd-x64@npm:0.19.11": + version: 0.19.11 + resolution: "@esbuild/freebsd-x64@npm:0.19.11" + conditions: os=freebsd & cpu=x64 + languageName: node + linkType: hard + "@esbuild/linux-arm64@npm:0.18.16": version: 0.18.16 resolution: "@esbuild/linux-arm64@npm:0.18.16" @@ -2291,6 +2347,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-arm64@npm:0.19.11": + version: 0.19.11 + resolution: "@esbuild/linux-arm64@npm:0.19.11" + conditions: os=linux & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/linux-arm@npm:0.18.16": version: 0.18.16 resolution: "@esbuild/linux-arm@npm:0.18.16" @@ -2298,6 +2361,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-arm@npm:0.19.11": + version: 0.19.11 + resolution: "@esbuild/linux-arm@npm:0.19.11" + conditions: os=linux & cpu=arm + languageName: node + linkType: hard + "@esbuild/linux-ia32@npm:0.18.16": version: 0.18.16 resolution: "@esbuild/linux-ia32@npm:0.18.16" @@ -2305,6 +2375,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-ia32@npm:0.19.11": + version: 0.19.11 + resolution: "@esbuild/linux-ia32@npm:0.19.11" + conditions: os=linux & cpu=ia32 + languageName: node + linkType: hard + "@esbuild/linux-loong64@npm:0.18.16": version: 0.18.16 resolution: "@esbuild/linux-loong64@npm:0.18.16" @@ -2312,6 +2389,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-loong64@npm:0.19.11": + version: 0.19.11 + resolution: "@esbuild/linux-loong64@npm:0.19.11" + conditions: os=linux & cpu=loong64 + languageName: node + linkType: hard + "@esbuild/linux-mips64el@npm:0.18.16": version: 0.18.16 resolution: "@esbuild/linux-mips64el@npm:0.18.16" @@ -2319,6 +2403,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-mips64el@npm:0.19.11": + version: 0.19.11 + resolution: "@esbuild/linux-mips64el@npm:0.19.11" + conditions: os=linux & cpu=mips64el + languageName: node + linkType: hard + "@esbuild/linux-ppc64@npm:0.18.16": version: 0.18.16 resolution: "@esbuild/linux-ppc64@npm:0.18.16" @@ -2326,6 +2417,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-ppc64@npm:0.19.11": + version: 0.19.11 + resolution: "@esbuild/linux-ppc64@npm:0.19.11" + conditions: os=linux & cpu=ppc64 + languageName: node + linkType: hard + "@esbuild/linux-riscv64@npm:0.18.16": version: 0.18.16 resolution: "@esbuild/linux-riscv64@npm:0.18.16" @@ -2333,6 +2431,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-riscv64@npm:0.19.11": + version: 0.19.11 + resolution: "@esbuild/linux-riscv64@npm:0.19.11" + conditions: os=linux & cpu=riscv64 + languageName: node + linkType: hard + "@esbuild/linux-s390x@npm:0.18.16": version: 0.18.16 resolution: "@esbuild/linux-s390x@npm:0.18.16" @@ -2340,6 +2445,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-s390x@npm:0.19.11": + version: 0.19.11 + resolution: "@esbuild/linux-s390x@npm:0.19.11" + conditions: os=linux & cpu=s390x + languageName: node + linkType: hard + "@esbuild/linux-x64@npm:0.18.16": version: 0.18.16 resolution: "@esbuild/linux-x64@npm:0.18.16" @@ -2347,6 +2459,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-x64@npm:0.19.11": + version: 0.19.11 + resolution: "@esbuild/linux-x64@npm:0.19.11" + conditions: os=linux & cpu=x64 + languageName: node + linkType: hard + "@esbuild/netbsd-x64@npm:0.18.16": version: 0.18.16 resolution: "@esbuild/netbsd-x64@npm:0.18.16" @@ -2354,6 +2473,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/netbsd-x64@npm:0.19.11": + version: 0.19.11 + resolution: "@esbuild/netbsd-x64@npm:0.19.11" + conditions: os=netbsd & cpu=x64 + languageName: node + linkType: hard + "@esbuild/openbsd-x64@npm:0.18.16": version: 0.18.16 resolution: "@esbuild/openbsd-x64@npm:0.18.16" @@ -2361,6 +2487,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/openbsd-x64@npm:0.19.11": + version: 0.19.11 + resolution: "@esbuild/openbsd-x64@npm:0.19.11" + conditions: os=openbsd & cpu=x64 + languageName: node + linkType: hard + "@esbuild/sunos-x64@npm:0.18.16": version: 0.18.16 resolution: "@esbuild/sunos-x64@npm:0.18.16" @@ -2368,6 +2501,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/sunos-x64@npm:0.19.11": + version: 0.19.11 + resolution: "@esbuild/sunos-x64@npm:0.19.11" + conditions: os=sunos & cpu=x64 + languageName: node + linkType: hard + "@esbuild/win32-arm64@npm:0.18.16": version: 0.18.16 resolution: "@esbuild/win32-arm64@npm:0.18.16" @@ -2375,6 +2515,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/win32-arm64@npm:0.19.11": + version: 0.19.11 + resolution: "@esbuild/win32-arm64@npm:0.19.11" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/win32-ia32@npm:0.18.16": version: 0.18.16 resolution: "@esbuild/win32-ia32@npm:0.18.16" @@ -2382,6 +2529,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/win32-ia32@npm:0.19.11": + version: 0.19.11 + resolution: "@esbuild/win32-ia32@npm:0.19.11" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + "@esbuild/win32-x64@npm:0.18.16": version: 0.18.16 resolution: "@esbuild/win32-x64@npm:0.18.16" @@ -2389,6 +2543,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/win32-x64@npm:0.19.11": + version: 0.19.11 + resolution: "@esbuild/win32-x64@npm:0.19.11" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + "@eslint-community/eslint-utils@npm:^4.2.0": version: 4.4.0 resolution: "@eslint-community/eslint-utils@npm:4.4.0" @@ -3519,6 +3680,97 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-android-arm-eabi@npm:4.9.2": + version: 4.9.2 + resolution: "@rollup/rollup-android-arm-eabi@npm:4.9.2" + conditions: os=android & cpu=arm + languageName: node + linkType: hard + +"@rollup/rollup-android-arm64@npm:4.9.2": + version: 4.9.2 + resolution: "@rollup/rollup-android-arm64@npm:4.9.2" + conditions: os=android & cpu=arm64 + languageName: node + linkType: hard + +"@rollup/rollup-darwin-arm64@npm:4.9.2": + version: 4.9.2 + resolution: "@rollup/rollup-darwin-arm64@npm:4.9.2" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@rollup/rollup-darwin-x64@npm:4.9.2": + version: 4.9.2 + resolution: "@rollup/rollup-darwin-x64@npm:4.9.2" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@rollup/rollup-linux-arm-gnueabihf@npm:4.9.2": + version: 4.9.2 + resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.9.2" + conditions: os=linux & cpu=arm + languageName: node + linkType: hard + +"@rollup/rollup-linux-arm64-gnu@npm:4.9.2": + version: 4.9.2 + resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.9.2" + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-arm64-musl@npm:4.9.2": + version: 4.9.2 + resolution: "@rollup/rollup-linux-arm64-musl@npm:4.9.2" + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + +"@rollup/rollup-linux-riscv64-gnu@npm:4.9.2": + version: 4.9.2 + resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.9.2" + conditions: os=linux & cpu=riscv64 & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-x64-gnu@npm:4.9.2": + version: 4.9.2 + resolution: "@rollup/rollup-linux-x64-gnu@npm:4.9.2" + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-x64-musl@npm:4.9.2": + version: 4.9.2 + resolution: "@rollup/rollup-linux-x64-musl@npm:4.9.2" + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + +"@rollup/rollup-win32-arm64-msvc@npm:4.9.2": + version: 4.9.2 + resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.9.2" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + +"@rollup/rollup-win32-ia32-msvc@npm:4.9.2": + version: 4.9.2 + resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.9.2" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + +"@rollup/rollup-win32-x64-msvc@npm:4.9.2": + version: 4.9.2 + resolution: "@rollup/rollup-win32-x64-msvc@npm:4.9.2" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + "@sinclair/typebox@npm:^0.27.8": version: 0.27.8 resolution: "@sinclair/typebox@npm:0.27.8" @@ -10180,7 +10432,7 @@ __metadata: languageName: node linkType: hard -"esbuild@npm:^0.18.0, esbuild@npm:^0.18.10, esbuild@npm:^0.18.2": +"esbuild@npm:^0.18.0, esbuild@npm:^0.18.10": version: 0.18.16 resolution: "esbuild@npm:0.18.16" dependencies: @@ -10257,6 +10509,86 @@ __metadata: languageName: node linkType: hard +"esbuild@npm:^0.19.2": + version: 0.19.11 + resolution: "esbuild@npm:0.19.11" + dependencies: + "@esbuild/aix-ppc64": 0.19.11 + "@esbuild/android-arm": 0.19.11 + "@esbuild/android-arm64": 0.19.11 + "@esbuild/android-x64": 0.19.11 + "@esbuild/darwin-arm64": 0.19.11 + "@esbuild/darwin-x64": 0.19.11 + "@esbuild/freebsd-arm64": 0.19.11 + "@esbuild/freebsd-x64": 0.19.11 + "@esbuild/linux-arm": 0.19.11 + "@esbuild/linux-arm64": 0.19.11 + "@esbuild/linux-ia32": 0.19.11 + "@esbuild/linux-loong64": 0.19.11 + "@esbuild/linux-mips64el": 0.19.11 + "@esbuild/linux-ppc64": 0.19.11 + "@esbuild/linux-riscv64": 0.19.11 + "@esbuild/linux-s390x": 0.19.11 + "@esbuild/linux-x64": 0.19.11 + "@esbuild/netbsd-x64": 0.19.11 + "@esbuild/openbsd-x64": 0.19.11 + "@esbuild/sunos-x64": 0.19.11 + "@esbuild/win32-arm64": 0.19.11 + "@esbuild/win32-ia32": 0.19.11 + "@esbuild/win32-x64": 0.19.11 + dependenciesMeta: + "@esbuild/aix-ppc64": + optional: true + "@esbuild/android-arm": + optional: true + "@esbuild/android-arm64": + optional: true + "@esbuild/android-x64": + optional: true + "@esbuild/darwin-arm64": + optional: true + "@esbuild/darwin-x64": + optional: true + "@esbuild/freebsd-arm64": + optional: true + "@esbuild/freebsd-x64": + optional: true + "@esbuild/linux-arm": + optional: true + "@esbuild/linux-arm64": + optional: true + "@esbuild/linux-ia32": + optional: true + "@esbuild/linux-loong64": + optional: true + "@esbuild/linux-mips64el": + optional: true + "@esbuild/linux-ppc64": + optional: true + "@esbuild/linux-riscv64": + optional: true + "@esbuild/linux-s390x": + optional: true + "@esbuild/linux-x64": + optional: true + "@esbuild/netbsd-x64": + optional: true + "@esbuild/openbsd-x64": + optional: true + "@esbuild/sunos-x64": + optional: true + "@esbuild/win32-arm64": + optional: true + "@esbuild/win32-ia32": + optional: true + "@esbuild/win32-x64": + optional: true + bin: + esbuild: bin/esbuild + checksum: ae949a796d1d06b55275ae7491ce137857468f69a93d8cc9c0943d2a701ac54e14dbb250a2ba56f2ad98283669578f1ec3bd85a4681910a5ff29a2470c3bd62c + languageName: node + linkType: hard + "escalade@npm:^3.1.1": version: 3.1.1 resolution: "escalade@npm:3.1.1" @@ -11691,7 +12023,7 @@ __metadata: languageName: node linkType: hard -"fsevents@patch:fsevents@npm%3A^2.3.2#~builtin, fsevents@patch:fsevents@npm%3A~2.3.2#~builtin": +"fsevents@patch:fsevents@npm%3A^2.3.2#~builtin, fsevents@patch:fsevents@npm%3A~2.3.2#~builtin, fsevents@patch:fsevents@~2.3.2#~builtin": version: 2.3.2 resolution: "fsevents@patch:fsevents@npm%3A2.3.2#~builtin::version=2.3.2&hash=df0bf1" dependencies: @@ -11932,7 +12264,7 @@ __metadata: prettier-eslint-cli: ^7.1.0 publint: ^0.1.12 ts-jest: ^29.1.0 - tsup: ^7.0.0 + tsup: ^8.0.0 turbo: 1.10.11 typescript: ^5.0.4 languageName: unknown @@ -19282,7 +19614,7 @@ __metadata: languageName: node linkType: hard -"rollup@npm:^2.25.0 || ^3.3.0, rollup@npm:^3.17.3, rollup@npm:^3.2.5, rollup@npm:^3.25.2": +"rollup@npm:^2.25.0 || ^3.3.0, rollup@npm:^3.17.3, rollup@npm:^3.25.2": version: 3.26.3 resolution: "rollup@npm:3.26.3" dependencies: @@ -19296,6 +19628,59 @@ __metadata: languageName: node linkType: hard +"rollup@npm:^4.0.2": + version: 4.9.2 + resolution: "rollup@npm:4.9.2" + dependencies: + "@rollup/rollup-android-arm-eabi": 4.9.2 + "@rollup/rollup-android-arm64": 4.9.2 + "@rollup/rollup-darwin-arm64": 4.9.2 + "@rollup/rollup-darwin-x64": 4.9.2 + "@rollup/rollup-linux-arm-gnueabihf": 4.9.2 + "@rollup/rollup-linux-arm64-gnu": 4.9.2 + "@rollup/rollup-linux-arm64-musl": 4.9.2 + "@rollup/rollup-linux-riscv64-gnu": 4.9.2 + "@rollup/rollup-linux-x64-gnu": 4.9.2 + "@rollup/rollup-linux-x64-musl": 4.9.2 + "@rollup/rollup-win32-arm64-msvc": 4.9.2 + "@rollup/rollup-win32-ia32-msvc": 4.9.2 + "@rollup/rollup-win32-x64-msvc": 4.9.2 + fsevents: ~2.3.2 + dependenciesMeta: + "@rollup/rollup-android-arm-eabi": + optional: true + "@rollup/rollup-android-arm64": + optional: true + "@rollup/rollup-darwin-arm64": + optional: true + "@rollup/rollup-darwin-x64": + optional: true + "@rollup/rollup-linux-arm-gnueabihf": + optional: true + "@rollup/rollup-linux-arm64-gnu": + optional: true + "@rollup/rollup-linux-arm64-musl": + optional: true + "@rollup/rollup-linux-riscv64-gnu": + optional: true + "@rollup/rollup-linux-x64-gnu": + optional: true + "@rollup/rollup-linux-x64-musl": + optional: true + "@rollup/rollup-win32-arm64-msvc": + optional: true + "@rollup/rollup-win32-ia32-msvc": + optional: true + "@rollup/rollup-win32-x64-msvc": + optional: true + fsevents: + optional: true + bin: + rollup: dist/bin/rollup + checksum: 2e4cd90c8fa004b5ff1f4028e331bc627206c5719b45c71cab21578bf60704bc71da241c7dfffcc0aa58bcf380b926ca39a27d6e2482b5996740a6697971b26d + languageName: node + linkType: hard + "rtl-css-js@npm:^1.14.0": version: 1.16.1 resolution: "rtl-css-js@npm:1.16.1" @@ -21527,29 +21912,32 @@ __metadata: languageName: node linkType: hard -"tsup@npm:^7.0.0": - version: 7.1.0 - resolution: "tsup@npm:7.1.0" - dependencies: - bundle-require: "npm:^4.0.0" - cac: "npm:^6.7.12" - chokidar: "npm:^3.5.1" - debug: "npm:^4.3.1" - esbuild: "npm:^0.18.2" - execa: "npm:^5.0.0" - globby: "npm:^11.0.3" - joycon: "npm:^3.0.1" - postcss-load-config: "npm:^4.0.1" - resolve-from: "npm:^5.0.0" - rollup: "npm:^3.2.5" - source-map: "npm:0.8.0-beta.0" - sucrase: "npm:^3.20.3" - tree-kill: "npm:^1.2.2" - peerDependencies: +"tsup@npm:^8.0.0": + version: 8.0.1 + resolution: "tsup@npm:8.0.1" + dependencies: + bundle-require: ^4.0.0 + cac: ^6.7.12 + chokidar: ^3.5.1 + debug: ^4.3.1 + esbuild: ^0.19.2 + execa: ^5.0.0 + globby: ^11.0.3 + joycon: ^3.0.1 + postcss-load-config: ^4.0.1 + resolve-from: ^5.0.0 + rollup: ^4.0.2 + source-map: 0.8.0-beta.0 + sucrase: ^3.20.3 + tree-kill: ^1.2.2 + peerDependencies: + "@microsoft/api-extractor": ^7.36.0 "@swc/core": ^1 postcss: ^8.4.12 - typescript: ">=4.1.0" + typescript: ">=4.5.0" peerDependenciesMeta: + "@microsoft/api-extractor": + optional: true "@swc/core": optional: true postcss: @@ -21559,7 +21947,7 @@ __metadata: bin: tsup: dist/cli-default.js tsup-node: dist/cli-node.js - checksum: 5639c0f4990a89de6e55f9d77f53b8c3706e6d24700e37dd1fc696abda83017b02be7f514f4e7ce655b1e443b8f4d09ca0aca398b5767cad23466a18bd6e06b2 + checksum: 7b9e7a412247e374be1f22d9aa68eec64e9bdebfdf36ac915fc24be995fc7b855d74cf210431122cec26351e4c22c0b87f0400181b1de1915a80531f4797d84a languageName: node linkType: hard