chore: rename local packages from acme to alparr

This commit is contained in:
Meier Lukas
2023-12-08 23:13:46 +01:00
parent d115779c85
commit 9ea96899b1
32 changed files with 120 additions and 116 deletions

View File

@@ -1,5 +1,5 @@
{
"name": "@acme/api",
"name": "@alparr/api",
"version": "0.1.0",
"private": true,
"main": "./index.ts",
@@ -12,17 +12,17 @@
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@acme/auth": "workspace:^0.1.0",
"@acme/db": "workspace:^0.1.0",
"@alparr/auth": "workspace:^0.1.0",
"@alparr/db": "workspace:^0.1.0",
"@trpc/client": "next",
"@trpc/server": "next",
"superjson": "2.2.1",
"zod": "^3.22.2"
},
"devDependencies": {
"@acme/eslint-config": "workspace:^0.2.0",
"@acme/prettier-config": "workspace:^0.1.0",
"@acme/tsconfig": "workspace:^0.1.0",
"@alparr/eslint-config": "workspace:^0.2.0",
"@alparr/prettier-config": "workspace:^0.1.0",
"@alparr/tsconfig": "workspace:^0.1.0",
"eslint": "^8.53.0",
"prettier": "^3.1.0",
"typescript": "^5.3.3"
@@ -30,8 +30,8 @@
"eslintConfig": {
"root": true,
"extends": [
"@acme/eslint-config/base"
"@alparr/eslint-config/base"
]
},
"prettier": "@acme/prettier-config"
}
"prettier": "@alparr/prettier-config"
}

View File

@@ -5,7 +5,7 @@ export const authRouter = createTRPCRouter({
return ctx.session;
}),
getSecretMessage: protectedProcedure.query(() => {
// testing type validation of overridden next-auth Session in @acme/auth package
// testing type validation of overridden next-auth Session in @alparr/auth package
return "you can see this secret message!";
}),
});

View File

@@ -1,6 +1,6 @@
import { z } from "zod";
import { desc, eq, schema } from "@acme/db";
import { desc, eq, schema } from "@alparr/db";
import { createTRPCRouter, protectedProcedure, publicProcedure } from "../trpc";

View File

@@ -10,9 +10,9 @@ import { initTRPC, TRPCError } from "@trpc/server";
import superjson from "superjson";
import { ZodError } from "zod";
import { auth } from "@acme/auth";
import type { Session } from "@acme/auth";
import { db } from "@acme/db";
import { auth } from "@alparr/auth";
import type { Session } from "@alparr/auth";
import { db } from "@alparr/db";
/**
* 1. CONTEXT

View File

@@ -1,5 +1,5 @@
{
"extends": "@acme/tsconfig/base.json",
"extends": "@alparr/tsconfig/base.json",
"compilerOptions": {
"tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json"
},