Fix issues and add linting

This commit is contained in:
khalid@traclabs.com
2026-04-22 22:44:03 -05:00
parent 498d873c47
commit bcd047bc54
21 changed files with 10634 additions and 134 deletions

View File

@@ -14,9 +14,11 @@
"dev:server": "npm run dev --workspace=server",
"build": "npm run check:content && astro build",
"start": "node dist/server/entry.mjs",
"check:content": "node scripts/validate-content.js && node scripts/check-canonical.js",
"check:content": "npx tsx scripts/validate-content.js && npx tsx scripts/check-canonical.js",
"lint": "eslint . --ext .ts,.tsx",
"lint:fix": "eslint . --ext .ts,.tsx --fix",
"test": "vitest run",
"check": "npm run check:content && npm test"
"check": "npm run lint && npm run check:content && npm test"
},
"dependencies": {
"astro": "^5.8.0",
@@ -28,9 +30,13 @@
"@dynamic-sites/shared": "file:shared"
},
"devDependencies": {
"@eslint/js": "^9.17.0",
"@types/react": "^19.1.2",
"@types/react-dom": "^19.1.2",
"eslint": "^9.17.0",
"tsx": "^4.19.0",
"typescript": "^5.8.0",
"typescript-eslint": "^8.20.0",
"vitest": "^3.1.0"
}
}