Skip to content

Commit c34bfaa

Browse files
committed
bundle all of @meshery/schemas and remove from peerDependencies
The Meshery UI integration test resolves a different @meshery/schemas version at runtime causing property access errors from the v1.0.1 schema casing changes. Fully bundle @meshery/schemas into sistent so it always uses its own v1.0.1 copy. Remove from peerDependencies since consumers no longer need to install it separately. Signed-off-by: Lee Calcote <lee.calcote@layer5.io>
1 parent 0128d9e commit c34bfaa

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@
8888
"xstate": "^5.28.0"
8989
},
9090
"peerDependencies": {
91-
"@meshery/schemas": "^1.0.1",
9291
"@xstate/react": "^5.0.3",
9392
"react": "^17.0.0 || ^18.0.0 || ^19.0.0",
9493
"react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0",

tsup.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default defineConfig({
1111
dts: true,
1212
format: ['cjs', 'esm'],
1313
external: ['react', 'xstate', '@xstate/react', 'react-dom', 'mui-datatables'],
14-
noExternal: ['@meshery/schemas/cloudApi', '@meshery/schemas/mesheryApi', '@meshery/schemas/api'],
14+
noExternal: [/^@meshery\/schemas/],
1515
minify: env === 'production',
1616
watch: env === 'development',
1717
sourcemap: env === 'development',

0 commit comments

Comments
 (0)