Gatsby: [gatsby-dev-cli]: don't check for local package.json when configuring path to monorepo

Created on 4 Feb 2019  ·  1Comment  ·  Source: gatsbyjs/gatsby

When setting path to monorepo with gatsby-dev-cli (gatsby-dev --set-path-to-repo /path/to/my/cloned/version/gatsby) we shouldn't check for local package.json. This is confusing when doing initial setup and for that step it's also not needed to check it because we don't use it.

Here's related code - https://github.com/gatsbyjs/gatsby/blob/ad14073eac153930cb7c81451b7f9536b33baa0e/packages/gatsby-dev-cli/src/index.js#L41-L44

It should be moved after pathToRepo handling

good first issue bug

Most helpful comment

Would like to take this issue up!

>All comments

Would like to take this issue up!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

KyleAMathews picture KyleAMathews  ·  3Comments

kalinchernev picture kalinchernev  ·  3Comments

timbrandin picture timbrandin  ·  3Comments

jimfilippou picture jimfilippou  ·  3Comments

ghost picture ghost  ·  3Comments