-
Notifications
You must be signed in to change notification settings - Fork 6.8k
build(schematics): version placeholders not replaced #13688
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
build(schematics): version placeholders not replaced #13688
Conversation
@@ -48,16 +48,16 @@ export function composeRelease(buildPackage: BuildPackage) { | |||
copyFiles(packagesDir, 'README.md', releasePath); | |||
copyFiles(sourceDir, 'package.json', releasePath); | |||
|
|||
if (buildPackage.hasSchematics) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should have a comment like "This must happen before..."
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. I've made it a bit more "generic" because hasSchematics
is not specific to the Material schematics.
* Since we copy the schematics after the version placeholders have been inlined, the version range that uses the NG version placeholder is not replaced properly. This is not problematic because by default we determine the NG version based on the installed `@angular/core` version. ``` addPackageToPackageJson(host, '@angular/animations', ngCoreVersionTag || requiredAngularVersionRange); ``` ilease enter the commit message for your changes. Lines starting
834095a
to
9acb263
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Since we copy the schematics after the version placeholders have been inlined, the version range that uses the NG version placeholder is not replaced properly. This is not problematic because by default we determine the NG version based on the installed `@angular/core` version. ``` addPackageToPackageJson(host, '@angular/animations', ngCoreVersionTag || requiredAngularVersionRange); ```
Since we copy the schematics after the version placeholders have been inlined, the version range that uses the NG version placeholder is not replaced properly. This is not problematic because by default we determine the NG version based on the installed `@angular/core` version. ``` addPackageToPackageJson(host, '@angular/animations', ngCoreVersionTag || requiredAngularVersionRange); ```
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
This is an issue right now, because by default we determine the NG version based on the installed
@angular/core
version.