-
Notifications
You must be signed in to change notification settings - Fork 820
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 to angular 10 and @types/googlemaps #1833
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1833 +/- ##
==========================================
+ Coverage 47.97% 49.43% +1.45%
==========================================
Files 47 28 -19
Lines 2001 1325 -676
Branches 178 124 -54
==========================================
- Hits 960 655 -305
+ Misses 1037 668 -369
+ Partials 4 2 -2
Continue to review full report at Codecov.
|
Wow, thank you for this huge effort. |
Yes, this is great news. We hope you'll release this soon. Thank you! |
Hope someone merge this soon |
Thank you! We are exciting to use this update! |
converted to draft because need to fix "Guides" page |
I don't have extensive knowledge about the project but I can give it a review, especially because I would love for this to go out :D |
thanks @sp90 , but we need a review from @SebastianM |
@SebastianM we are awaiting your holyness 👍 🥇 |
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.
I have found a few questionable changes, otherwise, it seemed pretty flawless. Could also be missing domain knowledge, but for what its worth here is a review 🚀
…h to using angular cli builder-switch to @types/googlemaps-use yarn workspaces for building-fix guides page disappearence-remove some unused files-remove visible attribute from bicycle and transit layer-update target to es2018-rename js-marker-clusterer to markerclustererBreaking: - minimum angular usage is 9.0 - no more [visible] attribute on transit and bicycle layers - JsMarkerClusterer renamed to MarkerClusterer
AgmDataLayer style Input should have the correct type fixes: #1763
update codebase to conform to tslint and codelyzer rules
It looks great! Does it need to add |
@explooosion @SebastianM please confirm that you were able to get it to build on your local, possibly with a newer yarn version. It doesn't only build successfully on my machine, it also works on netlify and travis There does need to be an overall effort to sort all dependencies in their right places. |
@doom777 thanks for these updates! I'm super excited to update my project. |
different packages had wrong or missing data in their package.json
@doom777 All packages are now published 🎉 . I got it published in an hour or so. The issue was the @types/googlemaps packages. In build:prod mode, I assume that the package gets ignored, so the typescript compiler throws some errors for the types. In non-prod mode, the build went fine. I got it working by manually install the package before building in prod mode:
After this, I could build/publish the core but the next problem was that I couldn't build the other packages. I had to install Maybe you can rm -rf all your node_modules, run npm install again in all packages and then run |
@SebastianM I am still worried over building. It's NOT supposed to be built with npm, it's supposed to be installed and built with yarn. Then, you don't have any missing dependencies. I just tested the following in a clean directory
it worked without a hitch, without a need to install additional types or libraries or copy folders into node_modules. Same for |
USING: "@agm/core": "^3.0.0-beta.0", Hi guys, Got this error recently. Any fix? |
Maybe @Biswas123 |
Oh man! thanks! worked. |
@explooosion maybe |
Is there something I need to be aware of ? |
@michaelz yea, it was renamed to |
a major change, updates to angular 9 and 10, switch to angular cli building, and switch to @types/googlemaps typings