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"
},

View File

@@ -6,7 +6,7 @@ import type { DefaultSession } from "@auth/core/types";
import { DrizzleAdapter } from "@auth/drizzle-adapter";
import NextAuth from "next-auth";
import { db, tableCreator } from "@acme/db";
import { db, tableCreator } from "@alparr/db";
export type { Session } from "next-auth";

View File

@@ -1,5 +1,5 @@
{
"name": "@acme/auth",
"name": "@alparr/auth",
"version": "0.1.0",
"private": true,
"main": "./index.ts",
@@ -12,7 +12,7 @@
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@acme/db": "workspace:^0.1.0",
"@alparr/db": "workspace:^0.1.0",
"@auth/core": "^0.18.4",
"@auth/drizzle-adapter": "^0.3.9",
"@t3-oss/env-nextjs": "^0.7.1",
@@ -23,9 +23,9 @@
"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"
@@ -33,8 +33,8 @@
"eslintConfig": {
"root": true,
"extends": [
"@acme/eslint-config/base"
"@alparr/eslint-config/base"
]
},
"prettier": "@acme/prettier-config"
}
"prettier": "@alparr/prettier-config"
}

View File

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

View File

@@ -1,5 +1,5 @@
{
"name": "@acme/db",
"name": "@alparr/db",
"version": "0.1.0",
"private": true,
"main": "./index.ts",
@@ -18,9 +18,9 @@
"drizzle-orm": "^0.29.1"
},
"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",
"dotenv-cli": "^7.3.0",
"drizzle-kit": "^0.20.6",
"eslint": "^8.53.0",
@@ -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

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