Skip to content

Commit

Permalink
server: massive dependency cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
m0ar committed Mar 21, 2024
1 parent fc0c588 commit 587938e
Show file tree
Hide file tree
Showing 6 changed files with 632 additions and 5,438 deletions.
15 changes: 15 additions & 0 deletions desci-server/.npmcheckrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

#
depcheck:
ignoreMatches:
# use is not detected properly
- "crypto"
# used in scripts
- "kill-port"
- "pretty-quick"
- "@commitlint/*"
# used implicitly
- "@opentelemetry/*"
- "@honeycombio/*"
- "pino-pretty"
- "eslint-plugin-*"
37 changes: 2 additions & 35 deletions desci-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,21 +46,19 @@
"docker:stage": "docker-compose --file docker-compose.yml --file docker-compose.stage.yml --compatibility up --build",
"docker:prod": "../dockerProd.sh",
"podman:dev": "podman-compose --file docker-compose.yml --file docker-compose.dev.yml up --build",
"email-dev": "email dev --dir ./src/templates/emails --port 3777"
"email-dev": "email dev --dir ./src/templates/emails --port 3777",
"check-deps": "npx npm-check"
},
"dependencies": {
"@automerge/automerge": "2.1.10",
"@automerge/automerge-repo": "^1.0.19",
"@automerge/automerge-repo-network-websocket": "^1.0.19",
"@desci-labs/desci-models": "link:./desci-models",
"@gitcoinco/passport-sdk-reader": "^0.1.4",
"@honeycombio/opentelemetry-node": "^0.3.2",
"@ipld/dag-pb": "^4.0.0",
"@opentelemetry/api": "1.3.0",
"@opentelemetry/auto-instrumentations-node": "^0.37",
"@penseapp/discord-notification": "^2.0.9",
"@prisma/client": "4.10.1",
"@quixo3/prisma-session-store": "^3.1.0",
"@react-email/components": "0.0.15",
"@sendgrid/mail": "^7.7.0",
"@sentry/node": "^7.12.0",
Expand All @@ -69,44 +67,33 @@
"@types/mkdirp": "^1.0.2",
"@types/multer": "^1.4.7",
"@types/tar": "^6.1.3",
"@types/yazl": "^2.4.2",
"archiver": "^5.3.1",
"arweave": "^1.10.18",
"aws-sdk": "^2.1186.0",
"axios": "^1.3.5",
"bcryptjs": "^2.4.3",
"cids": "^1.1.9",
"concurrently": "^8.2.0",
"cookie-parser": "^1.4.5",
"cors": "^2.8.5",
"crypto": "^1.0.1",
"ethers": "^5.6.9",
"express": "^4.17.1",
"form-data": "^4.0.0",
"google-protobuf": "^3.20.0-rc.2",
"googleapis": "^133.0.0",
"helmet": "^4.6.0",
"http-proxy-middleware": "3.0.0-beta.0",
"ipfs-http-client": "56.0.2",
"ipfs-unixfs": "^11.1.3",
"ipfs-utils": "9.0.6",
"jsonwebtoken": "^8.5.1",
"kill-port": "^2.0.1",
"kubo-rpc-client": "^3.0.4",
"lodash-es": "^4.17.21",
"mkdirp": "^1.0.4",
"morgan": "^1.10.0",
"multer": "^1.4.5-lts.1",
"multer-s3": "^3.0.1",
"multiformats": "^13.1.0",
"multihashes": "^4.0.3",
"nebulus": "^0.0.5",
"node-latex": "^3.1.0",
"pino": "^8.14.1",
"pino-http": "^8.3.3",
"pino-pretty": "^10.0.0",
"prisma": "4.10.1",
"promise-parallel-throttle": "^3.3.0",
"react-email": "2.1.0",
"redis": "^4.6.7",
"reflect-metadata": "^0.1.13",
Expand All @@ -115,68 +102,48 @@
"short-unique-id": "^4.4.4",
"siwe": "^1.1.6",
"tar": "^6.2.0",
"tar-stream": "^3.0.0",
"url-safe-base64": "1.2.0",
"uuid": "^8.3.2",
"validator": "^13.6.0",
"ws": "^8.15.0",
"yaml": "^1.10.2",
"yauzl": "^2.10.0",
"yazl": "^2.5.1",
"zip-a-folder": "^1.1.5",
"zlib": "^1.0.5",
"zod": "^3.22.4"
},
"devDependencies": {
"@babel/plugin-syntax-import-assertions": "^7.23.3",
"@commitlint/cli": "^13.1.0",
"@commitlint/config-conventional": "^13.1.0",
"@swc/cli": "^0.1.62",
"@swc/core": "^1.3.66",
"@swc/register": "^0.1.10",
"@swc/wasm": "^1.3.66",
"@types/archiver": "^6.0.2",
"@types/bcryptjs": "^2.4.2",
"@types/body-parser": "^1.19.1",
"@types/chai": "^4.2.21",
"@types/cookie-parser": "^1.4.2",
"@types/cors": "^2.8.12",
"@types/express": "^4.17.13",
"@types/express-session": "^1.17.4",
"@types/helmet": "4.0.0",
"@types/jsonwebtoken": "^8.5.4",
"@types/mocha": "^10.0.6",
"@types/morgan": "^1.9.3",
"@types/multer-s3": "^3.0.1",
"@types/node": "^20.10.4",
"@types/supertest": "^2.0.12",
"@types/validator": "^13.6.3",
"@types/ws": "^8.5.10",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"chai": "^4.3.4",
"chokidar": "^3.5.3",
"commitizen": "^4.2.4",
"copyfiles": "^2.4.1",
"dotenv": "^10.0.0",
"dotenv-cli": "^4.0.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-no-array-reduce": "^1.0.62",
"eslint-plugin-prettier": "^5.0.1",
"generic-pool": "^3.9.0",
"ipfs-core": "^0.15.4",
"lint-staged": "^11.1.2",
"mocha": "^10.2.0",
"nodemon": "^2.0.22",
"nyc": "^15.1.0",
"prettier": "^3.1.1",
"pretty-quick": "^3.1.1",
"prisma-dbml-generator": "^0.10.0",
"supertest": "^6.3.3",
"ts-node": "^10.9.2",
"ts-node-dev": "^1.1.8",
"typescript": "^5.0.0"
},
"lint-staged": {
Expand Down
Loading

0 comments on commit 587938e

Please sign in to comment.