web: Tidy order.

This commit is contained in:
Teffen Ellis
2025-06-26 23:39:00 +02:00
parent 3e67e358ce
commit ecfd1b077d
7 changed files with 16 additions and 14 deletions

View File

@ -1,6 +1,3 @@
import * as fs from "node:fs/promises";
import * as path from "node:path";
/**
* @file MDX plugin for ESBuild.
*
@ -13,6 +10,9 @@ import * as path from "node:path";
* PluginBuild
* } from "esbuild"
*/
import * as fs from "node:fs/promises";
import * as path from "node:path";
import { MonoRepoRoot } from "@goauthentik/core/paths/node";
/**

View File

@ -7,6 +7,4 @@
* @ignore
*/
export {};
export default {};

View File

@ -3,9 +3,12 @@
*
* @runtime node
*/
import { MonoRepoRoot } from "#paths/node";
import { execSync } from "node:child_process";
import { MonoRepoRoot } from "#paths/node";
// ts-import-sorter: disable
import PackageJSON from "../../../../package.json" with { type: "json" };
/**

View File

@ -1,8 +1,8 @@
import { resolve as resolvePath } from "node:path";
/**
* @file Rollup configuration for the SFE package.
*/
import { resolve as resolvePath } from "node:path";
import commonjs from "@rollup/plugin-commonjs";
import resolve from "@rollup/plugin-node-resolve";
import swc from "@rollup/plugin-swc";

View File

@ -1,11 +1,12 @@
import { dirname, resolve } from "node:path";
import { fileURLToPath } from "node:url";
/**
* @file Paths used by the web package.
*
* @runtime node
*/
import { dirname, resolve } from "node:path";
import { fileURLToPath } from "node:url";
import { DistDirectoryName } from "#paths";
const relativeDirname = dirname(fileURLToPath(import.meta.url));

View File

@ -7,7 +7,7 @@
* @import { Locale } from "@lit/localize-tools/src/types/locale.js"
*/
import { readFileSync } from "node:fs"
import { readFileSync } from "node:fs";
import path from "node:path";
import { PackageRoot } from "#paths/node";

View File

@ -1,8 +1,8 @@
import AKBase from "#common/styles/authentik.css";
import AKBaseDark from "#common/styles/theme-dark.css";
/**
* @file Theme utilities.
*/
import AKBase from "#common/styles/authentik.css";
import AKBaseDark from "#common/styles/theme-dark.css";
import { createStyleSheetUnsafe, setAdoptedStyleSheets, type StyleRoot } from "#common/stylesheets";
import { UiThemeEnum } from "@goauthentik/api";