Scaffold NewApproach: Full-stack Bun+Hono+TypeScript+TailwindCSS project
- Create modular project structure with src/backend, src/frontend, public - Hono server with routing, static file serving, and API endpoints - TailwindCSS styling pipeline with Tailwind CLI - Vanilla JS frontend (extensible for frameworks) - Complete TypeScript configuration and type checking - Auth module as self-contained submodule - Ready for development: bun run dev (port 3000) - All dependencies installed and tested Also: - Lock main branch with read-only settings in VS Code - Create .github/copilot-instructions.md with Monica persona - Initialize session logging system Status: Project ready for feature development
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"name": "newapproach",
|
||||
"version": "0.1.0",
|
||||
"description": "Full-stack application with Hono backend, TypeScript, and TailwindCSS",
|
||||
"type": "module",
|
||||
"main": "src/backend/server.ts",
|
||||
"scripts": {
|
||||
"dev": "bun --watch src/backend/server.ts",
|
||||
"build": "bun run build:styles && bun build src/backend/server.ts --outdir dist",
|
||||
"build:styles": "bun node_modules/tailwindcss/lib/cli.js -i styles/input.css -o public/output.css",
|
||||
"start": "bun dist/server.js",
|
||||
"typecheck": "tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
"hono": "^4.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"typescript": "^5.3.3",
|
||||
"tailwindcss": "^3.4.1",
|
||||
"postcss": "^8.4.32",
|
||||
"autoprefixer": "^10.4.16",
|
||||
"@types/bun": "latest"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user