-
Notifications
You must be signed in to change notification settings - Fork 14
[SD-1251] Minimal upgrade to nuxt 4 #1645
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
[SD-1251] Minimal upgrade to nuxt 4 #1645
Conversation
✅ Deploy Preview for ripple-docs canceled.
|
ripple-framework
|
||||||||||||||||||||||||||||
| Project |
ripple-framework
|
| Branch Review |
2.46.0-alpha.2
|
| Run status |
|
| Run duration | 14m 43s |
| Commit |
|
| Committer | Jason Smith |
| View all properties for this run ↗︎ | |
| Test results | |
|---|---|
|
|
0
|
|
|
2
|
|
|
4
|
|
|
0
|
|
|
281
|
| View all changes introduced in this branch ↗︎ | |
| } | ||
|
|
||
| if (process.client) { | ||
| if (import.meta.client) { |
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.
Nuxt 4 is moving to import.meta https://nuxt.com/docs/4.x/api/advanced/import-meta
| supportFile: false, | ||
| downloadsFolder: './test/downloads', | ||
| fixturesFolder: './test/fixtures', | ||
| numTestsKeptInMemory: 10, |
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 prevents cypress open from exhausting its memory (defaults to 50 - cypress run always runs as 0)
| @@ -0,0 +1,6 @@ | |||
| /// <reference types="parse-path" /> | |||
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.
parse-path is used by Lerna - the current version is missing a types def in the package that causes a build failure IonicaBizau/parse-path#49
Issue: https://digital-vic.atlassian.net/browse/SD-1251
Rework of #1633 to maintain compatibility for nuxt 3 apps (hopefully)
What I did
How to test
Checklist
For all PR's
For new UI components only
emitRplEvent