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

[VITE]: Upgrade incremental-migration to use vite (FIX) #14360

Closed

Conversation

guidari
Copy link
Contributor

@guidari guidari commented Aug 1, 2023

New PR to fix the failing test from #14317
The test was failing in github, but passing locally

Updated the examples/incremental-migration to use vite instead of nextjs.

The example was getting an error before. When running with nexjs inside the monorepo it gets an error, but if we run the example outside of the monorepo it is working fine.

Also it is a good exercise to unserstand what to change when we start to migrating the CRA / NextJS examples to Vite in this issue.

Changelog

New

  • examples/incremental-migration using vite

Testing / Reviewing

  • Pull down locally
  • Go to the examples/incremental-migration-vite folder and run yarn && yarn dev
  • Project should start

It is taking a little bit of time to first start. The same thing used to happen with the NextJS example.
I'm still trying to understand that odd behavior. 🤔

Before merge I want to get this PR up: #14219

@guidari guidari requested a review from a team as a code owner August 1, 2023 13:09
@netlify
Copy link

netlify bot commented Aug 1, 2023

Deploy Preview for carbon-components-react ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 34d8cf3
🔍 Latest deploy log https://app.netlify.com/sites/carbon-components-react/deploys/64c95c89f6f7cc000828e5bb
😎 Deploy Preview https://deploy-preview-14360--carbon-components-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@netlify
Copy link

netlify bot commented Aug 1, 2023

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit 34d8cf3
🔍 Latest deploy log https://app.netlify.com/sites/carbon-elements/deploys/64c95c8958e8150008e05777
😎 Deploy Preview https://deploy-preview-14360--carbon-elements.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@tw15egan
Copy link
Member

tw15egan commented Aug 1, 2023

@guidari that DatePicker test still seems to be failing...

Can we try changing L230 in Datepicker-test.js to const input = screen.getByRole('textbox');?

@guidari
Copy link
Contributor Author

guidari commented Aug 1, 2023

Now line L226 is failing in the CI but working locally 🤔
I'm gonna try to delete or change the test just to see what happens.

Screenshot 2023-08-01 at 13 39 21
Screenshot 2023-08-01 at 13 39 29

@guidari guidari closed this Aug 14, 2023
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