- Updated `justfile` to simplify dev server commands and clean up node_modules. - Added Turbo as a dev dependency in `package.json` for enhanced build performance. - Modified `apps/scraper/package.json` and `apps/web/package.json` to include clean scripts. - Adjusted `apps/web/src/payload-types.ts` to make `orderNumber` optional. - Refactored `apps/web/src/collections/Orders.ts` to change hook from `beforeChange` to `beforeValidate` for better data handling during order creation. - Added type checking and cleaning scripts to `packages/shared/package.json` for consistency across packages.
41 lines
1001 B
JSON
41 lines
1001 B
JSON
{
|
|
"name": "@advdoors/web",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "eslint .",
|
|
"typecheck": "tsc --noEmit",
|
|
"clean": "rm -rf .next .turbo node_modules",
|
|
"generate:types": "payload generate:types"
|
|
},
|
|
"dependencies": {
|
|
"@advdoors/shared": "workspace:*",
|
|
"@payloadcms/db-postgres": "^3",
|
|
"@payloadcms/next": "^3",
|
|
"@payloadcms/richtext-lexical": "^3",
|
|
"@payloadcms/storage-s3": "^3",
|
|
"graphql": "^16",
|
|
"next": "~15.4",
|
|
"payload": "^3",
|
|
"react": "^19",
|
|
"react-dom": "^19",
|
|
"sharp": "^0.33"
|
|
},
|
|
"devDependencies": {
|
|
"@advdoors/eslint-config": "workspace:*",
|
|
"@advdoors/tsconfig": "workspace:*",
|
|
"@types/node": "^22",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"tailwindcss": "^4",
|
|
"@tailwindcss/postcss": "^4",
|
|
"postcss": "^8",
|
|
"typescript": "^5",
|
|
"eslint": "^9"
|
|
}
|
|
}
|