Skip to content

Commit

Permalink
Remove unused dependencies from Demo (#2815)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyomair authored Nov 26, 2024
1 parent eb65ef1 commit f5f861e
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 967 deletions.
32 changes: 1 addition & 31 deletions demo/admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,49 +41,27 @@
"@mui/x-data-grid": "^5.15.2",
"@mui/x-data-grid-pro": "^5.15.2",
"change-case": "^5.2.0",
"date-fns": "^2.0.0",
"dnd-core": "^16.0.0",
"draft-js": "^0.11.0",
"exceljs": "^3.0.0",
"file-saver": "^2.0.0",
"final-form": "^4.0.0",
"final-form-set-field-touched": "^1.0.0",
"graphql": "^15.0.0",
"graphql-tag": "^2.0.0",
"history": "^4.0.0",
"immutable": "~3.7.6",
"lodash.clonedeep": "^4.0.0",
"lodash.escaperegexp": "^4.0.0",
"lodash.isequal": "^4.0.0",
"lodash.merge": "^4.0.0",
"lodash.unset": "^4.0.0",
"material-design-icons": "^3.0.0",
"prop-types": "^15.7.2",
"query-string": "^7.1.1",
"rdndmb-html5-to-touch": "^8.0.3",
"react": "^17.0.2",
"react-app-polyfill": "^1.0.0",
"react-copy-to-clipboard": "^5.0.0",
"react-dnd": "^16.0.0",
"react-dnd-multi-backend": "^8.0.3",
"react-dom": "^17.0.2",
"react-dropzone": "^14.0.0",
"react-final-form": "^6.0.0",
"react-hotkeys-hook": "^3.0.0",
"react-image-crop": "^8.0.0",
"react-intl": "^6.0.0",
"react-is": "^17.0.2",
"react-router": "^5.0.0",
"react-router-dom": "^5.0.0",
"react-select": "^3.0.0",
"react-virtualized-auto-sizer": "^1.0.0",
"react-window": "^1.0.0",
"react-xml-viewer": "^1.0.0",
"slugify": "^1.0.0",
"typeface-open-sans": "^0.0.75",
"use-debounce": "^6.0.0",
"uuid": "^9.0.0",
"zen-observable": "^0.8.0"
"uuid": "^9.0.0"
},
"devDependencies": {
"@comet/cli": "workspace:*",
Expand All @@ -98,24 +76,17 @@
"@graphql-codegen/near-operation-file-preset": "^2.5.0",
"@graphql-codegen/typescript": "^2.0.0",
"@graphql-codegen/typescript-operations": "^2.0.0",
"@ory/hydra-client": "^1.0.0",
"@swc/plugin-emotion": "^2.5.120",
"@types/draft-js": "^0.11.10",
"@types/final-form-set-field-touched": "^1.0.0",
"@types/lodash.escaperegexp": "^4.0.0",
"@types/lodash.isequal": "^4.0.0",
"@types/lodash.merge": "^4.0.0",
"@types/node": "^22.0.0",
"@types/react": "^17.0.0",
"@types/react-copy-to-clipboard": "^5.0.0",
"@types/react-dom": "^17.0.0",
"@types/react-image-crop": "^8.0.0",
"@types/react-is": "^17.0.0",
"@types/react-router": "^5.0.0",
"@types/react-router-dom": "^5.0.0",
"@types/react-select": "^3.0.0",
"@types/uuid": "^7.0.0",
"@types/zen-observable": "^0.8.0",
"@vitejs/plugin-react-swc": "^3.6.0",
"chokidar-cli": "^2.0.0",
"cosmiconfig-toml-loader": "^1.0.0",
Expand All @@ -124,7 +95,6 @@
"eslint-plugin-graphql": "^4.0.0",
"kill-port": "^2.0.1",
"npm-run-all": "^4.1.5",
"pascal-case": "^3.0.0",
"prettier": "^2.0.0",
"ts-node": "^10.0.0",
"typescript": "^4.0.0",
Expand Down
2 changes: 0 additions & 2 deletions demo/admin/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import "@fontsource-variable/roboto-flex/full.css";
import "material-design-icons/iconfont/material-icons.css";
import "typeface-open-sans";
import "@src/polyfills";

import { ApolloProvider } from "@apollo/client";
Expand Down
2 changes: 0 additions & 2 deletions demo/admin/src/vendors.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,3 @@ declare module "*.jpg" {
const content: any;
export = content;
}

declare module "react-xml-viewer";
17 changes: 0 additions & 17 deletions demo/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
},
"dependencies": {
"@comet/cms-api": "workspace:*",
"@hapi/accept": "^5.0.0",
"@kubernetes/client-node": "^0.18.0",
"@mikro-orm/cli": "^5.9.8",
"@mikro-orm/core": "^5.9.8",
Expand All @@ -49,34 +48,22 @@
"@sentry/node": "^7.118.0",
"apollo-server-core": "^3.0.0",
"apollo-server-express": "^3.0.0",
"async": "^3.0.0",
"base64url": "^3.0.0",
"class-transformer": "^0.5.0",
"class-validator": "0.13.2",
"commander": "^8.0.0",
"compression": "^1.0.0",
"cookie-parser": "^1.0.0",
"elastic-apm-node": "^3.0.0",
"exifr": "^6.0.0",
"express": "^4.17.1",
"faker": "^5.0.0",
"file-type": "^16.0.0",
"graphql": "^15.0.0",
"graphql-scalars": "^1.23.0",
"hasha": "^5.0.0",
"helmet": "^4.6.0",
"image-size": "^0.9.0",
"mime": "^2.0.0",
"multer": "^1.0.0",
"nestjs-console": "^8.0.0",
"node-fetch": "^2.0.0",
"passport": "^0.4.0",
"reflect-metadata": "^0.1.13",
"response-time": "^2.3.2",
"rimraf": "^3.0.0",
"rxjs": "^7.0.0",
"slugify": "^1.0.0",
"ts-morph": "^16.0.0",
"uuid": "^9.0.0",
"webpack": "^5.64.2"
},
Expand All @@ -85,17 +72,13 @@
"@nestjs/cli": "^9.0.0",
"@nestjs/schematics": "^9.0.0",
"@nestjs/testing": "^9.0.0",
"@types/async": "^3.0.0",
"@types/compression": "^1.0.0",
"@types/cookie-parser": "^1.0.0",
"@types/draft-js": "^0.11.10",
"@types/express": "^4.0.0",
"@types/faker": "^5.0.0",
"@types/mime": "^2.0.0",
"@types/multer": "^1.0.0",
"@types/node": "^22.0.0",
"@types/passport": "^1.0.0",
"@types/pg": "^8.0.0",
"@types/response-time": "^2.3.8",
"@types/rimraf": "^3.0.0",
"@types/uuid": "^8.0.0",
Expand Down
11 changes: 1 addition & 10 deletions demo/site-pages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,30 +27,23 @@
"dependencies": {
"@comet/cms-site": "workspace:*",
"@formatjs/cli": "^6.0.0",
"@googlemaps/js-api-loader": "^1.0.0",
"@googlemaps/markerclustererplus": "^1.0.0",
"@opentelemetry/api": "^1.9.0",
"@opentelemetry/auto-instrumentations-node": "^0.50.0",
"@opentelemetry/core": "^1.26.0",
"@opentelemetry/exporter-trace-otlp-http": "^0.53.0",
"@opentelemetry/sdk-node": "^0.53.0",
"babel-plugin-styled-components": "^1.0.0",
"express": "^4.0.0",
"fs-extra": "^9.0.0",
"graphql": "^15.0.0",
"graphql-request": "^3.0.0",
"graphql-tag": "^2.12.6",
"next": "^14.2.12",
"pure-react-carousel": "^1.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-intl": "^6.0.0",
"react-is": "^17.0.2",
"redraft": "^0.10.0",
"sitemap": "^6.0.0",
"styled-components": "^6.1.8",
"swiper": "^6.0.0",
"ts-node": "^10.0.0"
"styled-components": "^6.1.8"
},
"devDependencies": {
"@babel/core": "^7.0.0",
Expand All @@ -63,11 +56,9 @@
"@graphql-codegen/typescript": "^2.0.0",
"@graphql-codegen/typescript-operations": "^2.0.0",
"@types/fs-extra": "^9.0.0",
"@types/google.maps": "^3.0.0",
"@types/node": "^22.0.0",
"@types/react": "^18.2.66",
"@types/react-dom": "^18.2.22",
"@types/react-is": "^17.0.0",
"chokidar-cli": "^2.0.0",
"cosmiconfig-toml-loader": "^1.0.0",
"dotenv-cli": "^4.0.0",
Expand Down
15 changes: 1 addition & 14 deletions demo/site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
"dependencies": {
"@comet/cms-site": "workspace:*",
"@formatjs/cli": "^6.0.0",
"@googlemaps/js-api-loader": "^1.0.0",
"@googlemaps/markerclustererplus": "^1.0.0",
"@next/bundle-analyzer": "^14.2.12",
"@opentelemetry/api": "^1.9.0",
"@opentelemetry/auto-instrumentations-node": "^0.50.0",
Expand All @@ -33,22 +31,15 @@
"@opentelemetry/sdk-node": "^0.53.0",
"cache-manager": "^5.5.3",
"express": "^4.0.0",
"fs-extra": "^9.0.0",
"graphql": "^15.0.0",
"graphql-tag": "^2.12.6",
"ioredis": "^5.4.1",
"lru-cache": "^11.0.1",
"next": "^14.2.12",
"pure-react-carousel": "^1.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-intl": "^6.0.0",
"react-is": "^17.0.2",
"react-select": "^5.8.0",
"redraft": "^0.10.0",
"styled-components": "^6.1.8",
"swiper": "^6.0.0",
"ts-node": "^10.0.0"
"styled-components": "^6.1.8"
},
"devDependencies": {
"@babel/core": "^7.0.0",
Expand All @@ -60,13 +51,9 @@
"@graphql-codegen/near-operation-file-preset": "^2.5.0",
"@graphql-codegen/typescript": "^2.0.0",
"@graphql-codegen/typescript-operations": "^2.0.0",
"@types/fs-extra": "^9.0.0",
"@types/google.maps": "^3.0.0",
"@types/node": "^22.0.0",
"@types/react": "^18.2.66",
"@types/react-dom": "^18.2.22",
"@types/react-is": "^17.0.0",
"@types/react-select": "^4.0.0",
"chokidar-cli": "^2.0.0",
"cosmiconfig-toml-loader": "^1.0.0",
"dotenv-cli": "^4.0.0",
Expand Down
Loading

0 comments on commit f5f861e

Please sign in to comment.