This is utilities/ adapters/ interfaces package repository. It is mono-repo with code base of each package is present under packages folder.
sample-package
This is sample package, which contains the starting code-base for the new packages.
- Eslint
- Prettier
- Jest
The guidelines for version updates detailed in the VERSION READ ME
.
-
Release as Common Package Version:
To release packages with the common version across all packages, you need to modify the [lerna.json
] located at the root directory package directory. Within the [lerna.json
] you should update theversion
property. You can take this sampleLerna file
as starter lerna configuration file and for this release approach use the followingworkflow file
. -
Release as Indpendent Package Version:
To release packages with the independent versioning across all packages, you need to modify the [package.json
] located at the individual package directory. Within the [package.json
] you should update theversion
property. You can take this sampleLerna file
as starter lerna configuration file and for this release approach use the followingworkflow file
.
Important
Based on release approach, rename sample sample lerna configuration file to lerna.json
and delete the extra lerna configuration template file.
By default, it is using independent lerna configuration
Warning
If you are willing to use independent package version, than you might need to downgrade lerna dependency to 4.0.0
When releasing independent, it will not create tag and release on github.