Skip to content

Commit 09df48e

Browse files
committed
fix: update TypeScript check command and dependencies in package.json; adjust iframe style in OpenApi component
1 parent a795509 commit 09df48e

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

apps/website/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"serve": "docusaurus serve",
1313
"write-translations": "docusaurus write-translations",
1414
"write-heading-ids": "docusaurus write-heading-ids",
15-
"check": "tsgo --noEmit",
15+
"check": "tsc --noEmit",
1616
"fmt": "prettier src --write --config ../../.prettierrc",
1717
"lint": "oxlint --type-aware ./src",
1818
"lint:fix": "yarn lint --fix",
@@ -35,10 +35,10 @@
3535
"@docusaurus/types": "3.9.1",
3636
"@storybooker/core": "workspace:^",
3737
"@types/react": "^19.0.0",
38-
"@typescript/native-preview": "^7.0.0-dev.20251005.1",
3938
"oxlint": "^1.12.0",
4039
"oxlint-tsgolint": "^0.2.0",
41-
"prettier": "^3.6.2"
40+
"prettier": "^3.6.2",
41+
"typescript": "^5.9.2"
4242
},
4343
"imports": {
4444
"#components/*": "./src/components/*.tsx"

apps/website/src/pages/openapi.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
// oxlint-disable sort-keys
2-
31
import Layout from "@theme/Layout";
42

53
export default function OpenApi(): React.ReactNode {
64
return (
75
<Layout title="OpenAPI" description="StoryBooker OpenAPI">
86
<iframe
9-
style={{ width: "100%", height: "100vh", border: "none" }}
7+
style={{ border: "none", height: "100vh", width: "100%" }}
108
srcDoc={`<!doctype html>
119
<html>
1210
<head>

apps/website/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
// This file is not used in compilation. It is here just for a nice editor experience.
33
"extends": "@docusaurus/tsconfig",
44
"compilerOptions": {
5-
"baseUrl": "."
5+
"baseUrl": ".",
6+
"strictNullChecks": true
67
},
78
"exclude": [".docusaurus", "build"]
89
}

yarn.lock

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20823,15 +20823,16 @@ __metadata:
2082320823
"@docusaurus/types": "npm:3.9.1"
2082420824
"@easyops-cn/docusaurus-search-local": "npm:^0.52.1"
2082520825
"@mdx-js/react": "npm:^3.0.0"
20826+
"@storybooker/core": "workspace:^"
2082620827
"@types/react": "npm:^19.0.0"
20827-
"@typescript/native-preview": "npm:^7.0.0-dev.20251005.1"
2082820828
clsx: "npm:^2.0.0"
2082920829
oxlint: "npm:^1.12.0"
2083020830
oxlint-tsgolint: "npm:^0.2.0"
2083120831
prettier: "npm:^3.6.2"
2083220832
prism-react-renderer: "npm:^2.3.0"
2083320833
react: "npm:^19.0.0"
2083420834
react-dom: "npm:^19.0.0"
20835+
typescript: "npm:^5.9.2"
2083520836
languageName: unknown
2083620837
linkType: soft
2083720838

0 commit comments

Comments
 (0)