zenstack 0.6.0-pre.1 → 0.6.0-pre.11
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/asset/logo-256-bg.png +0 -0
- package/asset/logo-dark-256.png +0 -0
- package/asset/logo-light-256.png +0 -0
- package/bin/post-install.js +24 -0
- package/cli/index.js +6532 -0
- package/extension.js +39 -0
- package/language-server/main.js +6436 -0
- package/package.json +12 -16
- package/plugins/access-policy/index.js +4289 -0
- package/plugins/prisma/index.js +3740 -0
- package/plugins/react-hooks/index.js +4332 -0
- package/plugins/trpc/index.js +5401 -0
- package/plugins/zod/index.js +4824 -0
- package/res/package.template.json +9 -0
- package/res/prism-zmodel.js +22 -0
- package/res/stdlib.zmodel +218 -0
- package/res/tsconfig.template.json +17 -0
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publisher": "zenstack",
|
|
4
4
|
"displayName": "ZenStack Language Tools",
|
|
5
5
|
"description": "A toolkit for building secure CRUD apps with Next.js + Typescript",
|
|
6
|
-
"version": "0.6.0-pre.
|
|
6
|
+
"version": "0.6.0-pre.11",
|
|
7
7
|
"author": {
|
|
8
8
|
"name": "ZenStack Team"
|
|
9
9
|
},
|
|
@@ -60,17 +60,13 @@
|
|
|
60
60
|
"activationEvents": [
|
|
61
61
|
"onLanguage:zmodel"
|
|
62
62
|
],
|
|
63
|
-
"files": [
|
|
64
|
-
"bundle"
|
|
65
|
-
],
|
|
66
63
|
"bin": {
|
|
67
64
|
"zenstack": "bin/cli"
|
|
68
65
|
},
|
|
69
|
-
"main": "./extension.js",
|
|
66
|
+
"main": "./bundle/extension.js",
|
|
70
67
|
"dependencies": {
|
|
71
|
-
"@
|
|
72
|
-
"@
|
|
73
|
-
"@zenstackhq/sdk": "link:../sdk/dist",
|
|
68
|
+
"@prisma/generator-helper": "^4.7.1",
|
|
69
|
+
"@prisma/internals": "^4.7.1",
|
|
74
70
|
"async-exit-hook": "^2.0.1",
|
|
75
71
|
"change-case": "^4.1.2",
|
|
76
72
|
"chevrotain": "^9.1.0",
|
|
@@ -92,11 +88,12 @@
|
|
|
92
88
|
"vscode-languageserver": "^8.0.2",
|
|
93
89
|
"vscode-languageserver-textdocument": "^1.0.7",
|
|
94
90
|
"vscode-uri": "^3.0.6",
|
|
95
|
-
"zod": "^3.19.1"
|
|
91
|
+
"zod": "^3.19.1",
|
|
92
|
+
"@zenstackhq/language": "0.6.0-pre.11",
|
|
93
|
+
"@zenstackhq/runtime": "0.6.0-pre.11",
|
|
94
|
+
"@zenstackhq/sdk": "0.6.0-pre.11"
|
|
96
95
|
},
|
|
97
96
|
"devDependencies": {
|
|
98
|
-
"@prisma/generator-helper": "^4.7.1",
|
|
99
|
-
"@prisma/internals": "~4.7.0",
|
|
100
97
|
"@types/async-exit-hook": "^2.0.0",
|
|
101
98
|
"@types/jest": "^29.2.0",
|
|
102
99
|
"@types/node": "^14.18.32",
|
|
@@ -126,15 +123,14 @@
|
|
|
126
123
|
"vscode:prepublish": "cp ../../README.md ./ && pnpm lint && pnpm build",
|
|
127
124
|
"vscode:package": "vsce package --no-dependencies",
|
|
128
125
|
"clean": "rimraf bundle",
|
|
129
|
-
"build
|
|
130
|
-
"
|
|
131
|
-
"bundle": "pnpm clean && node build/bundle.js",
|
|
126
|
+
"build": "pnpm lint && pnpm bundle && tsc --emitDeclarationOnly --declaration ",
|
|
127
|
+
"bundle": "pnpm clean && node build/bundle.js --minify",
|
|
132
128
|
"watch": "node build/bundle.js --watch",
|
|
133
129
|
"ts:watch": "tsc --watch --noEmit",
|
|
134
130
|
"tsc-alias:watch": "tsc-alias --watch",
|
|
135
131
|
"lint": "eslint src --ext ts",
|
|
136
132
|
"test": "jest",
|
|
137
|
-
"
|
|
138
|
-
"
|
|
133
|
+
"publish-dev": "pnpm publish --tag dev",
|
|
134
|
+
"postinstall": "node bin/post-install.js"
|
|
139
135
|
}
|
|
140
136
|
}
|