Skip to content

tailwindcss-animate should be a dev dependency #703

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
"react-simple-code-editor": "^0.14.1",
"serve-handler": "^6.1.6",
"tailwind-merge": "^2.5.3",
"tailwindcss-animate": "^1.0.7",
"zod": "^3.25.76"
},
"devDependencies": {
Expand All @@ -72,6 +71,7 @@
"jest-environment-jsdom": "^29.7.0",
"postcss": "^8.5.6",
"tailwindcss": "^3.4.13",
"tailwindcss-animate": "^1.0.7",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, looking at the build, it looks like this might be used in the build process - how did you determine that it only needs to be in devDependencies? This branch seems to build locally for me, but haven't checked yet to see if it might be needed for CICD.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Putting tailwindcss-animate in dependencies means that any package that uses the published @modelcontextprotocol/inspector npm package must also install tailwindcss-animate and all of its dependencies.

The published @modelcontextprotocol/inspector npm package contains only already-built code. All dependencies that are used to build/produce the final @modelcontextprotocol/inspector package content doesn't need to be installed in downstream projects to be able to use @modelcontextprotocol/inspector package.

Put simply, any packages that are only used to build a package should be a devDependency and not a dependency.

"ts-jest": "^29.4.0",
"typescript": "^5.5.3",
"typescript-eslint": "^8.38.0",
Expand Down
Loading