Closed zainniazi closed 3 years ago
Hi @wulfsolter, As per your suggestions, I have divided the PR is two sections. In this PR as explained above, I have added an Angular 11 update which interlinked with the project structure change.
Project structure changes is as per https://angular.io/guide/creating-libraries
Please have a look, I appreciate your help in releasing it because it causing problem with Angular 11 projects.
Thanks
Are you prepared to release a timely patch if this PR breaks the ~18,000 weekly downloads who rely on the project currently?
I understand it may be causing problems with Angualr11, but I also see it is serving 18,000 people every week.
@wulfsolter Yes, I'm here to release the timely patches if needed. However, I have added the test project as well where we can run tests. I'll send the test project in next PR.
One option to prevent any breaking changes might be to merge this to a next
branch and publish it as angular2-signaturepad@next
on npm and get some feedback there before merging to master
.
Okay, @andreialecu. I hope we release it asap in any format, this will fix angular 11 issues and the following mentioned issues https://github.com/wulfsolter/angular2-signaturepad/issues/95 https://github.com/wulfsolter/angular2-signaturepad/issues/91 https://github.com/wulfsolter/angular2-signaturepad/issues/78
thanks @andreialecu
Is published on tag 'next'
┌─[wulf@WULF-THINKPAD]-[2020-11-28 10:50 - 1606513852]-[~/code/foo]
└─[$]-> npm install angular2-signaturepad@next
+ angular2-signaturepad@3.0.0-beta
added 14 packages from 10 contributors and audited 14 packages in 12.15s
found 0 vulnerabilities
@zainniazi let me know if @next
is working for you.
@wulfsolter I just checked and it seems like we have published the root directory. Here are the guidelines for the new structure https://angular.io/guide/creating-libraries
These are the commands you are going to need
ng build angular2-signaturepad --prod
cd dist/angular2-signaturepad
npm publish
thanks @zainniazi! have republished tag next
@wulfsolter Thanks for the update.
There is only one change required which is to rename Angular2SignaturepadModule
to SignaturePadModule
, I have updated it. Rest of it working perfectly on Angular 8-11.
As we merge this, I'll send another PR with the demo project in it.
Thanks man, republished!
Hi @wulfsolter, I just checked the latest published version and I think we might have released the wrong folder.
Instead of dist/angular2-signaturepad
, it seems like its from projects/angular2-signaturepad
https://github.com/wulfsolter/angular2-signaturepad/pull/100#issuecomment-735190634
ah gosh damn it, sorry!
Republished!
@wulfsolter Thanks, works perfectly now.
Hi @wulfsolter, It seems we don't have any issues reported regarding our latest beta release. Should we plan to release it on the normal stream?
Thanks @zainniazi :) Published as 3.0.4
There are the following changes in this PR