Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/layout",
"version": "2.0.0-beta.2",
"version": "2.0.0",
"description": "graph layout algorithm",
"main": "dist/index.min.js",
"module": "lib/index.js",
Expand Down Expand Up @@ -62,6 +62,7 @@
"@types/d3-force": "^3.0.4",
"@types/d3-quadtree": "^2.0.6",
"@types/dagre": "^0.7.52",
"@types/jest": "^30.0.0",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

The specified version ^30.0.0 for @types/jest does not exist in the public npm registry. Your publishConfig points to the public npm registry, so this will cause dependency installation to fail for anyone trying to build this project. Please use a valid, publicly available version. The latest version of @types/jest is ^29.5.12.

Suggested change
"@types/jest": "^30.0.0",
"@types/jest": "^29.5.12",

"babel-loader": "^8.0.6",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^14.2.1",
Expand Down Expand Up @@ -104,7 +105,8 @@
"test:coverage:open": "open-cli coverage/lcov-report/index.html",
"test:coverage": "jest --coverage",
"test": "jest",
"deploy": "npm --prefix site run build && gh-pages -d site/doc_build"
"deploy": "npm --prefix site run build && gh-pages -d site/doc_build",
"lint": "tsc --noEmit"
},
"publishConfig": {
"access": "public",
Expand Down