Reusable components for Formidable's marketing sitesFormidable Landers
Welcome to the HQ of maintaining our visible Formidable projects!
yarn, so make sure to have a current version installed, then install
$ npm install -g yarn $ yarn install
Demo the header and footer components by running:
$ yarn demo
and visit http://localhost:5678/.
$ yarn run lint $ yarn run test # ... or all together ... $ yarn run check
Kicking the Tires
Before publishing, if you want to test the changes you’ve made to
formidable-landers, you can build what you have and use
npm linkin the repo
where you want to see teh changes.
$ yarn build
$ npm link
Then, in a repo you want to test, such as
$ npm link formidable-landers
and you should see your changes! 🎉
npm linkis being futzy or giving you problems, take a look at
lankwhich requires a bit more
learning curve and setup, but produces a far more manageable and reliable
way of working with multiple dependent repos at the same time.
When publishing, please make sure to install and use
file timestamp metadata as it is required for our overall website build and
versions subsequent to
5.6.0intentionally destroy this metadata:
$ npm install -g email@example.com $ npm --version 5.6.0
- Merge your PR into
- Add a new version
$ npm version major|minor|patch -m "Version %s - INSERT_REASONS"
$ npm publish
- Push commit with tags
$ git push && git push --tags