chore: move regime to github

This commit is contained in:
Dan Finch 2026-05-18 23:59:31 +02:00
parent 3fc9e6dab1
commit 30167c7f45
4 changed files with 17 additions and 20 deletions

12
hypeup.config.ts Normal file
View file

@ -0,0 +1,12 @@
import { defineConfig } from "hypeup"
export default defineConfig({
clean: true,
dir: "src/routes",
vite: {
server: {
allowedHosts: [Bun.env.HOSTNAME!],
host: true,
},
},
})

View file

@ -9,12 +9,12 @@
] ]
}, },
"scripts": { "scripts": {
"start": "hypeup generate --dir src/routes --watch", "start": "hypeup generate --watch",
"build": "hypeup generate --dir src/routes", "build": "hypeup generate",
"check": "tsgo --build", "check": "tsgo --build",
"test": "bun test --pass-with-no-tests --tsconfig-override tsconfig.test.json", "test": "bun test --pass-with-no-tests --tsconfig-override tsconfig.test.json",
"lint": "oxlint", "lint": "oxlint",
"publish": "rsync -avz dist/ quickbasic.org:~/sigitex.com" "publish": "rsync -avz --delete dist/ sigitex.com:~/sigitex.com"
}, },
"dependencies": { "dependencies": {
"@hypeup/lexicon": "workspace:*", "@hypeup/lexicon": "workspace:*",

View file

@ -36,7 +36,6 @@ export type Project = ProjectConfig & {
export type ProjectConfigProps = { export type ProjectConfigProps = {
owner?: string owner?: string
forge?: ProjectForge
status?: ProjectStatus[] status?: ProjectStatus[]
description?: string description?: string
} }
@ -89,7 +88,6 @@ const configs: Record<string, ProjectConfig> = {
}, },
regime: { regime: {
type: "package-repo", type: "package-repo",
forge: "quickbasic",
status: ["active", "stable"], status: ["active", "stable"],
}, },
bind: { bind: {
@ -130,12 +128,6 @@ const configs: Record<string, ProjectConfig> = {
status: ["archived", "experiment"], status: ["archived", "experiment"],
description: "Experimental SSR framework.", description: "Experimental SSR framework.",
}, },
// fftext: {
// type: "monorepo",
// owner: "errilaz",
// status: ["dormant", "experiment"],
// description: "Desktop ANSI art tool.",
// },
pg_tagged_unions: { pg_tagged_unions: {
owner: "errilaz", owner: "errilaz",
type: "package-repo", type: "package-repo",

View file

@ -15,24 +15,17 @@ export default function Project({ name }: Project) {
const { const {
description, description,
status, status,
forge,
owner, owner,
repo, repo,
readme, readme,
} = projects.find((p) => p.name === name)! } = projects.find((p) => p.name === name)!
const forgeUrl =
forge === "quickbasic"
? `https://code.quickbasic.org/sigitex/${name}`
: `https://github.com/${owner}/${repo}`
const forgeText =
forge === "quickbasic" ? "CODE" : "GITHUB"
return Layout( return Layout(
h1(div("Sigitex/", name), marginBottom("20px")), h1(div("Sigitex/", name), marginBottom("20px")),
div(status && each(status, (s) => Status(s))), div(status && each(status, (s) => Status(s))),
p(description), p(description),
div( div(
a(forgeText, " ↗", { a("GITHUB", " ↗", {
href: forgeUrl, href: `https://github.com/${owner}/${repo}`,
target: "_top", target: "_top",
}), }),
), ),