Skip to content

Commit bbebefd

Browse files
committed
more fixes
1 parent 6d99575 commit bbebefd

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

packages/runtime/tsup.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ export default defineConfig([
3636
},
3737
},
3838
],
39+
dts: true,
3940
format: ['cjs', 'esm'],
4041
},
4142
]);

packages/testtools/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
}
3232
},
3333
"dependencies": {
34-
"@types/pg": "^8.11.11",
3534
"@zenstackhq/common-helpers": "workspace:*",
3635
"@zenstackhq/language": "workspace:*",
3736
"@zenstackhq/runtime": "workspace:*",
@@ -50,6 +49,7 @@
5049
"@types/better-sqlite3": "^7.6.13",
5150
"@types/node": "catalog:",
5251
"@types/tmp": "catalog:",
52+
"@types/pg": "^8.11.11",
5353
"@zenstackhq/eslint-config": "workspace:*",
5454
"@zenstackhq/typescript-config": "workspace:*",
5555
"copyfiles": "^2.4.1",

packages/testtools/src/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ export async function createPolicyTestClient<Schema extends SchemaDef>(
182182
schema as any,
183183
{
184184
...options,
185-
plugins: [new PolicyPlugin()],
185+
plugins: [...(options?.plugins ?? []), new PolicyPlugin()],
186186
} as any,
187187
);
188188
}

0 commit comments

Comments
 (0)