Started refactoring, added prettier and checks and reformatted project, added cspell and checks and custom project words, beginning of robotic oceanographic surface sampler content
Some checks failed
Build and Test - Staging / test (pull_request) Failing after 2m35s
Build and Test - Staging / build_and_push (pull_request) Has been skipped
Build and Test - Staging / deploy_staging (pull_request) Has been skipped

This commit is contained in:
2025-11-30 15:48:36 -08:00
parent 67eb549ed2
commit 4a59e44716
83 changed files with 3246 additions and 1643 deletions

View File

@@ -1,31 +1,31 @@
// @ts-check
import {defineConfig} from 'astro/config';
import { defineConfig } from "astro/config";
import sitemap from "@astrojs/sitemap";
import tailwindcss from "@tailwindcss/vite";
// We don't have access to short imports this early in the build chain
// noinspection ES6PreferShortImport
import {siteLayout, getPaths} from "./src/data/site-layout.ts";
import { siteLayout, getPaths } from "./src/data/site-layout.ts";
const disabledPaths = getPaths(siteLayout, [], true)
const disabledPaths = getPaths(siteLayout, [], true);
// https://astro.build/config
export default defineConfig({
site: "https://caperren.com",
prefetch: {
prefetchAll: true
},
integrations: [
sitemap({
filter: (pagePath) =>
!disabledPaths.some(disabledPath => pagePath.includes(disabledPath))
})
site: "https://caperren.com",
prefetch: {
prefetchAll: true,
},
integrations: [
sitemap({
filter: (pagePath) =>
!disabledPaths.some((disabledPath) => pagePath.includes(disabledPath)),
}),
],
vite: {
plugins: [
// @ts-ignore
tailwindcss(),
],
vite: {
plugins: [
// @ts-ignore
tailwindcss()
],
},
});
},
});