Skip to content

chore: updated build-gen script configs to properly cover all packages#250

Open
pavelgj wants to merge 2 commits into
mainfrom
pj/refactor_build_gen_scripts
Open

chore: updated build-gen script configs to properly cover all packages#250
pavelgj wants to merge 2 commits into
mainfrom
pj/refactor_build_gen_scripts

Conversation

@pavelgj

@pavelgj pavelgj commented Mar 31, 2026

Copy link
Copy Markdown
Member

No description provided.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request refactors the Melos workspace configuration in pubspec.yaml by updating build scripts to use the exec property with packageFilters and adding a dedicated apply_license task. The changes also expand the package scopes for several build commands. The review feedback suggests standardizing the use of packageFilters across all scripts, ensuring sequential execution with concurrency: 1 for core packages, and restoring or adding dependsOn filters to prevent script failures in packages that do not utilize build_runner.

Comment thread pubspec.yaml Outdated
Comment thread pubspec.yaml Outdated
Comment thread pubspec.yaml Outdated
- Refactored build-gen-core to use native exec and packageFilters instead of a nested melos exec command, and set concurrency to 1 to prevent race conditions during core generation.
- Removed invalid curly braces from scope definitions in build-gen-plugins and build-gen-testapps.
- Added dependsOn: "build_runner" to plugin and testapp scripts to ensure they only run on packages that actually require code generation.
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