wip before nuking nixos@Felia
parent
d005885a50
commit
1c2fab2537
|
@ -41,7 +41,7 @@
|
|||
"prisma": "^4.5.0",
|
||||
"tailwind-scrollbar": "^2.0.1",
|
||||
"tailwindcss": "^3.2.0",
|
||||
"tsconfig": "workspace:*",
|
||||
"@acme/tsconfig": "workspace:*",
|
||||
"typescript": "^4.8.4"
|
||||
},
|
||||
"ct3aMetadata": {
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
"@babel/core": "^7.0.0",
|
||||
"eslint-config-custom": "workspace:*",
|
||||
"eslint": "7.32.0",
|
||||
"tsconfig": "workspace:*",
|
||||
"@acme/tsconfig": "workspace:*",
|
||||
"@types/node": "^17.0.12",
|
||||
"@types/react": "^18.0.22",
|
||||
"@types/react-dom": "^18.0.7",
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
"eslint-config-next": "13.0.4",
|
||||
"postcss": "^8.4.19",
|
||||
"tailwindcss": "^3.2.4",
|
||||
"typescript": "^4.9.3"
|
||||
"typescript": "^4.9.3",
|
||||
"@acme/tsconfig": "workspace:*"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,12 +1,37 @@
|
|||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"exclude": [],
|
||||
"extends": "@acme/tsconfig/t3.json",
|
||||
"include": [
|
||||
"next-env.d.ts",
|
||||
"node_modules/@acme/auth/next-auth.d.ts",
|
||||
"**/*.ts",
|
||||
"**/*.tsx",
|
||||
"**/*.cjs",
|
||||
"**/*.mjs"
|
||||
"**/*.mjs",
|
||||
"node_modules/@acme/auth/next-auth.d.ts"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules"
|
||||
],
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"@env/*": [
|
||||
"src/env/*"
|
||||
],
|
||||
"@pages/*": [
|
||||
"src/pages/*"
|
||||
],
|
||||
"@styles/*": [
|
||||
"src/styles/*"
|
||||
],
|
||||
"@api/*": [
|
||||
"@acme/api/*"
|
||||
],
|
||||
"@public/*": [
|
||||
"public/*"
|
||||
],
|
||||
"@components/*": [
|
||||
"src/components/*"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
"@babel/core": "^7.0.0",
|
||||
"eslint-config-custom": "workspace:*",
|
||||
"eslint": "7.32.0",
|
||||
"tsconfig": "workspace:*",
|
||||
"@acme/tsconfig": "workspace:*",
|
||||
"@types/node": "^17.0.12",
|
||||
"@types/react": "^18.0.22",
|
||||
"@types/react-dom": "^18.0.7",
|
||||
|
|
|
@ -1,11 +1,4 @@
|
|||
import { protectedProcedure, publicProcedure, router } from "../../trpc";
|
||||
|
||||
export const authRouter = router({
|
||||
getSession: publicProcedure.query(({ ctx }) => {
|
||||
return ctx.session;
|
||||
}),
|
||||
getSecretMessage: protectedProcedure.query(() => {
|
||||
// testing type validation of overridden next-auth Session in @acme/auth package
|
||||
return "you can see this secret message!";
|
||||
}),
|
||||
export const nameGenRouter = router ({
|
||||
});
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "tsconfig",
|
||||
"name": "@acme/tsconfig",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"files": [
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"eslint": "^7.32.0",
|
||||
"eslint-config-custom": "workspace:*",
|
||||
"react": "^18.2.0",
|
||||
"tsconfig": "workspace:*",
|
||||
"@acme/tsconfig": "workspace:*",
|
||||
"typescript": "^4.5.2"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -27,6 +27,7 @@ importers:
|
|||
|
||||
apps/about-me:
|
||||
specifiers:
|
||||
'@acme/tsconfig': workspace:*
|
||||
'@babel/core': ^7.0.0
|
||||
'@prisma/client': ^4.5.0
|
||||
'@tanstack/react-query': ^4.10.0
|
||||
|
@ -54,7 +55,6 @@ importers:
|
|||
superjson: 1.9.1
|
||||
tailwind-scrollbar: ^2.0.1
|
||||
tailwindcss: ^3.2.0
|
||||
tsconfig: workspace:*
|
||||
typescript: ^4.8.4
|
||||
ui: workspace:*
|
||||
zod: ^3.18.0
|
||||
|
@ -73,6 +73,7 @@ importers:
|
|||
ui: link:../../packages/ui
|
||||
zod: 3.19.1
|
||||
devDependencies:
|
||||
'@acme/tsconfig': link:../../packages/tsconfig
|
||||
'@babel/core': 7.20.2
|
||||
'@types/node': 18.11.9
|
||||
'@types/react': 18.0.25
|
||||
|
@ -89,11 +90,11 @@ importers:
|
|||
prisma: 4.6.1
|
||||
tailwind-scrollbar: 2.0.1_tailwindcss@3.2.4
|
||||
tailwindcss: 3.2.4_postcss@8.4.14
|
||||
tsconfig: link:../../packages/tsconfig
|
||||
typescript: 4.8.4
|
||||
|
||||
apps/docs:
|
||||
specifiers:
|
||||
'@acme/tsconfig': workspace:*
|
||||
'@babel/core': ^7.0.0
|
||||
'@types/node': ^17.0.12
|
||||
'@types/react': ^18.0.22
|
||||
|
@ -103,7 +104,6 @@ importers:
|
|||
next: 13.0.0
|
||||
react: 18.2.0
|
||||
react-dom: 18.2.0
|
||||
tsconfig: workspace:*
|
||||
typescript: ^4.5.3
|
||||
ui: workspace:*
|
||||
dependencies:
|
||||
|
@ -112,13 +112,13 @@ importers:
|
|||
react-dom: 18.2.0_react@18.2.0
|
||||
ui: link:../../packages/ui
|
||||
devDependencies:
|
||||
'@acme/tsconfig': link:../../packages/tsconfig
|
||||
'@babel/core': 7.20.2
|
||||
'@types/node': 17.0.45
|
||||
'@types/react': 18.0.25
|
||||
'@types/react-dom': 18.0.9
|
||||
eslint: 7.32.0
|
||||
eslint-config-custom: link:../../packages/eslint-config-custom
|
||||
tsconfig: link:../../packages/tsconfig
|
||||
typescript: 4.8.4
|
||||
|
||||
apps/name-generator:
|
||||
|
@ -127,6 +127,7 @@ importers:
|
|||
'@acme/auth': workspace:*
|
||||
'@acme/db': workspace:*
|
||||
'@acme/tailwind-config': workspace:*
|
||||
'@acme/tsconfig': workspace:*
|
||||
'@tanstack/react-query': ^4.16.1
|
||||
'@trpc/client': ^10.1.0
|
||||
'@trpc/next': ^10.1.0
|
||||
|
@ -162,6 +163,7 @@ importers:
|
|||
react-dom: 18.2.0_react@18.2.0
|
||||
zod: 3.19.1
|
||||
devDependencies:
|
||||
'@acme/tsconfig': link:../../packages/tsconfig
|
||||
'@types/node': 18.11.9
|
||||
'@types/react': 18.0.25
|
||||
'@types/react-dom': 18.0.9
|
||||
|
@ -174,6 +176,7 @@ importers:
|
|||
|
||||
apps/web:
|
||||
specifiers:
|
||||
'@acme/tsconfig': workspace:*
|
||||
'@babel/core': ^7.0.0
|
||||
'@types/node': ^17.0.12
|
||||
'@types/react': ^18.0.22
|
||||
|
@ -183,7 +186,6 @@ importers:
|
|||
next: 13.0.0
|
||||
react: 18.2.0
|
||||
react-dom: 18.2.0
|
||||
tsconfig: workspace:*
|
||||
typescript: ^4.5.3
|
||||
ui: workspace:*
|
||||
dependencies:
|
||||
|
@ -192,13 +194,13 @@ importers:
|
|||
react-dom: 18.2.0_react@18.2.0
|
||||
ui: link:../../packages/ui
|
||||
devDependencies:
|
||||
'@acme/tsconfig': link:../../packages/tsconfig
|
||||
'@babel/core': 7.20.2
|
||||
'@types/node': 17.0.45
|
||||
'@types/react': 18.0.25
|
||||
'@types/react-dom': 18.0.9
|
||||
eslint: 7.32.0
|
||||
eslint-config-custom: link:../../packages/eslint-config-custom
|
||||
tsconfig: link:../../packages/tsconfig
|
||||
typescript: 4.8.4
|
||||
|
||||
packages/api:
|
||||
|
@ -300,20 +302,20 @@ importers:
|
|||
|
||||
packages/ui:
|
||||
specifiers:
|
||||
'@acme/tsconfig': workspace:*
|
||||
'@types/react': ^18.0.17
|
||||
'@types/react-dom': ^18.0.6
|
||||
eslint: ^7.32.0
|
||||
eslint-config-custom: workspace:*
|
||||
react: ^18.2.0
|
||||
tsconfig: workspace:*
|
||||
typescript: ^4.5.2
|
||||
devDependencies:
|
||||
'@acme/tsconfig': link:../tsconfig
|
||||
'@types/react': 18.0.25
|
||||
'@types/react-dom': 18.0.9
|
||||
eslint: 7.32.0
|
||||
eslint-config-custom: link:../eslint-config-custom
|
||||
react: 18.2.0
|
||||
tsconfig: link:../tsconfig
|
||||
typescript: 4.8.4
|
||||
|
||||
packages:
|
||||
|
|
Loading…
Reference in New Issue