chore: pnpm

This commit is contained in:
Alaister Young committed 2024-09-13 19:17:19 +08:00
1 parent 9e6a1891fb
commit bbc6cc7455
15 files changed
+27890 -44773

No files matched your search

+5 -5
View File
@@ -5,7 +5,7 @@
"type": "module",
"scripts": {
"dev": "next dev --port 3003",
"build": "npm run content:build && npm run build:registry && next build",
"build": "pnpm run content:build && pnpm run build:registry && next build",
"build:registry": "tsx --tsconfig ./tsconfig.scripts.json ./scripts/build-registry.mts && prettier --log-level silent --write \"registry/**/*.{ts,tsx,mdx}\" --cache",
"start": "next start",
"lint": "next lint",
@@ -15,7 +15,7 @@
"dependencies": {
"@radix-ui/react-alert-dialog": "^1.0.5",
"contentlayer2": "0.4.6",
"eslint-config-supabase": "*",
"eslint-config-supabase": "workspace:*",
"fs": "^0.0.1-security",
"jotai": "^2.8.0",
"lodash.template": "4.5.0",
@@ -35,7 +35,7 @@
"remark-code-import": "^1.2.0",
"remark-gfm": "^4.0.0",
"ts-morph": "^22.0.0",
"ui": "*",
"ui": "workspace:*",
"unist-util-visit": "^5.0.0"
},
"devDependencies": {
@@ -45,13 +45,13 @@
"@types/react": "^18.2.65",
"@types/react-dom": "^18.2.22",
"autoprefixer": "^10.0.1",
"config": "*",
"config": "workspace:*",
"mdast-util-toc": "^6.1.1",
"postcss": "^8",
"rimraf": "^4.1.3",
"shiki": "^1.1.7",
"tailwindcss": "^3.3.0",
"tsconfig": "*",
"tsconfig": "workspace:*",
"typescript": "^5.5.0",
"unist-builder": "3.0.0"
}
+15 -16
View File
@@ -3,25 +3,25 @@
"version": "0.0.0",
"private": true,
"scripts": {
"predev": "npm run codegen:references",
"predev": "pnpm run codegen:references",
"dev": "next dev --port 3001",
"dev:secrets:pull": "AWS_PROFILE=supabase-dev node ../../scripts/getSecrets.js -n local/docs",
"prebuild": "npm run codegen:references",
"prebuild": "pnpm run codegen:references",
"build": "next build",
"build:analyze": "ANALYZE=true next build",
"start": "next start",
"lint": "next lint",
"typecheck": "tsc --noEmit",
"test": "vitest --exclude \"**/*.smoke.test.ts\"",
"test:smoke": "npm run codegen:references && vitest -t \"prod smoke test\"",
"test:smoke": "pnpm run codegen:references && vitest -t \"prod smoke test\"",
"build:sitemap": "tsx ./internals/generate-sitemap.ts",
"embeddings": "tsx scripts/search/generate-embeddings.ts",
"embeddings:refresh": "npm run embeddings -- --refresh",
"embeddings:refresh": "pnpm run embeddings -- --refresh",
"last-changed": "tsx scripts/last-changed.ts",
"last-changed:reset": "npm run last-changed -- --reset",
"last-changed:reset": "pnpm run last-changed -- --reset",
"codegen:references": "tsx features/docs/Reference.generated.script.ts",
"codemod:frontmatter": "node ./scripts/codemod/mdx-meta.mjs && prettier --write \"content/**/*.mdx\"",
"postbuild": "npm run build:sitemap"
"postbuild": "pnpm run build:sitemap"
},
"dependencies": {
"@code-hike/mdx": "^0.9.0",
@@ -39,15 +39,15 @@
"@supabase/supabase-js": "^2.44.3",
"@tailwindcss/container-queries": "^0.1.1",
"@tanstack/react-query": "^5.13.4",
"common": "*",
"common": "workspace:*",
"common-tags": "^1.8.2",
"config": "*",
"eslint-config-supabase": "*",
"config": "workspace:*",
"eslint-config-supabase": "workspace:*",
"framer-motion": "^11.0.3",
"github-slugger": "^2.0.0",
"gray-matter": "^4.0.3",
"hast-util-has-property": "^2.0.1",
"icons": "*",
"icons": "workspace:*",
"isbot": "^5.1.2",
"jsrsasign": "^11.0.0",
"katex": "^0.16.10",
@@ -78,9 +78,9 @@
"remark-emoji": "^3.1.2",
"remark-gfm": "^3.0.1",
"remark-math": "^6.0.0",
"shared-data": "*",
"ui": "*",
"ui-patterns": "*",
"shared-data": "workspace:*",
"ui": "workspace:*",
"ui-patterns": "workspace:*",
"unist-builder": "^3.0.1",
"unist-util-filter": "^4.0.1",
"unist-util-visit": "^4.1.2",
@@ -96,9 +96,8 @@
"@types/react": "^18.2.24",
"@types/unist": "^2.0.6",
"acorn": "^8.11.3",
"api-types": "*",
"api-types": "workspace:*",
"cheerio": "^1.0.0-rc.12",
"config": "*",
"dotenv": "^16.0.3",
"ejs": "^3.1.10",
"globby": "^13.2.2",
@@ -106,7 +105,7 @@
"npm-run-all": "^4.1.5",
"openapi-types": "^12.1.3",
"simple-git": "^3.24.0",
"tsconfig": "*",
"tsconfig": "workspace:*",
"tsx": "^4.6.2",
"typescript": "^5.5.0",
"vite-tsconfig-paths": "^4.3.2",
+10 -12
View File
@@ -36,7 +36,7 @@
"@stripe/react-stripe-js": "^2.5.0",
"@stripe/stripe-js": "^3.0.5",
"@supabase/auth-helpers-react": "^0.4.2",
"@supabase/pg-meta": "*",
"@supabase/pg-meta": "workspace:*",
"@supabase/shared-types": "0.1.70",
"@supabase/supabase-js": "^2.44.3",
"@tanstack/react-query": "4.35.7",
@@ -45,19 +45,19 @@
"@vitejs/plugin-react": "^4.2.1",
"@zip.js/zip.js": "^2.7.29",
"ai": "^2.2.31",
"ai-commands": "*",
"ai-commands": "workspace:*",
"awesome-debounce-promise": "^2.1.0",
"clsx": "^1.2.1",
"common": "*",
"common": "workspace:*",
"common-tags": "^1.8.2",
"config": "*",
"config": "workspace:*",
"configcat-js": "^7.0.0",
"dayjs": "^1.11.10",
"file-saver": "^2.0.5",
"framer-motion": "^11.0.3",
"generate-password-browser": "^1.1.0",
"html-to-image": "^1.10.8",
"icons": "*",
"icons": "workspace:*",
"immutability-helper": "^3.1.1",
"ip-num": "^1.5.1",
"json-logic-js": "^2.0.2",
@@ -101,12 +101,12 @@
"reactflow": "^11.10.1",
"recharts": "^2.8.0",
"semver": "^6.3.1",
"shared-data": "*",
"shared-data": "workspace:*",
"sql-formatter": "^13.1.0",
"sqlstring": "^2.3.2",
"tus-js-client": "^4.1.0",
"ui": "*",
"ui-patterns": "*",
"ui": "workspace:*",
"ui-patterns": "workspace:*",
"uuid": "^9.0.1",
"valtio": "^1.12.0",
"vite-tsconfig-paths": "^4.3.2",
@@ -149,11 +149,9 @@
"@types/uuid": "^8.3.4",
"@types/zxcvbn": "^4.4.1",
"@vitest/ui": "^1.6.0",
"api-types": "*",
"api-types": "workspace:*",
"autoprefixer": "^10.4.14",
"common": "*",
"config": "*",
"eslint-config-supabase": "*",
"eslint-config-supabase": "workspace:*",
"eslint-plugin-barrel-files": "^2.0.7",
"msw": "^2.3.0",
"next-router-mock": "^0.9.13",
+11 -12
View File
@@ -5,11 +5,11 @@
"private": true,
"scripts": {
"dev": "next --port 3000",
"build": "npm run content:build && next build",
"build": "pnpm run content:build && next build",
"export": "next export",
"start": "next start",
"lint": "next lint",
"typecheck": "npm run content:build && tsc --noEmit",
"typecheck": "pnpm run content:build && tsc --noEmit",
"content:build": "contentlayer2 build",
"prettier": "prettier --write \"./{pages,components,lib,stores,styles,tests}/**/*.{ts,tsx,md,js,jsx,json}\"",
"postbuild": "node ./internals/generate-sitemap.mjs"
@@ -33,16 +33,16 @@
"animejs": "^3.2.2",
"classnames": "^2.3.1",
"cobe": "^0.6.2",
"common": "*",
"config": "*",
"common": "workspace:*",
"config": "workspace:*",
"contentlayer2": "0.4.6",
"dat.gui": "^0.7.9",
"dayjs": "^1.11.12",
"eslint-config-supabase": "*",
"eslint-config-supabase": "workspace:*",
"framer-motion": "^11.0.3",
"globby": "^13.2.2",
"gray-matter": "^4.0.3",
"icons": "*",
"icons": "workspace:*",
"lucide-react": "*",
"markdown-toc": "^1.2.0",
"next": "^14.2.3",
@@ -65,13 +65,13 @@
"remark": "^15.0.1",
"remark-gfm": "^3.0.1",
"remark-html": "^16.0.1",
"shared-data": "*",
"shared-data": "workspace:*",
"swiper": "^11.0.7",
"three": "^0.136.0",
"typed.js": "^2.0.16",
"typescript": "^5.5.0",
"ui": "*",
"ui-patterns": "*",
"ui": "workspace:*",
"ui-patterns": "workspace:*",
"use-debounce": "^7.0.1",
"vanilla-tilt": "1.7.0",
"yup": "^1.4.0"
@@ -88,11 +88,10 @@
"@types/react-dom": "^18.2.8",
"@types/react-syntax-highlighter": "^15.5.6",
"@types/three": "^0.136.0",
"api-types": "*",
"api-types": "workspace:*",
"autoprefixer": "^10.4.14",
"config": "*",
"postcss": "^8.4.31",
"tsconfig": "*"
"tsconfig": "workspace:*"
},
"license": "MIT"
}
-44707
View File
File diff suppressed because it is too large. Load diff
+5 -5
View File
@@ -5,8 +5,8 @@
"author": "Supabase, Inc.",
"license": "Apache-2.0",
"private": true,
"workspaces": ["apps/*", "apps/docs/spec/parser", "tests", "playwright-tests", "packages/*"],
"scripts": {
"preinstall": "npx only-allow pnpm",
"build": "turbo run build",
"build:studio": "turbo run build --filter=studio",
"build:design-system": "turbo run build --filter=design-system",
@@ -29,11 +29,11 @@
"test:ui-patterns": "turbo run test --filter=ui-patterns",
"test:studio": "turbo run test --filter=studio",
"test:studio:watch": "turbo run test --filter=studio -- watch",
"test:playwright": "npm --prefix playwright-tests run test",
"test:playwright": "pnpm --prefix playwright-tests run test",
"perf:kong": "ab -t 5 -c 20 -T application/json http://localhost:8000/",
"perf:meta": "ab -t 5 -c 20 -T application/json http://localhost:5555/tables",
"generate:types": "supabase gen types typescript --local > ./supabase/functions/common/database-types.ts",
"api:codegen": "cd packages/api-types && npm run codegen"
"api:codegen": "cd packages/api-types && pnpm run codegen"
},
"devDependencies": {
"eslint": "^8.57.0",
@@ -48,9 +48,9 @@
"url": "git+https://github.com/supabase/supabase.git"
},
"engines": {
"npm": "^10.0.0",
"pnpm": "^9.0.0",
"node": "^20.0.0"
},
"keywords": ["postgres", "firebase", "storage", "functions", "database", "auth"],
"packageManager": "npm@10.7.0"
"packageManager": "pnpm@9.40.0"
}
+2 -2
View File
@@ -14,7 +14,7 @@
"@supabase/supabase-js": "*",
"ai": "^2.2.29",
"common-tags": "^1.8.2",
"config": "*",
"config": "workspace:*",
"js-tiktoken": "^1.0.10",
"jsonrepair": "^3.5.0",
"openai": "^4.26.1"
@@ -33,7 +33,7 @@
"mdast-util-from-markdown": "^2.0.0",
"sql-formatter": "^15.0.2",
"ts-jest": "^29.1.1",
"tsconfig": "*",
"tsconfig": "workspace:*",
"typescript": "^5.5.0"
}
}
+2 -2
View File
@@ -9,7 +9,7 @@
},
"dependencies": {
"@types/dat.gui": "^0.7.12",
"config": "*",
"config": "workspace:*",
"dat.gui": "^0.7.9",
"lodash": "^4.17.21",
"next-themes": "^0.3.0",
@@ -18,7 +18,7 @@
"devDependencies": {
"@types/react": "^18.2.24",
"@types/react-dom": "^18.2.8",
"tsconfig": "*",
"tsconfig": "workspace:*",
"typescript": "^5.5.0"
},
"peerDependencies": {
+1 -1
View File
@@ -6,6 +6,6 @@
},
"dependencies": {
"typescript": "^5.5.0",
"@supabase/build-icons": "*"
"@supabase/build-icons": "workspace:*"
}
}
+4 -4
View File
@@ -12,7 +12,7 @@
"@monaco-editor/react": "^4.6.0",
"@supabase/sql-to-rest": "^0.1.6",
"cmdk": "^1.0.0",
"common": "*",
"common": "workspace:*",
"common-tags": "^1.8.2",
"framer-motion": "^11.1.9",
"lodash": "*",
@@ -27,8 +27,8 @@
"reactflow": "*",
"remark-gfm": "^4.0.0",
"sql-formatter": "^15.3.1",
"tsconfig": "*",
"ui": "*",
"tsconfig": "workspace:*",
"ui": "workspace:*",
"valtio": "*"
},
"devDependencies": {
@@ -41,7 +41,7 @@
"@types/lodash": "^4.17.5",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"api-types": "*",
"api-types": "workspace:*",
"next-router-mock": "^0.9.13",
"vitest": "^2.0.3"
},
+4 -4
View File
@@ -11,7 +11,7 @@
"cleanse-css-for-tailwind": "node internals/tokens/cleanse-css-for-tailwind.js",
"transform-tokens": "node ./transformTokens.js",
"extract-design-tokens": "node internals/tokens/extract-design-tokens.js",
"generate-styles": "npm run extract-design-tokens && npm run transform-tokens && npm run cleanse-css-for-tailwind && npm run generate-demo-tailwind-classes",
"generate-styles": "pnpm run extract-design-tokens && pnpm run transform-tokens && pnpm run cleanse-css-for-tailwind && pnpm run generate-demo-tailwind-classes",
"test": "jest"
},
"dependencies": {
@@ -106,8 +106,8 @@
"@types/react-copy-to-clipboard": "^5.0.4",
"@types/react-dom": "^18.2.8",
"@types/react-syntax-highlighter": "^15.5.6",
"common": "*",
"config": "*",
"common": "workspace:*",
"config": "workspace:*",
"copyfiles": "^2.4.1",
"glob": "^8.1.0",
"jest-environment-jsdom": "^29.7.0",
@@ -115,7 +115,7 @@
"sql-formatter": "^12.2.0",
"style-dictionary": "^3.7.1",
"ts-jest": "^29.1.1",
"tsconfig": "*",
"tsconfig": "workspace:*",
"tsconfig-paths-webpack-plugin": "^4.0.1",
"typescript": "^5.5.0"
},
+2 -2
View File
@@ -5,10 +5,10 @@
"main": "index.js",
"scripts": {
"env:setup": "supabase start -x studio && supabase status --output json > keys.json && node scripts/generate-env.js",
"pretest": "npm run env:setup",
"pretest": "pnpm run env:setup",
"test": "playwright test",
"posttest": "supabase stop --no-backup",
"codegen:setup": "npm run env:setup && NODE_ENV=test npm --prefix ../apps/studio run dev",
"codegen:setup": "pnpm run env:setup && NODE_ENV=test pnpm --prefix ../apps/studio run dev",
"codegen": "playwright codegen http://localhost:8082/project/default"
},
"keywords": [],
+27822
View File
File diff suppressed because it is too large. Load diff
+6
View File
@@ -0,0 +1,6 @@
packages:
- "apps/**"
- "packages/**"
- "apps/docs/spec/parser"
- "tests"
- "playwright-tests"
+1 -1
View File
@@ -11,7 +11,7 @@
"test:prod": "jest --detectOpenHandles",
"allure:generate": "rm -rf allure-report && node_modules/allure-commandline/bin/allure generate",
"allure:serve": "node_modules/allure-commandline/bin/allure serve",
"test:report": "npm run allure:generate && npm run allure:serve",
"test:report": "pnpm run allure:generate && pnpm run allure:serve",
"format": "prettier --write \"./**/*.{js,jsx,ts,tsx,css,md}\""
},
"author": "Supabase, Inc.",