Skip to content

feat: add file output for TypeScript generator - #536

Merged
jonaslagoni merged 27 commits into
asyncapi:masterfrom
jonaslagoni:feature/typescript_file_output
Jan 7, 2022
Merged

jonaslagoni merged 27 commits into
asyncapi:masterfrom
jonaslagoni:feature/typescript_file_output

Conversation

@jonaslagoni

Copy link
Copy Markdown
Member

Description
This PR adds file output for the TypeScript generator.

Related issue(s)
Fixes #399

@coveralls

coveralls commented Dec 21, 2021 •

Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 1667630293

  • 33 of 33 (100.0%) changed or added relevant lines in 6 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.05%) to 93.304%

Totals Coverage Status
Change from base Build 1658755179: 0.05%
Covered Lines: 2351
Relevant Lines: 2400

💛 - Coveralls

@jonaslagoni

Copy link
Copy Markdown
Member Author

Blocked by #557

@jonaslagoni

Copy link
Copy Markdown
Member Author

I really hate windows and Linux differences.......... 🙄

tsc --downlevelIteration -t es5 ${path.resolve(renderOutputPath, './*.ts')} works fine in linux... However, windows only works with tsc --downlevelIteration -t es5 --baseUrl ${renderOutputPath}....

magicmatatjahu
magicmatatjahu previously approved these changes Jan 7, 2022
@sonarqubecloud

sonarqubecloud Bot commented Jan 7, 2022

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@jonaslagoni

Copy link
Copy Markdown
Member Author

Thanks @magicmatatjahu !

@jonaslagoni
jonaslagoni merged commit 5cbe362 into asyncapi:master Jan 7, 2022
@jonaslagoni
jonaslagoni deleted the feature/typescript_file_output branch January 7, 2022 13:30
@asyncapi-bot

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.42.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@asyncapi-bot

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 1.0.0-next.23 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Generating TypeScript models directly to files

4 participants