Skip to content

Commit 8ac0915

Browse files
authored
fix: add missing exports for the generated .zenstack package (#760)
1 parent f7e8a08 commit 8ac0915

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

packages/schema/src/plugins/plugin-utils.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,14 @@ export function ensureDefaultOutputFolder(options: PluginRunnerOptions) {
3535
name: '.zenstack',
3636
version: '1.0.0',
3737
exports: {
38+
'./model-meta': {
39+
default: './model-meta.js',
40+
types: './model-meta.ts',
41+
},
42+
'./policy': {
43+
default: './policy.js',
44+
types: './policy.d.ts',
45+
},
3846
'./zod': {
3947
default: './zod/index.js',
4048
types: './zod/index.d.ts',

0 commit comments

Comments
 (0)