Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
5233 commits
Select commit Hold shift + click to select a range
9769998
fix(zod): add metadata option
Jun 12, 2025
32a8d2c
Merge pull request #2163 from hey-api/fix/zod-metadata
mrlubos Jun 12, 2025
f23f3ae
fix(client): do not serialize path param name in url
Jun 12, 2025
3d0aeb8
Merge pull request #2165 from hey-api/fix/client-path-param-date
mrlubos Jun 12, 2025
594f3a6
fix(zod): support tuple types
Jun 12, 2025
67125d3
Merge pull request #2166 from hey-api/fix/zod-tuple
mrlubos Jun 12, 2025
a46259e
fix(tanstack-query): add name builder options for all generated artif…
Jun 12, 2025
1e1c40b
Merge pull request #2167 from hey-api/fix/tanstack-query-name-builder
mrlubos Jun 12, 2025
e8b6797
Version Packages
github-actions[bot] Jun 12, 2025
7365e4a
Merge pull request #2164 from hey-api/changeset-release/main
mrlubos Jun 12, 2025
c18dd1e
fix: export default pagination keywords
Jun 13, 2025
16fb3c7
Merge pull request #2170 from hey-api/fix/export-default-pagination-k…
mrlubos Jun 13, 2025
96053a5
feat: remove support for client packages
Jun 13, 2025
9afbf66
fix: respect logs setting if initialization fails
Jun 13, 2025
4ff2aed
feat: bundle fetch client
Jun 14, 2025
2d7dc55
feat: bundle axios client
Jun 14, 2025
723f182
feat: bundle next client
Jun 14, 2025
39eee4a
docs: update client docs
Jun 14, 2025
b43e917
feat: bundle nuxt client
Jun 14, 2025
a9bffe7
chore: update custom local client
Jun 14, 2025
55f144f
chore: update custom third-party client
Jun 14, 2025
a95ec86
test: update snapshots
Jun 14, 2025
d13d490
chore: update Angular example
Jun 14, 2025
29605a0
docs: add changesets
Jun 14, 2025
cfc0abb
chore: fix tests
Jun 14, 2025
a1e1395
Merge pull request #2172 from hey-api/feat/client-bundle
mrlubos Jun 14, 2025
4aee56d
Version Packages
github-actions[bot] Jun 14, 2025
ba29123
Merge pull request #2171 from hey-api/changeset-release/main
mrlubos Jun 14, 2025
6d56fa8
docs: add changesets
Jun 14, 2025
6e8a04c
Merge pull request #2175 from hey-api/feat/nuxt-module
mrlubos Jun 14, 2025
6f6c2c3
Version Packages
github-actions[bot] Jun 14, 2025
95f1ae7
Merge pull request #2176 from hey-api/changeset-release/main
mrlubos Jun 14, 2025
c310a12
docs: add code blocks
Jun 14, 2025
bfa1299
Merge pull request #2177 from hey-api/docs/readme-code-block
mrlubos Jun 14, 2025
b7a9954
refactor: namespace plugin configs
mrlubos Jun 14, 2025
2bae35a
Merge pull request #2180 from hey-api/refactor/plugin-config
mrlubos Jun 15, 2025
0d2b479
docs: add client section on custom implementation
mrlubos Jun 15, 2025
a18dd00
Merge pull request #2181 from hey-api/docs/client-custom-implementation
mrlubos Jun 15, 2025
3ecbe9a
refactor: clean up plugin types a bit
mrlubos Jun 15, 2025
d20e3a9
Merge pull request #2182 from hey-api/refactor/plugin-types
mrlubos Jun 15, 2025
58fd387
fix(valibot): use v.isoTimestamp instead of v.isoDateTime for OpenAPI…
Daschi1 Jun 17, 2025
524f260
refactor: clean up more plugin types
mrlubos Jun 16, 2025
eb4fb3b
Merge pull request #2185 from hey-api/refactor/plugin-api
mrlubos Jun 17, 2025
ff4c359
test(valibot): update test snapshot files
Daschi2 Jun 17, 2025
988d99a
Merge branch 'main' into patch-1
Daschi1 Jun 17, 2025
7a740ed
Create odd-yaks-love.md
mrlubos Jun 17, 2025
fcb77c9
Merge pull request #2192 from Daschi1/patch-1
mrlubos Jun 17, 2025
6293a44
chore: add resolved config types for Zod
mrlubos Jun 18, 2025
53af4cf
feat: add customization options for Zod plugin
mrlubos Jun 18, 2025
3a6c7f6
feat: add parameters to Zod request schemas
mrlubos Jun 19, 2025
ab8cede
docs: update Zod documentation
mrlubos Jun 19, 2025
a889c3c
fix(parser): add format to deduplcation strategy
mrlubos Jun 19, 2025
d84c7db
Merge branch 'main' into fix/plugin-transform
mrlubos Jun 19, 2025
5e8f1be
Merge pull request #2201 from hey-api/fix/plugin-transform
mrlubos Jun 19, 2025
5021b2e
docs: bump stats
mrlubos Jun 19, 2025
a6329f7
Merge pull request #2208 from hey-api/docs/stats-bump
mrlubos Jun 19, 2025
a13d803
Version Packages
github-actions[bot] Jun 19, 2025
c778f69
Merge pull request #2193 from hey-api/changeset-release/main
mrlubos Jun 19, 2025
5b1362a
fix(cli): correctly handle watch mode
mrlubos Jun 20, 2025
69665af
Merge pull request #2210 from hey-api/fix/bin-watch
mrlubos Jun 20, 2025
2ffb612
fix(validators): handle additional properties object when no other pr…
mrlubos Jun 20, 2025
4128000
Merge pull request #2213 from hey-api/fix/validators-additional-prope…
mrlubos Jun 20, 2025
5437ed8
refactor(parser): replace plugin.subscribe with plugin.walk
mrlubos Jun 20, 2025
82e56e9
docs: add migration for plugin.forEach
mrlubos Jun 20, 2025
0eb8683
Merge pull request #2215 from hey-api/refactor/plugin-walk
mrlubos Jun 20, 2025
1456f87
fix(parser): add meta and version options to input.patch
mrlubos Jun 20, 2025
4d43c09
Merge pull request #2216 from hey-api/fix/parser-patch-meta
mrlubos Jun 20, 2025
d0c4690
feat(tanstack-query): add name and case options
mrlubos Jun 20, 2025
e5ff024
docs: update tanstack query documentation
mrlubos Jun 21, 2025
a6eacf0
Merge pull request #2218 from hey-api/feat/tanstack-query-api
mrlubos Jun 21, 2025
4df6fa0
fix: make output pass stricter tsconfig configurations
mrlubos Jun 21, 2025
b7d79a2
Merge pull request #2219 from hey-api/fix/output-types
mrlubos Jun 21, 2025
055f761
Version Packages
github-actions[bot] Jun 21, 2025
5d85d29
Merge pull request #2211 from hey-api/changeset-release/main
mrlubos Jun 21, 2025
e335e1e
fix(parser): prefer JSON media type
mrlubos Jun 22, 2025
df03745
Merge pull request #2221 from hey-api/fix/axios-client-prefer-json
mrlubos Jun 22, 2025
1c66d88
feat(valibot): single schema per request
mrlubos Jun 22, 2025
aea5dbd
Merge pull request #2226 from hey-api/feat/valibot-config
mrlubos Jun 22, 2025
62dbbc8
Version Packages
github-actions[bot] Jun 22, 2025
acac297
Merge pull request #2222 from hey-api/changeset-release/main
mrlubos Jun 22, 2025
c123f05
feat(sdk): update validator config types
mrlubos Jun 22, 2025
d7f08be
feat(plugin): add api field
mrlubos Jun 24, 2025
7551a64
feat(client): add requestValidator option
mrlubos Jun 24, 2025
0ecfb41
refactor(plugin): return plugin interface from defineplugin
mrlubos Jun 24, 2025
48c4d0c
test: update snapshots
mrlubos Jun 24, 2025
4ea6f24
docs: update validators pages
mrlubos Jun 24, 2025
443d01d
Merge branch 'main' into feat/sdk-validator-request
mrlubos Jun 24, 2025
82795b3
docs: fix dead link error
mrlubos Jun 24, 2025
d387959
Merge pull request #2227 from hey-api/feat/sdk-validator-request
mrlubos Jun 24, 2025
81a6262
docs: add Cella sponsorship
mrlubos Jun 24, 2025
ec7fdbe
Merge pull request #2241 from hey-api/docs/sponsor-cella
mrlubos Jun 24, 2025
cdc5509
docs: correctly symlink readme
mrlubos Jun 24, 2025
fe7db9d
Version Packages
github-actions[bot] Jun 24, 2025
f1416f5
Merge pull request #2242 from hey-api/docs/readme-symlink
mrlubos Jun 24, 2025
3a39e0d
Merge pull request #2240 from hey-api/changeset-release/main
mrlubos Jun 24, 2025
fbc3380
refactor(typescript): move enum options under enums
mrlubos Jun 25, 2025
a0fc3a0
refactor(typescript): rename readable and writable name builders
mrlubos Jun 25, 2025
abefaa0
refactor(parser): move parser config to a separate field
mrlubos Jun 25, 2025
d901bd5
refactor(typescript): move exportInlineEnums to parser options
mrlubos Jun 25, 2025
14d7ec9
feat(parser): add enums transforms
mrlubos Jun 25, 2025
b2ff2f0
refactor(typescript): move readWrite settings to parser options
mrlubos Jun 26, 2025
6079645
docs: bump stats
mrlubos Jun 29, 2025
7884190
Merge pull request #2256 from hey-api/docs/stats-bump
mrlubos Jun 29, 2025
682e7a8
fix: add `undefined` type in key map
himself65 Jun 30, 2025
495684c
feat(parser): move transforms to a separate pass
mrlubos Jun 27, 2025
9f281b1
Merge branch 'main' into feat/typescript-config
mrlubos Jul 3, 2025
e47f3cc
test: bump threshold
mrlubos Jul 3, 2025
a11a8c5
docs: add parser documentation
mrlubos Jul 4, 2025
2608cf1
Merge pull request #2246 from hey-api/feat/typescript-config
mrlubos Jul 4, 2025
3af3ac8
docs: clean up changesets
mrlubos Jul 4, 2025
be30481
Merge pull request #2273 from hey-api/docs/v0-78-0-changesets
mrlubos Jul 4, 2025
83862c0
Version Packages
github-actions[bot] Jul 4, 2025
dedfeef
Merge pull request #2272 from hey-api/changeset-release/main
mrlubos Jul 4, 2025
1581b5c
fix(valibot): properly handle array minLength and maxLength
mrlubos Jul 4, 2025
63645d0
Merge pull request #2275 from hey-api/fix/valibot-array-min-max-length
mrlubos Jul 4, 2025
25fc54c
fix(clients): annotate serializer return types
mrlubos Jul 4, 2025
897cffa
Merge pull request #2277 from hey-api/fix/client-serializer-return-type
mrlubos Jul 4, 2025
f0549f6
fix(typescript): handle additionalProperties in propertyNames
mrlubos Jul 5, 2025
b85f406
Merge pull request #2279 from hey-api/fix/typescript-property-names
mrlubos Jul 5, 2025
ae9c45a
fix(zod): add dates.offset option
mrlubos Jul 5, 2025
202acd7
Merge pull request #2280 from hey-api/fix/zod-dates-offset
mrlubos Jul 5, 2025
00e6386
Version Packages
github-actions[bot] Jul 5, 2025
9cf1a08
Merge pull request #2276 from hey-api/changeset-release/main
mrlubos Jul 5, 2025
70c5706
custom transformers
j-ibarra Jul 5, 2025
565830b
Create giant-carrots-change.md
mrlubos Jul 7, 2025
53363b3
Merge pull request #2281 from j-ibarra/main
mrlubos Jul 7, 2025
7be1d56
refactor(transformers): rename types
mrlubos Jul 7, 2025
f295a8f
Merge pull request #2285 from hey-api/refactor/transformers-types
mrlubos Jul 7, 2025
63f31c6
Version Packages
github-actions[bot] Jul 7, 2025
7df6059
Merge pull request #2283 from hey-api/changeset-release/main
mrlubos Jul 7, 2025
7b03fcd
refactor(client-fetch): improves client-fetch types to allow usage of…
btmnk Jul 9, 2025
740cb0f
refactor(client-fetch): updates test snapshots
btmnk Jul 9, 2025
4a77615
Create tall-papayas-pay.md
mrlubos Jul 9, 2025
e74c0a0
Merge pull request #2290 from btmnk/improves-client-fetch-types
mrlubos Jul 9, 2025
526bb62
Version Packages
github-actions[bot] Jul 9, 2025
8273845
Merge pull request #2292 from hey-api/changeset-release/main
mrlubos Jul 9, 2025
bac8525
fix(typescript): add name option
mrlubos Jul 7, 2025
709c20f
Merge branch 'main' into fix/typescript-name
mrlubos Jul 10, 2025
236550f
test: fix tests
mrlubos Jul 10, 2025
0a6fca5
Merge pull request #2284 from hey-api/fix/typescript-name
mrlubos Jul 11, 2025
126d77f
docs: fix incorrect references in typescript
mrlubos Jul 11, 2025
62e874c
Merge pull request #2298 from hey-api/docs/typescript-fix
mrlubos Jul 11, 2025
3fbbe35
docs: update changesets
mrlubos Jul 17, 2025
482bdb4
Merge pull request #2322 from hey-api/docs/changeset
mrlubos Jul 17, 2025
79cae7a
chore(sdk): initial implementation for custom params
mrlubos Jul 15, 2025
47451f7
chore: update turbo
mrlubos Jul 18, 2025
a1b3061
Merge branch 'main' into chore/sdk-params-progress
mrlubos Jul 18, 2025
eb1913c
chore: update snapshots
mrlubos Jul 18, 2025
078ee9d
Merge pull request #2310 from hey-api/chore/sdk-params-progress
mrlubos Jul 18, 2025
0bffa8c
feat(zod): add types option
mrlubos Jul 19, 2025
aa8c955
Merge pull request #2327 from hey-api/feat/zod-types
mrlubos Jul 19, 2025
2bcf8bf
docs: add community spotlight
mrlubos Jul 20, 2025
efa34d4
Merge pull request #2329 from hey-api/docs/community
mrlubos Jul 20, 2025
b13cad5
docs: small fixes to community updates
mrlubos Jul 20, 2025
89eb922
Merge pull request #2330 from hey-api/docs/community-fix
mrlubos Jul 20, 2025
cb885d4
Version Packages
github-actions[bot] Jul 20, 2025
599e5b6
Merge pull request #2299 from hey-api/changeset-release/main
mrlubos Jul 20, 2025
a309fc7
fix(client): update Axios header types
mrlubos Jul 20, 2025
0c5f690
Merge pull request #2331 from hey-api/fix/axios-client-types
mrlubos Jul 20, 2025
100b9f3
Merge pull request #2263 from himself65/fix
mrlubos Jul 20, 2025
566c8e9
fix(tanstack-query): set query key base url from options if defined
mrlubos Jul 20, 2025
2970c69
Merge pull request #2333 from hey-api/fix/tanstack-query-key-base-url
mrlubos Jul 20, 2025
298be27
fix: improve handlebars types for jsr compliance
mrlubos Jul 20, 2025
6814224
Merge pull request #2334 from hey-api/fix/handlebars-jsr
mrlubos Jul 20, 2025
f35fad9
chore: check Node version
mrlubos Jul 20, 2025
a382ae6
Merge pull request #2335 from hey-api/chore/check-node-version
mrlubos Jul 20, 2025
6302793
fix: respect NO_INTERACTIVE and NO_INTERACTION environment variables
mrlubos Jul 20, 2025
83f63a6
Merge pull request #2336 from hey-api/fix/tty
mrlubos Jul 20, 2025
2742dff
Version Packages
github-actions[bot] Jul 20, 2025
8e1e6c9
Merge pull request #2332 from hey-api/changeset-release/main
mrlubos Jul 20, 2025
6ec51d9
chore(docs): update contributors list
github-actions[bot] Jul 21, 2025
482cab4
docs: add Zod 4 page
mrlubos Jul 21, 2025
67dd391
Merge branch 'main' into fix-operation-id-casing
alexvuka1 Jul 21, 2025
2755be9
Create witty-dolls-applaud.md
mrlubos Jul 21, 2025
d687cdd
Merge pull request #2041 from alexvuka1/fix-operation-id-casing
mrlubos Jul 21, 2025
37adcc7
draft typeid support
Le0Developer May 12, 2025
257dd07
Create clean-kiwis-worry.md
mrlubos Jul 21, 2025
f3d2d32
Merge pull request #2034 from Le0Developer/feat/typeids
mrlubos Jul 21, 2025
68b42ea
Version Packages
github-actions[bot] Jul 21, 2025
b9720eb
Merge pull request #2342 from hey-api/changeset-release/main
mrlubos Jul 21, 2025
30b17ae
chore(docs): update contributors list
github-actions[bot] Jul 22, 2025
2b3b645
chore: add Zod compatibility version
mrlubos Jul 22, 2025
3fbc04b
chore: add Zod module detection
mrlubos Jul 22, 2025
2926c1d
chore: Zod 4 plugin
mrlubos Jul 23, 2025
bb81984
chore: Zod Mini plugin
mrlubos Jul 23, 2025
ab1e6e8
test: update snapshots
mrlubos Jul 23, 2025
669824b
test: add Zod 3 snapshots
mrlubos Jul 23, 2025
ad17c24
Merge branch 'main' of https://github.com/hey-api/openapi-ts into fea…
mrlubos Jul 23, 2025
517b261
test: clean up Zod 3 tests
mrlubos Jul 23, 2025
cce2789
test: update snapshots
mrlubos Jul 23, 2025
28a006b
docs: add supported version labels to plugins
mrlubos Jul 23, 2025
9954bcf
docs: add documentation for Zod 4 and Zod Mini
mrlubos Jul 23, 2025
b02546f
Merge pull request #2341 from hey-api/feat/zod-4
mrlubos Jul 23, 2025
dd51c2b
Version Packages
github-actions[bot] Jul 23, 2025
f2e124a
Merge pull request #2348 from hey-api/changeset-release/main
mrlubos Jul 23, 2025
4ed592b
test: add valibot numberTypeToValibotSchema tests
Daschi1 Jul 23, 2025
a0c909b
feat(valibot): add integer format and BigInt handling and tests
Daschi1 Jul 24, 2025
f1c16f4
test: update snapshots
Daschi1 Jul 24, 2025
7b82981
ci: fix pipelines
mrlubos Jul 24, 2025
08f219e
Merge pull request #2353 from hey-api/ci/fix-fail
mrlubos Jul 24, 2025
2c99bd2
Merge branch 'main' into issue-2194
mrlubos Jul 24, 2025
6ebc974
test: switch integer-formats spec from JSON to YAML
Daschi1 Jul 24, 2025
69ec010
test(valibot): switch spec from JSON to YAML
Daschi1 Jul 24, 2025
a7df1f2
test(valibot): remove redundant assertion checks
Daschi1 Jul 24, 2025
d573e06
refactor(valibot): extract number helper functions to separate file
Daschi1 Jul 24, 2025
4147808
test(valibot): remove redundant if conditions
Daschi1 Jul 24, 2025
84eea31
test(valibot): remove redundant if conditions
Daschi1 Jul 24, 2025
fb7b724
Create stale-starfishes-sell.md
mrlubos Jul 24, 2025
d780a69
Merge pull request #2344 from Daschi1/issue-2194
mrlubos Jul 24, 2025
3c5c21c
Version Packages
github-actions[bot] Jul 24, 2025
9ccd969
Merge pull request #2355 from hey-api/changeset-release/main
mrlubos Jul 24, 2025
d49741b
fix(operation): ensure output case handling is robust by checking for…
seriouslag Jul 24, 2025
f604323
Merge pull request #2356 from seriouslag/patch/add-output-object-check
mrlubos Jul 25, 2025
b390f8d
docs: add contributor manual overview
mrlubos Jul 25, 2025
65be060
Merge pull request #2358 from hey-api/docs/contributing-overview
mrlubos Jul 25, 2025
afa1de2
docs: fix Zod Mini shape API reference
mrlubos Jul 25, 2025
4389c5d
Merge pull request #2359 from hey-api/docs/zod-mini-shape
mrlubos Jul 25, 2025
5e8195c
refactor: rename compiler export to tsc
Jul 25, 2025
1c32240
Merge pull request #2360 from hey-api/refactor/compiler-tsc
mrlubos Jul 25, 2025
ff76091
docs: add Effect and AdonisJS
mrlubos Jul 27, 2025
b9dc166
Merge pull request #2365 from hey-api/docs/adonis-effect
mrlubos Jul 27, 2025
2305d0e
feat(nx-plugin): add nx plugin to generate and update client code
seriouslag Apr 14, 2025
5845e50
feat(config): add exports field and support for CommonJS format in Vi…
seriouslag Apr 14, 2025
1a3bcb1
fix(turbo.json): enable caching for build task
seriouslag Apr 14, 2025
d6edb82
fix(nx-plugin): update build output
seriouslag Apr 14, 2025
575927a
refactor(nx-plugin): update schema prompts and descriptions for clari…
seriouslag Apr 14, 2025
7baec79
chore(nx-plugin): remove ts-node dependency and update JSON file copy…
seriouslag Apr 14, 2025
63194e9
feat(vitest): add setup files configuration to Vitest base config
seriouslag Apr 14, 2025
0976c0f
feat(turbo.json): add inputs configuration for improved build process
seriouslag Apr 14, 2025
9095673
feat(client): update example to use actual code from the spec to avoi…
seriouslag Apr 14, 2025
13d9cf2
feat(config): update setup file reference in Vitest base config to us…
seriouslag Apr 14, 2025
9881ed1
feat(turbo.json): add build task configuration for Nuxt project
seriouslag Apr 14, 2025
4e9e5d0
fix(nx-plugin): fix plugin build output and enhance caching
seriouslag Apr 17, 2025
b2c1a71
refactor(nx-plugin): enhance plugin handling and directory management
seriouslag Apr 25, 2025
fc91491
feat(nx-plugin): enhance OpenAPI spec comparison functionality
seriouslag Apr 27, 2025
b2a99c5
chore(dependencies): downgrade find-my-way to version 9.2.0 and add o…
seriouslag Apr 27, 2025
f856938
feat(nx-plugin): add base tsconfig options for improved configuration…
seriouslag Apr 28, 2025
2eb5632
feat(nx-plugin): enhance OpenAPI and Swagger spec comparison utilities
seriouslag Apr 29, 2025
5c826aa
feat(nx-plugin): update to support NX 21 continuous pipelines
seriouslag May 14, 2025
a4e0c78
major: add node 24 in CI, remove node 18 as a supported target
seriouslag May 14, 2025
1156b91
refactor(nx-plugin): improve file formatting utilities
seriouslag May 15, 2025
5c1ab93
refactor(nx-plugin): handle configs from builtin client packages
seriouslag Jul 24, 2025
1e9a937
patch(nx-plugin): removed generated tests
seriouslag Jul 24, 2025
7ce9e42
test(nx-plugin): add experimental parser validation to configuration …
seriouslag Jul 24, 2025
54ba264
test(nx-plugin): add parser configuration for tests
seriouslag Jul 24, 2025
c2059ae
fix(openapi-client): update temp folder handling to use absolute path…
seriouslag Jul 24, 2025
a3f5d25
fix(nx-plugin): update command generation to correctly format plugin …
seriouslag Jul 29, 2025
0613b46
fix(openapi-client): update output path generation to use project roo…
seriouslag Jul 29, 2025
f5b1e7d
feat(nx-plugin): add projectReferences option
seriouslag Jul 31, 2025
13a3c9c
feat(nx-plugin): copy generator templates to dist
seriouslag Jul 31, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
8 changes: 8 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
19 changes: 19 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"$schema": "https://unpkg.com/@changesets/config@2.3.1/schema.json",
"access": "public",
"baseBranch": "main",
"changelog": [
"@changesets/changelog-github",
{
"repo": "hey-api/openapi-ts"
}
],
"commit": false,
"fixed": [],
"ignore": [],
"linked": [],
"updateInternalDependencies": "minor",
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
"onlyUpdatePeerDependentsWhenOutOfRange": true
}
}
10 changes: 7 additions & 3 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
root = true

[*]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[*.hbs]
indent_size = 2
indent_style = space
indent_size = 4
21 changes: 0 additions & 21 deletions .eslintrc.json

This file was deleted.

1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto eol=lf
2 changes: 2 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github:
- hey-api
42 changes: 42 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Bug report
description: Report an issue with the project.

labels:
- bug 🔥

body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report! Please do your best to fill out as much information as possible.

- type: textarea
id: description
attributes:
label: Description
description: Please check if there is an existing bug report before creating a new issue. If you intend to submit a pull request to fix this issue, let us know in the description.
placeholder: Bug description
validations:
required: true

- type: textarea
id: config
attributes:
label: Reproducible example or configuration
description: Please provide a reproducible StackBlitz example, your configuration file, or CLI command used to recreate the issue.
placeholder: https://stackblitz.com/edit/hey-api-client-fetch-example
value: https://stackblitz.com/edit/hey-api-client-fetch-example

- type: textarea
id: openapi-spec
attributes:
label: OpenAPI specification (optional)
description: Minimal OpenAPI specification needed to recreate the issue.
placeholder: OpenAPI Specification

- type: textarea
id: system-info
attributes:
label: System information (optional)
description: Any additional relevant system information. This may include OS, browser, NPM version, Node.js version, etc.
placeholder: System information
21 changes: 21 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Feature Request

description: Suggest a new feature for the project.

labels:
- feature 🚀

body:
- type: markdown
attributes:
value: |
Thanks for taking the time to request a new feature! Please ensure your feature request has enough information so maintainers can decide if it will be worked on.

- type: textarea
id: description
attributes:
label: Description
description: Please provide a clear and concise description of the proposed feature. The more information you can provide, the better.
placeholder: Feature description
validations:
required: true
34 changes: 34 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: 'weekly'
labels:
- 'dependencies'
groups:
github-actions:
patterns:
- '*'

- package-ecosystem: npm
directory: '/'
schedule:
interval: 'weekly'
labels:
- 'dependencies'
groups:
prod-deps:
dependency-type: 'production'
exclude-patterns:
- '@angular*'
dev-deps:
dependency-type: 'development'
exclude-patterns:
- '@angular*'
angular-deps:
patterns:
- '@angular*'
60 changes: 60 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: CI

on:
push:
branches:
- main
pull_request:
workflow_dispatch:

concurrency:
cancel-in-progress: true
group: ${{ github.workflow }}=${{ github.head_ref }}

jobs:
ci:
name: Build, Lint, Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
node-version: ['20.19.0', '22.12.0']
steps:
- uses: actions/checkout@v4.2.2
with:
fetch-depth: 0

- uses: pnpm/action-setup@v4.1.0

- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
# cache: 'pnpm'

- name: Install dependencies
run: pnpm install

- name: Build packages
run: pnpm build --filter="@hey-api/**"

- name: Build examples
if: matrix.node-version == '24.0.1' && matrix.os == 'ubuntu-latest'
run: pnpm build --filter="@examples/**"

- name: Run linter
run: pnpm lint

- name: Run type check
run: pnpm typecheck

- name: Run unit tests
run: pnpm test

- name: Run e2e tests
run: pnpm test:e2e

- name: Publish preview packages
if: github.event_name == 'pull_request' && matrix.node-version == '24.0.1' && matrix.os == 'ubuntu-latest'
run: ./scripts/publish-preview-packages.sh
env:
TURBO_SCM_BASE: ${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || github.event.before }}
43 changes: 43 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: CodeQL

on:
push:
branches:
- main
pull_request:
schedule:
- cron: '44 20 * * 3'

concurrency:
group: ${{ github.workflow }}=${{ github.head_ref }}
cancel-in-progress: true

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [javascript]

steps:
- uses: actions/checkout@v4.2.2

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
queries: +security-and-quality

- name: Autobuild
uses: github/codeql-action/autobuild@v3

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: '/language:${{ matrix.language }}'
30 changes: 30 additions & 0 deletions .github/workflows/contributors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Update Contributors

on:
schedule:
- cron: '0 0 * * *' # Every day at 00:00 UTC
workflow_dispatch:

jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.2.2

- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y jq curl

- name: Run update contributors script
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
chmod +x ./scripts/update-contributors.sh
./scripts/update-contributors.sh

- name: Commit and push if updated
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add ./docs/partials/contributors-list.md
git diff --cached --quiet || git commit -m "chore(docs): update contributors list"
git push
46 changes: 46 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Coverage

on:
push:
branches:
- main
paths-ignore:
- docs/**
pull_request:
paths-ignore:
- docs/**

concurrency:
group: ${{ github.workflow }}=${{ github.head_ref }}
cancel-in-progress: true

jobs:
upload:
name: Upload
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.2.2

- uses: pnpm/action-setup@v4.1.0

- uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'pnpm'

- name: Install dependencies
run: pnpm install

- name: Build library
run: pnpm build

- name: Run test coverage
run: pnpm test:coverage

- name: Upload code coverage to codecov.io
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./packages/openapi-ts/coverage
flags: unittests
fail_ci_if_error: true
Loading
Loading