feat: init

This commit is contained in:
2026-02-13 22:02:30 +01:00
commit 8f9ff830fb
16711 changed files with 3307340 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
declare const _default: readonly [any, any, any];
export default _default;

69
node_modules/nitropack/dist/presets/_static/preset.mjs generated vendored Normal file
View File

@@ -0,0 +1,69 @@
import fsp from "node:fs/promises";
import { defineNitroPreset } from "nitropack/kit";
import { join } from "pathe";
const _static = defineNitroPreset(
{
static: true,
output: {
dir: "{{ rootDir }}/.output",
publicDir: "{{ output.dir }}/public"
},
prerender: {
crawlLinks: true
},
commands: {
preview: "npx serve {{ output.publicDir }}"
}
},
{
name: "static",
static: true,
url: import.meta.url
}
);
const githubPages = defineNitroPreset(
{
extends: "static",
commands: {
deploy: "npx gh-pages --dotfiles -d {{ output.publicDir }}"
},
prerender: {
routes: [
"/",
// https://docs.github.com/en/pages/getting-started-with-github-pages/creating-a-custom-404-page-for-your-github-pages-site
"/404.html"
]
},
hooks: {
async compiled(nitro) {
await fsp.writeFile(
join(nitro.options.output.publicDir, ".nojekyll"),
""
);
}
}
},
{
name: "github-pages",
static: true,
url: import.meta.url
}
);
const gitlabPages = defineNitroPreset(
{
extends: "static",
prerender: {
routes: [
"/",
// https://docs.gitlab.com/ee/user/project/pages/introduction.html#custom-error-codes-pages
"/404.html"
]
}
},
{
name: "gitlab-pages",
static: true,
url: import.meta.url
}
);
export default [_static, githubPages, gitlabPages];