Skip to content

Conversation

devversion
Copy link
Member

Angular CLI generates -module.ts suffix when using --standalone: false. Our schematic tests generate the same, and fail currently because some files weren't picked up properly by the rule.

This commit fixes this, and adds supports for the new suffix in a naive way until angular/angular-cli#30471 is available.

@devversion devversion requested review from a team as code owners June 5, 2025 15:12
@devversion devversion requested review from adolgachev, andrewseguin and ok7sai and removed request for a team June 5, 2025 15:12
Copy link
Member

@josephperrott josephperrott left a comment

Choose a reason for hiding this comment

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

LGTM

Angular CLI generates `-module.ts` suffix when using `--standalone:
false`. Our schematic tests generate the same, and fail currently
because some files weren't picked up properly by the rule.

This commit fixes this, and adds supports for the new suffix in a naive
way until angular/angular-cli#30471 is
available.
@devversion devversion force-pushed the fix-schematic-tests branch from 1277bce to a48725f Compare June 5, 2025 15:18
@devversion devversion added action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release labels Jun 5, 2025
@devversion devversion merged commit 394336c into angular:main Jun 5, 2025
26 of 28 checks passed
@devversion
Copy link
Member Author

The changes were merged into the following branches: main, 20.0.x

devversion added a commit that referenced this pull request Jun 5, 2025
Angular CLI generates `-module.ts` suffix when using `--standalone:
false`. Our schematic tests generate the same, and fail currently
because some files weren't picked up properly by the rule.

This commit fixes this, and adds supports for the new suffix in a naive
way until angular/angular-cli#30471 is
available.

(cherry picked from commit 394336c)
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Jul 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants