Skip to content

Conversation

@tsavo-at-pieces
Copy link

Summary

This PR updates the SDK constraints for the code_text_field package and its example application to >=3.9.0 <4.0.0. It also introduces unified workspace dependency resolution to streamline development and ensure consistency across the project.

Changes

  • Update SDK constraint to >=3.9.0 <4.0.0 in pubspec.yaml.
  • Add resolution: workspace to the root pubspec.yaml.
  • Update SDK constraint to >=3.9.0 <4.0.0 in example/pubspec.yaml.
  • Add resolution: workspace to example/pubspec.yaml.

- Bump SDK constraint in `pubspec.yaml` to `>=3.9.0 <4.0.0`
- Bump SDK constraint in `example/pubspec.yaml` to `>=3.9.0 <4.0.0`

Branch: dev
Base: main
Related to: cross-repo workspace change affecting 63 repositories
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR aims to enable unified dependency resolution across the repository by opting the root package and the example app into Pub “workspace” resolution, alongside updating/confirming Dart SDK constraints.

Changes:

  • Add resolution: workspace to the root pubspec.yaml.
  • Add resolution: workspace to example/pubspec.yaml.
  • (Per description) Set/confirm SDK constraints to >=3.9.0 <4.0.0 for both packages.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
pubspec.yaml Opts the root package into workspace dependency resolution.
example/pubspec.yaml Opts the example app into workspace dependency resolution.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

pubspec.yaml Outdated
Comment on lines 9 to 10
resolution: workspace

Copy link

Copilot AI Feb 10, 2026

Choose a reason for hiding this comment

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

resolution: workspace opts this package into Pub workspace resolution, but this repo doesn’t define a workspace root (no workspace: section found anywhere). As-is, dart pub get/flutter pub get is likely to fail or not behave as intended. Add a workspace: section at the workspace root listing members (e.g., include example/), or drop resolution: workspace if this repo isn’t meant to be a Pub workspace.

Suggested change
resolution: workspace

Copilot uses AI. Check for mistakes.
Comment on lines 9 to 10
resolution: workspace

Copy link

Copilot AI Feb 10, 2026

Choose a reason for hiding this comment

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

resolution: workspace requires this package to be part of a Pub workspace. The repo currently has no workspace: definition, so dependency resolution may fail or be inconsistent. Either add a workspace definition at the root (including example/) or remove resolution: workspace here.

Suggested change
resolution: workspace

Copilot uses AI. Check for mistakes.
- Remove `environment.sdk` constraint from `pubspec.yaml`.
- Remove `environment.sdk` constraint from `example/pubspec.yaml`.

Branch: dev
Base: main
Related to: cross-repo workspace change affecting 62 repositories
@tsavo-at-pieces
Copy link
Author

smart-prs is closing this PR automatically.

Reason: 0 file changes between dev and master (2 commit(s) ahead but identical content).

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.

1 participant