Skip to content

Commit 76057dc

Browse files
committed
Initial commit
0 parents  commit 76057dc

File tree

1,247 files changed

+136116
-0
lines changed

Some content is hidden

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

1,247 files changed

+136116
-0
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# This allows generated code to be indexed correctly
2+
*.ts linguist-generated=false
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: SDK Generation
2+
permissions:
3+
checks: write
4+
contents: write
5+
pull-requests: write
6+
statuses: write
7+
"on":
8+
workflow_dispatch:
9+
inputs:
10+
force:
11+
description: Force generation of SDKs
12+
type: boolean
13+
default: false
14+
set_version:
15+
description: Optionally set a specific SDK version
16+
type: string
17+
schedule:
18+
- cron: 0 0 * * *
19+
jobs:
20+
generate:
21+
uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
22+
with:
23+
enable_sdk_changelog: true
24+
force: ${{ github.event.inputs.force }}
25+
mode: pr
26+
set_version: ${{ github.event.inputs.set_version }}
27+
speakeasy_version: latest
28+
target: kombo-typescript
29+
secrets:
30+
github_access_token: ${{ secrets.GITHUB_TOKEN }}
31+
npm_token: ${{ secrets.NPM_TOKEN }}
32+
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
33+
openapi_doc_auth_token: ${{ secrets.OPENAPI_DOC_AUTH_TOKEN }}

.github/workflows/sdk_publish.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: SDK Publishing
2+
permissions:
3+
checks: write
4+
contents: write
5+
pull-requests: write
6+
statuses: write
7+
id-token: write
8+
"on":
9+
push:
10+
branches:
11+
- main
12+
paths:
13+
- .speakeasy/gen.lock
14+
workflow_dispatch: {}
15+
jobs:
16+
publish:
17+
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v15
18+
with:
19+
enable_sdk_changelog: true
20+
node_options: --max-old-space-size=5125
21+
target: kombo-typescript
22+
secrets:
23+
github_access_token: ${{ secrets.GITHUB_TOKEN }}
24+
npm_token: ${{ secrets.NPM_TOKEN }}
25+
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
26+
openapi_doc_auth_token: ${{ secrets.OPENAPI_DOC_AUTH_TOKEN }}

.gitignore

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
/models
2+
/models/errors
3+
/types
4+
/node_modules
5+
/examples/node_modules
6+
/lib
7+
/sdk
8+
/funcs
9+
/react-query
10+
/mcp-server
11+
/hooks
12+
/index.*
13+
/core.*
14+
/bin
15+
/cjs
16+
/esm
17+
/dist
18+
/.tsbuildinfo
19+
/.eslintcache
20+
/.tshy
21+
/.tshy-*
22+
/__tests__
23+
.DS_Store
24+
**/.speakeasy/temp/
25+
**/.speakeasy/logs/
26+
.DS_Store
27+
/.speakeasy/reports
28+
.env
29+
.env.local
30+
.env.*.local

.npmignore

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
**/*
2+
!/FUNCTIONS.md
3+
!/RUNTIMES.md
4+
!/REACT_QUERY.md
5+
!/**/*.ts
6+
!/**/*.js
7+
!/**/*.mjs
8+
!/**/*.json
9+
!/**/*.map
10+
11+
/eslint.config.mjs
12+
/cjs
13+
/.tshy
14+
/.tshy-*
15+
/__tests__

0 commit comments

Comments
 (0)