You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 23, 2019. It is now read-only.
Invariant: Can't variate package.json runtime: If package.json exists on a variation, it should exist also on "base" and both should point at the same file/module and have the same "name". For instance, here are a list of invalid repo configurations:
$ find src/client -type f -name package\.json
./variations/foo/some-component/package.json
# Should throw, since base/foo//some-component/package.json don't exist on base/some-component/package.json
$ find src/client -type f -name package\.json
./base/some-component/package.json # → {"name": "foo"}
./variations/foo/some-component/package.json # → {"name": "bar"}# Should throw because name mismatch on the same path.
$ find src/client -type f -name package\.json
./base/some-component/package.json # → {"main": "foo.js"}
./variations/foo/some-component/package.json # → {"main": "foo/index.js"}# Should throw because path mismatch between variations
Mendel made some design choice that does not allow certain patterns. Document them.
The text was updated successfully, but these errors were encountered: