-
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
Updates to Angular 11 #146
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for investing time on this issue! The update to Angular 11 is highly appreciated.
I think we should maintain the original package name since otherwise it will be difficult to update.
Furthermore, the repository url should stay the same I think.
And do you thought of upgrading to Angular 12 since it is the current version?
Hi @manuelkroiss , thanks for the review. I think i didn't change the package name - in fact i changed for a while in my fork but rolled back in commit 872fed2 . |
Makes sense to have a "yep, for Angular 11, use x, for 12, use y". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks correct. I suspect the mousetrap include will fix many warning issues for users who haven't disabled that already.
For now the Readme cites Angular 11. After this merge we can tag 2.3.0 and use master for 2.4.x , updating the readme with those comments. If a new 2.3.x release is required we can branch from the tag. |
Yes, providing two different versions make sense to me. |
package.json
Outdated
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "[email protected]:filipelautert/angular2-hotkeys.git" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it supposed to be moved to new repo?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no!!! my mistake, fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks @filipelautert !
only one note, I'm not sure you should update the url, see comment in PR.
5e76586
Is the path to an npm release clear or is there other work that will be performed before this happens? |
@pcnate released to npm today. v.2.3.1, angular2-hotkeys |
oh, I guess I was looking for a tagged commit to appear on GitHub and for it to also show under the GitHub releases. On closer check it appears the tag happened on a branch so that's how I missed it |
I have already updated my project to the newest version and can report that everything works fine and I could not find any bugs until now. |
I can confirm it worked for me on one of two projects that uses this package. I think what confused me is the version number was not incremented with npm version (major|minor|patch) but it appears to have been manually. @wittlock did the same on the last version but prior to that it was a tagged commit. I guess it doesn't matter as much but is more up to the maintainers preferences or build chain. |
sorry, I am actually not too experienced in npm publishes yet, and there was a tag also https://github.com/brtnshrdr/angular2-hotkeys/tags. But maybe I did smth wrong during publishing. But some notes were added to 2.3.1 tag today by @filipelautert Those fixes (mousetrap and Angular 11) were really needed for a lot of people so we were happy to get the collaborator's rights here from the owner to get this package alive again 🎉 I think we will sort it out step by step to get more clear versioning and requested fixes for future versions with all contributors. Sorry for some inconvenions :) At least, it's unblocked for newer Angular versions now. Thanks for the feedback @pcnate 🙏 |
@Coffee-Tea I saw that you released the npm package so I created the tag and release on github to keep everything in sync 👍 |
FYI, I can confirm that it's at least functional on Angular 12. I haven't dived all the way down to see if there's anything needed for the new default strict settings. |
@Coffee-Tea can you help to review the pull request?
Basically I updated all the dependencies to Angular 11 and fixed what was required to build and work.