cleanup imports
This commit is contained in:
parent
5b4c3e3268
commit
6f78923d92
|
@ -1,32 +1,25 @@
|
||||||
// Node Modules
|
|
||||||
import path from "node:path";
|
import path from "node:path";
|
||||||
import { fileURLToPath } from "node:url";
|
import { fileURLToPath } from "node:url";
|
||||||
import fse from "fs-extra";
|
import fse from "fs-extra";
|
||||||
|
|
||||||
// Utils
|
|
||||||
import { createResolver, defineIntegration } from "astro-integration-kit";
|
import { createResolver, defineIntegration } from "astro-integration-kit";
|
||||||
import { corePlugins } from "astro-integration-kit/plugins";
|
import { corePlugins } from "astro-integration-kit/plugins";
|
||||||
import { AstroError } from "astro/errors";
|
import { AstroError } from "astro/errors";
|
||||||
|
import type { AstroIntegration } from "astro";
|
||||||
import c from "picocolors";
|
import c from "picocolors";
|
||||||
import { loadEnv } from "vite";
|
import { loadEnv } from "vite";
|
||||||
import latestVersion from "./utils/latestVersion";
|
|
||||||
|
|
||||||
// External Integrations
|
|
||||||
import sitemap from "@astrojs/sitemap";
|
import sitemap from "@astrojs/sitemap";
|
||||||
import robotsTxt from "astro-robots-txt";
|
import robotsTxt from "astro-robots-txt";
|
||||||
|
|
||||||
// Internal Integrations
|
// Internal Imports
|
||||||
|
import { GhostUserConfigSchema } from "./schemas/userconfig";
|
||||||
import ghostRSS from "./integrations/rssfeed";
|
import ghostRSS from "./integrations/rssfeed";
|
||||||
import ghostOGImages from "./integrations/satoriog";
|
import ghostOGImages from "./integrations/satoriog";
|
||||||
import ghostThemeProvider from "./integrations/themeprovider";
|
import ghostThemeProvider from "./integrations/themeprovider";
|
||||||
|
import latestVersion from "./utils/latestVersion";
|
||||||
|
|
||||||
// Load environment variables
|
// Load environment variables
|
||||||
const ENV = loadEnv("all", process.cwd(), "CONTENT_API");
|
const ENV = loadEnv("all", process.cwd(), "CONTENT_API");
|
||||||
|
|
||||||
// Import User Configuration Zod Schema
|
|
||||||
import { GhostUserConfigSchema } from "./schemas/userconfig";
|
|
||||||
import type { AstroIntegration } from "astro";
|
|
||||||
|
|
||||||
/** Astro-GhostCMS Integration
|
/** Astro-GhostCMS Integration
|
||||||
* @description This integration allows you to use GhostCMS as a headless CMS for your Astro project
|
* @description This integration allows you to use GhostCMS as a headless CMS for your Astro project
|
||||||
* @see https://astro-ghostcms.xyz for the most up-to-date documentation!
|
* @see https://astro-ghostcms.xyz for the most up-to-date documentation!
|
||||||
|
|
|
@ -14,7 +14,7 @@ export default defineConfig({
|
||||||
ThemeProvider: {
|
ThemeProvider: {
|
||||||
theme: "@matthiesenxyz/astro-ghostcms-brutalbyelian",
|
theme: "@matthiesenxyz/astro-ghostcms-brutalbyelian",
|
||||||
},
|
},
|
||||||
verbose: true,
|
verbose: false,
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue