Skip to content
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

Disabled packages aware #35

Merged
merged 4 commits into from
Jun 5, 2023
Merged

Disabled packages aware #35

merged 4 commits into from
Jun 5, 2023

Conversation

sneridagh
Copy link
Member

During development is usual to switch on/off development packages (using develop property). However, it used to be a PITA since you had to explicitly manually remove the package from jsconfig/tsconfig and it was proven to be quite error prone (especially in CI).

I added a filter before writing the file that goes through all the config and checks if a explicitly disabled package is still present in the config and removes it if so.

Could be that I cannot see some of the implications or use cases, so please think about if it works for all your workflows.

Copy link
Member

@ebrehault ebrehault left a comment

Choose a reason for hiding this comment

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

The implementation looks good to me, but I'll wait for more reviews before merging.
It would be nice to document this feature in README.md.

Copy link
Member

@davisagli davisagli left a comment

Choose a reason for hiding this comment

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

LGTM

README.md Outdated Show resolved Hide resolved
@ebrehault ebrehault merged commit 8a16064 into master Jun 5, 2023
@ebrehault ebrehault deleted the disabledPackagesAware branch June 5, 2023 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants