Skip to content

Commit 345a848

Browse files
authored
Fix Deployments (#4)
* correct json schema types * format * remove gh-page workflow
1 parent c39f1ab commit 345a848

10 files changed

Lines changed: 11 additions & 62 deletions

File tree

.github/workflows/deploy-api.yml

Lines changed: 0 additions & 52 deletions
This file was deleted.

apps/api/astro.config.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ import tailwindcss from "@tailwindcss/vite";
88
// https://astro.build/config
99
export default defineConfig({
1010
site: "https://api.dh-forge.com",
11-
integrations: [sitemap()],
12-
1311
server: {
1412
port: 4321,
1513
},
1614

15+
integrations: [sitemap()],
16+
1717
vite: {
1818
plugins: [tailwindcss()],
1919
},

apps/api/example-character.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"$schema": "https://api.localhost/0.1.x/schema.json",
3-
"name": "John Doe"
2+
"$schema": "https://api.dh-forge.com/0.1.x/character.json",
3+
"type": "character"
44
}

apps/api/tsconfig.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
"extends": "astro/tsconfigs/strict",
33
"compilerOptions": {
44
"baseUrl": ".",
5-
"paths": {
6-
}
5+
"paths": {}
76
},
87
"include": [".astro/types.d.ts", "**/*"],
98
"exclude": ["dist"]

apps/docs/astro.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { defineConfig } from "astro/config";
44

55
// https://astro.build/config
66
export default defineConfig({
7+
site: "https://docs.dh-forge.com",
78
server: {
89
port: 4322,
910
},

apps/docs/tsconfig.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
"extends": "astro/tsconfigs/strict",
33
"compilerOptions": {
44
"baseUrl": ".",
5-
"paths": {
6-
}
5+
"paths": {}
76
},
87
"include": [".astro/types.d.ts", "**/*"],
98
"exclude": ["dist"]

apps/example-registry/tsconfig.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
"extends": "@forge/tsconfig/node.json",
33
"compilerOptions": {
44
"baseUrl": ".",
5-
"paths": {
6-
},
5+
"paths": {},
76
"types": ["vite/client", "@cloudflare/workers-types"],
87
"jsxImportSource": "hono/jsx"
98
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { z } from "zod/v4";
22

33
export const characterSchema = z.object({
4+
$schema: z.url(),
45
type: z.literal("character"),
56
});
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { z } from "zod/v4";
22

33
export const registryCampaignSchema = z.object({
4+
$schema: z.url(),
45
type: z.literal("registry-campaign"),
56
});
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { z } from "zod/v4";
22

33
export const registryCoreSchema = z.object({
4+
$schema: z.url(),
45
type: z.literal("registry-core"),
56
});

0 commit comments

Comments
 (0)