Origami Frontend Components & Services

Readme: 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.

  1. Install the package from npm. - npm install is-origami-flat
  2. Add a postshrinkwrap npm run-script which runs is-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.

Status
active Origami v1 (Bower)
Switch component view

GitHub: is-origami-flat