2.1.1 • Published 16 days ago

juno-ui v2.1.1

Weekly downloads
-
License
-
Repository
-
Last release
16 days ago

JunoUI

This project was generated with Angular CLI version 7.0.2.

Local Development

Install the localhost certificate (juno_ui/localhost.crt) to Local Machine -> Trusted Root Authorities

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Generating Libraries In Juno UI

  1. Run ng g @nrwl/angular:lib --name=<library name> --publishable --import-path=@juno/<library name> --prefix=<library html prefix> --style=scss --tags=<optional tags> --dry-run --verbose and verify desired output.
  2. Once verified, run again, removing --dry-run --verbose parameters to perform actual generation.
  3. Modify "extends" path of generated .eslintrc.json to "../.eslintrc.json". It defaults to the root level eslint rules and needs to be scoped to library level rules, as they are a little different.
  4. Navigate to newly generated configuration for library in angular.json and add "index" generator configuration. Grab format from other library configurations and change command to npm run index -- --<library name>. This is a script that will automatically expose the components built in the library to its public API.
  5. Add NPM command to build your library "<library name>": "nx build <library name>".
  6. Done. Test library compilation with npm run <library name> and ensure everything runs as expected.

Note: If you receive an error indicating a JSON file cannot be parsed, it is indicating that the JSON is malformed. The most common issue is a trailing comma on the last record of an array that needs to be removed.

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.

Running unit tests

Run ng test to execute the unit tests via Jest.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

2.1.1

16 days ago

0.4.6-alpha.1

4 years ago

0.4.5-alpha.1

4 years ago

0.4.4-alpha.1

4 years ago

0.4.3-alpha.1

4 years ago

0.4.2-alpha.1

4 years ago

0.4.1-alpha.1

4 years ago

0.4.0-alpha.1

4 years ago

0.3.9-alpha.1

4 years ago

0.3.3-alpha.1

4 years ago

0.3.2-alpha.1

4 years ago

0.3.1-alpha.1

4 years ago

0.3.0-alpha.1

4 years ago

0.2.9-alpha.1

4 years ago

0.2.8-alpha.1

4 years ago

0.2.7-alpha.1

4 years ago

0.2.6-alpha.1

4 years ago

0.2.5-alpha.1

4 years ago

0.2.4-alpha.1

4 years ago

0.2.3-alpha.1

4 years ago

0.2.2-alpha.1

4 years ago

0.2.1-alpha.1

4 years ago

0.2.0-alpha.1

4 years ago

0.1.9-alpha.1

4 years ago

0.1.8-alpha.1

4 years ago

0.1.7-alpha.1

4 years ago

0.1.6-alpha.1

4 years ago

0.1.4-alpha.1

4 years ago

0.1.5-alpha.1

4 years ago

0.1.3-alpha.1

4 years ago

0.1.2-alpha.1

4 years ago

0.1.1-alpha.1

4 years ago

0.0.9-alpha.1

4 years ago

0.0.8-alpha.1

4 years ago

0.1.0-alpha.1

4 years ago

0.0.7-alpha.1

4 years ago

0.0.6-alpha.1

4 years ago

0.0.5-alpha.1

4 years ago

0.0.4-alpha.1

4 years ago

0.0.3-alpha.1

4 years ago

0.0.2-alpha.1

4 years ago

0.0.1-alpha.1

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago