Skip to content
Merged
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
4 changes: 1 addition & 3 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ nodeLinker: node-modules

npmAuditExcludePackages: []

npmAuditIgnoreAdvisories:
- 1111376 # https://github.com/advisories/GHSA-w37m-7fhw-fmv9
- 1111385 # https://github.com/advisories/GHSA-mwv6-3258-q52c
npmAuditIgnoreAdvisories: []

plugins:
- checksum: 5e73a1acbb9741fce1e8335e243c9480ea2107b9b4b65ed7643785ddea9e3019aee254a92a853b1cd71023b16fff5b7d3afd5256fe57cd35a54f8785b8c30281
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,7 @@
"@types/react": "19.2.6",
"js-yaml": "3.14.2",
"on-headers": "1.1.0",
"react-is": "19",
"sharp": "0.34.4"
"react-is": "19"
},
"dependencies": {
"@bbc/reverb-url-helper": "https://mybbc-analytics.files.bbci.co.uk/reverb-url-helper/bbc-reverb-url-helper-2.2.0.tgz",
Expand Down
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
20 changes: 10 additions & 10 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.9",
"sharp": "0.34.4"
"next": "16.1.1",
"sharp": "0.34.5"
}
}
Loading
Loading