Compare commits

...

2 Commits

Author SHA1 Message Date
pegasust 1c2fab2537 wip before nuking nixos@Felia 2022-12-21 00:12:55 +00:00
pegasust d005885a50 configs are reachable now i hope 2022-12-18 06:35:39 +00:00
14 changed files with 1078 additions and 157 deletions

View File

@ -41,7 +41,7 @@
"prisma": "^4.5.0", "prisma": "^4.5.0",
"tailwind-scrollbar": "^2.0.1", "tailwind-scrollbar": "^2.0.1",
"tailwindcss": "^3.2.0", "tailwindcss": "^3.2.0",
"tsconfig": "workspace:*", "@acme/tsconfig": "workspace:*",
"typescript": "^4.8.4" "typescript": "^4.8.4"
}, },
"ct3aMetadata": { "ct3aMetadata": {

View File

@ -18,7 +18,7 @@
"@babel/core": "^7.0.0", "@babel/core": "^7.0.0",
"eslint-config-custom": "workspace:*", "eslint-config-custom": "workspace:*",
"eslint": "7.32.0", "eslint": "7.32.0",
"tsconfig": "workspace:*", "@acme/tsconfig": "workspace:*",
"@types/node": "^17.0.12", "@types/node": "^17.0.12",
"@types/react": "^18.0.22", "@types/react": "^18.0.22",
"@types/react-dom": "^18.0.7", "@types/react-dom": "^18.0.7",

View File

@ -11,10 +11,10 @@
"type-check": "tsc --noEmit" "type-check": "tsc --noEmit"
}, },
"dependencies": { "dependencies": {
"@acme/api": "*", "@acme/api": "workspace:*",
"@acme/auth": "*", "@acme/auth": "workspace:*",
"@acme/db": "*", "@acme/db": "workspace:*",
"@acme/tailwind-config": "*", "@acme/tailwind-config": "workspace:*",
"@tanstack/react-query": "^4.16.1", "@tanstack/react-query": "^4.16.1",
"@trpc/client": "^10.1.0", "@trpc/client": "^10.1.0",
"@trpc/next": "^10.1.0", "@trpc/next": "^10.1.0",
@ -35,6 +35,7 @@
"eslint-config-next": "13.0.4", "eslint-config-next": "13.0.4",
"postcss": "^8.4.19", "postcss": "^8.4.19",
"tailwindcss": "^3.2.4", "tailwindcss": "^3.2.4",
"typescript": "^4.9.3" "typescript": "^4.9.3",
"@acme/tsconfig": "workspace:*"
} }
} }

View File

@ -1,12 +1,37 @@
{ {
"extends": "../../tsconfig.json", "extends": "@acme/tsconfig/t3.json",
"exclude": [],
"include": [ "include": [
"next-env.d.ts", "next-env.d.ts",
"node_modules/@acme/auth/next-auth.d.ts",
"**/*.ts", "**/*.ts",
"**/*.tsx", "**/*.tsx",
"**/*.cjs", "**/*.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/*"
]
}
}
} }

View File

@ -18,7 +18,7 @@
"@babel/core": "^7.0.0", "@babel/core": "^7.0.0",
"eslint-config-custom": "workspace:*", "eslint-config-custom": "workspace:*",
"eslint": "7.32.0", "eslint": "7.32.0",
"tsconfig": "workspace:*", "@acme/tsconfig": "workspace:*",
"@types/node": "^17.0.12", "@types/node": "^17.0.12",
"@types/react": "^18.0.22", "@types/react": "^18.0.22",
"@types/react-dom": "^18.0.7", "@types/react-dom": "^18.0.7",

View File

@ -4,7 +4,7 @@
"private": true, "private": true,
"workspaces": [ "workspaces": [
"apps/*", "apps/*",
"packages/*" "packages/**/*"
], ],
"scripts": { "scripts": {
"build": "turbo build", "build": "turbo build",

View File

@ -5,6 +5,7 @@ import { authRouter } from "./auth";
export const appRouter = router({ export const appRouter = router({
post: postRouter, post: postRouter,
auth: authRouter, auth: authRouter,
namegen: nameGenRouter,
}); });
// export type definition of API // export type definition of API

View File

@ -0,0 +1,4 @@
import { protectedProcedure, publicProcedure, router } from "../../trpc";
export const nameGenRouter = router ({
});

View File

@ -1,5 +1,5 @@
{ {
"name": "config", "name": "@acme/eslint-config",
"version": "1.0.0", "version": "1.0.0",
"main": "index.js", "main": "index.js",
"license": "MIT", "license": "MIT",

View File

@ -1,5 +1,5 @@
{ {
"name": "tsconfig", "name": "@acme/tsconfig",
"version": "0.0.0", "version": "0.0.0",
"private": true, "private": true,
"files": [ "files": [

View File

@ -13,7 +13,7 @@
"eslint": "^7.32.0", "eslint": "^7.32.0",
"eslint-config-custom": "workspace:*", "eslint-config-custom": "workspace:*",
"react": "^18.2.0", "react": "^18.2.0",
"tsconfig": "workspace:*", "@acme/tsconfig": "workspace:*",
"typescript": "^4.5.2" "typescript": "^4.5.2"
} }
} }

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,3 @@
packages: packages:
- "apps/*" - "apps/*"
- "packages/*" - "packages/**/*"