Skip to content

Commit

Permalink
chore: align monorepo dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristiaanScheermeijer committed Dec 2, 2024
1 parent f96943d commit bc10616
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 23 deletions.
2 changes: 2 additions & 0 deletions knip.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ const config: KnipConfig = {
entry: ['src/**/*'],
ignoreDependencies: [
'sass', // Used in css
'postcss-config-jwp', // Used in postcss.config
],
},
'platforms/web': {
Expand All @@ -31,6 +32,7 @@ const config: KnipConfig = {
'@codeceptjs/configure', // Used in e2e tests
'@babel/plugin-proposal-decorators', // Used to build with decorators for ioc resolution
'@babel/core', // Required peer dependency for babel plugins
'@jwp/ott-testing', // Used in e2e testing
'@types/luxon', // Used in tests
'babel-plugin-transform-typescript-metadata', // Used to build with decorators for ioc resolution
'core-js', // Conditionally imported at build time
Expand Down
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"@types/node": "^22.10.1",
"csv-parse": "^5.5.6",
"eslint": "^8.57.0",
"eslint-config-jwp": "*",
"husky": "^6.0.0",
"i18next-parser-workspaces": "^0.2.0",
"knip": "^5.30.1",
Expand All @@ -53,9 +54,6 @@
"typescript": "5.7.2",
"vitest": "^2.1.6"
},
"peerDependencies": {
"eslint-config-jwp": "*"
},
"resolutions": {
"codeceptjs/**/fast-xml-parser": "^4.5.0",
"micromatch": ">=4.0.8",
Expand Down
7 changes: 2 additions & 5 deletions packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,13 @@
"zustand": "^4.5.5"
},
"devDependencies": {
"@jwp/ott-testing": "*",
"@types/ini": "^1.3.34",
"@types/lodash.merge": "^4.6.9",
"eslint-config-jwp": "*",
"jsdom": "^22.1.0",
"timezone-mock": "^1.3.6",
"vi-fetch": "^0.8.0",
"vitest": "^2.1.6"
},
"peerDependencies": {
"@jwp/ott-testing": "*",
"@jwp/ott-theme": "*",
"eslint-config-jwp": "*"
}
}
8 changes: 3 additions & 5 deletions packages/hooks-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"test-watch": "TZ=UTC LC_ALL=en_US.UTF-8 vitest"
},
"dependencies": {
"@jwp/ott-common": "*",
"date-fns": "^4.1.0",
"i18next": "^24.0.2",
"planby": "^0.3.0",
Expand All @@ -20,15 +21,12 @@
"yup": "^1.4.0"
},
"devDependencies": {
"@jwp/ott-testing": "*",
"@testing-library/react": "^14.3.1",
"@types/jwplayer": "^8.31.1",
"eslint-config-jwp": "*",
"jsdom": "^22.1.0",
"vi-fetch": "^0.8.0",
"vitest": "^2.1.6"
},
"peerDependencies": {
"@jwp/ott-common": "*",
"@jwp/ott-testing": "*",
"eslint-config-jwp": "*"
}
}
14 changes: 6 additions & 8 deletions packages/ui-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
},
"dependencies": {
"@adyen/adyen-web": "^5.68.1",
"@jwp/ott-common": "*",
"@jwp/ott-hooks-react": "*",
"@jwp/ott-theme": "*",
"@videodock/tile-slider": "^2.0.0",
"classnames": "^2.5.1",
"date-fns": "^4.1.0",
Expand All @@ -33,6 +36,7 @@
"yup": "^1.4.0"
},
"devDependencies": {
"@jwp/ott-testing": "*",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^14.3.1",
"@types/dompurify": "^3.0.5",
Expand All @@ -41,21 +45,15 @@
"@types/react-google-recaptcha": "^2.1.9",
"@types/react-infinite-scroller": "^1.2.5",
"@vitejs/plugin-react": "^4.3.1",
"eslint-config-jwp": "*",
"jsdom": "^22.1.0",
"postcss-config-jwp": "*",
"sass": "^1.77.6",
"typescript-plugin-css-modules": "^5.1.0",
"vi-fetch": "^0.8.0",
"vite-plugin-svgr": "^4.2.0",
"vitest": "^2.1.6",
"vitest-axe": "^1.0.0-pre.3",
"wicg-inert": "^3.1.3"
},
"peerDependencies": {
"@jwp/ott-common": "*",
"@jwp/ott-hooks-react": "*",
"@jwp/ott-testing": "*",
"@jwp/ott-theme": "*",
"eslint-config-jwp": "*",
"postcss-config-jwp": "*"
}
}
3 changes: 1 addition & 2 deletions platforms/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@
"@codeceptjs/allure-legacy": "^1.0.2",
"@jwp/ott-common": "*",
"@jwp/ott-hooks-react": "*",
"@jwp/ott-testing": "*",
"@jwp/ott-theme": "*",
"@jwp/ott-ui-react": "*",
"broadcast-channel": "^7.0.0",
"i18next": "^24.0.2",
Expand All @@ -48,6 +46,7 @@
"@babel/core": "^7.24.7",
"@babel/plugin-proposal-decorators": "^7.24.7",
"@codeceptjs/configure": "^0.8.0",
"@jwp/ott-testing": "*",
"@testing-library/jest-dom": "^6.4.6",
"@types/jwplayer": "^8.31.1",
"@types/luxon": "^3.4.2",
Expand Down

0 comments on commit bc10616

Please sign in to comment.