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

totsteps picture totsteps  路  3Comments

brandonmp picture brandonmp  路  3Comments

ferMartz picture ferMartz  路  3Comments

andykais picture andykais  路  3Comments

benstr picture benstr  路  3Comments