Expensify libraries and components shared across different repos
npm install expensify-commonexpensify-commonexpensify-common is published to npm``shell`
npm install expensify-common
Testing your code while you are developing
The best way to test your code while you are developing changes is via npm link.1. Run
npm link in the project root
1. cd into the project directory that has a dependency on expensify-common
1. Run npm link expensify-commonIf that does not work, another option is running
npm i expensify-common ../expensify-common --save.Alternatively, you can edit files directly in a project's
node_modules then apply those changes to this repository.Proposing a Change (Non-Expensify Contributors)
1. Fork this repository and create a new branch
1. Open a PR to merge your changes
1. An Expensify engineer will be automatically assigned to your PR
1. They will review and accept your changes, merge them, then deploy a new versionDeploying a Change (Expensify Only)
Once the PR has been merged, install the new version of the package with npm install expensify-common@x.x.x` command. Be sure to check the repos below to confirm whether or not they are affected by your changes!