vega / ts-json-schema-generator

Generate JSON schema from your Typescript sources
MIT License
1.38k stars 190 forks source link

fix: `--expose all` with generic types #2009

Closed arthurfiorette closed 1 week ago

arthurfiorette commented 1 week ago

This PR fixes #2002, which was trying to generate schemad for base generic types, and not its "implementations"

πŸ“¦ Published PR as canary version: 2.3.1--canary.2009.7311b71.0
:sparkles: Test out this PR locally via: ```bash npm install ts-json-schema-generator@2.3.1--canary.2009.7311b71.0 # or yarn add ts-json-schema-generator@2.3.1--canary.2009.7311b71.0 ```

Version

Published prerelease version: v2.4.0-next.0

Changelog #### πŸš€ Enhancement - fix: `--expose all` with generic types [#2009](https://github.com/vega/ts-json-schema-generator/pull/2009) ([@arthurfiorette](https://github.com/arthurfiorette)) #### πŸ› Bug Fix - chore: update deps [#2007](https://github.com/vega/ts-json-schema-generator/pull/2007) ([@domoritz](https://github.com/domoritz)) #### ⚠️ Pushed to `next` - docs: overrides ([@domoritz](https://github.com/domoritz)) #### πŸ”© Dependency Updates - chore(deps): bump typescript from 5.4.5 to 5.5.2 [#2005](https://github.com/vega/ts-json-schema-generator/pull/2005) ([@dependabot[bot]](https://github.com/dependabot[bot])) - chore(deps-dev): bump tsx from 4.10.5 to 4.16.0 [#2006](https://github.com/vega/ts-json-schema-generator/pull/2006) ([@dependabot[bot]](https://github.com/dependabot[bot])) - chore(deps-dev): bump @babel/preset-env from 7.24.6 to 7.24.7 [#1999](https://github.com/vega/ts-json-schema-generator/pull/1999) ([@dependabot[bot]](https://github.com/dependabot[bot])) - chore(deps-dev): bump @eslint/js from 9.4.0 to 9.5.0 [#2000](https://github.com/vega/ts-json-schema-generator/pull/2000) ([@dependabot[bot]](https://github.com/dependabot[bot])) - chore(deps): bump braces from 3.0.2 to 3.0.3 [#1993](https://github.com/vega/ts-json-schema-generator/pull/1993) ([@dependabot[bot]](https://github.com/dependabot[bot])) - chore(deps-dev): bump @babel/preset-typescript from 7.24.1 to 7.24.7 [#1995](https://github.com/vega/ts-json-schema-generator/pull/1995) ([@dependabot[bot]](https://github.com/dependabot[bot])) - chore(deps-dev): bump prettier from 3.2.5 to 3.3.1 [#1988](https://github.com/vega/ts-json-schema-generator/pull/1988) ([@dependabot[bot]](https://github.com/dependabot[bot])) - chore(deps): bump tslib from 2.6.2 to 2.6.3 [#1989](https://github.com/vega/ts-json-schema-generator/pull/1989) ([@dependabot[bot]](https://github.com/dependabot[bot])) - chore(deps-dev): bump @babel/core from 7.24.6 to 7.24.7 [#1991](https://github.com/vega/ts-json-schema-generator/pull/1991) ([@dependabot[bot]](https://github.com/dependabot[bot])) #### Authors: 3 - [@dependabot[bot]](https://github.com/dependabot[bot]) - Arthur Fiorette ([@arthurfiorette](https://github.com/arthurfiorette)) - Dominik Moritz ([@domoritz](https://github.com/domoritz))
github-actions[bot] commented 1 week ago

:rocket: PR was released in v2.4.0-next.0 :rocket: