Skip to content

Commit

Permalink
feat: remove mui librarires from the peer dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: amitamrutiya <[email protected]>
  • Loading branch information
amitamrutiya committed Feb 26, 2025
1 parent 997b552 commit cb87d97
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 33 deletions.
19 changes: 3 additions & 16 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 3 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,28 +78,12 @@
"typescript": "^5.3.3"
},
"peerDependencies": {
"@emotion/react": "^11.11.3",
"@emotion/styled": "^11.11.0",
"@mui/material": "^5.15.11",
"@xstate/react": "^4.1.1",
"lodash": "^4.17.21",
"react": ">=17",
"react-dom": ">=17",
"xstate": "^5.18.2"
},
"peerDependenciesMeta": {
"lodash": {
"optional": true
},
"@emotion/react": {
"optional": true
},
"@emotion/styled": {
"optional": true
},
"@mui/material": {
"optional": true
},
"react": {
"optional": true
},
Expand All @@ -111,6 +95,9 @@
"access": "public"
},
"dependencies": {
"@emotion/react": "^11.11.3",
"@emotion/styled": "^11.11.0",
"@mui/material": "^5.15.11",
"@layer5/meshery-design-embed": "^0.4.0",
"billboard.js": "^3.14.3",
"js-yaml": "^4.1.0",
Expand Down
2 changes: 1 addition & 1 deletion tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default defineConfig({
clean: true,
dts: true,
format: ['cjs', 'esm'],
external: ['react', 'xstate', '@xstate/react'],
external: ['react', 'xstate', '@xstate/react', 'react-dom'],
minify: env === 'production',
watch: env === 'development',
sourcemap: env === 'development',
Expand Down

0 comments on commit cb87d97

Please sign in to comment.