The project root: the directory of the nearest package.json found
walking up from cwd, else cwd itself.
The same rule cooper-config finds config/config.casc by, so a
relative !file path and the document are read from one directory.
Repeated here because cooper-config does not export it.
The project root: the directory of the nearest
package.jsonfound walking up fromcwd, elsecwditself.The same rule
cooper-configfindsconfig/config.cascby, so a relative!filepath and the document are read from one directory. Repeated here becausecooper-configdoes not export it.