The `Default language` E2E test detected the browser language was not automatically detected when user does not have any cookie, it was always falling back on the defaut language (en).
69 lines
2.0 KiB
JSON
69 lines
2.0 KiB
JSON
{
|
|
"name": "app-desk",
|
|
"version": "1.16.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "prettier --check . && yarn stylelint && next build",
|
|
"build:ci": "cp .env.development .env.local && yarn build",
|
|
"build-theme": "cunningham -g css,ts -o src/cunningham --utility-classes",
|
|
"start": "npx -y serve@latest out",
|
|
"lint": "tsc --noEmit && next lint",
|
|
"prettier": "prettier --write .",
|
|
"stylelint": "stylelint \"**/*.css\"",
|
|
"test": "jest",
|
|
"test:watch": "jest --watch"
|
|
},
|
|
"dependencies": {
|
|
"@gouvfr-lasuite/integration": "1.0.2",
|
|
"@gouvfr-lasuite/ui-kit": "^0.4.1",
|
|
"@hookform/resolvers": "4.0.0",
|
|
"@openfun/cunningham-react": "3.0.0",
|
|
"@tanstack/react-query": "5.72.1",
|
|
"i18next": "24.2.3",
|
|
"i18next-browser-languagedetector": "8.1.0",
|
|
"lodash": "4.17.21",
|
|
"luxon": "3.6.1",
|
|
"next": "15.2.5",
|
|
"react": "*",
|
|
"react-dom": "*",
|
|
"react-hook-form": "7.55.0",
|
|
"react-i18next": "15.4.1",
|
|
"react-select": "5.10.1",
|
|
"sass": "1.86.3",
|
|
"styled-components": "6.1.17",
|
|
"zod": "3.24.2",
|
|
"zustand": "5.0.3"
|
|
},
|
|
"devDependencies": {
|
|
"@hookform/devtools": "4.4.0",
|
|
"@svgr/webpack": "8.1.0",
|
|
"@tanstack/react-query-devtools": "5.72.1",
|
|
"@testing-library/dom": "10.4.0",
|
|
"@testing-library/jest-dom": "6.6.3",
|
|
"@testing-library/react": "16.3.0",
|
|
"@testing-library/user-event": "14.6.1",
|
|
"@types/jest": "29.5.14",
|
|
"@types/lodash": "4.17.16",
|
|
"@types/luxon": "3.6.2",
|
|
"@types/node": "*",
|
|
"@types/react": "19.1.0",
|
|
"@types/react-dom": "*",
|
|
"dotenv": "16.4.7",
|
|
"eslint-config-people": "*",
|
|
"fetch-mock": "9.11.0",
|
|
"jest": "29.7.0",
|
|
"jest-environment-jsdom": "29.7.0",
|
|
"node-fetch": "2.7.0",
|
|
"prettier": "3.5.3",
|
|
"stylelint": "16.18.0",
|
|
"stylelint-config-standard": "38.0.0",
|
|
"stylelint-prettier": "5.0.3",
|
|
"typescript": "*"
|
|
},
|
|
"resolutions": {
|
|
"react": "19.0.0",
|
|
"react-dom": "19.0.0"
|
|
}
|
|
}
|