Skip to content

Commit

Permalink
[Issue #3434] React USWDS, React, Next.JS upgrade (#3515)
Browse files Browse the repository at this point in the history
  • Loading branch information
acouch authored Jan 28, 2025
1 parent 029ea8e commit 3832fa9
Show file tree
Hide file tree
Showing 54 changed files with 6,452 additions and 9,742 deletions.
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
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.
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

0 comments on commit 3832fa9

Please sign in to comment.