mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
Update hono, elysia, express, fastify template to use tsdown (#399)
This commit is contained in:
5
.changeset/wild-feet-win.md
Normal file
5
.changeset/wild-feet-win.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"create-better-t-stack": patch
|
||||
---
|
||||
|
||||
Switch to tsdown in server template and update configs
|
||||
@@ -3,7 +3,7 @@
|
||||
"main": "src/index.ts",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"build": "tsc && tsc-alias",
|
||||
"build": "tsdown",
|
||||
"check-types": "tsc --noEmit",
|
||||
"compile": "bun build --compile --minify --sourcemap --bytecode ./src/index.ts --outfile server"
|
||||
},
|
||||
@@ -22,7 +22,7 @@
|
||||
],
|
||||
{{/if}}
|
||||
"devDependencies": {
|
||||
"tsc-alias": "^1.8.11",
|
||||
"tsdown": "^0.12.9",
|
||||
"typescript": "^5.8.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,11 +23,23 @@
|
||||
"@/*": ["./src/*"]
|
||||
}
|
||||
},
|
||||
"include": ["./next-env.d.ts", "./**/*.ts", "./**/*.tsx", "./.next/types/**/*.ts"],
|
||||
"exclude": ["./node_modules"],
|
||||
"include": [
|
||||
"./next-env.d.ts",
|
||||
"./**/*.ts",
|
||||
"./**/*.tsx",
|
||||
"./.next/types/**/*.ts",
|
||||
{{#if (eq runtime "workers")}}
|
||||
"../server/worker-configuration.d.ts"
|
||||
{{/if}}
|
||||
],
|
||||
"exclude": [
|
||||
"./node_modules"
|
||||
],
|
||||
{{#unless (or (eq backend "convex") (eq backend "none"))}}
|
||||
"references": [{
|
||||
"path": "../server"
|
||||
}]
|
||||
"references": [
|
||||
{
|
||||
"path": "../server"
|
||||
}
|
||||
]
|
||||
{{/unless}}
|
||||
}
|
||||
|
||||
1
apps/web/.gitignore
vendored
1
apps/web/.gitignore
vendored
@@ -13,6 +13,7 @@
|
||||
/build
|
||||
*.tsbuildinfo
|
||||
/.open-next/
|
||||
/.wrangler/
|
||||
|
||||
# misc
|
||||
.DS_Store
|
||||
|
||||
Reference in New Issue
Block a user