@zenstackhq/testtools 1.0.0-beta.13 → 1.0.0-beta.16
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 +5 -5
- package/schema.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zenstackhq/testtools",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.16",
|
|
4
4
|
"description": "ZenStack Test Tools",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"publishConfig": {
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
"@prisma/generator-helper": "^5.0.0",
|
|
15
15
|
"json5": "^2.2.3",
|
|
16
16
|
"tmp": "^0.2.1",
|
|
17
|
-
"@zenstackhq/language": "1.0.0-beta.
|
|
18
|
-
"@zenstackhq/
|
|
19
|
-
"@zenstackhq/
|
|
20
|
-
"zenstack": "1.0.0-beta.
|
|
17
|
+
"@zenstackhq/language": "1.0.0-beta.16",
|
|
18
|
+
"@zenstackhq/sdk": "1.0.0-beta.16",
|
|
19
|
+
"@zenstackhq/runtime": "1.0.0-beta.16",
|
|
20
|
+
"zenstack": "1.0.0-beta.16"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@types/node": "^18.0.0",
|
package/schema.js
CHANGED
|
@@ -205,7 +205,7 @@ function loadSchema(schema, options) {
|
|
|
205
205
|
if (opt.compile) {
|
|
206
206
|
console.log('Compiling...');
|
|
207
207
|
run('npx tsc --init');
|
|
208
|
-
// add
|
|
208
|
+
// add generated '.zenstack/zod' folder to typescript's search path,
|
|
209
209
|
// so that it can be resolved from symbolic-linked files
|
|
210
210
|
const tsconfig = json5_1.default.parse(fs.readFileSync(path.join(projectRoot, './tsconfig.json'), 'utf-8'));
|
|
211
211
|
tsconfig.compilerOptions.paths = {
|