Skip to content

Commit 87ab39a

Browse files
committed
Merge branch 'main' of https://github.com/hey-api/openapi-ts into josh-hemphill/main
2 parents f7e0a90 + 6184a27 commit 87ab39a

File tree

4,948 files changed

+871750
-351774
lines changed

Some content is hidden

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

4,948 files changed

+871750
-351774
lines changed

.gitattributes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
11
* text=auto eol=lf
2+
bun.lockb linguist-generated=true
3+
package-lock.json linguist-generated=true
4+
pnpm-lock.yaml linguist-generated=true
5+
yarn.lock linguist-generated=true

.github/FUNDING.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
github:
2-
- mrlubos
32
- hey-api

.github/dependabot.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
matrix:
2020
os: [macos-latest, ubuntu-latest, windows-latest]
21-
node-version: ['18.20.5', '20.11.1', '22.11.0']
21+
node-version: ['20.19.0', '22.12.0']
2222
steps:
2323
- uses: actions/[email protected]
2424
with:
@@ -38,7 +38,7 @@ jobs:
3838
run: pnpm build --filter="@hey-api/**"
3939

4040
- name: Build examples
41-
if: matrix.node-version == '22.11.0' && matrix.os == 'ubuntu-latest'
41+
if: matrix.node-version == '22.12.0' && matrix.os == 'ubuntu-latest'
4242
run: pnpm build --filter="@examples/**"
4343

4444
- name: Run linter
@@ -54,7 +54,7 @@ jobs:
5454
run: pnpm test:e2e
5555

5656
- name: Publish preview packages
57-
if: github.event_name == 'pull_request' && matrix.node-version == '22.11.0' && matrix.os == 'ubuntu-latest'
57+
if: github.event_name == 'pull_request' && matrix.node-version == '22.12.0' && matrix.os == 'ubuntu-latest'
5858
run: ./scripts/publish-preview-packages.sh
5959
env:
6060
TURBO_SCM_BASE: ${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || github.event.before }}

.github/workflows/contributors.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Update Contributors
2+
3+
on:
4+
schedule:
5+
- cron: '0 0 * * *' # Every day at 00:00 UTC
6+
workflow_dispatch:
7+
8+
jobs:
9+
update:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/[email protected]
13+
14+
- name: Install dependencies
15+
run: sudo apt-get update && sudo apt-get install -y jq curl
16+
17+
- name: Run update contributors script
18+
env:
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20+
run: |
21+
chmod +x ./scripts/update-contributors.sh
22+
./scripts/update-contributors.sh
23+
24+
- name: Commit and push if updated
25+
run: |
26+
git config user.name "github-actions[bot]"
27+
git config user.email "github-actions[bot]@users.noreply.github.com"
28+
git add ./docs/partials/contributors-list.md
29+
git diff --cached --quiet || git commit -m "chore(docs): update contributors list"
30+
git push

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
run: pnpm build
3636

3737
- name: Create Release Pull Request
38-
uses: changesets/action@v1.4.10
38+
uses: changesets/action@v1.5.3
3939
with:
4040
publish: pnpm changeset publish
4141
version: pnpm changeset version

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.DS_Store
2+
.cache
23
.idea
34
.tmp
45
junit.xml
@@ -22,5 +23,12 @@ coverage
2223
test/generated
2324
test/e2e/generated
2425

26+
# debug files
27+
openapi-ts-debug-*
2528
# error files
29+
logs
2630
openapi-ts-error-*
31+
32+
# But DO NOT ignore generated snapshots!
33+
!test/__snapshots__/test/generated
34+
!test/__snapshots__/test/generated/**

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
22.11.0
1+
22.12.0

.vscode/extensions.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"recommendations": [
33
"EditorConfig.EditorConfig",
44
"dbaeumer.vscode-eslint",
5-
"esbenp.prettier-vscode"
5+
"esbenp.prettier-vscode",
6+
"hilleer.yaml-plus-json"
67
]
78
}

README.md

Lines changed: 0 additions & 242 deletions
This file was deleted.

0 commit comments

Comments
 (0)