Skip to content

Conversation

@DanielSchiavini
Copy link
Collaborator

@DanielSchiavini DanielSchiavini commented Nov 5, 2025

  • yarn typecheck now type-checks apps and tests only. Since they import the libraries’ sources, the libs get checked transitively instead of being checked separately and then again from each app.
  • Use yarn typecheck:all when you specifically want to check every project independently. Somehow I needed to exclude the root project to make the command work properly and check all workspace projects

- yarn typecheck now type-checks apps and tests only. Since they import the libraries’ sources, the libs get checked transitively instead of being checked separately and then again from each app.
- Use yarn typecheck:all when you specifically want to check every workspace independently
@vercel
Copy link

vercel bot commented Nov 5, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
curve-dapp Ready Ready Preview Comment Nov 5, 2025 1:03pm
curve-dapp-storybook Ready Ready Preview Comment Nov 5, 2025 1:03pm

"lint": "eslint . --ext .ts,.tsx",
"lint:fix": "eslint . --ext .ts,.tsx --fix",
"typecheck": "yarn workspaces foreach --parallel --all run typecheck",
"typecheck": "yarn workspaces foreach --parallel --include main --include router-api --include tests run typecheck",
Copy link
Collaborator

@0xAlunara 0xAlunara Nov 5, 2025

Choose a reason for hiding this comment

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

When running this command locally I get the following error:
Image

This is the same error I get when removing --exclude curve-frontend from typecheck:all, which is probably why you added the exclude in the first place. However, if I add the same exclude to typecheck it's still failing for me.

This might be a Windows quirk, perhaps it's not happening on Mac (which is the OS you're using if I'm correct?)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

omg such a weird error 🙈

@DanielSchiavini DanielSchiavini marked this pull request as draft November 5, 2025 15:07
@DanielSchiavini
Copy link
Collaborator Author

@copilot fix the typecheck and typecheck:all commands

Copy link

Copilot AI commented Nov 7, 2025

@DanielSchiavini I've opened a new pull request, #1622, to work on those changes. Once the pull request is ready, I'll request review from you.

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.

3 participants