Skip to content

Commit 6cfa28d

Browse files
fix: fixed auth-postgresql config
1 parent 316cb29 commit 6cfa28d

File tree

4 files changed

+15
-1
lines changed

4 files changed

+15
-1
lines changed

apps/frontend/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
"@o2s/blocks.ticket-list": "^1.0.0",
3737
"@o2s/blocks.ticket-recent": "^1.0.0",
3838
"@o2s/blocks.user-account": "^1.0.0",
39+
"@o2s/integrations.auth-postgresql": "*",
3940
"@o2s/framework": "^1.11.0",
4041
"@o2s/integrations.mocked": "^1.11.0",
4142
"@o2s/ui": "*",

apps/frontend/src/auth/auth.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { useSession } from 'next-auth/react';
77

88
import { Models } from '@o2s/framework/modules';
99

10-
import * as Auth from '@o2s/integrations.mocked/auth';
10+
import * as Auth from '@o2s/integrations.auth-postgresql/auth';
1111

1212
import { sdk } from '@/api/sdk';
1313

package-lock.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/integrations/auth-postgresql/package.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,18 @@
1111
"prisma",
1212
".env.local"
1313
],
14+
"scripts": {
15+
"prepare": "npx prisma generate && tsc && tsc-alias",
16+
"init": "dotenv -e .env.local -- prisma migrate deploy",
17+
"dev": "tsc && (concurrently \"tsc -w\" \"tsc-alias -w\")",
18+
"build": "dotenv -e .env.local -- prisma migrate deploy && tsc && tsc-alias",
19+
"lint": "tsc --noEmit && eslint . --max-warnings 0",
20+
"format": "prettier --write \"src/**/*.{js,jsx,ts,tsx,css,scss,json}\"",
21+
"seed": "dotenv -e .env.local -- tsx prisma/seed.ts"
22+
},
23+
"prisma": {
24+
"seed": "tsx prisma/seed.ts"
25+
},
1426
"dependencies": {
1527
"@auth/prisma-adapter": "^2.9.1",
1628
"@prisma/client": "^6.8.2",

0 commit comments

Comments
 (0)