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

Support Dart workspaces #201

Closed
devmil opened this issue Jan 10, 2025 · 1 comment · Fixed by #202
Closed

Support Dart workspaces #201

devmil opened this issue Jan 10, 2025 · 1 comment · Fixed by #202
Labels
bug Something isn't working

Comments

@devmil
Copy link
Member

devmil commented Jan 10, 2025

Describe the bug
The new Dart workspaces feature will most probably break dart_apitool's approach for analyzing single packages of a monorepo

To Reproduce
In a monorepo:

  • analyze a single package in it (that uses the new workspace capabilities)
  • Issues might be:
    • .dart_tool/package_config.json will not exist
    • "workspace" resolution of that package might break if the package is treated in isolation

Actual and Expected behavior
dart_apitool can analyze packages of a monorepo like any other package

@devmil devmil added the bug Something isn't working label Jan 10, 2025
@Levi-Lesches
Copy link

.dart_tool/package_config.json will not exist

Just hit this issue on dart-lang/native#1884! See the logs here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging a pull request may close this issue.

2 participants