Skip to content

Commit 8a09283

Browse files
committed
remove next references
1 parent 8d8a59f commit 8a09283

File tree

8 files changed

+12
-58
lines changed

8 files changed

+12
-58
lines changed

apps/web/eslint.config.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import baseConfig, { restrictEnvAccess } from "@ctrlplane/eslint-config/base";
2-
import nextjsConfig from "@ctrlplane/eslint-config/nextjs";
32
import reactConfig from "@ctrlplane/eslint-config/react";
43

54
/** @type {import('typescript-eslint').Config} */
@@ -9,6 +8,5 @@ export default [
98
},
109
...baseConfig,
1110
...reactConfig,
12-
...nextjsConfig,
1311
...restrictEnvAccess,
1412
];

packages/auth/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"@ctrlplane/logger": "workspace:*",
4545
"@ctrlplane/validators": "workspace:*",
4646
"@node-rs/bcrypt": "^1.10.0",
47-
"@t3-oss/env-nextjs": "catalog:",
47+
"@t3-oss/env-core": "catalog:",
4848
"better-auth": "^1.3.28",
4949
"lodash": "catalog:",
5050
"next": "catalog:",

packages/auth/src/better/route.ts

Lines changed: 0 additions & 5 deletions
This file was deleted.

packages/auth/src/better/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
import type { auth } from "./config.js";
33

44
export * from "./config.js";
5-
export { GET, POST } from "./route.js";
5+
66
export type Session = Awaited<ReturnType<typeof auth.api.getSession>>;

packages/auth/src/env.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* eslint-disable no-restricted-properties */
2-
import { createEnv } from "@t3-oss/env-nextjs";
2+
import { createEnv } from "@t3-oss/env-core";
33
import { z } from "zod";
44

55
export const env = createEnv({
@@ -23,7 +23,7 @@ export const env = createEnv({
2323
RESEND_API_KEY: z.string().min(1).optional(),
2424
RESEND_AUDIENCE_ID: z.string().min(1).optional(),
2525
},
26-
client: {},
27-
experimental__runtimeEnv: {},
2826
skipValidation: !!process.env.CI || !!process.env.SKIP_ENV_VALIDATION,
27+
runtimeEnv: process.env,
28+
emptyStringAsUndefined: true,
2929
});

pnpm-lock.yaml

Lines changed: 7 additions & 44 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ catalog:
1111
"@octokit/auth-app": ^7.1.5
1212
"@octokit/rest": ^20.1.1
1313
"@t3-oss/env-core": 0.11.1
14-
"@t3-oss/env-nextjs": ^0.11.1
1514
"@tabler/icons-react": ^3.31.0
1615
"@types/lodash": ^4.17.5
1716
"@types/ms": ^0.7.34

tooling/eslint/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
"type": "module",
66
"exports": {
77
"./base": "./base.js",
8-
"./nextjs": "./nextjs.js",
98
"./react": "./react.js"
109
},
1110
"scripts": {

0 commit comments

Comments
 (0)