@prismakit/cli 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +34 -1
- package/package.json +17 -3
package/README.md
CHANGED
|
@@ -1 +1,34 @@
|
|
|
1
|
-
# @prismakit/cli
|
|
1
|
+
# @prismakit/cli
|
|
2
|
+
|
|
3
|
+
CLI for PrismaKit: scaffold repositories, codegen relation aliases, validate compose.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
pnpm add -D @prismakit/cli
|
|
9
|
+
# or
|
|
10
|
+
npx @prismakit/cli
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Binary: `prismakit`
|
|
14
|
+
|
|
15
|
+
## Commands
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
# Repository only (default)
|
|
19
|
+
npx prismakit generate product --cache
|
|
20
|
+
|
|
21
|
+
# Full Nest module (controller + service + types)
|
|
22
|
+
npx prismakit generate product --cache --full
|
|
23
|
+
|
|
24
|
+
npx prismakit codegen --write
|
|
25
|
+
npx prismakit validate
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Docs
|
|
29
|
+
|
|
30
|
+
- [GitHub README](https://github.com/fikiap23/prismakit#readme)
|
|
31
|
+
|
|
32
|
+
## License
|
|
33
|
+
|
|
34
|
+
Apache-2.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prismakit/cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "CLI for PrismaKit — generate modules, codegen relation aliases, validate compose",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"engines": {
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
"README.md"
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@prismakit/core": "1.0.
|
|
29
|
+
"@prismakit/core": "1.0.1"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
|
-
"@prismakit/core": "1.0.
|
|
32
|
+
"@prismakit/core": "1.0.1"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"typescript": "^5.9.2",
|
|
@@ -39,6 +39,20 @@
|
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public"
|
|
41
41
|
},
|
|
42
|
+
"repository": {
|
|
43
|
+
"type": "git",
|
|
44
|
+
"url": "git+https://github.com/fikiap23/prismakit.git"
|
|
45
|
+
},
|
|
46
|
+
"bugs": {
|
|
47
|
+
"url": "https://github.com/fikiap23/prismakit/issues"
|
|
48
|
+
},
|
|
49
|
+
"homepage": "https://github.com/fikiap23/prismakit/tree/master/packages/cli#readme",
|
|
50
|
+
"keywords": [
|
|
51
|
+
"prisma",
|
|
52
|
+
"cli",
|
|
53
|
+
"codegen",
|
|
54
|
+
"prismakit"
|
|
55
|
+
],
|
|
42
56
|
"scripts": {
|
|
43
57
|
"build": "tsup",
|
|
44
58
|
"test": "vitest run --passWithNoTests",
|