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
Replace internal inquirer with @serverless/inquirer #7729
Conversation
@medikoo
|
@AhmedFat7y indeed, thanks for finding this out. It's a bug in |
@medikoo one more thing, will this cause a problem? It seems to be path-based resolution serverless/lib/plugins/interactiveCli/tabCompletion.js Lines 47 to 49 in 2a72b1a
|
ce766a6
to
3a88769
Compare
This won't be affected. |
e634cd0
to
ff5b179
Compare
@medikoo I'm not sure what's the problem here. I modified the package version to However, it still throws the same error npm show @serverless/inquirer
@serverless/inquirer@1.1.1 | MIT | deps: 3 | versions: 3
An inquirer with enforced Serverless theme
https://github.com/serverless/inquirer#readme
keywords: inquirer, serverless
dist
.tarball: https://registry.npmjs.org/@serverless/inquirer/-/inquirer-1.1.1.tgz
.shasum: bff3d8efac69237f345c835a027b0fbd82b1d8db
.integrity: sha512-kzrFQ6/TV+z6WvMEEfOzMWEorClMrCJy4z+lcdaiEN8xe+VH+TcxT7O9tsgj4pYlHioT3raDPjTBX9jvPbzo3Q==
.unpackedSize: 16.0 kB
dependencies:
chalk: ^2.0.1 inquirer: ^7.1.0 ncjsm: ^4.0.1
maintainers:
- serverless-main <services@serverless.com>
dist-tags:
latest: 1.1.1
published yesterday by serverless-main <services@serverless.com>
The command "npm show @serverless/inquirer" exited with 0.
$ npm test -- -b
> serverless@1.71.1 test /home/travis/build/serverless/serverless
> mocha "!(node_modules)/**/*.test.js" "-b"
/home/travis/build/serverless/serverless/node_modules/@serverless/inquirer/node_modules/inquirer/node_modules/chalk/source/index.js:103
...styles,
^^^ |
@AhmedFat7y indeed, it appears there's also problem with Anyway I've downgraded |
ff5b179
to
975462f
Compare
Remove package inquirer
975462f
to
49a2657
Compare
@medikoo There's no reviewer for this PR, but it's done, what will happen now? |
Codecov Report
@@ Coverage Diff @@
## master #7729 +/- ##
==========================================
+ Coverage 88.11% 88.15% +0.04%
==========================================
Files 246 245 -1
Lines 9279 9264 -15
==========================================
- Hits 8176 8167 -9
+ Misses 1103 1097 -6
Continue to review full report at Codecov.
|
Thanks for info. I'll review it next days (unfortunately in next days my priorities were shifted, so I may respond with delay now) |
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.
Thank you @AhmedFat7y !
Closes: #7690