fix(deps): bump angular to 15.2.4 and update all dependencies possible#202
fix(deps): bump angular to 15.2.4 and update all dependencies possible#202
Conversation
- bump all angular packages to 15.2.4 to fix dependencies and do fresh npm install - run "npm audit fix --force" to make sure the necessary bumps were done - run "npm update --save" to update everything that can be updated Fixes https://github.com/ReadAlongs/Web-Component/security/dependabot/31
|
To test this on my machine, I had to: and then build/serve/test as usual. |
Hmm, ng and ng-cli aren't actually useful, I think you mean angular and angular-cli? I am able to build/run/test everything without installing nx globally in any case. Running audit/update pulls in a couple newer versions so I will commit those as well. |
Oh, wait, no, I see what you mean, the tests don't run without |
|
strange though because |
|
and ... sorry for the spam, but all I had to do was run |
dhdaines
left a comment
There was a problem hiding this comment.
looks fine to me, perhaps need to run install one more time to update package-lock.json (I can't do this because I have the wrong versions of node, it seems)
|
I think I'm going to start using We run I also keep getting warnings that global and local ng are out of sync, because my Coursera course project is ng 14 but this one is ng 15, and therefore it's not even possible for me to have my global in sync with all my projects. Again, |
|
I ran several further rounds in install and audit fix, it seems like every single run of that finds yet another package to update! I don't get it. |
Wait, yes, I do get it: you picked up webpack 5.77.0, which got published 4 hours ago, half a day after I push my PR. I guess that's just the speed of the web, isn't it? |
|
There, done: now |
|
There's a problem with this PR on my Windows machine. I keep getting this error message: This time, it was when running When this happens, I can delete |
|
Oh, I think I figured it out: I changed some nx package versions without using the official |
Following the documented process at https://nx.dev/core-features/automate-updating-dependencies : - npx nx migrate latest - npm install - npx nx migrate --run-migrations Now nx works correctly again! Lesson learned: I have to be careful updating individual package versions in package.json!!!
|
Fixed with |
Fixes https://github.com/ReadAlongs/Web-Component/security/dependabot/31