Files
myeasycms-v2/package.json
giancarlo 2b0fbc445b Refactor authentication method to requireUser
Replaced the requireAuth method with requireUser to improve clarity and modified all instances where it was used. Renamed the import throughout multiple files and services and made changes accordingly, thus making it more specific and understandable that a logged-in user is needed. The return type of the method was also updated from Session to User to more accurately reflect the information it provides.
2024-03-29 15:52:32 +08:00

44 lines
1.7 KiB
JSON

{
"name": "next-supabase-saas-kit-turbo",
"private": true,
"engines": {
"node": ">=v18.17.1"
},
"scripts": {
"build": "turbo build",
"clean": "git clean -xdf node_modules dist .next",
"clean:workspaces": "turbo clean",
"dev": "cross-env FORCE_COLOR=1 turbo dev --parallel",
"dev:web": "turbo dev --parallel",
"format": "turbo format --continue -- --cache --cache-location='node_modules/.cache/.prettiercache' --ignore-path='../../.gitignore'",
"format:fix": "turbo format --continue -- --write --cache --cache-location='node_modules/.cache/.prettiercache' --ignore-path='../../.gitignore'",
"lint": "turbo lint --continue -- --cache --cache-location 'node_modules/.cache/.eslintcache' && manypkg check",
"lint:fix": "turbo lint --continue -- --fix --cache --cache-location 'node_modules/.cache/.eslintcache' && manypkg fix",
"typecheck": "turbo typecheck",
"stripe:listen": "pnpm --filter '@kit/stripe' start",
"supabase:start": "turbo dev --filter @kit/supabase-config",
"supabase:stop": "pnpm --filter '@kit/supabase-config' stop",
"supabase:reset": "pnpm --filter '@kit/supabase-config' reset",
"supabase:lint": "pnpm --filter '@kit/supabase-config' lint",
"supabase:typegen": "pnpm --filter '@kit/supabase-config' typegen"
},
"prettier": "@kit/prettier-config",
"packageManager": "npm@10.2.3",
"workspaces": [
"apps/*",
"packages/*",
"packages/features/*",
"tooling/*",
"supabase"
],
"dependencies": {
"@manypkg/cli": "^0.21.3",
"@turbo/gen": "^1.13.0",
"cross-env": "^7.0.3",
"pnpm": "^8.15.5",
"prettier": "^3.2.5",
"turbo": "^1.13.0",
"yarn": "^1.22.22"
}
}