Skip to content

fix(@schematics/angular): use sourceRoot instead of src in universal schematic #23463

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 29, 2022

Conversation

alan-agius4
Copy link
Collaborator

@alan-agius4 alan-agius4 commented Jun 29, 2022

With this change we remove the usage of harded src directory and instead infer this from the sourceRoot project option.

We also remove the angularCompilerOptions.entryModule property in the server tsconfig as this is no longer needed with Ivy.

Closes #12104

…sal schematic

With this change we remove the usage of hard coded `src` directory and instead infer this from the `sourceRoot` project option.

We also remove the `angularCompilerOptions.entryModule` property in the server tsconfig as this is no longer needed with Ivy.

Closes angular#12104
@alan-agius4 alan-agius4 added action: review The PR is still awaiting reviews from at least one requested reviewer target: patch This PR is targeted for the next patch release 2022Q3 Fixit Candidates for the Q3 2022 fix-it labels Jun 29, 2022
@alan-agius4 alan-agius4 force-pushed the universal-source-root branch from aecbc07 to ead77b6 Compare June 29, 2022 11:24
@alan-agius4 alan-agius4 requested a review from clydin June 29, 2022 11:59
@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Jun 29, 2022
@clydin clydin merged commit ab8ab30 into angular:main Jun 29, 2022
@alan-agius4 alan-agius4 deleted the universal-source-root branch June 29, 2022 13:14
@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 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
2022Q3 Fixit Candidates for the Q3 2022 fix-it 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.

Universal schema uses hardcoded src value instead of angular.json value
2 participants