195 Commits

Author SHA1 Message Date
Lukas Obermann 5ac1c7bfa6 build(release): 0.11.3 v0.11.3 2025-03-03 11:58:30 +01:00
Lukas Obermann 78901e3fad build(deps): upgrade all dependencies 2025-03-03 11:58:30 +01:00
Lukas Obermann 7bddfeaabd build(npm): change package name and source repository 2025-03-03 11:58:30 +01:00
Lukas Obermann 002113422c ci: upgrade setup-node and generate provenance when publishing 2025-03-03 11:58:30 +01:00
Lukas Obermann 527182aaaa docs: streamline example options 2024-11-29 18:17:56 +01:00
Lukas Obermann 25058c4703 docs: add documentation for Swift renderer and improve documentation structure 2024-11-29 18:15:30 +01:00
Lukas Obermann 5c6ecfd638 feat: add deprecated annotations to markdown and json schema renderers 2024-11-29 18:15:10 +01:00
Lukas Obermann 52747393f0 fix: swift renderer should use operating system-specific end-of-line markers 2024-11-29 12:50:08 +01:00
Lukas Obermann 9d9c65555c refactor: move all renderers into their own subdirectory and split into multiple files 2024-11-29 12:49:26 +01:00
Lukas Obermann 18b8fa5d5b build(release): 0.11.2 v0.11.2 2024-11-27 16:30:01 +01:00
Lukas Obermann 6efb53404c test(swift): fix tests for int/double differenciation 2024-11-27 16:29:55 +01:00
Lukas Obermann 9b212662a7 fix: annotate unused parameters to suppress warnings 2024-11-27 16:24:14 +01:00
Lukas Obermann df1f2223ec feat(swift): fix issues and provide missing settings for Optolith usage 2024-11-27 16:24:14 +01:00
Lukas Obermann cf0433e8e1 feat: only delete files after new files have been generated with clean option 2024-11-27 16:24:14 +01:00
Lukas Obermann 355a290436 build(typescript): flag unused identifiers 2024-11-27 16:24:14 +01:00
Lukas Obermann 735d405bb0 feat(swift): refactor and decodable synthesization 2024-11-27 16:24:07 +01:00
Lukas Obermann 0ea3055f76 refactor: whitelist files for npm instead 2024-11-27 16:24:06 +01:00
Lukas Obermann b53dd32415 feat(swift): basic swift renderer support 2024-11-27 16:23:58 +01:00
Lukas Obermann a357e5ec83 build(deps): upgrade all dependencies 2024-11-17 16:00:57 +01:00
Lukas Obermann 95eb467ec8 build(deps): replace standard-version with commit-and-tag-version 2024-11-17 15:58:52 +01:00
Lukas Obermann 62d1de7229 build(release): 0.11.1 v0.11.1 2024-11-17 15:51:53 +01:00
Lukas Obermann b66d8ff130 fix: AstTransformer may return undefined to not generate a file 2024-11-17 15:51:45 +01:00
Lukas Obermann 0b88c4bdd1 build(release): 0.11.0 v0.11.0 2024-11-15 22:58:11 +01:00
Lukas Obermann bcdbe6a25e feat!: use member nodes for record node, support @ignore jsdoc annotation to exclude nodes from rendering in JSON Schema or custom renderers 2024-11-15 22:58:04 +01:00
Lukas Obermann b2f86eebce build(release): 0.10.8 v0.10.8 2024-11-15 17:41:16 +01:00
Lukas Obermann e639acb611 feat: add support for deprecated tag 2024-11-15 17:41:10 +01:00
Lukas Obermann bfbb1075c1 feat: use @optolith/helpers package 2024-10-06 12:43:26 +02:00
Lukas Obermann aeea73b713 build(release): 0.10.7 v0.10.7 2024-01-16 18:15:19 +01:00
Lukas Obermann 0794a98726 fix(json-renderer): $id should have forward slashes on Windows 2024-01-16 18:15:15 +01:00
Lukas Obermann cb0396a934 build(release): 0.10.6 v0.10.6 2024-01-16 17:03:57 +01:00
Lukas Obermann 325c339267 fix: dynamic import of options not possible on windows
The file path needs to be converted to a file url.
2024-01-16 17:03:48 +01:00
Lukas Obermann 2c6e91aad9 build(release): 0.10.5 v0.10.5 2024-01-12 15:17:29 +01:00
Lukas Obermann 1eb3796b38 fix: used original name for reference links when using aliased named imports 2024-01-12 15:17:24 +01:00
Lukas Obermann 713a7bbb3b build(release): 0.10.4 v0.10.4 2023-12-07 14:55:24 +01:00
Lukas Obermann 69e7afe3e0 fix: add explicit type information to object intersection
Strict mode requires type set to object for unevaluatedProperties.
2023-12-07 14:55:20 +01:00
Lukas Obermann d6213d4b5f build(release): 0.10.3 v0.10.3 2023-12-07 14:26:50 +01:00
Lukas Obermann 5f99a48878 fix: unresolvedProperties should have been unevaluatedProperties 2023-12-07 14:26:45 +01:00
Lukas Obermann 81ecfd5121 build(release): 0.10.2 v0.10.2 2023-12-05 18:36:51 +01:00
Lukas Obermann 6d8dd43df8 feat: separate enum type from values
This maintains the enum interface, so no breaking changes are introduced.
2023-12-05 18:36:44 +01:00
Lukas Obermann 6ad5b01cea build(release): 0.10.1 v0.10.1 2023-11-14 17:58:58 +01:00
Lukas Obermann 44621654e4 test: adjust tests to include export assignment nodes 2023-11-14 17:57:57 +01:00
Lukas Obermann becf54b970 docs: add small section about how to define a custom renderer 2023-11-14 17:44:48 +01:00
Lukas Obermann 1d2171816f docs: update texts to reflect recent feature additions 2023-11-14 17:44:28 +01:00
Lukas Obermann e78aec917e docs: add config fie example 2023-11-14 17:43:25 +01:00
Lukas Obermann 77ca2b1f46 feat: support default export as @main tag fallback
Closes #4
2023-11-14 17:42:32 +01:00
Lukas Obermann f48ea67769 feat: assert @main tag points to an existing type
Closes #2
2023-11-14 17:42:09 +01:00
Lukas Obermann af56ed6cd6 build(release): 0.10.0 v0.10.0 2023-11-09 20:16:09 +01:00
Lukas Obermann ab5921b1d6 ci: upgrade actions and node version 2023-11-09 20:16:02 +01:00
Lukas Obermann 1960dd98d8 feat!: complete rework
- Use Prettier for formatting
- Use composite TypeScript projects
- Use generics in custom AST and resolve them for outputs that don’t support generics
- Add tests
- Export AST types
- Export single renderers
- JSON Schema renderer option to control unresolvedProperties/additionalProperties
- Tests

The Markdown generation may still be improved.
2023-11-09 20:04:36 +01:00
Lukas Obermann b4739d0916 build(deps): upgrade typescript from 5.0.4 to 5.1.6 2023-06-30 11:05:14 +02:00