♻️ Restructure: Move Astro to repository root

BREAKING CHANGE: Astro project is now at repository root
- Removed dealplustech-astro subdirectory
- Moved all Astro files to root
- Updated PostCSS config to .cjs
- Removed old Next.js files

 11 pages built successfully
 Cookie consent banner included
 Privacy/Terms links in footer
 Ready for Easypanel deployment (no root dir needed)

Migration path:
- Old structure: /dealplustech-astro/
- New structure: / (root)
This commit is contained in:
Kunthawat Greethong
2026-03-09 22:00:05 +07:00
parent 5b041a6a44
commit 7a67f68d9f
16524 changed files with 4277 additions and 1983574 deletions

View File

@@ -1,48 +1,25 @@
{
"name": "dealplustech",
"version": "1.0.0",
"private": true,
"name": "dealplustech-astro",
"type": "module",
"version": "0.0.1",
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
"dev": "astro dev",
"build": "astro build",
"preview": "astro preview",
"astro": "astro",
"db:push": "astro db push",
"db:seed": "astro db seed"
},
"dependencies": {
"axios": "^1.13.5",
"cheerio": "^1.2.0",
"clsx": "^2.1.1",
"gray-matter": "^4.0.3",
"next": "14.2.3",
"playwright": "^1.58.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"remark": "^15.0.1",
"remark-gfm": "^4.0.1",
"remark-html": "^16.0.1",
"sharp": "^0.34.5",
"tailwind-merge": "^2.3.0"
"@astrojs/node": "^9.5.4",
"@libsql/client": "^0.17.0",
"@tailwindcss/vite": "^4.2.1",
"astro": "^5.17.1",
"astro-consent": "^1.0.17",
"drizzle-orm": "^0.45.1",
"tailwindcss": "^4.2.1"
},
"devDependencies": {
"@tailwindcss/typography": "^0.5.19",
"@types/node": "^20.12.12",
"@types/react": "^18.3.2",
"@types/react-dom": "^18.3.0",
"autoprefixer": "^10.4.19",
"eslint": "^8.57.0",
"eslint-config-next": "14.2.3",
"postcss": "^8.4.38",
"tailwindcss": "^3.4.3",
"typescript": "^5.4.5"
},
"description": "Complete redesign of dealplustech.co.th website built with Next.js 14, TypeScript, and Tailwind CSS.",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://git.moreminimore.com/kunthawat/dealplustech.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"type": "commonjs"
"@astrojs/db": "^0.19.0"
}
}