Skip to content
This repository was archived by the owner on Oct 9, 2024. It is now read-only.

Commit 3785fc2

Browse files
committed
v2.1.1 - Circular Import Fix
1 parent 4498e8e commit 3785fc2

File tree

9 files changed

+24
-18
lines changed

9 files changed

+24
-18
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# 🛠️ CHANGELOG
22

3+
## 2.1.1
4+
5+
- Fix for `prisma` circular import definitions
6+
37
## 2.1.0
48

59
- Updated how metadata is handled

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
## Automation Tooling for Next, Redux and Prisma
66

77
![license](https://img.shields.io/badge/license-AGPLv3-blue.svg)
8-
![version](https://img.shields.io/badge/version-2.1.0-blue.svg)
8+
![version](https://img.shields.io/badge/version-2.1.1-blue.svg)
99
[![CircleCI](https://circleci.com/gh/PrinterFramework/CLI.svg?style=svg)](https://circleci.com/gh/PrinterFramework/CLI)
1010
[![codecov](https://codecov.io/gh/PrinterFramework/CLI/branch/master/graph/badge.svg)](https://codecov.io/gh/PrinterFramework/CLI)
1111

dist/src/generators/prisma.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ interface ModelType {
44
type: string;
55
imported: boolean;
66
}
7-
export declare function generateImports(models: ModelType[]): string;
7+
export declare function generateImports(name: string, models: ModelType[]): string;
88
export declare function generatePrismaTypes(): Promise<void>;
99
export {};

dist/src/generators/prisma.js

+10-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/src/generators/prisma.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/src/printer.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)