Complexity Score
High
Open Issues
60
Dependent Projects
21
Weekly Downloadsglobal
1,519
Downloads
Readme
ngx-ui
Component & Style Library for Angular by Swimlane.
Installing
npm i @swimlane/ngx-ui --S
- Install the project’s peer dependencies (moment, moment-timezone, ngx-moment, ng-in-viewport, codemirror, angular/cdk, resize-observer-polyfill)
- Add
NgxUIModule
andIconModule
to your application module - Add the ngx-ui theme in the angular.json file (
node_modules/@swimlane/ngx-ui/index.css
)
Building ngx-ui
Run yarn build:lib
to build ngx-ui. This must be done prior to building the demo.
Development server
Run yarn start
to serve the demo at http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Building
Run yarn build
to build the project. The build artifacts will be stored in the dist/
directory.
Running tests
- Run
yarn test
to execute the linter, prettier check, unit and end-to-end tests.
Release
- Checkout master (
git checkout master
) - Pull master (
git pull
) - Refresh node modules (
yarn install --frozen-lockfile
) - Run tests (
yarn test
) - Examine log to determine next version (X.Y.Z)
- Run
git checkout -b release/X.Y.Z
- Update version in
projects/swimlane/ngx-ui/package.json
. - Update changelog in
projects/swimlane/ngx-ui/CHANGELOG.md
- Run
yarn package
to build the package - Run
git commit -am "(release): X.Y.Z"
- Run
git tag X.Y.Z
- Run
git push origin HEAD --tags
- Run
yarn publish
- Submit PR
Dependencies
CVE IssuesActive
0
Scorecards Score
5.60
Test Coverage
No Data
Follows Semver
Yes
Github Stars
714
Dependenciestotal
3
DependenciesOutdated
0
DependenciesDeprecated
0
Threat Modelling
No
Repo Audits
No
Learn how to distribute @swimlane/ngx-ui in your own private NPM registry
$npm config set registry
https://npm.cloudsmith.com/owner/repo
/Processing...
✓Done
$npm install @swimlane/ngx-ui
/Processing...
✓Done
385 Releases
NPM on Cloudsmith