chore: move to pnpm

pull/651/head
Yangshun 5 months ago
parent d2fdffbace
commit a9cd10afe4

@ -1 +0,0 @@
nodeLinker: node-modules

@ -14,7 +14,7 @@ function defineNextConfig(config) {
export default defineNextConfig({ export default defineNextConfig({
experimental: { experimental: {
newNextLinkBehavior: true, esmExternals: 'loose',
}, },
reactStrictMode: true, reactStrictMode: true,
swcMinify: true, swcMinify: true,

@ -22,7 +22,7 @@
"@popperjs/core": "^2.11.6", "@popperjs/core": "^2.11.6",
"@prisma/client": "^4.4.0", "@prisma/client": "^4.4.0",
"@supabase/supabase-js": "^1.35.7", "@supabase/supabase-js": "^1.35.7",
"@tih/ui": "*", "@tih/ui": "workspace:0.0.0",
"@trpc/client": "^9.27.2", "@trpc/client": "^9.27.2",
"@trpc/next": "^9.27.2", "@trpc/next": "^9.27.2",
"@trpc/react": "^9.27.2", "@trpc/react": "^9.27.2",
@ -32,7 +32,7 @@
"cross-fetch": "^3.1.5", "cross-fetch": "^3.1.5",
"date-fns": "^2.29.3", "date-fns": "^2.29.3",
"formidable": "^2.0.1", "formidable": "^2.0.1",
"next": "13.4.1", "next": "14.2.4",
"next-auth": "~4.10.3", "next-auth": "~4.10.3",
"node-fetch": "^3.2.10", "node-fetch": "^3.2.10",
"react": "18.2.0", "react": "18.2.0",
@ -50,12 +50,12 @@
"zod": "^3.18.0" "zod": "^3.18.0"
}, },
"devDependencies": { "devDependencies": {
"@tih/tailwind-config": "*", "@tih/tailwind-config": "workspace:0.0.0",
"@tih/tsconfig": "*", "@tih/tsconfig": "workspace:0.0.0",
"@types/formidable": "^2.0.5", "@types/formidable": "^2.0.5",
"@types/node": "^18.0.0", "@types/node": "^18.0.0",
"@types/react": "^18.0.21", "@types/react": "18.0.28",
"@types/react-dom": "^18.0.6", "@types/react-dom": "18.0.11",
"@types/react-pdf": "^5.7.2", "@types/react-pdf": "^5.7.2",
"autoprefixer": "^10.4.12", "autoprefixer": "^10.4.12",
"csv": "^6.2.2", "csv": "^6.2.2",

@ -11,12 +11,12 @@
"tsc": "tsc" "tsc": "tsc"
}, },
"dependencies": { "dependencies": {
"@tih/ui": "*", "@tih/ui": "workspace:0.0.0",
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "^18.2.0" "react-dom": "^18.2.0"
}, },
"devDependencies": { "devDependencies": {
"@heroicons/react": "^2.0.11", "@heroicons/react": "2.0.11",
"@storybook/addon-actions": "^6.4.18", "@storybook/addon-actions": "^6.4.18",
"@storybook/addon-docs": "^6.4.22", "@storybook/addon-docs": "^6.4.22",
"@storybook/addon-essentials": "^6.4.18", "@storybook/addon-essentials": "^6.4.18",
@ -24,11 +24,11 @@
"@storybook/addon-postcss": "^2.0.0", "@storybook/addon-postcss": "^2.0.0",
"@storybook/builder-vite": "^0.1.33", "@storybook/builder-vite": "^0.1.33",
"@storybook/react": "^6.4.18", "@storybook/react": "^6.4.18",
"@tih/tailwind-config": "*", "@tih/tailwind-config": "workspace:0.0.0",
"@tih/tsconfig": "*", "@tih/tsconfig": "workspace:0.0.0",
"@vitejs/plugin-react": "^1.3.2", "@vitejs/plugin-react": "^1.3.2",
"autoprefixer": "^10.4.12", "autoprefixer": "^10.4.12",
"eslint-config-tih": "*", "eslint-config-tih": "workspace:0.0.0",
"serve": "^13.0.2", "serve": "^13.0.2",
"tailwindcss": "^3.1.8", "tailwindcss": "^3.1.8",
"typescript": "^4.8.3", "typescript": "^4.8.3",

@ -10,7 +10,7 @@
], ],
"scripts": { "scripts": {
"build": "turbo build", "build": "turbo build",
"ci": "yarn lint && yarn tsc", "ci": "pnpm lint && pnpm tsc",
"clean": "turbo clean", "clean": "turbo clean",
"dev": "turbo dev --filter=portal... --filter=ui...", "dev": "turbo dev --filter=portal... --filter=ui...",
"dev:ui": "turbo dev --filter=storybook... --filter=ui...", "dev:ui": "turbo dev --filter=storybook... --filter=ui...",
@ -26,7 +26,8 @@
"turbo": "1.5.6" "turbo": "1.5.6"
}, },
"engines": { "engines": {
"node": "18.18.2" "node": "18.19.2",
"pnpm": "8.15.8"
}, },
"packageManager": "yarn@3.6.1" "packageManager": "pnpm@8.15.8"
} }

@ -29,14 +29,14 @@
"tailwindcss": "^3.1.8" "tailwindcss": "^3.1.8"
}, },
"devDependencies": { "devDependencies": {
"@tih/tailwind-config": "*", "@tih/tailwind-config": "workspace:0.0.0",
"@tih/tsconfig": "*", "@tih/tsconfig": "workspace:0.0.0",
"@types/react": "^18.0.21", "@types/react": "^18.0.21",
"@types/react-dom": "^18.0.6", "@types/react-dom": "^18.0.6",
"autoprefixer": "^10.4.12", "autoprefixer": "^10.4.12",
"concurrently": "^7.4.0", "concurrently": "^7.4.0",
"eslint": "^8.24.0", "eslint": "^8.24.0",
"eslint-config-tih": "*", "eslint-config-tih": "workspace:0.0.0",
"prettier-plugin-tailwindcss": "^0.1.13", "prettier-plugin-tailwindcss": "^0.1.13",
"react": "^18.2.0", "react": "^18.2.0",
"tsup": "^6.2.3", "tsup": "^6.2.3",

File diff suppressed because it is too large Load Diff

@ -0,0 +1,3 @@
packages:
- 'apps/*'
- 'packages/*'

21857
yarn.lock

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save