Skip to content

fix: [OSM-2746] Fixed bundle generation by splitting out the eslint-specific tsconfig #72

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 1, 2025

Conversation

nico-incubiq
Copy link
Contributor

@nico-incubiq nico-incubiq commented May 1, 2025

  • Ready for review
  • Follows CONTRIBUTING rules
  • Reviewed by Snyk internal team

What does this PR do?

Include only lib when building the project under /dist.

Where should the reviewer start?

How should this be manually tested?

Any background context you want to provide?

In the previous PR I added "test" to tsconfig.json because eslint was complaining about test files missing a project. But doing so made the tsc command include both lib and test directories under /dist when building the plugin; while before the config of lib was inlined directly under /dist.

The config has been mostly copied from https://github.com/snyk/snyk-gradle-plugin/blob/3ee9402f50ba90d9a767b112993d77e5412388a3/.eslintrc.json

What are the relevant tickets?

https://snyksec.atlassian.net/browse/OSM-2746

Screenshots

Additional questions

@nico-incubiq nico-incubiq requested a review from a team as a code owner May 1, 2025 12:18
Comment on lines -21 to -23
"exclude": [
"node_modules"
]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this no longer necessary?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a good question, the only thing i know is that all other projects don't have it

@nico-incubiq nico-incubiq merged commit da7ec08 into master May 1, 2025
15 checks passed
@nico-incubiq nico-incubiq deleted the fix/osm-2746-fix-tsconfig branch May 1, 2025 12:22
@snyksec
Copy link

snyksec commented May 1, 2025

🎉 This PR is included in version 1.12.1 🎉

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
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants