Skip to content

Commit 46e348d

Browse files
authored
Make docs deployable on Cloudflare Pages (openapi-ts#1095)
1 parent 7daa773 commit 46e348d

File tree

5 files changed

+11
-176
lines changed

5 files changed

+11
-176
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
.DS_Store
2+
.astro
23
dist
34
node_modules

docs/.astro/types.d.ts

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

docs/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"sass": "^1.62.1"
2323
},
2424
"devDependencies": {
25-
"html-escaper": "^3.0.3"
25+
"html-escaper": "^3.0.3",
26+
"typescript": "^5.0.4"
2627
}
2728
}

docs/tsconfig.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
{
2-
"extends": "../tsconfig.json",
32
"compilerOptions": {
43
"baseUrl": ".",
4+
"esModuleInterop": true,
55
"jsx": "preserve",
6+
"module": "NodeNext",
7+
"moduleResolution": "NodeNext",
68
"outDir": "dist",
79
"skipLibCheck": true,
8-
"strict": true
10+
"strict": true,
11+
"target": "ESNext"
912
}
1013
}

pnpm-lock.yaml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)