Conversation
There was a problem hiding this comment.
Pull request overview
This PR appears to switch the federated plugin packages into a local-development configuration by disabling publishing and replacing published version constraints with workspace path dependencies.
Changes:
- Added
publish_to: 'none'to multiple packagepubspec.yamlfiles. - Replaced
flutter_custom_tabs_platform_interface(and other federated package) version constraints withpath:dependencies.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
| flutter_custom_tabs_web/pubspec.yaml | Disables publishing and switches platform_interface dependency to a local path. |
| flutter_custom_tabs_platform_interface/pubspec.yaml | Disables publishing of the platform interface package. |
| flutter_custom_tabs_ios/pubspec.yaml | Disables publishing and switches platform_interface dependency to a local path. |
| flutter_custom_tabs_android/pubspec.yaml | Disables publishing and switches platform_interface dependency to a local path. |
| flutter_custom_tabs/pubspec.yaml | Disables publishing and switches all federated dependencies to local paths. |
| homepage: https://github.com/droibit/flutter_custom_tabs | ||
| repository: https://github.com/droibit/flutter_custom_tabs/tree/main/flutter_custom_tabs_android | ||
| issue_tracker: https://github.com/droibit/flutter_custom_tabs/issues | ||
| publish_to: 'none' |
There was a problem hiding this comment.
Setting publish_to: 'none' makes this package non-publishable and will break the release workflow for the Android implementation package.
| publish_to: 'none' |
| # flutter_custom_tabs_platform_interface: ^2.4.0 | ||
| flutter_custom_tabs_platform_interface: | ||
| path: ../flutter_custom_tabs_platform_interface |
There was a problem hiding this comment.
Using a path: dependency in dependencies prevents publishing (pub rejects path deps) and will break consumers resolving this package from pub.dev. Keep the version constraint here and, for local workspace development, use dependency_overrides (or a pubspec_overrides.yaml) to point to the local path instead.
| # flutter_custom_tabs_platform_interface: ^2.4.0 | |
| flutter_custom_tabs_platform_interface: | |
| path: ../flutter_custom_tabs_platform_interface | |
| flutter_custom_tabs_platform_interface: ^2.4.0 |
| homepage: https://github.com/droibit/flutter_custom_tabs | ||
| repository: https://github.com/droibit/flutter_custom_tabs/tree/main/flutter_custom_tabs_platform_interface | ||
| issue_tracker: https://github.com/droibit/flutter_custom_tabs/issues | ||
| publish_to: 'none' |
There was a problem hiding this comment.
Setting publish_to: 'none' makes this package non-publishable and will break the publish/release process. Since flutter_custom_tabs_platform_interface is the contract package that other packages depend on via pub, this should remain publishable.
| publish_to: 'none' |
No description provided.