From ab64f153b8cb18516737987737a4cb2a4c1f92c6 Mon Sep 17 00:00:00 2001 From: fern <126544928+fern-bot@users.noreply.github.com> Date: Tue, 17 Sep 2024 12:56:27 -0400 Subject: [PATCH] chore: upgrade fern (#138) --- .github/workflows/preview-docs.yml | 10 ++++------ .github/workflows/publish-docs.yml | 2 +- fern/fern.config.json | 2 +- package.json | 2 +- pnpm-lock.yaml | 15 ++++++++------- 5 files changed, 15 insertions(+), 16 deletions(-) diff --git a/.github/workflows/preview-docs.yml b/.github/workflows/preview-docs.yml index a048b828..93d15b93 100644 --- a/.github/workflows/preview-docs.yml +++ b/.github/workflows/preview-docs.yml @@ -1,14 +1,10 @@ name: preview-docs on: - pull_request_target: + pull_request: branches: - main -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true - jobs: run: runs-on: ubuntu-latest @@ -16,6 +12,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 + # with: + # ref: "${{ github.event.pull_request.merge_commit_sha }}" - name: Setup pnpm uses: pnpm/action-setup@v2 @@ -24,7 +22,7 @@ jobs: - name: Install Dependencies shell: bash - run: pnpm install + run: pnpm install - name: Run fern check env: diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 2e257668..0271482a 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -20,7 +20,7 @@ jobs: - name: Install Dependencies shell: bash - run: pnpm install + run: pnpm install - name: Publish Docs env: diff --git a/fern/fern.config.json b/fern/fern.config.json index 45eb088f..f9f7505e 100644 --- a/fern/fern.config.json +++ b/fern/fern.config.json @@ -1,4 +1,4 @@ { "organization": "cohere", - "version": "0.41.8" + "version": "*" } \ No newline at end of file diff --git a/package.json b/package.json index c72c8300..ecb97023 100644 --- a/package.json +++ b/package.json @@ -13,11 +13,11 @@ "devDependencies": { "@types/node": "^20.14.10", "@types/react": "^18.3.3", - "fern-api": "latest", "only-allow": "^1.2.1", "tailwindcss": "^3.4.4" }, "dependencies": { + "fern-api": "^0.41.16", "react": "^18.3.1" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b7186d7b..7e54163b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,6 +8,9 @@ importers: .: dependencies: + fern-api: + specifier: ^0.41.16 + version: 0.41.16 react: specifier: ^18.3.1 version: 18.3.1 @@ -18,9 +21,6 @@ importers: '@types/react': specifier: ^18.3.3 version: 18.3.3 - fern-api: - specifier: latest - version: 0.31.24 only-allow: specifier: ^1.2.1 version: 1.2.1 @@ -174,8 +174,8 @@ packages: fastq@1.17.1: resolution: {integrity: sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==} - fern-api@0.31.24: - resolution: {integrity: sha512-hO0BY0q3+//OVLALI6875Sh6OlMPRJG4HeIRjIaX4ZmMtPbsZKMoowPSKWyewwnw2uYotklIgIsZWLKoAo7C3A==} + fern-api@0.41.16: + resolution: {integrity: sha512-LykhNvMl0NjTnCu6kHiYV9a2Y3iX5HMFlD6dO1A6J1WfvH8mcKYzcz/R/Md9/h6QygSeuuFGAo/K3JJ9e3j4QQ==} hasBin: true fill-range@7.1.1: @@ -629,7 +629,7 @@ snapshots: dependencies: reusify: 1.0.4 - fern-api@0.31.24: {} + fern-api@0.41.16: {} fill-range@7.1.1: dependencies: @@ -773,8 +773,9 @@ snapshots: postcss-load-config@4.0.2(postcss@8.4.39): dependencies: lilconfig: 3.1.2 - postcss: 8.4.39 yaml: 2.4.5 + optionalDependencies: + postcss: 8.4.39 postcss-nested@6.0.1(postcss@8.4.39): dependencies: