Sandbox for experimenting react
- node >= 6.9.5
- npm >= 3.9.3
- yarn (version may be check at
package.json
) - lerna (version may be check at
lerna.json
)
- npm run tools this will install the correct version of yarn and lerna globally
- npm run bootstrap this will bootstrap the packages
- npm run validate (this will run test, coverage and check coverage, the packages will only get published if all them get passed) this will run in series: test, coverage and check-coverage for all packages affected
- npm test (optional) will run the test for all packages affected
- npm run coverage (optional) will run the coverage for all packages affected
- npm run check-coverage (optional) will run the check-coverage for all packages affected (minimum is 95% for all: statements, branches, functions and lines)
npm run cli -- create my-package-name // it will get generated at packages/myPackageName
More info:
npm run cli -- --help
- Changes must be approved;
- Changes must have tests passing on Travis-CI;
- Changes must have coverage of 95% on Travis-CI for: statements, branches, functions and lines;
- Last commit message must have attribute
[release=major|minor|patch|no-release]
;