ソースを参照

chore: remove ts-ignore and ensure build runs before type checking

Aaron Bassett 6 ヶ月 前
コミット
f330b3dc06
2 ファイル変更3 行追加1 行削除
  1. 0 1
      apps/developer-hub/src/source.ts
  2. 3 0
      apps/developer-hub/turbo.json

+ 0 - 1
apps/developer-hub/src/source.ts

@@ -9,7 +9,6 @@ import {
 import type { InferMetaType, InferPageType } from "fumadocs-core/source";
 import { loader } from "fumadocs-core/source";
 import { createElement } from "react";
-//@ts-ignore: .source is generated at build time
 import { docs } from "../.source";
 
 const icons: Record<string, React.ComponentType> = {

+ 3 - 0
apps/developer-hub/turbo.json

@@ -36,6 +36,9 @@
     },
     "test:lint:stylelint": {
       "dependsOn": ["//#install:modules"]
+    },
+    "test:types": {
+      "dependsOn": ["//#install:modules", "^build", "build"]
     }
   }
 }