Skip to content

Commit

Permalink
chore: remove unused dependencies (#4825)
Browse files Browse the repository at this point in the history
KIT-282

It happened quite a few time during a renovate update that I had trouble
with a dependency that turned out to not even be used in the repo...
This PR cleans up most of those.
  • Loading branch information
alexprudhomme authored Jan 10, 2025
1 parent 119c611 commit 5b3a877
Show file tree
Hide file tree
Showing 15 changed files with 144 additions and 2,987 deletions.
3,070 changes: 141 additions & 2,929 deletions package-lock.json

Large diffs are not rendered by default.

18 changes: 0 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,33 +36,20 @@
"@coveo/release": "1.0.0",
"@cspell/dict-fr-fr": "2.2.5",
"@cspell/eslint-plugin": "8.17.1",
"@nx/js": "20.3.0",
"@nx/storybook": "20.3.0",
"@nx/vite": "20.3.0",
"@nx/web": "20.3.0",
"@octokit/rest": "21.0.2",
"@rollup/plugin-typescript": "12.1.2",
"@storybook/addon-essentials": "8.1.11",
"@storybook/addon-interactions": "8.1.11",
"@storybook/core-server": "8.1.11",
"@storybook/test-runner": "0.19.0",
"@storybook/testing-library": "0.2.2",
"@storybook/web-components-vite": "8.1.11",
"@trivago/prettier-plugin-sort-imports": "5.2.0",
"@tsconfig/node20": "20.1.4",
"@types/execa": "2.0.2",
"@types/jest": "29.5.14",
"@types/node": "22.10.2",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"@whitespace/storybook-addon-html": "6.1.1",
"aws-sdk": "2.1692.0",
"commitizen": "4.3.1",
"concurrently": "9.1.2",
"cross-fetch": "4.1.0",
"cspell": "8.17.1",
"cz-conventional-changelog": "3.3.0",
"detect-indent": "7.0.1",
"esbuild": "0.24.2",
"esbuild-plugin-alias": "0.2.1",
"esbuild-plugin-umd-wrapper": "3.0.0",
Expand All @@ -71,22 +58,17 @@
"eslint-plugin-cypress": "2.15.2",
"eslint-plugin-package-lock": "1.0.0",
"execa": "9.5.2",
"exponential-backoff": "3.1.1",
"glob": "11.0.0",
"gts": "5.3.1",
"husky": "9.1.7",
"lint-staged": "15.3.0",
"lit": "3.2.1",
"nx": "20.3.0",
"patch-package": "8.0.0",
"prettier": "3.4.2",
"prettier-plugin-tailwindcss": "0.6.9",
"publint": "0.2.12",
"react-syntax-highlighter": "15.5.0",
"rimraf": "6.0.1",
"semver": "7.6.3",
"ts-node": "10.9.2",
"tslib": "2.8.1",
"typescript": "5.5.4",
"vite": "5.4.11"
},
Expand Down
7 changes: 0 additions & 7 deletions packages/atomic-angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,6 @@
"@angular/compiler-cli": "18.2.13",
"@coveo/headless": "3.13.0",
"@types/node": "22.10.2",
"jasmine-core": "5.5.0",
"karma": "6.4.4",
"karma-chrome-launcher": "3.2.0",
"karma-coverage": "2.2.1",
"karma-jasmine": "5.1.0",
"karma-jasmine-html-reporter": "2.1.0",
"ncp": "2.0.0",
"ng-packagr": "18.2.1",
"typescript": "5.5.4"
},
Expand Down
3 changes: 1 addition & 2 deletions packages/atomic-angular/projects/atomic-angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
"@coveo/headless": "3.13.0"
},
"dependencies": {
"@coveo/atomic": "3.13.0",
"tslib": "2.8.1"
"@coveo/atomic": "3.13.0"
},
"engines": {
"node": "^20.9.0 || ^22.11.0"
Expand Down
3 changes: 0 additions & 3 deletions packages/atomic-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,12 @@
},
"devDependencies": {
"@coveo/release": "1.0.0",
"@rollup/plugin-commonjs": "28.0.2",
"@rollup/plugin-node-resolve": "16.0.0",
"@rollup/plugin-terser": "0.4.4",
"@rollup/plugin-typescript": "12.1.2",
"@types/node": "22.10.2",
"@types/react": "18.3.3",
"@types/react-dom": "18.3.0",
"fix-esm-import-path": "1.10.1",
"ncp": "2.0.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"rollup": "4.29.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// eslint-disable-next-line n/no-extraneous-import
import {pickBy} from 'lodash';
import {
generateComponentHTML,
Expand Down
11 changes: 0 additions & 11 deletions packages/atomic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,10 @@
},
"devDependencies": {
"@axe-core/playwright": "4.10.1",
"@babel/core": "7.26.0",
"@coveo/atomic-storybook-utils": "file:./storybookUtils",
"@coveo/release": "1.0.0",
"@custom-elements-manifest/analyzer": "0.10.4",
"@nx/js": "20.3.0",
"@nx/storybook": "20.3.0",
"@nx/vite": "20.3.0",
"@nx/web": "20.3.0",
"@playwright/test": "1.49.1",
"@rollup/plugin-alias": "5.1.1",
"@rollup/plugin-replace": "6.0.2",
Expand All @@ -101,12 +97,9 @@
"@storybook/addon-essentials": "8.1.11",
"@storybook/addon-interactions": "8.1.11",
"@storybook/core-events": "8.1.11",
"@storybook/core-server": "8.1.11",
"@storybook/manager-api": "8.1.11",
"@storybook/router": "8.1.11",
"@storybook/test": "8.1.11",
"@storybook/test-runner": "0.19.0",
"@storybook/testing-library": "0.2.2",
"@storybook/web-components": "8.1.11",
"@storybook/web-components-vite": "8.1.11",
"@types/core-js": "2.5.8",
Expand All @@ -131,9 +124,7 @@
"lit": "3.2.1",
"lit-html": "3.2.1",
"local-web-server": "5.4.0",
"lodash": "4.17.21",
"natural-orderby": "5.0.0",
"ncp": "2.0.0",
"postcss-focus-visible": "10.0.1",
"postcss-import": "16.1.0",
"postcss-map": "0.11.0",
Expand All @@ -147,10 +138,8 @@
"storybook": "8.1.2",
"tailwindcss": "3.4.17",
"ts-node": "10.9.2",
"tslib": "2.8.1",
"typescript": "5.5.4",
"vite": "5.4.11",
"vite-plugin-cem": "0.8.1",
"wait-on": "8.0.1"
},
"peerDependencies": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import {FunctionalComponent, h} from '@stencil/core';
import _ from 'lodash';

export const NoItemsContainer: FunctionalComponent = (_, children) => [
<div class="text-on-background flex h-full w-full flex-col items-center">
Expand Down
1 change: 0 additions & 1 deletion packages/headless/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@
"esbuild-plugin-alias-path": "2.0.2",
"eslint-plugin-canonical": "4.18.0",
"execa": "9.5.2",
"install": "0.13.0",
"ts-node": "10.9.2",
"typedoc": "0.27.6",
"vitest": "2.1.8"
Expand Down
4 changes: 0 additions & 4 deletions packages/quantic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,10 @@
"@ckeditor/jsdoc-plugins": "43.0.1",
"@coveo/relay-event-types": "13.0.0",
"@coveo/release": "1.0.0",
"@lwc/compiler": "5.3.0",
"@lwc/eslint-plugin-lwc": "1.9.0",
"@octokit/graphql": "8.1.1",
"@octokit/graphql-schema": "15.25.0",
"@playwright/test": "1.49.1",
"@salesforce/eslint-config-lwc": "3.6.0",
"@salesforce/eslint-plugin-lightning": "1.0.0",
"@salesforce/sfdx-lwc-jest": "5.1.0",
"@types/node": "22.10.2",
"@types/strip-color": "0.1.2",
Expand All @@ -82,7 +79,6 @@
"cypress-real-events": "1.13.0",
"cypress-repeat": "2.3.8",
"dotenv": "16.4.7",
"eslint-plugin-jest": "28.10.0",
"jest": "29.7.0",
"jest-junit": "16.0.0",
"jsdoc": "4.0.4",
Expand Down
3 changes: 0 additions & 3 deletions packages/samples/angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"@angular/router": "18.2.13",
"@coveo/atomic-angular": "3.2.9",
"rxjs": "7.8.1",
"tslib": "2.8.1",
"zone.js": "0.15.0"
},
"devDependencies": {
Expand All @@ -32,8 +31,6 @@
"@types/node": "22.10.2",
"@typescript-eslint/eslint-plugin": "7.18.0",
"gts": "5.3.1",
"jest": "29.7.0",
"ncp": "2.0.0",
"typescript": "5.5.4"
}
}
2 changes: 1 addition & 1 deletion packages/samples/headless-commerce-ssr-remix/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"@remix-run/dev": "2.15.2",
"@types/react": "18.3.3",
"@types/react-dom": "18.3.0",
"autoprefixer": "10.4.20",
"typescript": "5.5.4",
"vite": "5.4.11",
"vite-tsconfig-paths": "5.1.4"
}
}
1 change: 0 additions & 1 deletion packages/samples/headless-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
"cypress": "13.6.6",
"cypress-repeat": "2.3.8",
"gts": "5.3.1",
"patch-package": "6.4.7",
"vite": "5.4.11",
"vitest": "2.1.8"
}
Expand Down
1 change: 0 additions & 1 deletion packages/samples/vuejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"@vitejs/plugin-vue": "5.2.1",
"typescript": "5.5.4",
"vite": "5.4.11",
"vue-tsc": "2.2.0",
"cypress": "13.6.6",
"cypress-repeat": "2.3.8",
"ncp": "2.0.0"
Expand Down
5 changes: 0 additions & 5 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,5 @@
"extends": "@tsconfig/node20/tsconfig.json",
"compilerOptions": {
"skipLibCheck": true
},
"ts-node": {
"compilerOptions": {
"module": "commonjs"
}
}
}

0 comments on commit 5b3a877

Please sign in to comment.