This package has two main parts: the lib code in /projects/angular2-smart-table
and the demo application that contain a live demo for the lib and the settings documentation as an angular application /projects/demo/
.
- To setup your development environment we first must ensure that you are running node version equal or greater than v12.
- Then install the application dependencies using
npm install
command. - After that run the
build
script in order to build the lib and the demo application.
You can use
start
script to run the demo for debugging your changes in the library's core.
- For major version, search for
@breaking-change
to make sure all breaking changes are covered.
To start a new release (publish the framework packages on NPM) you need:
- create a new release branch called
release/{version}
where {version} is in1.6.0
format ->git checkout -b release/{version}
npm run build:lib
to make sure the lib is building- MANUALLY update a version in main ./package.json & in ./projects/angular2-smart-table/package.json
- MANUALLY copy the CHANGELOG.md from the root dir to ./projects/angular2-smart-table/src/
- commit with
release/{version}
message ->git commit -m release/{version}
- push, create PR, approve & merge
- pull changes and release with
npm run publish
- update docs with
npm run docs:gh-pages
- create git tag
{version}
and push it withgit push --tags