# @amplication/code-gen-types

> This library supplies all the contracts for Amplication Code Generation. The purpose is to make the contracts available for inclusion in plugins.

Latest version **3.2.1** (published 2025-02-11) · 0 weekly downloads

## Install

```sh
npm install @amplication/code-gen-types
pnpm add @amplication/code-gen-types
yarn add @amplication/code-gen-types
bun add @amplication/code-gen-types
```

## Health

**Score 30/100 (F)** — status: maintenance-mode.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.2.1 |
| Published | 2025-02-11 |
| First published | 2022-08-10 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 274.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Amplication |
| Maintainers | mulygottlieb, amplication-bot, yuvalhazaz, morhag, levivannoort |

## Links

- npm: https://www.npmjs.com/package/@amplication/code-gen-types
- npm.io page: https://npm.io/package/@amplication/code-gen-types

## Dependencies (5)

- [tslib](https://npm.io/package/tslib.md) ^2.6.2
- [ast-types](https://npm.io/package/ast-types.md) ^0.14.2
- [type-fest](https://npm.io/package/type-fest.md) ^3.11.0
- [json-schema](https://npm.io/package/json-schema.md) ^0.4.0
- [prisma-schema-dsl-types](https://npm.io/package/prisma-schema-dsl-types.md) ^1.1.2

## Recent versions

- 3.2.1 (latest) — 2025-02-11
- 3.2.1-beta.1 (beta) — 2025-02-08
- 3.2.1-beta.0 — 2025-02-07
- 3.2.0 — 2024-12-16
- 3.2.0-beta — 2024-12-16
- 3.1.0 — 2024-12-14
- 3.1.0-beta — 2024-12-14
- 3.0.2 — 2024-12-09
- 3.0.1 — 2024-12-09
- 3.0.0 — 2024-11-17
- 2.0.37 — 2024-08-25
- 2.0.37-beta.0 — 2024-08-25
- 2.0.36 — 2024-08-22
- 2.0.36-beta.0 — 2024-08-01
- 2.0.35 — 2024-08-01
- … 124 more at https://npm.io/package/@amplication/code-gen-types/versions

## README

# amplication-code-gen-types

This library supplies all the contracts for Amplication Code Generation.
The purpose is to make the contracts available for inclusion in plugins.

## Running unit tests

Run `nx test amplication-code-gen-types` to execute the unit tests via [Jest](https://jestjs.io).

## Running lint

Run `nx lint amplication-code-gen-types` to execute the lint via [ESLint](https://eslint.org/).

## Publish to npm

In order to publish to npm `@amplication/code-gen-types` :

1. Make sure to update the version in the package.json. 
2. Run the following:


```sh
# From the monorepo root folder
npm i

npx nx build code-gen-types

cd ./dist/libs/util/code-gen-types

```

To publish the package as "beta" run:

```
npm publish --access public --tag beta
```

To publish the package as "latest" run:

```sh

npm publish --access public
    
```

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