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

Miscellaneous smaller Pub serialization improvements #9287

Merged
merged 8 commits into from
Oct 21, 2024
Merged

Commits on Oct 18, 2024

  1. chore: Align custom kotlinx-serializers to be objects, part 2

    This is a follow-up to 9607cd0 for code that was merged in parallel.
    
    Signed-off-by: Sebastian Schuberth <[email protected]>
    sschuberth committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    ff8bbc6 View commit details
    Browse the repository at this point in the history
  2. docs(pub): Add links to dependency types

    Signed-off-by: Sebastian Schuberth <[email protected]>
    sschuberth committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    e59225e View commit details
    Browse the repository at this point in the history
  3. chore(pub): Order dependency classes as in the linked documentation

    Signed-off-by: Sebastian Schuberth <[email protected]>
    sschuberth committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    6e834c3 View commit details
    Browse the repository at this point in the history
  4. refactor(pub): Reduce code by delegating to the default serializer

    Signed-off-by: Sebastian Schuberth <[email protected]>
    sschuberth committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    8be16d9 View commit details
    Browse the repository at this point in the history
  5. chore(pub): Simplify deserializing dependencies

    The dependencies node itself is never a scalar, so the code can be
    simplified.
    
    Signed-off-by: Sebastian Schuberth <[email protected]>
    sschuberth committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    ae06cfc View commit details
    Browse the repository at this point in the history
  6. chore(pub): Handle dependency types in the same order as documented

    Signed-off-by: Sebastian Schuberth <[email protected]>
    sschuberth committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    4a3c230 View commit details
    Browse the repository at this point in the history
  7. refactor(pub): Reorder classes into packages

    Remove the `utils` package and move its only class to the root. In
    exchange, group the `Lockfile` and `Pubspec` classes in a new `model`
    package.
    
    Signed-off-by: Sebastian Schuberth <[email protected]>
    sschuberth committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    e045fbd View commit details
    Browse the repository at this point in the history
  8. refactor(pub): Only use a single shared YAML instance

    Signed-off-by: Sebastian Schuberth <[email protected]>
    sschuberth committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    c643da0 View commit details
    Browse the repository at this point in the history