Skip to content

npm tool to detect is multiple origami versions of the same component are in the package-lock.json

Notifications You must be signed in to change notification settings

Financial-Times/is-origami-flat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

is-origami-flat MIT licensed

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.