# code-extend-schematics

> A schematic for generating artifacts, with code extension.

Latest version **0.0.1** (published 2023-06-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install code-extend-schematics
pnpm add code-extend-schematics
yarn add code-extend-schematics
bun add code-extend-schematics
```

## 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.1 |
| Published | 2023-06-29 |
| First published | 2023-06-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 16.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | valik98 |
| Keywords | schematics |

## Links

- npm: https://www.npmjs.com/package/code-extend-schematics
- npm.io page: https://npm.io/package/code-extend-schematics

## Dependencies (5)

- [rxjs](https://npm.io/package/rxjs.md) ~7.8.0
- [typescript](https://npm.io/package/typescript.md) ~5.1.3
- [@schematics/angular](https://npm.io/package/@schematics/angular.md) ^16.1.1
- [@angular-devkit/core](https://npm.io/package/@angular-devkit/core.md) ^16.1.1
- [@angular-devkit/schematics](https://npm.io/package/@angular-devkit/schematics.md) ^16.1.1

## 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.1 (latest) — 2023-06-29

## 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.

### 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!

# Usage

First add **code-extend-schematics** project to the main project's root. Now we can call it like a normal dependency inside **package.json**.

```json
"devDependencies": {
    "code-extend-schematics": "file:code-extend-schematics"
}
```

In order to include the custom schematics we need to add the following **json** config at the end of **angular.json** as **defaultCollection**.

```json
{
  "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  "version": 1,
  "newProjectRoot": "projects",
  "projects": {},
  "cli": {
    "defaultCollection": "code-extend-schematics"
  }
}
```

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