Skip to content

Commit 1187176

Browse files
committed
chore: deploy basic landing page to https://genotype-lang.org/
1 parent fdc2dfd commit 1187176

9 files changed

Lines changed: 13503 additions & 29 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ node_modules/
88
.pnpm-store
99
# Python
1010
.venv
11+
# Cloudflare
12+
.wrangler/
1113
# Temp
1214
/tmp/
1315
# Secrets

pkgs/app-website/astro.config.mjs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ import { defineConfig } from "astro/config";
44

55
import tailwindcss from "@tailwindcss/vite";
66

7+
import cloudflare from "@astrojs/cloudflare";
8+
79
// https://astro.build/config
810
export default defineConfig({
911
integrations: [
@@ -39,4 +41,6 @@ export default defineConfig({
3941
vite: {
4042
plugins: [tailwindcss()],
4143
},
42-
});
44+
45+
adapter: cloudflare(),
46+
});

pkgs/app-website/mise.toml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
[tasks.dev]
22
run = "pnpm exec astro dev --host 0.0.0.0"
3+
depends = "gen/types"
34

45
[tasks.build]
5-
run = "pnpm exec astro build"
6+
run = "pnpm exec astro build"
7+
depends = "gen/types"
8+
9+
[tasks.deploy]
10+
run = "pnpm exec wrangler deploy"
11+
depends = "build"
12+
13+
[tasks."gen/types"]
14+
run = "pnpm exec wrangler types"
15+
sources = ["wrangler.toml"]
16+
outputs = ["worker-configuration.d.ts"]

pkgs/app-website/package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,16 @@
33
"type": "module",
44
"version": "0.1.0",
55
"dependencies": {
6+
"@astrojs/cloudflare": "^13.1.8",
67
"@astrojs/starlight": "^0.38.2",
78
"@astrojs/starlight-tailwind": "^5.0.0",
89
"@tailwindcss/vite": "^4.2.2",
910
"astro": "^6.0.1",
1011
"sharp": "^0.34.2",
11-
"tailwindcss": "^4.2.2"
12+
"tailwindcss": "^4.2.2",
13+
"wrangler": "^4.81.0"
14+
},
15+
"devDependencies": {
16+
"@types/node": "^22.15.18"
1217
}
1318
}

pkgs/app-website/tsconfig.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
{
22
"extends": "astro/tsconfigs/strict",
3-
"include": [".astro/types.d.ts", "**/*"],
4-
"exclude": ["dist"]
5-
}
3+
"include": [
4+
".astro/types.d.ts",
5+
"**/*",
6+
"./worker-configuration.d.ts"
7+
],
8+
"exclude": [
9+
"dist"
10+
]
11+
}

0 commit comments

Comments
 (0)