Prefix node protocol (#26391)

This commit is contained in:
Volnei Munhoz authored and GitHub committed 2026-01-02 12:47:00 +00:00
1 parent fed6899c36
commit a1e5384859
129 files changed
+182 -177

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ import logger from "@calcom/lib/logger";
/* eslint-disable @typescript-eslint/no-require-imports */
const { i18n } = require("@calcom/config/next-i18next.config");
const path = require("path");
const path = require("node:path");
const translationsPath = path.resolve(__dirname, "../../../../apps/web/public/static/locales/en/common.json");
const englishTranslations: Record<string, string> = require(translationsPath);
/* eslint-enable @typescript-eslint/no-require-imports */
+3 -3
View File
@@ -1,6 +1,6 @@
import fs from "fs";
import path from "path";
import { fileURLToPath } from "url";
import fs from "node:fs"
import path from "node:path"
import { fileURLToPath } from "node:url";
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
@@ -1,7 +1,7 @@
import { spawn } from "child_process";
import fs from "fs";
import path from "path";
import { fileURLToPath } from "url";
import { spawn } from "node:child_process";
import fs from "node:fs"
import path from "node:path"
import { fileURLToPath } from "node:url";
import { getCurrentVersion } from "./prepublish.js";
@@ -1,7 +1,7 @@
import fs from "fs";
import https from "https";
import path from "path";
import { fileURLToPath } from "url";
import fs from "node:fs"
import https from "node:https";
import path from "node:path"
import { fileURLToPath } from "node:url";
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
+4 -4
View File
@@ -1,9 +1,9 @@
// vite.config.ts
import react from "@vitejs/plugin-react";
import { resolve } from "path";
import path from "path";
import { dirname } from "path";
import { fileURLToPath } from "url";
import { resolve } from "node:path";
import path from "node:path"
import { dirname } from "node:path";
import { fileURLToPath } from "node:url";
import { defineConfig } from "vite";
import dts from "vite-plugin-dts";