zenstack 0.1.57 → 0.2.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/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publisher": "zenstack",
|
|
4
4
|
"displayName": "ZenStack Language Tools",
|
|
5
5
|
"description": "ZenStack is a toolkit that simplifies full-stack development",
|
|
6
|
-
"version": "0.
|
|
6
|
+
"version": "0.2.0",
|
|
7
7
|
"author": {
|
|
8
8
|
"name": "ZenStack Team"
|
|
9
9
|
},
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
},
|
|
65
65
|
"main": "./bundle/extension.js",
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"@zenstackhq/internal": "0.
|
|
67
|
+
"@zenstackhq/internal": "0.2.0",
|
|
68
68
|
"change-case": "^4.1.2",
|
|
69
69
|
"chevrotain": "^9.1.0",
|
|
70
70
|
"colors": "^1.4.0",
|
|
@@ -101,7 +101,7 @@ export class Generator {
|
|
|
101
101
|
return (
|
|
102
102
|
`generator ${this.name} {\n` +
|
|
103
103
|
indentString(`provider = "${this.provider}"\n`) +
|
|
104
|
-
indentString(`output =
|
|
104
|
+
indentString(`output = ${JSON.stringify(this.output)}\n`) +
|
|
105
105
|
(this.previewFeatures
|
|
106
106
|
? indentString(
|
|
107
107
|
`previewFeatures = [${this.previewFeatures
|
|
@@ -144,7 +144,7 @@ export default class PrismaSchemaGenerator {
|
|
|
144
144
|
prisma.addGenerator(
|
|
145
145
|
'client',
|
|
146
146
|
'prisma-client-js',
|
|
147
|
-
path.join('
|
|
147
|
+
path.join('..', this.context.generatedCodeDir, '.prisma'),
|
|
148
148
|
[
|
|
149
149
|
'fieldReference',
|
|
150
150
|
'interactiveTransactions',
|