mirror of
https://github.com/tiennm99/loldle.git
synced 2026-10-14 08:18:27 +00:00
chore: remove Next.js and repoint CI at the SvelteKit layout
sync-data.yml now writes static/champions.json. This is the edit that had to land with the deletion of public/: the workflow reports success regardless of which path it writes, so a miss would have left the weekly sync green while the live game 404'd on data load. deploy.yml publishes build/ and passes BASE_PATH. Adds ci.yml, which runs test, lint, and build on pull_request and pushes to main -- the repo had no PR-triggered workflow before, so 'green before merge' was previously unenforceable. Deletes app/, components/, lib/, public/, next.config.mjs and postcss.config.mjs, drops the Next and React dependencies, and swaps ESLint onto eslint-plugin-svelte. sharp and unrs-resolver left pnpm's allowBuilds because both arrived with Next and pnpm why now reports no dependents.
This commit is contained in:
1 parent
5f6b8b76c6
commit
eae345ecbb
25 files changed
+234
-7760
No files matched your search
+5
-11
@@ -8,25 +8,19 @@
|
||||
"dev": "vite dev",
|
||||
"build": "vite build",
|
||||
"preview": "vite preview",
|
||||
"lint": "eslint",
|
||||
"lint": "eslint .",
|
||||
"test": "vitest run",
|
||||
"test:watch": "vitest",
|
||||
"next:dev": "next dev",
|
||||
"next:build": "next build"
|
||||
},
|
||||
"dependencies": {
|
||||
"next": "16.2.10",
|
||||
"react": "19.2.7",
|
||||
"react-dom": "19.2.7"
|
||||
"test:watch": "vitest"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/js": "^10.0.1",
|
||||
"@sveltejs/adapter-static": "^3.0.10",
|
||||
"@sveltejs/kit": "^2.70.1",
|
||||
"@sveltejs/vite-plugin-svelte": "^7.2.0",
|
||||
"@tailwindcss/postcss": "^4.3.3",
|
||||
"@tailwindcss/vite": "^4.3.3",
|
||||
"eslint": "^9",
|
||||
"eslint-config-next": "16.2.10",
|
||||
"eslint-plugin-svelte": "^3.22.0",
|
||||
"globals": "^17.7.0",
|
||||
"svelte": "^5.56.7",
|
||||
"tailwindcss": "^4.3.3",
|
||||
"vite": "^8.1.5",
|
||||
|
||||
Reference in new issue
Block a user