From 7397b14935934a373b81921ea406303d91ed7e9a Mon Sep 17 00:00:00 2001 From: dsinghvi Date: Sun, 5 May 2024 22:22:32 -0400 Subject: [PATCH] try again --- .github/workflows/healthcheck.yml | 2 +- packages/commons/fdr-utils/src/index.ts | 2 +- packages/healthchecks/package.json | 6 +++--- packages/healthchecks/tsconfig.json | 2 +- pnpm-lock.yaml | 3 +++ 5 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/healthcheck.yml b/.github/workflows/healthcheck.yml index e0780ab857..488cbbe0c5 100644 --- a/.github/workflows/healthcheck.yml +++ b/.github/workflows/healthcheck.yml @@ -27,7 +27,7 @@ jobs: - name: 🧪 Build Healthchecks CLI run: | - pnpm turbo compile --filter=@fern-api/healthchecks + pnpm turbo compile pnpm --filter=@fern-api/healthchecks dist:cli - name: Run Healthchecks diff --git a/packages/commons/fdr-utils/src/index.ts b/packages/commons/fdr-utils/src/index.ts index af71ba0813..b87a3cbebe 100644 --- a/packages/commons/fdr-utils/src/index.ts +++ b/packages/commons/fdr-utils/src/index.ts @@ -2,7 +2,7 @@ export * from "./buildUrl"; export * from "./definition-object-factory"; export * from "./docs"; export * from "./flattenApiDefinition"; -export * from "./getAllUrlsFromDocsConfig"; +export { getAllUrlsFromDocsConfig } from "./getAllUrlsFromDocsConfig"; export * from "./getNavigationRoot"; export * from "./getUnversionedSlug"; export * from "./resolver"; diff --git a/packages/healthchecks/package.json b/packages/healthchecks/package.json index c685e4b075..c304435b38 100644 --- a/packages/healthchecks/package.json +++ b/packages/healthchecks/package.json @@ -19,8 +19,7 @@ "fern-health": "./dist/cli.cjs" }, "scripts": { - "clean": "rm -rf ./lib && tsc --build --clean", - "compile": "tsc --build", + "clean": "rm -rf ./dist && tsc --build --clean", "dist:cli": "tsup ./src/cli.ts --format cjs", "test": "vitest --passWithNoTests --globals --disable-console-intercept", "lint:eslint": "eslint --max-warnings 0 . --ignore-path=../../.eslintignore", @@ -33,9 +32,10 @@ "depcheck": "depcheck" }, "devDependencies": { + "@fern-ui/core-utils": "workspace:*", "@fern-api/fdr-sdk": "workspace:*", - "@fern-fern/vercel": "0.0.1", "@fern-ui/fdr-utils": "workspace:*", + "@fern-fern/vercel": "0.0.1", "@types/jest": "^29.5.11", "@types/node": "^18.7.18", "@types/yargs": "^17.0.32", diff --git a/packages/healthchecks/tsconfig.json b/packages/healthchecks/tsconfig.json index b58da03b4e..d5b589bc72 100644 --- a/packages/healthchecks/tsconfig.json +++ b/packages/healthchecks/tsconfig.json @@ -1,5 +1,5 @@ { "extends": "../../shared/tsconfig.shared.json", - "compilerOptions": { "composite": true, "outDir": "lib", "rootDir": "." }, + "compilerOptions": { "composite": true, "outDir": "dist", "rootDir": "." }, "include": ["./src/**/*"] } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e58aeedd7d..d131c0a360 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -642,6 +642,9 @@ importers: '@fern-fern/vercel': specifier: 0.0.1 version: 0.0.1 + '@fern-ui/core-utils': + specifier: workspace:* + version: link:../commons/core-utils '@fern-ui/fdr-utils': specifier: workspace:* version: link:../commons/fdr-utils