-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Opt out of ngcc in postinstall-script #10062
Comments
It would be good to add a |
Sure, I can contribute! I dug a little bit deeper, and it looks like the |
Sure, if there is already a skipPackageJson flag for the app generator, the new flag should match. |
@stianmorsund, the Would you like to contribute by adding a |
Thanks @leosvelperez, definitely more context on your end. |
Hmm, I was looking at the definition at this location, which seems to miss the https://github.com/nrwl/nx/blob/master/packages/angular/src/generators/library/schema.d.ts Is this intended? :) |
@stianmorsund it's not intended; it's a typing issue. The actual schema ( If you're up for adding the |
Allright, I'll see what I can do :) |
I made a PR for the missing |
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context. |
Current Behavior
Angulars lib and app-generator are appending
ngcc
on postinstall-script in package.json. Our organization does not need this post-compilation script, since all our dependencies are Ivy-compatible.Expected Behavior
Discard behavior or add ability to opt out via configuration
Steps to Reproduce
Call one of these generators. (We are using them as part of our workspace-generators)
import { applicationGenerator } from '@nrwl/angular/generators';
import { libraryGenerator } from '@nrwl/angular/generators';
Observe that ngcc is appended to postinstall-script in package.json
Failure Logs
Environment
The text was updated successfully, but these errors were encountered: