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

[Issue #3434] React USWDS, React, Next.JS upgrade #3515

Draft
wants to merge 20 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci-frontend-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
- name: Start API Server for e2e tests
run: |
cd ../api
echo "ENABLE_OPPORTUNITY_ATTACHMENT_PIPELINE=false" >> override.env
make init db-seed-local populate-search-opportunities start &
cd ../frontend
# Ensure the API wait script is executable
Expand Down
1 change: 1 addition & 0 deletions api/src/search/backend/load_opportunities_to_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ def _create_multi_attachment_pipeline(self) -> None:
"field": "_ingest._value.data",
}
},
"ignore_missing": True,
}
}
],
Expand Down
6 changes: 1 addition & 5 deletions frontend/.storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,7 @@ function blockSearchEnginesInHead(head) {
*/
const config = {
stories: ["../stories/**/*.@(mdx|stories.@(js|jsx|ts|tsx))"],
addons: [
"@storybook/addon-essentials",
"@storybook/addon-designs",
"@chromatic-com/storybook",
],
addons: ["@storybook/addon-essentials", "@chromatic-com/storybook"],

framework: {
name: "@storybook/nextjs",
Expand Down
2 changes: 1 addition & 1 deletion frontend/next-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This was autogen

4 changes: 1 addition & 3 deletions frontend/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,7 @@ const nextConfig = {
// https://nextjs.org/docs/app/api-reference/next-config-js/output
output: "standalone",
sassOptions: appSassOptions,
experimental: {
serverComponentsExternalPackages: ["newrelic"],
},
serverExternalPackages: ["newrelic"],
webpack: (config) => {
nrExternals(config);
return config;
Expand Down
Loading