Skip to content

Commit f47c32f

Browse files
authored
chore(cli): model fern definition in fern, instead of zod (#4957)
1 parent b1840ab commit f47c32f

File tree

976 files changed

+39369
-4863
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

976 files changed

+39369
-4863
lines changed

.eslintignore

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ packages/cli/api-importers/conjure/conjure-sdk/**
1111
packages/docs-config/**
1212
packages/cli/api-importers/openapi/openapi-ir/src/sdk/**
1313
packages/cli/configuration/src/docs-yml/schemas/**
14+
packages/cli/configuration/src/generators-yml/schemas/**
15+
packages/cli/fern-definition/schema/src/schemas/**
1416
packages/seed/**
1517
generators/typescript/utils/core-utilities/**
1618
seed/**

.github/workflows/ci.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ jobs:
2929
- name: Lint
3030
run: pnpm lint:style
3131

32-
# - name: generate (dev) JSON Schema
33-
# run: pnpm generate-json-schema:dev
32+
- name: Generate JSON Schema
33+
run: pnpm jsonschema
3434

3535
- name: Format
3636
run: pnpm format:check
@@ -48,7 +48,7 @@ jobs:
4848
uses: ./.github/actions/install
4949

5050
- name: Compile
51-
run: pnpm compile
51+
run: pnpm compile
5252

5353
eslint:
5454
runs-on: ubuntu-latest
@@ -77,7 +77,7 @@ jobs:
7777

7878
- uses: actions/setup-go@v5
7979
with:
80-
go-version: 'stable'
80+
go-version: "stable"
8181

8282
- name: Install protoc-gen-openapi
8383
run: go install github.com/google/gnostic/cmd/[email protected]
@@ -99,7 +99,7 @@ jobs:
9999

100100
- name: Install
101101
uses: ./.github/actions/install
102-
102+
103103
- name: Compile
104104
run: pnpm compile
105105

@@ -148,7 +148,7 @@ jobs:
148148
- name: Set up Node.js
149149
uses: actions/setup-node@v4
150150
with:
151-
node-version: '20.x'
151+
node-version: "20.x"
152152

153153
- name: Check API definition is valid
154154
env:

0 commit comments

Comments
 (0)