elboman / gatsby-remark-embedded-codesandbox

A Gatsby Remark plugin for embedding Codesandbox given a folder of files
MIT License
32 stars 8 forks source link

Allow for custom package.json path in config #29

Open protoEvangelion opened 3 years ago

protoEvangelion commented 3 years ago

The default resolution of package.json is good. However I don't want to use the first package.json it finds by walking up the tree OR specifying a new package.json in each example.

We have a repo which includes application code & docs code. I essentially want to reference the root package.json for the application code rather than the docs package.json with all the gatsby deps.

This will allow packages to stay in sync with docs.