nuxt upgrade to 3.17.5 #201
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces several changes aimed at improving test configurations, enhancing error handling, and updating dependencies. The main updates include adding support for mocked data in tests, refining error messages, and upgrading the Nuxt.js framework version. Below is a categorized summary of the most important changes:
Test Configuration Enhancements:
.github/workflows/playwright.yml
to include environment variables for mocked data and GitHub organization settings (NUXT_PUBLIC_IS_DATA_MOCKED
andNUXT_PUBLIC_GITHUB_ORG
). [1] [2]e2e-tests/copilot.ent.spec.ts
,e2e-tests/copilot.org.spec.ts
,e2e-tests/copilot.team.spec.ts
,e2e-tests/metrics.spec.ts
) to append?mock=true
to URLs, enabling mock data usage during tests. [1] [2] [3] [4]Error Handling Improvements:
app/components/MainComponent.vue
to provide better feedback when the Copilot Metrics API is not enabled.Dependency Updates:
^3.15.3
to^3.17.5
inpackage.json
.Code Simplifications:
server/modules/authentication.ts
by ensuring theAuthorization
header is always set, even when mocking data. [1] [2]Dockerfile Enhancements:
Dockerfile
to useNUXT_GITHUB_TOKEN
for the session password ifSESSION_SECRET
is not set.