chore: move regime to github
This commit is contained in:
parent
3fc9e6dab1
commit
30167c7f45
4 changed files with 17 additions and 20 deletions
12
hypeup.config.ts
Normal file
12
hypeup.config.ts
Normal 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,
|
||||
},
|
||||
},
|
||||
})
|
||||
|
|
@ -9,12 +9,12 @@
|
|||
]
|
||||
},
|
||||
"scripts": {
|
||||
"start": "hypeup generate --dir src/routes --watch",
|
||||
"build": "hypeup generate --dir src/routes",
|
||||
"start": "hypeup generate --watch",
|
||||
"build": "hypeup generate",
|
||||
"check": "tsgo --build",
|
||||
"test": "bun test --pass-with-no-tests --tsconfig-override tsconfig.test.json",
|
||||
"lint": "oxlint",
|
||||
"publish": "rsync -avz dist/ quickbasic.org:~/sigitex.com"
|
||||
"publish": "rsync -avz --delete dist/ sigitex.com:~/sigitex.com"
|
||||
},
|
||||
"dependencies": {
|
||||
"@hypeup/lexicon": "workspace:*",
|
||||
|
|
|
|||
|
|
@ -36,7 +36,6 @@ export type Project = ProjectConfig & {
|
|||
|
||||
export type ProjectConfigProps = {
|
||||
owner?: string
|
||||
forge?: ProjectForge
|
||||
status?: ProjectStatus[]
|
||||
description?: string
|
||||
}
|
||||
|
|
@ -89,7 +88,6 @@ const configs: Record<string, ProjectConfig> = {
|
|||
},
|
||||
regime: {
|
||||
type: "package-repo",
|
||||
forge: "quickbasic",
|
||||
status: ["active", "stable"],
|
||||
},
|
||||
bind: {
|
||||
|
|
@ -130,12 +128,6 @@ const configs: Record<string, ProjectConfig> = {
|
|||
status: ["archived", "experiment"],
|
||||
description: "Experimental SSR framework.",
|
||||
},
|
||||
// fftext: {
|
||||
// type: "monorepo",
|
||||
// owner: "errilaz",
|
||||
// status: ["dormant", "experiment"],
|
||||
// description: "Desktop ANSI art tool.",
|
||||
// },
|
||||
pg_tagged_unions: {
|
||||
owner: "errilaz",
|
||||
type: "package-repo",
|
||||
|
|
|
|||
|
|
@ -15,24 +15,17 @@ export default function Project({ name }: Project) {
|
|||
const {
|
||||
description,
|
||||
status,
|
||||
forge,
|
||||
owner,
|
||||
repo,
|
||||
readme,
|
||||
} = 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(
|
||||
h1(div("Sigitex/", name), marginBottom("20px")),
|
||||
div(status && each(status, (s) => Status(s))),
|
||||
p(description),
|
||||
div(
|
||||
a(forgeText, " ↗", {
|
||||
href: forgeUrl,
|
||||
a("GITHUB", " ↗", {
|
||||
href: `https://github.com/${owner}/${repo}`,
|
||||
target: "_top",
|
||||
}),
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue