@olivierpascal/helpers
v0.0.71
Published
Miscellaneous isomorphic helpers
Downloads
362
Readme
@olivierpascal/helpers
To add a new helper
- Switch on
dev
branch withgit checkout dev
- Create a new file in the
src
folder, ie.delay.ts
- Create a new test file in the same folder, ie.
delay.test.ts
- Run tests with
yarn test
- Import the new helper in the
src/index.common.ts
(or specificallysrc/index.browser.ts
orsrc/index.node.ts
) file - Bump the version in the
package.json
file - Commit and push your changes
- Run
./scripts/deploy-to-main.sh
to deploy the new version to the production branch