Skip to content
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

Cleanup dependencies #1430

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Cleanup dependencies #1430

wants to merge 2 commits into from

Conversation

JunichiSugiura
Copy link
Collaborator

@JunichiSugiura JunichiSugiura commented Feb 25, 2025

  • Remove unused packages
  • Move shared packages to workspace catalog
  • import presets via controller

Related

@JunichiSugiura JunichiSugiura marked this pull request as ready for review February 25, 2025 06:24
Copy link

vercel bot commented Feb 25, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
ui-next ✅ Ready (Inspect) Visit Preview Feb 28, 2025 1:47am

@@ -71,6 +71,7 @@
},
"devDependencies": {
"@cartridge/eslint": "workspace:^",
"@cartridge/presets": "catalog:",
Copy link
Contributor

Choose a reason for hiding this comment

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

is this needed?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is used in storybook for mainly layout thus devDependencies.

import { defaultTheme } from "@cartridge/presets";

@@ -28,6 +28,7 @@
"viem": "catalog:"
},
"devDependencies": {
"@cartridge/presets": "catalog:",
Copy link
Contributor

Choose a reason for hiding this comment

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

is this needed?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is used to pass ERC20 icons to ERC20 class. In the future, it should be provided via gateway API.

@@ -30,9 +30,6 @@
"test:storybook": "pnpm turbo build:deps test:storybook",
"test:storybook:update": "pnpm turbo build:deps test:storybook:update"
},
"dependencies": {
"@cartridge/presets": "github:cartridge-gg/presets#c7e6fb7"
Copy link
Contributor

Choose a reason for hiding this comment

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

we need to make sure this change works with the presets update ci

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good point !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants