-
Notifications
You must be signed in to change notification settings - Fork 25
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
chore: Removing CRACO #3393
chore: Removing CRACO #3393
Conversation
Forgot we need |
✅ Deploy preview for gazebo ready!Previews expire after 1 month automatically.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. @@ Coverage Diff @@
## main #3393 +/- ##
=======================================
Coverage 99.17% 99.17%
=======================================
Files 809 809
Lines 14209 14209
Branches 3916 3921 +5
=======================================
Hits 14092 14092
Misses 108 108
Partials 9 9
Continue to review full report in Codecov by Sentry.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. @@ Coverage Diff @@
## main #3393 +/- ##
=======================================
Coverage 99.17% 99.17%
=======================================
Files 809 809
Lines 14209 14209
Branches 3921 3916 -5
=======================================
Hits 14092 14092
Misses 108 108
Partials 9 9
Continue to review full report in Codecov by Sentry.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## main #3393 +/- ##
=======================================
Coverage 99.17% 99.17%
=======================================
Files 809 809
Lines 14209 14209
Branches 3916 3916
=======================================
Hits 14092 14092
Misses 108 108
Partials 9 9
Continue to review full report in Codecov by Sentry.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅ ✅ All tests successful. No failed tests found. @@ Coverage Diff @@
## main #3393 +/- ##
=======================================
Coverage 99.17% 99.17%
=======================================
Files 809 809
Lines 14209 14209
Branches 3921 3921
=======================================
Hits 14092 14092
Misses 108 108
Partials 9 9
Continue to review full report in Codecov by Sentry.
|
cf2714a
to
15d4800
Compare
Bundle ReportChanges will increase total bundle size by 5.26MB (85.75%) ⬆️
|
Bundle ReportChanges will increase total bundle size by 10.49MB (171.0%) ⬆️
|
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.
Nothing blocking that I see - a couple nits in the README. Approved it!
"test:vite": "yarn generate-icons:vite && vitest run --changed --config ./vitest.config.mjs", | ||
"test:watch:vite": "yarn generate-icons:vite && vitest watch --changed --config ./vitest.config.mjs", | ||
"test:ci:vite": "yarn generate-icons:vite && vitest run --config ./vitest.config.mjs --coverage", | ||
"dev:vite": "yarn start", |
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.
Per our chat, the commands with suffix :vite
ones with get removed in a separate phase after Infra does stuff
@@ -36,18 +32,6 @@ | |||
"eslint --fix --no-ignore --max-warnings=0 -c .eslintrc.cjs" | |||
] | |||
}, | |||
"browserslist": { |
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.
nice. thanks.
for any readers of this PR, this is removed for this
@@ -1,72 +0,0 @@ | |||
<!DOCTYPE html> |
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.
What purpose was this file serving before out of curiosity?
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.
This was the index.html that CRACO (Webapck) was using to bundle with. With Vite this has moved to the src
directory as required by Vite.
@@ -23102,7 +22768,7 @@ __metadata: | |||
languageName: node | |||
linkType: hard | |||
|
|||
"webpack@npm:^5.64.4, webpack@npm:^5.94.0": | |||
"webpack@npm:^5.64.4": |
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.
Per our discussion this (webpack
) may still be here for storybook
15d4800
to
9b308b4
Compare
Description
This PR removes the last bits of CRACO that we have in the codebase, and moves everything fully over to Vite.
Closes codecov/engineering-team#2125
Notable Changes
index.html
.cjs
to.mjs