Skip to content

Commit

Permalink
fix: add missing exports for the generated .zenstack package
Browse files Browse the repository at this point in the history
  • Loading branch information
ymc9 committed Oct 14, 2023
1 parent 033d95d commit 0610deb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/schema/src/plugins/plugin-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@ export function ensureDefaultOutputFolder(options: PluginRunnerOptions) {
name: '.zenstack',
version: '1.0.0',
exports: {
'./model-meta': {
default: './model-meta.js',
types: './model-meta.ts',
},
'./policy': {
default: './policy.js',
types: './policy.d.ts',
},
'./zod': {
default: './zod/index.js',
types: './zod/index.d.ts',
Expand Down

0 comments on commit 0610deb

Please sign in to comment.