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

Migrate to sveltekit 2 and update deps #276

Merged
merged 11 commits into from
Apr 25, 2024
Merged

Migrate to sveltekit 2 and update deps #276

merged 11 commits into from
Apr 25, 2024

Conversation

jpnsantoss
Copy link
Contributor

No description provided.

Copy link

codecov bot commented Feb 29, 2024

Codecov Report

Attention: Patch coverage is 0% with 22 lines in your changes are missing coverage. Please review.

Project coverage is 1.01%. Comparing base (8497122) to head (2fb1530).

❗ Current head 2fb1530 differs from pull request most recent head e7fe5ab. Consider uploading reports for the commit e7fe5ab to get more accurate results

Files Patch % Lines
src/lib/layout/Footer.svelte 0.00% 9 Missing ⚠️
src/routes/+layout.svelte 0.00% 3 Missing ⚠️
src/lib/layout/BackgroundHexagon.svelte 0.00% 2 Missing ⚠️
src/lib/layout/Sidebar.svelte 0.00% 2 Missing ⚠️
src/lib/notifications/Snackbar.svelte 0.00% 2 Missing ⚠️
svelte.config.js 0.00% 2 Missing ⚠️
src/lib/error-page/Button.svelte 0.00% 1 Missing ⚠️
src/routes/+error.svelte 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #276       +/-   ##
===========================================
- Coverage   100.00%   1.01%   -98.99%     
===========================================
  Files            2      49       +47     
  Lines           16    1584     +1568     
  Branches         4      51       +47     
===========================================
  Hits            16      16               
- Misses           0    1521     +1521     
- Partials         0      47       +47     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@MRita443
Copy link
Collaborator

Currently, this PR is missing two things: @LuisDuarte1 is updating the storybook tests CI to run locally but it is running infinitely. The dependencies upgrade part seems to be done already, but it generating some overriding peer dependency warnings regarding vite that we would like to try to get rid of. @jpnsantoss experimented with peerDependencies but to no avail so far.

Copy link
Member

@BrunoRosendo BrunoRosendo left a comment

Choose a reason for hiding this comment

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

Nothing to point out, let's just wait for what @MRita443 said

.github/workflows/ci.yml Show resolved Hide resolved
@LuisDuarte1
Copy link
Member

LuisDuarte1 commented Mar 28, 2024

The CI is now running the storybook web server locally, however, it's not an optimal CI setup, we could cache the playwright dependencies and cache the storybook-static folder in case there aren't any changes. This is not a priority because we have unlimited minutes so I'll open an issue to optimize the CI.

@@ -17,55 +17,59 @@
"test-vite:watch": "vitest --watch",
"test-storybook": "test-storybook --browsers firefox",
"test-storybook:coverage": "npm run test-storybook -- --coverage",
"lint": "prettier --plugin-search-dir . --check . && eslint .",
"format": "prettier --plugin-search-dir . --write .",
"test-storybook:ci": "concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"npx http-server storybook-static --port 6006 --silent\" \"npx wait-on tcp:127.0.0.1:6006 && npm run test-storybook:coverage\"",
Copy link
Member

Choose a reason for hiding this comment

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

I'm a bit lazy so can you please explain this part? -k -s first -n \"SB,TEST\" -c \"magenta,blue\" I'm curious 🥺

Copy link
Member

Choose a reason for hiding this comment

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

It's just for styling, it prepends SB and TEST before each concurrent part and also adds some colors to it 😅

@BrunoRosendo
Copy link
Member

The CI is now running the storybook web server locally, however, it's not an optimal CI setup, we could cache the playwright dependencies and cache the storybook-static folder in case there aren't any changes. This is not a priority because we have unlimited minutes so I'll open an issue to optimize the CI.

It's nice that we have unlimited minutes but it's still a much better dev experience to have the folder cached, it should be a priority imo

Copy link
Member

@LuisDuarte1 LuisDuarte1 left a comment

Choose a reason for hiding this comment

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

Good work 🚀

@MRita443 MRita443 merged commit 0d28c33 into develop Apr 25, 2024
5 checks passed
@MRita443 MRita443 deleted the fix/updateDeps branch April 25, 2024 11:03
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.

4 participants