@zenstackhq/sdk 3.5.0-beta.4 → 3.5.0
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 +20 -0
- package/package.json +5 -5
package/README.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# @zenstackhq/sdk
|
|
2
|
+
|
|
3
|
+
The ZenStack SDK for code generation and schema processing. Provides utilities for working with the ZModel AST, generating TypeScript schema output, building CLI plugins, and interacting with Prisma schema artifacts. This package is primarily used internally by the CLI and plugin authors.
|
|
4
|
+
|
|
5
|
+
## Key Capabilities
|
|
6
|
+
|
|
7
|
+
- ZModel AST traversal and model utilities
|
|
8
|
+
- TypeScript schema code generation from ZModel
|
|
9
|
+
- CLI plugin interface for extending `zenstack generate`
|
|
10
|
+
- Prisma schema interop utilities
|
|
11
|
+
|
|
12
|
+
## Installation
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
npm install @zenstackhq/sdk
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Learn More
|
|
19
|
+
|
|
20
|
+
- [ZenStack Documentation](https://zenstack.dev/docs)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zenstackhq/sdk",
|
|
3
|
-
"version": "3.5.0
|
|
3
|
+
"version": "3.5.0",
|
|
4
4
|
"description": "ZenStack SDK",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [],
|
|
@@ -35,14 +35,14 @@
|
|
|
35
35
|
"langium": "3.5.0",
|
|
36
36
|
"ts-pattern": "^5.7.1",
|
|
37
37
|
"typescript": "^5.9.3",
|
|
38
|
-
"@zenstackhq/language": "3.5.0
|
|
39
|
-
"@zenstackhq/common-helpers": "3.5.0
|
|
38
|
+
"@zenstackhq/language": "3.5.0",
|
|
39
|
+
"@zenstackhq/common-helpers": "3.5.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"decimal.js": "^10.4.3",
|
|
43
43
|
"kysely": "~0.28.8",
|
|
44
|
-
"@zenstackhq/
|
|
45
|
-
"@zenstackhq/
|
|
44
|
+
"@zenstackhq/eslint-config": "3.5.0",
|
|
45
|
+
"@zenstackhq/typescript-config": "3.5.0"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
48
48
|
"build": "tsc --noEmit && tsup-node",
|