Skip to content

Commit

Permalink
docs(readme.md): add information about projects
Browse files Browse the repository at this point in the history
  • Loading branch information
Kordrad committed Jun 20, 2024
1 parent b7cb98b commit 3475388
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 27 deletions.
27 changes: 13 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,26 @@
# NgZen

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 17.3.5.
## Overview

## Development server
**ng-zen** is a comprehensive library designed to enhance Angular development by providing a collection of UI-kit elements and utilities. It includes a CLI tool with Angular schematics to streamline the generation of these components directly into Angular projects.

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

## Code scaffolding
ng-zen is licensed under the BSD 2-Clause License. See the LICENSE file in the repository for detailed information.

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`.
## Repository Structure

## Build
Repository Structure
- `/packages/cli`: Contains the ng-zen CLI tool with Angular schematics for generating UI-kit components.

Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.
## Author

## Running unit tests
**@ng-zen/cli** is maintained by Konrad Stępień.

Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
- Email: kord.stp@gmail.com
- LinkedIn: [Konrad Stępień](https://www.linkedin.com/in/konradstepien/)

## Running end-to-end tests

Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
## Contribution
Contributions to ng-zen are welcome. Fork the repository, make improvements, and submit a pull request.

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
41 changes: 28 additions & 13 deletions projects/cli/README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,39 @@
# Cli
# @ng-zen/cli

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 17.3.0.
## Overview

## Code scaffolding
The ng-zen CLI is a command-line tool designed to facilitate the generation of UI-kit elements for Angular applications using Angular schematics. It provides out-of-the-box components that can be quickly integrated into Angular projects.

Run `ng generate component component-name --project cli` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project cli`.
> Note: Don't forget to add `--project cli` or else it will be added to the default project in your `angular.json` file.
## Installation

## Build
To install ng-zen CLI, use the following command:

Run `ng build cli` to build the project. The build artifacts will be stored in the `dist/` directory.
```bash
ng add @ng-zen/cli
```

## Publishing
This command will add the necessary dependencies and configurations to your Angular project.

After building your library with `ng build cli`, go to the dist folder `cd dist/cli` and run `npm publish`.
## Generating Components

## Running unit tests
You can generate components using the ng-zen CLI. Components are generated using the following command format:

Run `ng test cli` to execute the unit tests via [Karma](https://karma-runner.github.io).
```bash
ng generate @ng-zen/cli:component
```

## Further help
## License

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
This project is licensed under the BSD 2-Clause License. For more details, refer to the LICENSE file in the repository.


## Author

**@ng-zen/cli** is maintained by Konrad Stępień.

- Email: kord.stp@gmail.com
- LinkedIn: [Konrad Stępień](https://www.linkedin.com/in/konradstepien/)

## Documentation

The ng-zen CLI is documented using Storybook for component examples and JSDoc, as well as Compodoc for Angular project documentation.

0 comments on commit 3475388

Please sign in to comment.