1.0.3 • Published 5 years ago

ngx-rccl-lib v1.0.3

Weekly downloads
10
License
-
Repository
github
Last release
5 years ago

NgxSampleRccl

Installation

Eventually it will be Running this command

npm install ngx-rccl-lib
ng generate component foo --project=ngx-rccl-lib

ng build ngx-rccl-lib

Packaging

We need the following packages:

npm install changelog-verify 
npm install version-changelog

Dependencies

Looks like in Library ng-package.json && package.json , you can add dependencies

//package.json
{
  "name": "ngx-feature-toggle",
  "description": "Your module to handle with feature toggles in Angular applications easier.",
  "author": "Will Mendes <willmendesneto@gmail.com>",
  "version": "6.0.1",  
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/victorioferrario/ngx-rccl-lib.git"
  },
  "bugs": {
    "url": "https://github.com/victorioferrario/ngx-rccl-lib/issues"
  },
  "homepage": "https://github.com/victorioferrario/ngx-rccl-lib#readme",
  "peerDependencies": {
    "@angular/common": "^7.1.0",
    "@angular/core": "^7.1.0"
  },
  "dependencies": {
    "ngx-rccl-core": "^4.0.0"
  }
}

We will need to test this out.

// ng-package.json
{
  "$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
  "dest": "../../dist/ngx-rccl-lib",
  "lib": {
    "entryFile": "src/public_api.ts",
    "umdModuleIds": {
      "ngx-rccl-core": "NgxRcclCoreModule"
    }
  },
  "whitelistedNonPeerDependencies": ["."]
}

Publishing

npm run package
npm publish ./dist/ngx-rccl-lib/ngx-rccl-lib-1.0.2.tgz