mpx200 / ng-dygraphs

Angular 2+ library for support of dygraphs(http://dygraphs.com) charts
MIT License
3 stars 9 forks source link

[Proposal] Use `ng-packagr` as packager #20

Closed JimiC closed 6 years ago

JimiC commented 6 years ago

In light of issue #18, I would like to propose to switch to using ng-packagr as the packager of this NgModule.

Advantages

Disadvantages

A good tutorial on how to use it can be found here.

You can see it in action @ https://github.com/JimiC/ng-dygraphs/tree/ng-packagr.

@mpx200 Thoughts?

JimiC commented 6 years ago

Just an added info, in case you adopt ng-packagr, is that when publishing you will have to do it via npm publish dist as only the dist folder needs to be published.

JimiC commented 6 years ago

@mpx200 I was trying to determine which @angular/cli has v4.2.5 as dependencies and I found the following:

As we are going to switch to ng-packagr we will introduce breaking changes, so a minor version release (0.4.0) is prudent. So the question is, while we are at it, should we move to @angular/cli v1.5.0 or go directly to v1.6.1 which was released some hours ago, or even better support the last stable version of the previous version (which is v1.5.5)?

mpx200 commented 6 years ago

go directly to 1.6.1, just please notify me when i can do publish