Setup
Install
A symbolic link needs to exist from the consuming app to this library's dist folder
- Use the following PS command from the app root folder to create a symbolic link to this project
new-item -itemtype symboliclink -path . -name "@finpower" -value ../framework/dist
Usage
Development
Build and watch this library in a separate terminal
ng build web --watch
yarn web
Versioning
web/package.json
contains the library version
{
"name": "@finpower/web",
"version": "1.0.0",
...
}
- Keep aligned with semantic versioning guidelines
- MAJOR version when you make incompatible API changes,
- MINOR version when you add functionality in a backwards compatible manner, and
- PATCH version when you make backwards compatible bug fixes.
Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format.
Consuming App
-
Apps should be able to upgrade easily within a major version without risk of breaking.
-
It is the app's responsibility to meet required peer dependencies.
No yarn support for automating this. -
The app's
package.json
must specify the required framework version.
A mismatch will cause a build error.
{
"name": "aquamore",
"version": "2.0.8",
"dependencies": {
"@finpower/web": "1.0.0"
}
}