Skip to content

Commit

Permalink
chore(devbox): add postinstall for prisma
Browse files Browse the repository at this point in the history
  • Loading branch information
xudaotutou committed Dec 20, 2024
1 parent dd25a31 commit ddbf00a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { useSearchParams } from 'next/navigation'
import { useCallback, useEffect, useMemo, useRef, useState } from 'react'
import { FormProvider, useForm } from 'react-hook-form'

import Form from './components/Form'
import Form from './components/Form/index'
import Header from './components/Header'
import Yaml from './components/Yaml'

Expand Down
4 changes: 3 additions & 1 deletion frontend/providers/devbox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
"lint": "next lint",
"ts-lint": "tsc --noEmit",
"link-sdk": "rm -rf node_modules/sealos-desktop-sdk && yalc link sealos-desktop-sdk",
"unlink-sdk": "yalc remove --all && pnpm install sealos-desktop-sdk"
"unlink-sdk": "yalc remove --all && pnpm install sealos-desktop-sdk",
"gen-client": "prisma generate --schema ./prisma/schema.prisma",
"postinstall": "pnpm gen-client"
},
"dependencies": {
"@chakra-ui/react": "^2.8.1",
Expand Down

0 comments on commit ddbf00a

Please sign in to comment.