Skip to content

Commit

Permalink
remove unused dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Yun-Tang Hsu <[email protected]>
  • Loading branch information
yuntanghsu committed Oct 27, 2023
1 parent 5fb2867 commit 51246f4
Show file tree
Hide file tree
Showing 5 changed files with 726 additions and 4,883 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/typescript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,19 @@ jobs:
- name: Install Yarn
run: npm install -g yarn

- name: Install dependencies and run the tests
# This is a known issue that hasn't been solved: https://github.com/iarna/wide-align/issues/63
# Adding workaround to unblock this test: https://github.com/nrwl/nx/issues/17229
- name: Remove yarn.lock and node_modules
run: |
cd plugins/grafana-custom-plugins/grafana-sankey-plugin/
rm -rf yarn.lock node_modules
cd ../grafana-chord-plugin/
rm -rf yarn.lock node_modules
- name: Install dependencies and run the tests
run: |
cd ../grafana-sankey-plugin/
yarn install
yarn test --coverage
Expand Down
20 changes: 3 additions & 17 deletions plugins/grafana-custom-plugins/grafana-chord-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
"scripts": {
"build": "webpack -c ./.config/webpack/webpack.config.ts --env production",
"dev": "webpack -w -c ./.config/webpack/webpack.config.ts --env development",
"e2e": "yarn exec cypress install && yarn exec grafana-e2e run",
"e2e:update": "yarn exec cypress install && yarn exec grafana-e2e run --update-screenshots",
"lint": "eslint --cache --ignore-path ./.gitignore --ext .js,.jsx,.ts,.tsx .",
"lint:fix": "yarn run lint --fix",
"server": "docker-compose up --build",
Expand All @@ -21,35 +19,24 @@
"@grafana/data": "^10.1.5",
"@grafana/runtime": "10.0.3",
"@grafana/ui": "^10.1.5",
"@testing-library/dom": "^9.3.3",
"@testing-library/user-event": "^14.5.1",
"d3": "^7.1.0",
"d3-chord": "^3.0.1",
"@types/jest": "^29.5.6",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.7",
"my-d3": "npm:[email protected]",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"tslib": "2.5.3"
"react-dom": "^16.13.1"
},
"author": "antrea-io",
"license": "Apache-2.0",
"devDependencies": {
"@babel/core": "^7.21.4",
"@grafana/e2e": "10.0.3",
"@grafana/e2e-selectors": "10.0.3",
"@grafana/eslint-config": "^6.0.0",
"@grafana/tsconfig": "^1.2.0-rc1",
"@swc/core": "^1.3.90",
"@swc/helpers": "^0.5.0",
"@swc/jest": "^0.2.26",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^12.1.4",
"@types/d3": "^7.1.0",
"@types/enzyme": "^3.10.14",
"@types/enzyme-adapter-react-16": "^1.0.7",
"@types/jest": "^29.5.0",
"@types/lodash": "^4.14.194",
"@types/my-d3": "npm:@types/[email protected]",
"@types/node": "^18.15.11",
"copy-webpack-plugin": "^11.0.0",
Expand All @@ -59,7 +46,7 @@
"fork-ts-checker-webpack-plugin": "^8.0.0",
"glob": "^10.2.7",
"identity-obj-proxy": "3.0.0",
"jest": "^29.5.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.5.0",
"prettier": "^2.8.7",
"replace-in-file-webpack-plugin": "^1.0.6",
Expand All @@ -68,7 +55,6 @@
"style-loader": "3.3.3",
"swc-loader": "^0.2.3",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.2.0",
"typescript": "4.8.4",
"webpack": "^5.86.0",
"webpack-cli": "^5.1.4",
Expand Down
Loading

0 comments on commit 51246f4

Please sign in to comment.