moucultura-common
v2.0.177
Published
Moucultura libraries and components shared across different repos
Downloads
60
Readme
moucultura-common
This is a collection of JS/TS libraries and components which are used across various Moucultura projects. These libraries are provided as-is, and the repos which use them will need to do their own bundling, minifying, and uglifying.
Installation
moucultura-common is published to npm
npm install moucultura-commonDevelopment
- Write all code as ES6.
- Always lint your code with
npm run lint
Testing your code while you are developing
The best way to test your code while you are developing changes is via npm link.
- Run
npm linkin the project root cdinto the project directory that has a dependency onmoucultura-common- Run
npm link moucultura-common
If that does not work, another option is running npm i moucultura-common ../moucultura-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-Moucultura Contributors)
- Fork this repository and create a new branch
- Open a PR to merge your changes
- An Moucultura engineer will be automatically assigned to your PR
- They will review and accept your changes, merge them, then deploy a new version
Deploying a Change (Moucultura Only)
Once the PR has been merged, install the new version of the package with npm install [email protected] command. Be sure to check the repos below to confirm whether or not they are affected by your changes!
- Moucultura/Web-Moucultura
- Moucultura/Web-Secure
- Moucultura/Mobile-Moucultura
- Moucultura/App
- Moucultura/Comp
