web: Format imports.

This commit is contained in:
Teffen Ellis
2025-06-26 22:31:53 +02:00
parent 55cb7f3f2c
commit c1032386c6
617 changed files with 5290 additions and 4561 deletions

View File

@ -1,3 +1,7 @@
import { spawnSync } from "node:child_process";
import { readFileSync, statSync } from "node:fs";
import path from "node:path";
/**
* @file Lit Localize build script.
*
@ -13,9 +17,6 @@
* @import { Stats } from "fs";
*/
import { PackageRoot } from "#paths/node";
import { spawnSync } from "node:child_process";
import { readFileSync, statSync } from "node:fs";
import path from "node:path";
/**
* @type {ConfigFile}

View File

@ -1,4 +1,7 @@
/// <reference types="../types/esbuild.js" />
import * as fs from "node:fs/promises";
import * as path from "node:path";
/**
* @file ESBuild script for building the authentik web UI.
*
@ -7,15 +10,15 @@
import { mdxPlugin } from "#bundler/mdx-plugin/node";
import { createBundleDefinitions } from "#bundler/utils/node";
import { DistDirectory, EntryPoint, PackageRoot } from "#paths/node";
import { NodeEnvironment } from "@goauthentik/core/environment/node";
import { MonoRepoRoot, resolvePackage } from "@goauthentik/core/paths/node";
import { readBuildIdentifier } from "@goauthentik/core/version/node";
import { deepmerge } from "deepmerge-ts";
import esbuild from "esbuild";
import copy from "esbuild-plugin-copy";
import { polyfillNode } from "esbuild-plugin-polyfill-node";
import * as fs from "node:fs/promises";
import * as path from "node:path";
const logPrefix = "[Build]";

View File

@ -1,3 +1,6 @@
import { readFileSync } from "node:fs";
import path from "node:path";
/**
* @file Pseudo-localization script.
*
@ -7,8 +10,7 @@
* @import { Locale } from "@lit/localize-tools/src/types/locale.js"
*/
import { PackageRoot } from "#paths/node";
import { readFileSync } from "node:fs";
import path from "node:path";
import pseudolocale from "pseudolocale";
import { makeFormatter } from "@lit/localize-tools/lib/formatters/index.js";