概要
ng-packagr はAngularのためのパッケージ・ジェネレータです。Angular6/cliでは、ng-packagr 用の設定ファイルを自動的に出力する機能が付加されました。
これにより、独自のライブラリを作成することが、きわめて簡単になりました。
以下はng-packagrに関する参考資料です。
プログラム
-
"ng-packagr",
https://github.com/dherges/ng-packagr -
"ng-packaged",
https://github.com/dherges/ng-packaged -
"angular-cli-lib-example",
https://github.com/jasonaden/angular-cli-lib-example
ビデオ
-
"How to use ng-packagr in Angular6",
https://www.udemy.com/angular5-custom-library-the-definitive-step-by-step-guide/learn/v4/t/lecture/10376786?start=0 -
"Packaging Component Libraries | Angular CLI",
https://www.youtube.com/watch?v=1IO5qGN4jpo&feature=share -
"Angular6におけるng-packagrの利用方法",
https://www.udemy.com/angular5-l/learn/v4/t/lecture/10429208?start=0
ドキュメント
-
"What’s new in Angular 6?",
https://jaxenter.com/new-angular6-143995.html -
"Building and publishing Angular libraries using Angular CLI",
https://medium.com/@faxemaxee/building-and-publishing-angular-libraries-using-angular-cli-140057d21101 -
"Creating Angular NPM packages with ng-packagr",
https://codewithstyle.info/creating-angular-npm-packages-with-ng-packagr/ -
"Dive Into ng-packagr on this Episode of Angular Air",
https://www.telerik.com/blogs/dive-into-ng-packagr-on-this-episode-of-angular-air -
"Building an Angular 4 Component Library with the Angular CLI and ng-packagr",
https://medium.com/@nikolasleblanc/building-an-angular-4-component-library-with-the-angular-cli-and-ng-packagr-53b2ade0701e
Copyright
copyright 2018 by Shuichi Ohtsu (DigiPub Japan)
License
MIT © Shuichi Ohtsu