-
Notifications
You must be signed in to change notification settings - Fork 168
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
feat(import): check for server dependencies #6603
Conversation
#14972 Bundle Size — 58.03MiB (~+0.01%).9ff3903(current) vs d1d46c1 master#14966(baseline) Warning Bundle contains 70 duplicate packages – View duplicate packages Bundle metrics
|
Current #14972 |
Baseline #14966 |
|
---|---|---|
Initial JS | 41.01MiB (~+0.01% ) |
41.01MiB |
Initial CSS | 0B |
0B |
Cache Invalidation | 18.06% |
17.95% |
Chunks | 20 |
20 |
Assets | 22 |
22 |
Modules | 4164 (+0.02% ) |
4163 |
Duplicate Modules | 213 |
213 |
Duplicate Code | 27.32% (+0.04% ) |
27.31% |
Packages | 477 |
477 |
Duplicate Packages | 70 |
70 |
Bundle size by type 2 changes
1 regression
1 improvement
Current #14972 |
Baseline #14966 |
|
---|---|---|
JS | 58.02MiB (~+0.01% ) |
58.02MiB |
HTML | 7.37KiB (-0.25% ) |
7.39KiB |
Bundle analysis report Branch feat/check-server-dependencies Project dashboard
Generated by RelativeCI Documentation Report issue
@@ -761,3 +761,36 @@ export function ensureDirectoriesExist(projectContents: ProjectContents): Projec | |||
return result | |||
} | |||
} | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these were just moved here as-is from check-utopia-requiremenets.ts
Note for reviewers:
Other than refactors, tests and name changes, the actual logic is only in requirement-server-packages.ts.
(I had to change the resolution name from
'Found'
to'Passed'
since here a passing check means that server packages weren't actually found)PR details:
This PR adds a check for server dependencies to the import process - currently a very closed list, to be added more incrementally.
For example when importing a Next project:
Monosnap.screencast.2024-10-30.18-30-51.mp4
Manual Tests:
I hereby swear that: