Skip to content

Commit

Permalink
docs: added angular library
Browse files Browse the repository at this point in the history
  • Loading branch information
KernelPanic92 committed Jul 18, 2024
1 parent 87f6f88 commit 8cc58f6
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/pages/commands/generate/library/_meta.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"angular": "angular",
"typescript": "typescript"
}
47 changes: 47 additions & 0 deletions doc/pages/commands/generate/library/angular.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Angular

The Devmy CLI provides a set of predefined configurations that will allow you to start developing right away.

## Get Started

To create a new angular library, use the following Devmy CLI command:

```bash copy
devmy generate library angular
```
or

```bash copy
devmy g l angular
```

or

```bash copy
devmy g l ng
```

## Variables

You can configure the initial application with the following parameters:

- **Library name**: The name of the library

## Advantages

### Lodash

The Angular library includes [lodash-es](https://lodash.com/) as a preinstalled dependency, a JavaScript utility library. Lodash-ES
is a modular version of Lodash, designed to be used with ECMAScript (ES) modules.

### Test

The Angular library created with the Devmy CLI is preconfigured to use Jest as the unit testing framework.
Jest is a modern and versatile testing library that offers superior performance, simpler setup, and advanced features like snapshot testing.

### ng-packagr

The Angular library created with the Devmy CLI is preconfigured to use `ng-packagr` for build.
`ng-packagr` is a bundler that compile and package Angular libraries in Angular Package Format (APF).

The Angular library output a FESM2022 source.

0 comments on commit 8cc58f6

Please sign in to comment.