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

Add versioned yaml files #55

Open
nshahan opened this issue Oct 27, 2021 · 2 comments
Open

Add versioned yaml files #55

nshahan opened this issue Oct 27, 2021 · 2 comments
Labels
type-enhancement A request for a change that isn't a bug

Comments

@nshahan
Copy link

nshahan commented Oct 27, 2021

package:pedantic had a useful feature where it created versioned yaml files (see https://github.com/google/pedantic/tree/master/lib) that made adopting new versions easier.

This would allow different packages in a mono repo to choose which version of package:lints they are going to enforce via a dependency on a single version of the lints package (ie the Dart SDK).

As it is now, if there is an updated version of package:lints, all of the packages in a mono repo must be migrated to the new version at the same time.

@pq pq added the type-enhancement A request for a change that isn't a bug label Oct 27, 2021
@mit-mit
Copy link
Member

mit-mit commented Nov 8, 2021

As it is now, if there is an updated version of package:lints, all of the packages in a mono repo must be migrated to the new version at the same time.

Can you elaborate on this; I mean, even in a mono repo, doesn't each package in that repo have it's own pubspec, and thus can specify a different version?

@nshahan
Copy link
Author

nshahan commented Nov 9, 2021

I meant a mono repo that forces a common set of dependencies pinned to the same version for all of the sub-packages. This is what the Dart SDK and Flutter repos do.

@devoncarew devoncarew changed the title [Feature Request] Add versioned yaml files Add versioned yaml files Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

3 participants