Skip to content

Commit

Permalink
cleanup: prune unused packages with depcheck (#482)
Browse files Browse the repository at this point in the history
  • Loading branch information
lihebi authored Aug 28, 2023
1 parent 5815b40 commit bcc612b
Show file tree
Hide file tree
Showing 8 changed files with 41 additions and 9,039 deletions.
17 changes: 3 additions & 14 deletions apps/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"apollo-server-express": "3.10.2",
"bcryptjs": "^2.4.3",
"dockerode": "^3.3.1",
"express": "^4.18.2",
"google-auth-library": "^8.7.0",
"graphql": "16.6.0",
"jest": "^29.0.3",
Expand All @@ -32,32 +33,20 @@
"prisma": "4.3.1",
"prosemirror-model": "^1.19.3",
"prosemirror-view": "^1.31.7",
"reactflow": "^11.7.4",
"stompjs": "^2.3.3",
"uuid": "^9.0.0",
"ws": "^8.2.3",
"y-prosemirror": "^1.2.1",
"y-protocols": "^1.0.5",
"yjs": "^13.6.7",
"zeromq": "^6.0.0-beta.6"
"yjs": "^13.6.7"
},
"devDependencies": {
"@jest/globals": "^29.6.4",
"@types/bcryptjs": "^2.4.2",
"@types/dockerode": "^3.3.11",
"@types/express": "^4.17.14",
"@types/jest": "^29.0.2",
"@types/jsdom": "^21.1.1",
"@types/jsonwebtoken": "^8.5.9",
"@types/node": "^18.11.2",
"@types/stompjs": "^2.3.5",
"@types/uuid": "^8.3.4",
"@types/ws": "^8.5.3",
"copyfiles": "^2.4.1",
"nodemon": "^2.0.15",
"ts-jest": "^29.0.1",
"ts-node-dev": "^2.0.0",
"typescript": "^4.4.4",
"watch": "^1.0.2"
"typescript": "^4.4.4"
}
}
2 changes: 0 additions & 2 deletions apps/runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
},
"dependencies": {
"@apollo/client": "^3.7.1",
"apollo-server-core": "^3.10.3",
"apollo-server-express": "^3.10.3",
"express": "^4.18.2",
"graphql": "^16.6.0",
"uuid": "^9.0.0",
Expand Down
3 changes: 2 additions & 1 deletion apps/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@
"turndown": "^7.1.2",
"uuid": "^9.0.0",
"web-tree-sitter": "^0.20.8",
"xterm": "^5.2.1",
"xterm-addon-fit": "^0.7.0",
"y-monaco": "^0.1.4",
"y-prosemirror": "^1.2.1",
"y-protocols": "^1.0.5",
Expand All @@ -74,7 +76,6 @@
"@types/react-dom": "^18.2.7",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"@vitejs/plugin-react": "^4.0.4",
"@vitejs/plugin-react-swc": "^3.3.2",
"eslint": "^8.45.0",
"eslint-plugin-react-hooks": "^4.6.0",
Expand Down
1 change: 0 additions & 1 deletion apps/ui/src/lib/store/canvasSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ import {
ReactFlowInstance,
getConnectedEdges,
} from "reactflow";
import { node } from "prop-types";
import { quadtree } from "d3-quadtree";
import { getHelperLines, level2fontsize } from "../../components/nodes/utils";
import { json2yxml, yxml2json } from "../utils/y-utils";
Expand Down
2 changes: 0 additions & 2 deletions apps/ui/src/lib/store/repoSlice.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { createStore, StateCreator, StoreApi } from "zustand";
import { produce } from "immer";

import { Doc } from "yjs";
import { WebsocketProvider } from "y-websocket";
import { MyState } from ".";
import { gql } from "@apollo/client";

Expand Down
23 changes: 3 additions & 20 deletions apps/yjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,50 +12,33 @@
"@apollo/client": "^3.7.1",
"@codepod/prisma": "workspace:*",
"@kubernetes/client-node": "^0.17.1",
"@prisma/client": "4.3.1",
"apollo-server": "^3.5.0",
"apollo-server-core": "^3.10.3",
"apollo-server-express": "3.10.2",
"bcryptjs": "^2.4.3",
"dockerode": "^3.3.1",
"google-auth-library": "^8.7.0",
"express": "^4.18.2",
"graphql": "16.6.0",
"jest": "^29.0.3",
"jsdom": "^22.1.0",
"jsonwebtoken": "^8.5.1",
"lib0": "^0.2.83",
"lodash": "^4.17.21",
"nanoid": "^3.0.0",
"nanoid-dictionary": "^4.3.0",
"prisma": "4.3.1",
"prosemirror-model": "^1.19.3",
"prosemirror-view": "^1.31.7",
"reactflow": "^11.7.4",
"stompjs": "^2.3.3",
"uuid": "^9.0.0",
"ws": "^8.2.3",
"y-prosemirror": "^1.2.1",
"y-protocols": "^1.0.5",
"yjs": "^13.6.7",
"zeromq": "^6.0.0-beta.6"
"yjs": "^13.6.7"
},
"devDependencies": {
"@jest/globals": "^29.6.4",
"@types/bcryptjs": "^2.4.2",
"@types/dockerode": "^3.3.11",
"@types/express": "^4.17.14",
"@types/jest": "^29.0.2",
"@types/jsdom": "^21.1.1",
"@types/jsonwebtoken": "^8.5.9",
"@types/node": "^18.11.2",
"@types/stompjs": "^2.3.5",
"@types/uuid": "^8.3.4",
"@types/ws": "^8.5.3",
"copyfiles": "^2.4.1",
"nodemon": "^2.0.15",
"ts-jest": "^29.0.1",
"ts-node-dev": "^2.0.0",
"typescript": "^4.4.4",
"watch": "^1.0.2"
"typescript": "^4.4.4"
}
}
Loading

0 comments on commit bcc612b

Please sign in to comment.