Files
supabase/packages/common/package.json
T
Charis dfda9da26d feat(docs): add revalidation api route (#29378)
Add a route for manually revalidating cache contents by tag.

The route is protected by authentication to prevent abuse. Automated
actions in CI should be set up with a basic API key, which has a rate
limit of 6 hours between changes. Overriding is possible with an
override key, which should be used as an escape hatch.

Usage:
- API key provided in header `Authorization: Bearer <KEY>`
- Body has shape `{ tags: string[] }`
2024-09-19 14:28:07 -04:00

33 lines
749 B
JSON

{
"name": "common",
"version": "0.0.0",
"main": "./index.tsx",
"types": "./index.tsx",
"license": "MIT",
"scripts": {
"gen:types": "supabase gen types typescript --local >| ./database-types.ts",
"typecheck_CURRENTLY_IGNORED": "tsc --noEmit"
},
"dependencies": {
"@types/dat.gui": "^0.7.12",
"config": "*",
"dat.gui": "^0.7.9",
"lodash": "^4.17.21",
"next-themes": "^0.3.0",
"react-use": "^17.4.0"
},
"devDependencies": {
"@types/react": "^18.2.24",
"@types/react-dom": "^18.2.8",
"tsconfig": "*",
"typescript": "^5.5.0"
},
"peerDependencies": {
"@supabase/supabase-js": "*",
"@supabase/auth-js": "^2.63.0",
"next": "*",
"react": "*",
"react-dom": "*"
}
}