0.0.1 • Published 2 years ago

foa-design-system-package v0.0.1

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

FoaDesignSystemPackage

This library was generated with Angular CLI version 12.0.5.

Code scaffolding

Run ng generate component component-name --project foa-design-system-package to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project foa-design-system-package.

Note: Don't forget to add --project foa-design-system-package or else it will be added to the default project in your angular.json file.

Build

Run ng build foa-design-system-package to build the project. The build artifacts will be stored in the dist/ directory.

Publishing

After building your library with ng build foa-design-system-package, go to the dist folder cd dist/foa-design-system-package and run npm publish.

Setup & Install Package:

  1. Add .npmrc file to project's root folder
  2. Add below lines registry=https://financeofamerica.pkgs.visualstudio.com/_packaging/FOADesignSystem/npm/registry/ always-auth=true
  3. Run command to complete authentication process vsts-npm-auth -config .npmrc
  4. Install Package npm install <package name>@<version>

Setup token refresh in package.json file

  1. Open package.json of the project and add below line in scripts section “scripts”: {“refreshVSToken” : “vsts-npm-auth -config .npmrc”}
  2. Run below command to reauthenticate token npm run refreshVSToken
0.0.2

2 years ago

0.0.1

2 years ago