-
Notifications
You must be signed in to change notification settings - Fork 82
refactor!: regenerate SDK with Fern code generator #441
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
5b9b14e
2a1e81f
a4b0453
9a67c68
6c9eb57
3593cdf
8e59bc8
088d567
8a320a7
3495ab3
56c65cf
1e1e385
002b1de
e8725bc
b65c207
edaa1ea
339287b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| { | ||
| "cliVersion": "1.10.2", | ||
| "generatorName": "fernapi/fern-typescript-node-sdk", | ||
| "generatorVersion": "3.32.0", | ||
| "generatorConfig": { | ||
| "allowCustomFetcher": true, | ||
| "enableInlineTypes": true, | ||
| "includeApiReference": true, | ||
| "namespaceExport": "Deepgram", | ||
| "noSerdeLayer": true, | ||
| "shouldGenerateWebsocketClients": true, | ||
| "skipResponseValidation": true, | ||
| "fileResponseType": "binary-response", | ||
| "generateWireTests": true, | ||
| "extraDevDependencies": { | ||
| "playwright": "^1.56.1", | ||
| "@playwright/test": "^1.56.1" | ||
| } | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| # Specify files that shouldn't be modified by Fern | ||
|
|
||
| # Manual tests used in development | ||
| tests/manual/ | ||
|
|
||
| # README has been modified since the generated default output | ||
| README.md | ||
|
|
||
| # We created our own websocket-reference.md because Fern didn't generate websocket clients in reference.md | ||
| websocket-reference.md |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| name: ci | ||
|
|
||
| on: [push] | ||
|
|
||
| jobs: | ||
| compile: | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - name: Checkout repo | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Set up node | ||
| uses: actions/setup-node@v4 | ||
|
|
||
| - name: Install pnpm | ||
| uses: pnpm/action-setup@v4 | ||
|
|
||
| - name: Install dependencies | ||
| run: pnpm install | ||
|
|
||
| - name: Compile | ||
| run: pnpm build | ||
|
|
||
| test: | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - name: Checkout repo | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Set up node | ||
| uses: actions/setup-node@v4 | ||
|
|
||
| - name: Install pnpm | ||
| uses: pnpm/action-setup@v4 | ||
|
|
||
| - name: Install dependencies | ||
| run: pnpm install | ||
|
|
||
| - name: Test | ||
| run: pnpm test | ||
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium
Copilot Autofix
AI about 2 months ago
To address the issue, add a
permissionsblock at the root of the workflow file (.github/workflows/ci.yml) to restrict the GitHub Actions token. Since none of the jobs require write access (they just check out code, install dependencies, build, and run tests), the minimal permissioncontents: readsuffices. Place thispermissionsentry beneath thename:andon:keys but abovejobs:. No additional imports, dependencies, or code changes are required.