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

Update Nuxt to 3.11.2 #1041

Merged
merged 28 commits into from
May 1, 2024
Merged

Update Nuxt to 3.11.2 #1041

merged 28 commits into from
May 1, 2024

Conversation

dylankelly
Copy link
Contributor

Issue:

What I did

How to test

Checklist

For all PR's

  • I've added relevant changes to the project Readme if needed.
  • I've updated the documentation site as needed.
  • I have added unit tests to cover my changes (if not applicable, please state why in a comment)

For new components only

  • I have added a story covering all variants
  • I have checked a11y tab in storybook passes
  • Any events are emitted on the event bus

Copy link

netlify bot commented Feb 19, 2024

Deploy Preview for ripple-docs canceled.

Name Link
🔨 Latest commit f2dcf7f
🔍 Latest deploy log https://app.netlify.com/sites/ripple-docs/deploys/6631c815f4129600085cec5c

Copy link

cypress bot commented Feb 19, 2024

Passing run #1650 ↗︎

0 146 0 0 Flakiness 0

Details:

test: increase image diff threshold
Project: ripple-framework Commit: f2dcf7f8cc
Status: Passed Duration: 06:32 💡
Started: May 1, 2024 4:44 AM Ended: May 1, 2024 4:51 AM

Review all test suite changes for PR #1041 ↗︎

@@ -50,5 +50,6 @@ const processedNav = navigation?.map((level1Item) => {

.docs-section-link {
margin-top: var(--rpl-sp-3);
color: var(--rpl-clr-black);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

removing tailwind required some styling changes

@@ -0,0 +1,36 @@
<template>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

removing tailwind, we needed to define our own header renderers

@@ -48,9 +48,6 @@ const config: StorybookConfig = {
name: '@storybook/vue3-vite',
options: {}
},
features: {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was previously required for docs site to work as they shared mdx dependencies. Now no longer needed.

@@ -61,7 +61,9 @@ Given(
route: '/api/tide/page',
status,
response,
query: `?path=${path}&site=${Cypress.env('NUXT_PUBLIC_TIDE_SITE')}`
query: `?path=${encodeURIComponent(path)}&site=${Cypress.env(
'NUXT_PUBLIC_TIDE_SITE'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is required due to Nuxt useFetch now encoding url params automatically

@dylankelly dylankelly added this to the 2.8 milestone Mar 21, 2024
@@ -546,7 +547,7 @@ const reverseFields = computed(

<template v-if="activeTab === 'map'">
<TideSearchListingResultsMap
v-if="mapFeatures"
v-if="mapFeatures && firstLoad"
Copy link
Contributor Author

@dylankelly dylankelly Mar 24, 2024

Choose a reason for hiding this comment

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

Adding a wait here to ensure the map data is actually loaded before attempting to render it, there were lots of issues without it

@dylankelly dylankelly changed the title Feature/update-nuxt Update Nuxt to 3.10.0 Mar 24, 2024
@dylankelly dylankelly marked this pull request as ready for review March 24, 2024 22:45
@dylankelly dylankelly mentioned this pull request Mar 24, 2024
6 tasks
chore(@dpc-sdp/ripple-test-utils): added test util build script back after nuxt update

chore: updated vue version to fix build

chore(docs): got docs site running again after nuxt upgrade

build: 🔧 map uncrypto

chore: update to latest nuxt and vue

chore: ⬆️ upgrade to nuxt 3.10.2 and fix vue version

Fix Vue version to resolve issue with vue openlayers

chore(docs): ⬆️ upgrade docs and storybooks deps remove unused

remove tailwind from docs site, remove unused deps from storybook

chore(@dpc-sdp/nuxt-ripple): export types for nuxt ripple and fix import

chore: upgrade nuxt kit dependencies

fix(@dpc-sdp/ripple-ui-maps): ⬆️ update to latest vue-3-openlayers, fix upgrade issues

refactor: ⬆️ upgrade vueuse, force using nuxt vue version

chore(@dpc-sdp/ripple-test-utils): 🐛 urlencode mock query path to match Nuxt usefetch change

fix(@dpc-sdp/ripple-ui-forms): 🐛 prevent error when inputErrors is undefined

fix(@dpc-sdp/nuxt-ripple): 🐛 move duplicate vue version hack to nuxt-ripple

test(@dpc-sdp/ripple-ui-maps): fix flakey map test

ci(@dpc-sdp/ripple-ui-maps): skip failing maps tests relating tile requests

chore: cleanup nuxt and vue versions

build: update lockfile

build: revert jest config change and fix storybook fail

build: instrall new playwright version

fix(docs): remove iframe border

chore: update lockfile
@dylankelly dylankelly changed the title Update Nuxt to 3.10.0 Update Nuxt to 3.11.2 Apr 18, 2024
package.json Outdated Show resolved Hide resolved
@dylankelly dylankelly added this pull request to the merge queue May 1, 2024
Merged via the queue into develop with commit d974549 May 1, 2024
8 checks passed
@dylankelly dylankelly deleted the feature/update-nuxt branch May 1, 2024 05:06
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