Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
3 changes: 0 additions & 3 deletions ws-nextjs-app/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,6 @@ module.exports = {
poweredByHeader: false,
generateEtags: false,
transpilePackages: ['simorgh'],
eslint: {
ignoreDuringBuilds: true,
},
env: {
...(isLocal && getClientEnvVars(DOT_ENV_CONFIG, { stringify: false })),
LOG_TO_CONSOLE: 'true',
Expand Down
18 changes: 9 additions & 9 deletions ws-nextjs-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
"scripts": {
"setupDevEnv": "cp ../envConfig/local.env .env && sed 's/:7080/:7081/g' .env > .env.tmp && mv .env.tmp .env && mkdir -p public && cp -r ../public/. public",
"moveStaticAssets": "mkdir -p build/standalone/ws-nextjs-app/public/_next/static && cp -r build/static/. build/standalone/ws-nextjs-app/public/_next/static && cp -r public/. build/standalone/ws-nextjs-app/public",
"build:local": "yarn setupDevEnv && NODE_ENV=production && next build && yarn moveStaticAssets",
"build:preview": "cp ../envConfig/preview1.env .env && NODE_ENV=production && next build",
"build:preview1": "cp ../envConfig/preview1.env .env && NODE_ENV=production && next build",
"build:preview2": "cp ../envConfig/preview2.env .env && NODE_ENV=production && next build",
"build:test": "cp ../envConfig/test.env .env && NODE_ENV=production && next build",
"build:live": "cp ../envConfig/live.env .env && NODE_ENV=production && next build",
"build:local": "yarn setupDevEnv && NODE_ENV=production && next build --webpack && yarn moveStaticAssets",
"build:preview": "cp ../envConfig/preview1.env .env && NODE_ENV=production && next build --webpack",
"build:preview1": "cp ../envConfig/preview1.env .env && NODE_ENV=production && next build --webpack",
"build:preview2": "cp ../envConfig/preview2.env .env && NODE_ENV=production && next build --webpack",
"build:test": "cp ../envConfig/test.env .env && NODE_ENV=production && next build --webpack",
"build:live": "cp ../envConfig/live.env .env && NODE_ENV=production && next build --webpack",
"build": "yarn build:local",
"dev": "yarn setupDevEnv && next dev -p 7081",
"dev-https": "yarn setupDevEnv && next dev -p 7081 --experimental-https",
"dev": "yarn setupDevEnv && next dev -p 7081 --webpack",
"dev-https": "yarn setupDevEnv && next dev -p 7081 --experimental-https --webpack",
"start": "NODE_ENV=production HOSTNAME=127.0.0.1 PORT=7081 node build/standalone/ws-nextjs-app/server.js",
"stop": "lsof -t -i:7081 | xargs kill",
"test": "NODE_OPTIONS=--no-experimental-strip-types jest --ci --colors --selectProjects='Unit Tests'",
Expand Down Expand Up @@ -46,7 +46,7 @@
"ts-node": "10.9.2"
},
"dependencies": {
"next": "15.5.7",
"next": "16.1.1",
"sharp": "0.34.4"
}
}
96 changes: 53 additions & 43 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3900,65 +3900,65 @@ __metadata:
languageName: node
linkType: hard

"@next/env@npm:15.5.7":
version: 15.5.7
resolution: "@next/env@npm:15.5.7"
checksum: 10/11f971691018bd62a5bf253fc843fb2a6cf1431468f5c3a9d4d41753a6ff3e8bf7f539f46aba3f58f8bac59e681bf05fb5d771ac08d7dbd966a601257e1368bf
"@next/env@npm:16.1.1":
version: 16.1.1
resolution: "@next/env@npm:16.1.1"
checksum: 10/1cf4c558fded01504ed3ba16c8a11961204e4546d12e02926b037748a9bcbb9a192ca66575402a1e8726e55a658036c0c9eeb4067232b5bccb0b9b4946e7899f
languageName: node
linkType: hard

"@next/swc-darwin-arm64@npm:15.5.7":
version: 15.5.7
resolution: "@next/swc-darwin-arm64@npm:15.5.7"
"@next/swc-darwin-arm64@npm:16.1.1":
version: 16.1.1
resolution: "@next/swc-darwin-arm64@npm:16.1.1"
conditions: os=darwin & cpu=arm64
languageName: node
linkType: hard

"@next/swc-darwin-x64@npm:15.5.7":
version: 15.5.7
resolution: "@next/swc-darwin-x64@npm:15.5.7"
"@next/swc-darwin-x64@npm:16.1.1":
version: 16.1.1
resolution: "@next/swc-darwin-x64@npm:16.1.1"
conditions: os=darwin & cpu=x64
languageName: node
linkType: hard

"@next/swc-linux-arm64-gnu@npm:15.5.7":
version: 15.5.7
resolution: "@next/swc-linux-arm64-gnu@npm:15.5.7"
"@next/swc-linux-arm64-gnu@npm:16.1.1":
version: 16.1.1
resolution: "@next/swc-linux-arm64-gnu@npm:16.1.1"
conditions: os=linux & cpu=arm64 & libc=glibc
languageName: node
linkType: hard

"@next/swc-linux-arm64-musl@npm:15.5.7":
version: 15.5.7
resolution: "@next/swc-linux-arm64-musl@npm:15.5.7"
"@next/swc-linux-arm64-musl@npm:16.1.1":
version: 16.1.1
resolution: "@next/swc-linux-arm64-musl@npm:16.1.1"
conditions: os=linux & cpu=arm64 & libc=musl
languageName: node
linkType: hard

"@next/swc-linux-x64-gnu@npm:15.5.7":
version: 15.5.7
resolution: "@next/swc-linux-x64-gnu@npm:15.5.7"
"@next/swc-linux-x64-gnu@npm:16.1.1":
version: 16.1.1
resolution: "@next/swc-linux-x64-gnu@npm:16.1.1"
conditions: os=linux & cpu=x64 & libc=glibc
languageName: node
linkType: hard

"@next/swc-linux-x64-musl@npm:15.5.7":
version: 15.5.7
resolution: "@next/swc-linux-x64-musl@npm:15.5.7"
"@next/swc-linux-x64-musl@npm:16.1.1":
version: 16.1.1
resolution: "@next/swc-linux-x64-musl@npm:16.1.1"
conditions: os=linux & cpu=x64 & libc=musl
languageName: node
linkType: hard

"@next/swc-win32-arm64-msvc@npm:15.5.7":
version: 15.5.7
resolution: "@next/swc-win32-arm64-msvc@npm:15.5.7"
"@next/swc-win32-arm64-msvc@npm:16.1.1":
version: 16.1.1
resolution: "@next/swc-win32-arm64-msvc@npm:16.1.1"
conditions: os=win32 & cpu=arm64
languageName: node
linkType: hard

"@next/swc-win32-x64-msvc@npm:15.5.7":
version: 15.5.7
resolution: "@next/swc-win32-x64-msvc@npm:15.5.7"
"@next/swc-win32-x64-msvc@npm:16.1.1":
version: 16.1.1
resolution: "@next/swc-win32-x64-msvc@npm:16.1.1"
conditions: os=win32 & cpu=x64
languageName: node
linkType: hard
Expand Down Expand Up @@ -7395,6 +7395,15 @@ __metadata:
languageName: node
linkType: hard

"baseline-browser-mapping@npm:^2.8.3":
version: 2.9.11
resolution: "baseline-browser-mapping@npm:2.9.11"
bin:
baseline-browser-mapping: dist/cli.js
checksum: 10/d71fe6693f999ee0bf1fcd72b31c01390f2bfac40d179175817f24cdb11b19d14a102227a8fa28e0a4733a17c780458c17384c75f2227e45b0e8a0080caf6532
languageName: node
linkType: hard

"baseline-browser-mapping@npm:^2.8.9":
version: 2.8.16
resolution: "baseline-browser-mapping@npm:2.8.16"
Expand Down Expand Up @@ -14199,23 +14208,24 @@ __metadata:
languageName: node
linkType: hard

"next@npm:15.5.7":
version: 15.5.7
resolution: "next@npm:15.5.7"
"next@npm:16.1.1":
version: 16.1.1
resolution: "next@npm:16.1.1"
dependencies:
"@next/env": "npm:15.5.7"
"@next/swc-darwin-arm64": "npm:15.5.7"
"@next/swc-darwin-x64": "npm:15.5.7"
"@next/swc-linux-arm64-gnu": "npm:15.5.7"
"@next/swc-linux-arm64-musl": "npm:15.5.7"
"@next/swc-linux-x64-gnu": "npm:15.5.7"
"@next/swc-linux-x64-musl": "npm:15.5.7"
"@next/swc-win32-arm64-msvc": "npm:15.5.7"
"@next/swc-win32-x64-msvc": "npm:15.5.7"
"@next/env": "npm:16.1.1"
"@next/swc-darwin-arm64": "npm:16.1.1"
"@next/swc-darwin-x64": "npm:16.1.1"
"@next/swc-linux-arm64-gnu": "npm:16.1.1"
"@next/swc-linux-arm64-musl": "npm:16.1.1"
"@next/swc-linux-x64-gnu": "npm:16.1.1"
"@next/swc-linux-x64-musl": "npm:16.1.1"
"@next/swc-win32-arm64-msvc": "npm:16.1.1"
"@next/swc-win32-x64-msvc": "npm:16.1.1"
"@swc/helpers": "npm:0.5.15"
baseline-browser-mapping: "npm:^2.8.3"
caniuse-lite: "npm:^1.0.30001579"
postcss: "npm:8.4.31"
sharp: "npm:^0.34.3"
sharp: "npm:^0.34.4"
styled-jsx: "npm:5.1.6"
peerDependencies:
"@opentelemetry/api": ^1.1.0
Expand Down Expand Up @@ -14254,7 +14264,7 @@ __metadata:
optional: true
bin:
next: dist/bin/next
checksum: 10/bfac0cbac41b36227ec91d3a0727561f73dfc35d6a78eafd0200528ef95fa2e9d2dba5a8c8922864b4f4e4321ae6a07c6cf8f5766ac3192ad03e68516c3a458a
checksum: 10/a722076d0d081a204c8cb73ff27f568a5e3b6470c936208f59589e7bf55be89eb5061c7ccb77fde1f427f8b90589c145ad5f07d2901b26b4295e27d130732346
languageName: node
linkType: hard

Expand Down Expand Up @@ -16620,7 +16630,7 @@ __metadata:
jest: "npm:30.2.0"
jest-environment-jsdom: "npm:30.2.0"
mocha-junit-reporter: "npm:2.2.1"
next: "npm:15.5.7"
next: "npm:16.1.1"
next-test-api-route-handler: "npm:5.0.3"
npm-run-all2: "npm:8.0.4"
sharp: "npm:0.34.4"
Expand Down