1.0.4 • Published 4 years ago
is-origami-flat v1.0.4
is-origami-flat 
This package is a command-line program which reports whether a project is using mulitple versions of any Origami Component. E.G. Detecting that @financial-times/o-table@6
and @financial-times/o-table@7
are both in the dependency tree. This is needed because Origami Components do not support multiple versions of themselves in a single project.
Install
The best way to use this package is to install it as a dependency and have it run automatically whenever dependencies are installed.
- Install the package from npm. -
npm install is-origami-flat
- Add a
postshrinkwrap
npm run-script which runsis-origami-flat
."postshrinkwrap": "is-origami-flat"
Contact
If you have any questions or comments about this package, or need help using it, please either raise an issue, visit #origami-support or email Origami Support.
Licence
This software is published by the Financial Times under the MIT licence.