Skip to content
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

fix(cli): make download-connector-list more robust #1437

Merged
merged 1 commit into from
Jun 20, 2018
Merged

Conversation

virkt25
Copy link
Contributor

@virkt25 virkt25 commented Jun 16, 2018

Signed-off-by: Taranveer Virk [email protected]

Addressed feedback #1385 (review) regarding making the download function more robust using request module.

Checklist

  • npm test passes on your machine
  • New tests added or existing tests modified to cover all changes
  • Code conforms with the style guide
  • API Documentation in code was updated
  • Documentation in /docs/site was updated
  • Affected artifact templates in packages/cli were updated
  • Affected example projects in examples/* were updated

@virkt25 virkt25 self-assigned this Jun 16, 2018
@virkt25 virkt25 requested a review from bajtos June 16, 2018 04:37
@virkt25 virkt25 requested a review from raymondfeng as a code owner June 16, 2018 04:37
package.json Outdated
@@ -18,7 +18,9 @@
"coveralls": "^3.0.0",
"cz-conventional-changelog": "^2.1.0",
"husky": "^0.14.3",
"lerna": "^2.9.1"
"lerna": "^2.9.1",
"request": "^2.87.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we install these modules at the monorepo level instead of at the package level?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops, must've forgot to cd into the package before installing. fixing.

Copy link
Member

@bajtos bajtos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

I agree with @shimks that the new dependencies should be added to @loopback/cli, not the monorepo.

Other than that, the new code looks great 👍

@virkt25 virkt25 merged commit a4c2ce0 into master Jun 20, 2018
@virkt25 virkt25 deleted the json-downloader branch June 20, 2018 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants