0.1.5 • Published 4 years ago

excel-shared v0.1.5

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

ExcelShared

This project was generated with Angular CLI version 7.1.4.

Development server

Run npm run start for a dev server. Navigate to http://localhost:4202/. The app will automatically reload if you change any of the source files.

Code scaffolding

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

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Run ng build components to build a new version of the component library.

From Sherman npm run buildc

From Albert - watch and sync to APP ng b components --watch

Using Locally

  1. In your new portal project, change the package.json line "@excelhealth/shared-components": "0.0.3", to "@excelhealth/shared-components": "../excel-shared/dist/components",. Replace "../excel-shared/dist/components" with the relative library dist directory
  2. npm i in new portal
  3. ng serve in new portal
  4. Make changes to your local library, and run ng build components from the library project root to see changes automatically appear in your new portal local web server.
  5. For easier local development, run npm run start in the library root to take you to the kitchen sink, so you can develop components easily without building each time.

Publishing

  1. Build component library (see above)
  2. navigate to dist/components directory
  3. run npm publish

Generate new component

ng g c comparisons-dialog --project=components - replace "comparisons-dialog" with the component of your choosing

Helpful hints

npm run buildc -- --watch