isyfragment
v0.0.0
Published
ISY Eiendoms and JobTechs shared component library.
Downloads
4
Readme
ISYFragment
ISY Eiendoms and JobTechs shared component library.
Projects
Components
The Components project is the "main" project containing the component library.
The individual components and modules are exposed to the surface of the NPM package via the public-api.ts file. Everything that is exported from here, can be imported from the NPM package.
We also export an ISYFragmentModule from the public-api which is just a module containing every component.
Sandbox
This is the Angular web app project used to work on the components. Run npm run start
and open localhost:4200 to start working on the components.
Future test suites can be included in this project.
Versioning
ISYFragment is to be published with versions in the following format.
Production ready versions: "{MAJOR}.{MINOR}.{PATCH}"
Development and test versions: "{MAJOR}.{MINOR}.{PATCH}-dev-{TEST_VERSION}"
A major version is a breaking feature, or other very large changes to the project.
A minor version is a new backwards compatible feature or other large backwards compatible changes.
A patch version is usually bug fixes, non-breaking refactoring and performance changes.
Building and publishing
Run npm run start
to fire up the sandbox and start working on the library.
Run npm run build
to build the project for production.
Run npm run publish
to publish the package at its current state. Requires you to set the appropriate version number in advance.
See the published package here: https://github.com/orgs/norconsult-digital/packages/npm/package/isyfragment