* Add CSP nonce support and enhance security headers Introduced secure headers and CSP nonce to improve app security by integrating `@nosecone/next`. Updated middleware, root providers, and layout to handle nonce propagation, enabling stricter CSP policies when configured. Also upgraded dependencies and tooling versions. * Add OTP and security guidelines documentation and additional checks on client-provided values - Introduced additional checks on client-provided values such as cookies - Introduced a new OTP API documentation outlining the creation and verification of OTP tokens for sensitive operations. - Added comprehensive security guidelines for writing secure code in Next.js, covering client and server components, environment variables, authentication, and error handling. These additions enhance the project's security posture and provide clear instructions for developers on implementing secure practices.
55 lines
2.2 KiB
JSON
55 lines
2.2 KiB
JSON
{
|
|
"name": "next-supabase-saas-kit-turbo",
|
|
"version": "2.8.0",
|
|
"private": true,
|
|
"sideEffects": false,
|
|
"engines": {
|
|
"node": ">=v18.18.0"
|
|
},
|
|
"author": {
|
|
"url": "https://makerkit.dev",
|
|
"name": "MakerKit"
|
|
},
|
|
"scripts": {
|
|
"preinstall": "pnpm run --filter scripts requirements",
|
|
"postinstall": "manypkg fix",
|
|
"build": "turbo build --cache-dir=.turbo",
|
|
"clean": "git clean -xdf node_modules dist .next",
|
|
"clean:workspaces": "turbo clean",
|
|
"dev": "cross-env FORCE_COLOR=1 turbo dev --parallel",
|
|
"format": "turbo format --cache-dir=.turbo --continue -- --cache --cache-location=\"node_modules/.cache/.prettiercache\" --ignore-path=\"../../.gitignore\"",
|
|
"format:fix": "turbo format --cache-dir=.turbo --continue -- --write --cache --cache-location=\"node_modules/.cache/.prettiercache\" --ignore-path=\"../../.gitignore\"",
|
|
"lint": "turbo lint --cache-dir=.turbo --affected --continue -- --cache --cache-location \"node_modules/.cache/.eslintcache\" && manypkg check",
|
|
"lint:fix": "turbo lint --cache-dir=.turbo --affected --continue -- --fix --cache --cache-location \"node_modules/.cache/.eslintcache\" && manypkg fix",
|
|
"typecheck": "turbo typecheck --affected --cache-dir=.turbo",
|
|
"test": "turbo test --cache-dir=.turbo",
|
|
"update": "pnpm update -r",
|
|
"syncpack:list": "pnpm dlx syncpack list-mismatches",
|
|
"syncpack:fix": "pnpm dlx syncpack fix-mismatches",
|
|
"supabase:web:start": "pnpm --filter web supabase:start",
|
|
"supabase:web:stop": "pnpm --filter web supabase:stop",
|
|
"supabase:web:typegen": "pnpm --filter web supabase:typegen",
|
|
"supabase:web:reset": "pnpm --filter web supabase:reset",
|
|
"supabase:web:test": "pnpm --filter web supabase:test",
|
|
"stripe:listen": "pnpm --filter '@kit/stripe' start",
|
|
"env:generate": "turbo gen env",
|
|
"env:validate": "turbo gen validate-env"
|
|
},
|
|
"prettier": "@kit/prettier-config",
|
|
"packageManager": "pnpm@9.12.0",
|
|
"pnpm": {
|
|
"overrides": {
|
|
"react-is": "19.0.0",
|
|
"require-in-the-middle": "7.5.2"
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@manypkg/cli": "^0.23.0",
|
|
"@turbo/gen": "^2.5.0",
|
|
"cross-env": "^7.0.3",
|
|
"prettier": "^3.5.3",
|
|
"turbo": "2.5.0",
|
|
"typescript": "^5.8.3"
|
|
}
|
|
}
|