chore: disable nextjs telemetry (#2517)

Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>
This commit is contained in:
Ludovic Ortega
2026-02-20 11:27:50 +01:00
committed by GitHub
parent 880fbc902d
commit cecdd63108
3 changed files with 9 additions and 1 deletions

View File

@@ -2,6 +2,7 @@
.next/
dist/
config/
cache/config.json
pnpm-lock.yaml
cypress/config/settings.cypress.json
.github
@@ -17,4 +18,4 @@ public/*
**/charts
# Prettier breaks GitHub alert syntax in markdown
*.md
*.md

View File

@@ -33,5 +33,11 @@ module.exports = {
rangeEnd: 0,
},
},
{
files: 'cache/config.json',
options: {
rangeEnd: 0, // default: Infinity
},
},
],
};

View File

@@ -5,6 +5,7 @@
"packageManager": "pnpm@10.24.0",
"scripts": {
"preinstall": "npx only-allow pnpm",
"postinstall": "next telemetry disable",
"dev": "nodemon -e ts --watch server --watch seerr-api.yml -e .json,.ts,.yml -x ts-node -r tsconfig-paths/register --files --project server/tsconfig.json server/index.ts",
"build:server": "tsc --project server/tsconfig.json && copyfiles -u 2 server/templates/**/*.{html,pug} dist/templates && tsc-alias -p server/tsconfig.json",
"build:next": "next build",