-
NPM >7 (Workspaces)
-
CommitLint
-
ESLint
-
Add
.npmrc
file into your project root directory@rbkmoney:registry=https://npm.pkg.github.com/
-
Install
npm i '@rbkmoney/<PACKAGE_NAME>'
npx lerna bootstrap
- Add
lerna add <package>[@version] [--dev] [--exact] [--peer]
- fix: a commit of the type fix patches a bug in your codebase (this correlates with PATCH in Semantic Versioning).
- feat: a commit of the type feat introduces a new feature to the codebase (this correlates with MINOR in Semantic Versioning).
- BREAKING CHANGE: a commit that has a footer BREAKING CHANGE:, or appends a ! after the type/scope, introduces a breaking API change (correlating with MAJOR in Semantic Versioning). A BREAKING CHANGE can be part of commits of any type.
- types other than fix: and feat: are allowed, for example @commitlint/config-conventional (based on the the Angular convention) recommends build:, chore:, ci:, docs:, style:, refactor:, perf:, test:, and others.
- footers other than BREAKING CHANGE: may be provided and follow a convention similar to git trailer format.
Linking to the project that needs
npm link '<PATH>/fe-core/packages/<PACKAGE_DIR>'
# Example:
# npm link '../fe-core/packages/utils'
is now performed automatically on CI
- Bump prerelease every time you push
npm run versionup
- Bump release & publish before merge into master
npm run release-versionup npm run release-publish