# angular-schematic

> A blank schematics

Latest version **0.0.2** (published 2021-04-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install angular-schematic
pnpm add angular-schematic
yarn add angular-schematic
bun add angular-schematic
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2021-04-13 |
| First published | 2021-04-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 63.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | mwong775 |
| Keywords | schematics |

## Links

- npm: https://www.npmjs.com/package/angular-schematic
- npm.io page: https://npm.io/package/angular-schematic

## Dependencies (5)

- [typescript](https://npm.io/package/typescript.md) ~4.1.2
- [@schematics/angular](https://npm.io/package/@schematics/angular.md) ^11.2.7
- [@angular-devkit/core](https://npm.io/package/@angular-devkit/core.md) ^11.2.6
- [@angular-devkit/schematics](https://npm.io/package/@angular-devkit/schematics.md) ^11.2.6
- [@angular-devkit/schematics-cli](https://npm.io/package/@angular-devkit/schematics-cli.md) ^0.1102.6

## Alternatives

- [vest](https://npm.io/package/vest.md) — 50.1K weekly downloads
- [@regle/core](https://npm.io/package/@regle/core.md) — 47.0K weekly downloads
- [typeof-arguments](https://npm.io/package/typeof-arguments.md) — 12.5K weekly downloads
- [@lokalise/projects-engine-contracts](https://npm.io/package/@lokalise/projects-engine-contracts.md) — 978 weekly downloads
- [@osjwnpm/nam-laboriosam-quibusdam](https://npm.io/package/@osjwnpm/nam-laboriosam-quibusdam.md) — 70 weekly downloads

## Recent versions

- 0.0.2 (latest) — 2021-04-13
- 0.0.1 — 2021-04-13
- 0.0.0 — 2021-04-13

## README

# Getting Started With Schematics

This repository is a basic Schematic implementation that serves as a starting point to create and publish Schematics to NPM.

Used to generate modules, containers, components, and entities for Angular projects.

### Usage

1. Run `npm i angular-schematic`.
2. Run `ng generate angular-schematic:<schematic>` to generate files (`schematic` = module, container, component, or entity)

### Important Notes

When generating **components** or **containers**: If the project has an import error for `waitForAsync` in `<component-name>.component.spec.ts`, update all instances to `async`.
### Developing

1. Clone this repository.
2. Run `npm install -g @angular-devkit/schematics-cli` to install globally
3. Run `npm install`, `npm run build` & `npm link`
4. Run `npm link angular-schematic` in the Angular project directory
5. Run `ng generate angular-schematic:<schematic>` to generate files (`schematic` = module, container, component, or entity)

### Testing

To test locally, install `@angular-devkit/schematics-cli` globally and use the `schematics` command line tool. That tool acts the same as the `generate` command of the Angular CLI, but also has a debug mode.

Check the documentation with
```bash
schematics --help
```

### Unit Testing

`npm run test` will run the unit tests, using Jasmine as a runner and test framework.

### Publishing

To publish, simply do:

```bash
npm run build
npm publish
```

That's it!

---
_Source: https://npm.io/package/angular-schematic · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
