web: Clean up package paths.

This commit is contained in:
Teffen Ellis
2025-05-19 21:12:53 +02:00
parent c50793133b
commit 7a12fbf8b7
28 changed files with 289 additions and 125 deletions

9
web/types/node.d.ts vendored
View File

@ -14,8 +14,8 @@ declare module "module" {
* const relativeDirname = dirname(fileURLToPath(import.meta.url));
* ```
*/
const __dirname: string;
// eslint-disable-next-line no-var
var __dirname: string;
}
}
@ -24,7 +24,10 @@ declare module "process" {
namespace NodeJS {
interface ProcessEnv {
/**
* Node environment, if any.
* An environment variable used to determine
* whether Node.js is running in production mode.
*
* @see {@link https://nodejs.org/en/learn/getting-started/nodejs-the-difference-between-development-and-production | The difference between development and production}
*/
readonly NODE_ENV?: "development" | "production";
/**