-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Description
Is there a way that the settings inference could be done without the main field in the package.json. This requirement is blocking me, as specifying a main field will conflict with other tools I use, messing up their configuration (firebase/firebase-tools#662).
With an empty main field my other tooling works as expected, but then I receive this error:
An error occured when fetching the sandbox:
Cannot find the specified entry point: 'src/index.js'. Please specify one in 'package.json#main' or create a file at the specified entry point.
Since other templates require specific dependencies, could it check if those templates apply first, then upon failing, infer that the repo being cloned is just an arbitrary folder structure?
As discussed here #43 and https://codeburst.io/github-medium-with-embedly-30d9115af585, I don't wish to execute the code from the repo in CodeSandbox, but merely use it as a way to keep blog code snippets in sync across my Medium blog (using gists for snippets in Medium is unmanagable).
Feat requests resolved
- open specific file (specified in url)
- do not automatically install
package.jsondeps - do not automatically run scripts in
package.json - do not require
mainfield inpackage.jsonas it conflicts with other tools