Merged in chore/fix-dependencies (pull request #3470)

chore: Cleanup dependencies

* Move dotenv to root

* update knip config

* Fix more deps

* More dep updates

* more

* more dep updates

* Fix deps

* Fix generate


Approved-by: Linus Flood
This commit is contained in:
Anton Gunnarsson
2026-01-21 15:03:52 +00:00
parent 510653f2ee
commit 993f6c4377
12 changed files with 85 additions and 275 deletions

View File

@@ -62,14 +62,12 @@
"immer": "^10.1.3",
"json-stable-stringify-without-jsonify": "^1.0.1",
"libphonenumber-js": "^1.12.15",
"motion": "^12.10.0",
"nuqs": "2.4.3",
"react-aria": "^3.39.0",
"react-aria-components": "1.8.0",
"react-day-picker": "^9.6.7",
"react-hook-form": "^7.56.2",
"react-intl": "^7.1.11",
"react-to-print": "^3.1.0",
"server-only": "^0.0.1",
"usehooks-ts": "3.1.1",
"zustand": "^4.5.2"
@@ -80,17 +78,11 @@
"react": "^19"
},
"devDependencies": {
"@eslint/compat": "^1.2.9",
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.26.0",
"@scandic-hotels/typescript-config": "workspace:*",
"@t3-oss/env-nextjs": "^0.13.4",
"@types/react": "19.2.7",
"@typescript-eslint/eslint-plugin": "^8.32.0",
"@typescript-eslint/parser": "^8.32.0",
"@vitest/coverage-v8": "^4.0.0",
"dotenv": "^16.5.0",
"eslint": "^9",
"eslint-config-next": "16.0.7",
"eslint-plugin-formatjs": "^5.3.1",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-simple-import-sort": "^12.1.1",

View File

@@ -74,23 +74,28 @@
"flat": "^6.0.1",
"libphonenumber-js": "^1.12.7",
"nanoid": "^5.1.5",
"server-only": "^0.0.1",
"usehooks-ts": "3.1.1",
"zod": "^3.24.4",
"zustand": "^4.5.2"
},
"peerDependencies": {
"react": "^19"
"@vis.gl/react-google-maps": "^1",
"dayjs": "^1",
"next": "^16",
"react": "^19",
"react-intl": "^7"
},
"devDependencies": {
"@eslint/compat": "^1.2.9",
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.26.0",
"@scandic-hotels/typescript-config": "workspace:*",
"@typescript-eslint/eslint-plugin": "^8.32.0",
"@typescript-eslint/parser": "^8.32.0",
"dotenv": "^16.5.0",
"eslint": "^9",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"react-intl": "^7",
"typescript": "5.8.3",
"vitest": "^4.0.0"
},

View File

@@ -226,7 +226,8 @@
"dependencies": {
"@material-symbols/svg-400": "0.40.2",
"@scandic-hotels/common": "workspace:*",
"sonner": "^2.0.3"
"sonner": "^2.0.3",
"class-variance-authority": "^0.7.1"
},
"peerDependencies": {
"@babel/core": "^7.27.4",
@@ -257,7 +258,6 @@
"@testing-library/dom": "^10.4.0",
"@testing-library/react": "^16.1.0",
"@testing-library/user-event": "^14.5.2",
"@types/css-modules": "^1.0.5",
"@types/node": "^20.17.17",
"@types/react": "19.2.7",
"@types/react-dom": "19.2.3",
@@ -267,7 +267,6 @@
"@vitest/browser": "^4.0.0",
"@vitest/browser-playwright": "^4.0.0",
"babel-plugin-formatjs": "^10.5.10",
"class-variance-authority": "^0.7.1",
"colord": "^2.9.3",
"copy-to-clipboard": "^3.3.3",
"deepmerge-ts": "^7.1.5",
@@ -280,9 +279,7 @@
"eslint-plugin-storybook": "^10.0.8",
"glob": "^11.0.2",
"globals": "^16.1.0",
"husky": "^9.1.7",
"jiti": "^1.21.0",
"lint-staged": "^15.5.2",
"motion": "^12.10.0",
"playwright": "^1.54.2",
"react": "^19.1.0",
@@ -296,7 +293,6 @@
"vite-plugin-dts": "^4.5.4",
"vite-plugin-lib-inject-css": "^2.2.2",
"vitest": "^4.0.0",
"vitest-browser-react": "^1.0.1",
"zod": "^3.24.1"
}
}

View File

@@ -21,16 +21,18 @@
"@scandic-hotels/trpc": "workspace:*"
},
"peerDependencies": {
"react": "^19"
"date-fns": "^4",
"next": "^16",
"next-auth": "5.0.0-beta.29",
"react": "^19",
"react-hook-form": "^7"
},
"devDependencies": {
"@eslint/compat": "^1.2.9",
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.26.0",
"@scandic-hotels/typescript-config": "workspace:*",
"@typescript-eslint/eslint-plugin": "^8.32.0",
"@typescript-eslint/parser": "^8.32.0",
"dotenv": "^16.5.0",
"eslint": "^9",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-simple-import-sort": "^12.1.1",

View File

@@ -52,6 +52,7 @@
"@trpc/server": "^11.1.2",
"dayjs": "^1.11.13",
"deepmerge": "^4.3.1",
"flat": "^6.0.1",
"fuse.js": "^7.1.0",
"graphql": "^16.11.0",
"graphql-request": "^7.1.2",
@@ -72,7 +73,6 @@
"react": "^19"
},
"devDependencies": {
"@eslint/compat": "^1.2.9",
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.26.0",
"@scandic-hotels/typescript-config": "workspace:*",
@@ -80,10 +80,10 @@
"@typescript-eslint/eslint-plugin": "^8.32.0",
"@typescript-eslint/parser": "^8.32.0",
"@typescript/native-preview": "^7.0.0-dev.20251104.1",
"dotenv": "^16.5.0",
"eslint": "^9",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"fast-glob": "^3.3.3",
"typescript": "5.8.3",
"vitest": "^4.0.0"
}