Adds support for SPFx v1.22.0-rc.0. Closes #6974#7046
Adds support for SPFx v1.22.0-rc.0. Closes #6974#7046waldekmastykarz wants to merge 3 commits intopnp:mainfrom
Conversation
Adam-it
left a comment
There was a problem hiding this comment.
@waldekmastykarz Amazing work so far 👏
We are on the right track, but I noticed a few things we need to sort out before we proceed.
6f4bf77 to
a2e06be
Compare
Adam-it
left a comment
There was a problem hiding this comment.
@waldekmastykarz in general I think it is ok. Just wanted to recheck with you one last thing before we merge
So when testing this change, I created a fresh new SPFx 1.22 webpart and in the yo-rc.json I only manually changed the version from 1.22-rc0 to 1.21.0, and then I ran m365 spfx project upgrade --preview.
I expected I would just get a single guide to update the version in the yo-rc file but as a result I got this
and this is a bit strange IMO
if we look for the test 1.22-rc0 webpart project package.json
src/m365/spfx/commands/project/test-projects/spfx-1220-rc.0-webpart-react/package.json
- It, by default, does not have a dependency to
@microsoft/[email protected]so why should we add it now? - also the command outputs to install
[email protected]and[email protected]but we do have them but with just~before the version. This might be very confusing. - also it suggest to install
@microsoft/[email protected]I think this is a bug
could we recheck the above before we proceed
|
Good catch and sorry for trouble. I'll get it fixed asap. I appreciate your review |
|
I had a quick look. Here's what I've found:
|
|
It seems like handling ranges ( |
gottcha, would you like to create an issue for that? |
|
ready to merge 🚀 |
|
merged 🚀 |
Adds support for SPFx v1.22.0-rc.0. Closes #6974