Refactors inquirer to new package structure. Closes #5510#5511
Refactors inquirer to new package structure. Closes #5510#5511martinlingstuyl wants to merge 4 commits intopnp:mainfrom
Conversation
5efb35b to
ce7c99f
Compare
ce7c99f to
f935fa6
Compare
f935fa6 to
d66e9f9
Compare
|
Hi peeps @pnp/cli-for-microsoft-365-maintainers, this is a huge PR. I'd like for us to get this in sooner rather than later, due to potential merge conflicts. If you review this I'd suggest you start with the central files. (Command.ts, Cli.ts, prompt.ts, etc) the rest is mostly implementation of confirms across the codebase. |
|
Hi @martinlingstuyl, |
|
awesome @Adam-it, take care of checking chili and m365 setup with extra effort. A lot has been rewritten there... |
|
Take your time! If you have comments, I probably won't be able to fix them this week anyway. 😄 |
Adam-it
left a comment
There was a problem hiding this comment.
@martinlingstuyl awesome work 👏
✅I went over the changes - I only have some small cosmetic comments I will resolve when merging
✅I tested setup command
✅I tested chili
✅I tested prompting for an option
✅I tested for selecting single option set
✅I tested prompting for confirmation
✅I tested selecting single value from multiple
... do you think there's anything else worth checking 🤔?
|
No significant comments... fantastic 😅 If you don't have anymore comments on the way it's setup, that's great! In that case we can ship it 🚀 |
|
Ow by the way. Did you get any changes in the shrinkwrap file when running npm install? |
actually, I did when I was rechecking tests without this additional code. |
|
Well, the changes were about our custom Eslint rules, which I did not change, so I was confused about them, particularly because it's a different type of npm-package: a local package, so I did not push them. What's your idea on that? |
O didn't actually check what changed in the shrink. But if it's not connected to your change I guess it should not occured if we merge with latest main 🤔. |
b357ccb to
62da783
Compare
Adam-it
left a comment
There was a problem hiding this comment.
Rechecked ✅
looks like a loooot of awesome work 👏
|
@martinlingstuyl which node and npm version are you using when building this? This is also the same I use locally. and only building CLI from this branch I get the following changes in shrinkwrap TBH I have no idea why 😅 |
62da783 to
17057fe
Compare
|
Hi @Adam-it, I've rebased and committed the shrinkwrap changes... |
|
merged manually. |
|
And thank you for the quick merge! |








Closes #5510
Refactors inquirer to new package structure.
promptutilnpm install causes some changes to the shrinkwrap file around the eslint package that I'm not sure of. so I committed those separately.