-
Notifications
You must be signed in to change notification settings - Fork 218
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
feat: add support for melos_overrides.yaml
+ command/bootstrap/dependencyOverridePaths
#410
feat: add support for melos_overrides.yaml
+ command/bootstrap/dependencyOverridePaths
#410
Conversation
d629e14
to
71ee869
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for contributing!
The changes in The PR LGTM as it is right now, but I got thinking whether it would be better if the |
For my specific usecase, linking to local projects that weren't part of the workspace, I wasn't concerned about supporting packages from other sources. Allowing them would be nice, but it adds complexity. Relative The one change that I think could be useful would be to allow packages from directories outside the workspace directory, as is supported in |
@blaugold gentle bump, is there anything else that needs to be done? |
docs/configuration/overview.mdx
Outdated
@@ -88,6 +91,22 @@ ignore: | |||
> You can also expand the scope of ignored packages on a per-command basis via | |||
> the [`--scope` filter](/filters#scope) flag. | |||
|
|||
## `dependencyOverrides` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we move this to command/bootstrap/dependencyOverrides
since this is specific to the bootstrap command?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point!
…rtase#409) This is limited to packages within the workspace directory, but symlinks can be used to work around this. invertase#43
93ad616
to
da2c275
Compare
Sorry, it took me so long to get to this PR. I've renamed LGTM now, and thanks for the contribution @hacker1024. |
melos_overrides.yaml
+ command/bootstrap/dependencyOverridePaths
Description
This adds two related features related to the feature request #409.
Adds a
melos_overrides.yaml
file, that can be used to override any field inmelos.yaml
(for making local, untracked changes)Example use cases: local
dependency_overrides
, customized IDE project generationAdds a
dependency_overrides
configuration option, to add non-workspace packages to each package'sdependency_overrides.yaml
.Type of Change
feat
-- New feature (non-breaking change which adds functionality)fix
-- Bug fix (non-breaking change which fixes an issue)!
-- Breaking change (fix or feature that would cause existing functionality to change)refactor
-- Code refactorci
-- Build configuration changedocs
-- Documentationchore
-- Chore