refactor: remove .js extensions from all imports

This commit is contained in:
2026-04-06 15:10:22 +02:00
parent a22c9bdaed
commit d06b900e7c
64 changed files with 177 additions and 161 deletions

View File

@@ -1 +1 @@
export { appRouter, type AppRouter } from "./router/index.js";
export { appRouter, type AppRouter } from "./router/index";

View File

@@ -1,5 +1,5 @@
import { z } from "zod";
import { router, publicProcedure } from "../trpc.js";
import { router, publicProcedure } from "../trpc";
import {
signInController,
signUpController,

View File

@@ -1,5 +1,5 @@
import { z } from "zod";
import { router, publicProcedure } from "../trpc.js";
import { router, publicProcedure } from "../trpc";
import { createArticleController, getArticlesController } from "@repo/core";
export const contentRouter = router({

View File

@@ -1,6 +1,6 @@
import { router } from "../trpc.js";
import { authRouter } from "./auth.router.js";
import { contentRouter } from "./content.router.js";
import { router } from "../trpc";
import { authRouter } from "./auth.router";
import { contentRouter } from "./content.router";
export const appRouter = router({
auth: authRouter,