Skip to content

refactor(core): Don't genrate standalone: true for definitions#58238

Closed
JeanMeche wants to merge 3 commits intoangular:mainfrom
JeanMeche:refactor/compiler-standalone-default
Closed

refactor(core): Don't genrate standalone: true for definitions#58238
JeanMeche wants to merge 3 commits intoangular:mainfrom
JeanMeche:refactor/compiler-standalone-default

Conversation

@JeanMeche
Copy link
Copy Markdown
Member

@JeanMeche JeanMeche commented Oct 17, 2024

On top of #58236

See individual commits.

@angular-robot angular-robot bot added area: core Issues related to the framework runtime area: compiler Issues related to `ngc`, Angular's template compiler labels Oct 17, 2024
@ngbot ngbot bot added this to the Backlog milestone Oct 17, 2024
@JeanMeche JeanMeche force-pushed the refactor/compiler-standalone-default branch from 35ffae6 to a995d89 Compare October 17, 2024 13:50
@angular-robot angular-robot bot added area: core Issues related to the framework runtime area: compiler Issues related to `ngc`, Angular's template compiler area: language-service Issues related to Angular's VS Code language service and removed area: compiler Issues related to `ngc`, Angular's template compiler area: core Issues related to the framework runtime labels Oct 17, 2024
@ngbot ngbot bot modified the milestone: Backlog Oct 17, 2024
@JeanMeche JeanMeche force-pushed the refactor/compiler-standalone-default branch from a995d89 to 17ab637 Compare October 17, 2024 13:57
@angular-robot angular-robot bot added area: compiler Issues related to `ngc`, Angular's template compiler and removed area: compiler Issues related to `ngc`, Angular's template compiler area: core Issues related to the framework runtime labels Oct 17, 2024
@JeanMeche JeanMeche force-pushed the refactor/compiler-standalone-default branch from 17ab637 to 8fbf0a1 Compare October 17, 2024 14:12
@angular-robot angular-robot bot added area: compiler Issues related to `ngc`, Angular's template compiler and removed area: compiler Issues related to `ngc`, Angular's template compiler labels Oct 17, 2024
@JeanMeche JeanMeche force-pushed the refactor/compiler-standalone-default branch from 8fbf0a1 to 053ef27 Compare October 17, 2024 14:29
@angular-robot angular-robot bot added area: compiler Issues related to `ngc`, Angular's template compiler area: docs Related to the documentation area: docs-infra Angular.dev application and infrastructure and removed area: compiler Issues related to `ngc`, Angular's template compiler labels Oct 17, 2024
@JeanMeche JeanMeche force-pushed the refactor/compiler-standalone-default branch from 51b2040 to 6f06886 Compare October 17, 2024 15:11
@angular-robot angular-robot bot added area: compiler Issues related to `ngc`, Angular's template compiler and removed area: compiler Issues related to `ngc`, Angular's template compiler labels Oct 17, 2024
@JeanMeche JeanMeche marked this pull request as ready for review October 17, 2024 15:27
@pullapprove pullapprove bot requested a review from alxhub October 17, 2024 15:27
@pullapprove pullapprove bot requested a review from AndrewKushnir October 21, 2024 23:01
@alxhub alxhub added action: merge The PR is ready for merge by the caretaker target: major This PR is targeted for the next major release and removed action: merge The PR is ready for merge by the caretaker labels Oct 21, 2024
@pullapprove pullapprove bot requested a review from alxhub October 21, 2024 23:04
@alxhub alxhub added action: merge The PR is ready for merge by the caretaker merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note labels Oct 21, 2024
@alxhub
Copy link
Copy Markdown
Member

alxhub commented Oct 22, 2024

Caretaker: this is "green" in g3

@AndrewKushnir AndrewKushnir added the action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews label Oct 22, 2024
@AndrewKushnir
Copy link
Copy Markdown
Contributor

@JeanMeche there are a couple of merge conflicts with the main branch. Could you please rebase this PR and resolve conflicts when you get a chance?

The runtime default is now `standalone: true`.
`ɵɵdefineComponent`, `ɵɵdefineDirective` and `ɵɵdefinePipe` now set `standalone` as `true` by default in the definitions.
`standalone: true` is now the default at runtime.
`isStandaloneDecorator()` returns `false` only when the component is explicitly not standalone
@JeanMeche JeanMeche force-pushed the refactor/compiler-standalone-default branch from d748fdd to 1b8d86b Compare October 22, 2024 20:28
@JeanMeche JeanMeche removed the action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews label Oct 22, 2024
@angular-robot angular-robot bot added area: core Issues related to the framework runtime area: compiler Issues related to `ngc`, Angular's template compiler and removed area: docs Related to the documentation area: compiler Issues related to `ngc`, Angular's template compiler area: core Issues related to the framework runtime labels Oct 22, 2024
@AndrewKushnir AndrewKushnir added target: rc This PR is targeted for the next release-candidate and removed target: major This PR is targeted for the next major release labels Oct 24, 2024
@alxhub
Copy link
Copy Markdown
Member

alxhub commented Oct 24, 2024

This PR was merged into the repository by commit 8af71c0.

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

alxhub pushed a commit that referenced this pull request Oct 24, 2024
…8238)

The runtime default is now `standalone: true`.
`ɵɵdefineComponent`, `ɵɵdefineDirective` and `ɵɵdefinePipe` now set `standalone` as `true` by default in the definitions.

PR Close #58238
alxhub pushed a commit that referenced this pull request Oct 24, 2024
`standalone: true` is now the default at runtime.

PR Close #58238
alxhub pushed a commit that referenced this pull request Oct 24, 2024
`isStandaloneDecorator()` returns `false` only when the component is explicitly not standalone

PR Close #58238
@alxhub alxhub closed this in a10f7cf Oct 24, 2024
@angular-automatic-lock-bot
Copy link
Copy Markdown

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.

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 area: compiler Issues related to `ngc`, Angular's template compiler area: core Issues related to the framework runtime area: docs-infra Angular.dev application and infrastructure area: language-service Issues related to Angular's VS Code language service merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note target: rc This PR is targeted for the next release-candidate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants