chore: update dependencies and migrate from tsup to tsdown in cli and plasmic packages

This commit is contained in:
Jonas Perusquia Morales
2026-03-30 11:08:45 -06:00
parent 81bf41ce34
commit 6d30e9ec96
11 changed files with 1511 additions and 847 deletions
+2 -2
View File
@@ -12,10 +12,10 @@
"README.md"
],
"dependencies": {
"@libsql/client": "^0.14.0",
"@libsql/client": "^0.17.2",
"hono": "^4.6.7"
},
"tsup": {
"tsdown": {
"entry": [
"src/index.ts"
],
+6 -5
View File
@@ -4,14 +4,15 @@
"type": "module",
"sideEffects": false,
"scripts": {
"build": "rm -rf dist && bun tsup && bun run build:types",
"watch": "bun tsup --watch --onSuccess 'bun run build:types'",
"build:only": "rm -rf dist && bun tsup",
"build": "rm -rf dist && bun tsdown && bun run build:types",
"watch": "bun tsdown --watch --onSuccess 'bun run build:types'",
"build:only": "rm -rf dist && bun tsdown",
"types": "bun tsc -p tsconfig.json --noEmit --skipLibCheck",
"build:types": "bun tsc --emitDeclarationOnly",
"updater": "bun x npm-check-updates -ui",
"pack": "rm -rf *.tgz && npm pack && mv *.tgz latest.tgz",
"prepublishOnly": "bun run build"
"prepublishOnly": "bun run build",
"tsdown": "bunx tsdown"
},
"publishConfig": {
"access": "public"
@@ -33,7 +34,7 @@
"optionalDependencies": {
"@plasmicapp/loader-nextjs": "^1.0.0"
},
"tsup": {
"tsdown": {
"entry": [
"src/index.ts",
"src/nextjs/index.tsx"