-
Notifications
You must be signed in to change notification settings - Fork 95
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
Update ng-packagr to ^5.5.0 #283
Conversation
We've been following `ng2-ckeditor` and its [compatibility with Ivy](https://github.com/mgechev/ngcc-validation). The build with our compatibility compiler was [failing for](https://github.com/mgechev/ngcc-validation/issues/119) the past few weeks. Noticed that bumping up the `ng-packagr` version fixes the problem.
Updated ng-packagr to ^5.5.0 doesn't change anything. The issue with IVY persists, the error message is the same as before. Here is my package.json configuration:
I have no idea how to fix this problem. |
Once I build the library with Would you double check? If the failure persists, maybe the problem is related to the distribution of the library? |
@mgechev: any suggestions? |
If you put your compiled files from the ng2-ckeditor/lib directly into node_modules/ng2-ckeditor, then it works. We are waiting for the fix. |
@p3t3r5 new version 1.2.5 of ng2-ckeditor is available, but the error above is still the same. Any idea? |
I do not know. If I install ngx-cookie or ngx-pipes, then I have only build files in module folder, without src files. The content node_modules/ng2-ckeditor should also contain only build (lib) files after install. |
I think you are right. I requested the new package version that should be published using |
Thanks for bringing me to the right direction @p3t3r5. The issue should be solved now. Try with new version 1.2.6. |
Nice. But with version 5.5.1 of ng-packagr i have "error TS8001: 'ckeditor' is not a valid HTML element". Angular CLI: 9.0.0-next.5 Package Version@angular-devkit/architect 0.900.0-next.5 |
Just tested with the version 1.2.6 and ng-packagr 5.5.1 as currently compiled. There are no problems on my side. Tested with:
with the following code:
app.component.ts
app.template.html:
index.html:
tsconfig.json:
package.json:
Also tested without
tsconfig.json:
package.json:
There are no problems on my side. Everything works without errors. If you try the experimental angular version: |
After update today it works properly with next version to: Angular CLI: 9.0.0-next.8 Package Version@angular-devkit/architect 0.900.0-next.8 |
We've been following
ng2-ckeditor
and its compatibility with Ivy.The build with our compatibility compiler was failing for the past few weeks. Noticed that bumping up the
ng-packagr
version fixes the problem.