web: Tidy order.
This commit is contained in:
@ -1,6 +1,3 @@
|
|||||||
import * as fs from "node:fs/promises";
|
|
||||||
import * as path from "node:path";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file MDX plugin for ESBuild.
|
* @file MDX plugin for ESBuild.
|
||||||
*
|
*
|
||||||
@ -13,6 +10,9 @@ import * as path from "node:path";
|
|||||||
* PluginBuild
|
* PluginBuild
|
||||||
* } from "esbuild"
|
* } from "esbuild"
|
||||||
*/
|
*/
|
||||||
|
import * as fs from "node:fs/promises";
|
||||||
|
import * as path from "node:path";
|
||||||
|
|
||||||
import { MonoRepoRoot } from "@goauthentik/core/paths/node";
|
import { MonoRepoRoot } from "@goauthentik/core/paths/node";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -7,6 +7,4 @@
|
|||||||
* @ignore
|
* @ignore
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export {};
|
|
||||||
|
|
||||||
export default {};
|
export default {};
|
||||||
|
|||||||
@ -3,9 +3,12 @@
|
|||||||
*
|
*
|
||||||
* @runtime node
|
* @runtime node
|
||||||
*/
|
*/
|
||||||
import { MonoRepoRoot } from "#paths/node";
|
|
||||||
import { execSync } from "node:child_process";
|
import { execSync } from "node:child_process";
|
||||||
|
|
||||||
|
import { MonoRepoRoot } from "#paths/node";
|
||||||
|
|
||||||
|
// ts-import-sorter: disable
|
||||||
import PackageJSON from "../../../../package.json" with { type: "json" };
|
import PackageJSON from "../../../../package.json" with { type: "json" };
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
import { resolve as resolvePath } from "node:path";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file Rollup configuration for the SFE package.
|
* @file Rollup configuration for the SFE package.
|
||||||
*/
|
*/
|
||||||
|
import { resolve as resolvePath } from "node:path";
|
||||||
|
|
||||||
import commonjs from "@rollup/plugin-commonjs";
|
import commonjs from "@rollup/plugin-commonjs";
|
||||||
import resolve from "@rollup/plugin-node-resolve";
|
import resolve from "@rollup/plugin-node-resolve";
|
||||||
import swc from "@rollup/plugin-swc";
|
import swc from "@rollup/plugin-swc";
|
||||||
|
|||||||
@ -1,11 +1,12 @@
|
|||||||
import { dirname, resolve } from "node:path";
|
|
||||||
import { fileURLToPath } from "node:url";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file Paths used by the web package.
|
* @file Paths used by the web package.
|
||||||
*
|
*
|
||||||
* @runtime node
|
* @runtime node
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
import { dirname, resolve } from "node:path";
|
||||||
|
import { fileURLToPath } from "node:url";
|
||||||
|
|
||||||
import { DistDirectoryName } from "#paths";
|
import { DistDirectoryName } from "#paths";
|
||||||
|
|
||||||
const relativeDirname = dirname(fileURLToPath(import.meta.url));
|
const relativeDirname = dirname(fileURLToPath(import.meta.url));
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
* @import { Locale } from "@lit/localize-tools/src/types/locale.js"
|
* @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 path from "node:path";
|
||||||
|
|
||||||
import { PackageRoot } from "#paths/node";
|
import { PackageRoot } from "#paths/node";
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
import AKBase from "#common/styles/authentik.css";
|
|
||||||
import AKBaseDark from "#common/styles/theme-dark.css";
|
|
||||||
/**
|
/**
|
||||||
* @file Theme utilities.
|
* @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 { createStyleSheetUnsafe, setAdoptedStyleSheets, type StyleRoot } from "#common/stylesheets";
|
||||||
|
|
||||||
import { UiThemeEnum } from "@goauthentik/api";
|
import { UiThemeEnum } from "@goauthentik/api";
|
||||||
|
|||||||
Reference in New Issue
Block a user