Skip to content

Commit

Permalink
fix build maybe
Browse files Browse the repository at this point in the history
  • Loading branch information
jsbroks committed Nov 15, 2024
1 parent 0c6d2b4 commit b9aa93f
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 16 deletions.
18 changes: 9 additions & 9 deletions github/get-job-inputs/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 11 additions & 5 deletions packages/auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,26 @@
"type": "module",
"exports": {
".": {
"react-server": "./src/index.rsc.ts",
"default": "./src/index.ts"
"types": "./src/index.ts",
"default": "./dist/index.js"
},
"./utils": {
"default": "./src/utils/index.ts"
"types": "./src/utils/index.ts",
"default": "./dist/utils/index.js"
},
"./env": "./env.ts"
"./env": {
"types": "./src/env.ts",
"default": "./dist/env.js"
}
},
"license": "MIT",
"scripts": {
"build": "tsc",
"dev": "tsc --watch",
"clean": "rm -rf .turbo node_modules",
"format": "prettier --check . --ignore-path ../../.gitignore",
"lint": "eslint",
"typecheck": "tsc --noEmit"
"typecheck": "tsc --noEmit --emitDeclarationOnly false"
},
"dependencies": {
"@auth/drizzle-adapter": "1.4.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/auth/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { db } from "@ctrlplane/db/client";
import * as schema from "@ctrlplane/db/schema";
import { signInSchema } from "@ctrlplane/validators/auth";

import { env } from "../env";
import { env } from "./env";
import { getUserByCredentials } from "./utils/credentials";

declare module "next-auth" {
Expand Down
File renamed without changes.
6 changes: 5 additions & 1 deletion packages/auth/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{
"extends": "@ctrlplane/tsconfig/base.json",
"extends": "@ctrlplane/tsconfig/internal-package.json",
"compilerOptions": {
"outDir": "dist",
"baseUrl": ".",
"incremental": true,
"lib": ["es2017"],
"tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json"
},
"include": ["src", "*.ts"],
Expand Down

0 comments on commit b9aa93f

Please sign in to comment.