1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fix problems when using 'npm link' (#7380)

* Fix problems when using 'npm link'

- Add missing peerDependencies and devDependencies

- Move 'overrides' to root package to fix audit issues

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Fix type issue and remove deprecated @types/* deps

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Fixing type errors harder

Signed-off-by: Sebastian Malton <sebastian@malton.name>

---------

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2023-03-20 15:43:08 -04:00 committed by GitHub
parent 991da149f9
commit df49ff9b96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 462 additions and 613 deletions

1029
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -28,6 +28,11 @@
"precreate-release-pr": "cd packages/release-tool && npm run build",
"create-release-pr": "node packages/release-tool/dist/index.js"
},
"overrides": {
"underscore": "^1.12.1",
"react": "^17",
"@types/react": "^17"
},
"devDependencies": {
"adr": "^1.4.3",
"cross-env": "^7.0.3",

View File

@ -116,9 +116,6 @@
}
}
},
"resolutions": {
"@astronautlabs/jsonpath/underscore": "^1.12.1"
},
"dependencies": {
"@astronautlabs/jsonpath": "^1.1.0",
"@hapi/call": "^9.0.1",
@ -222,7 +219,6 @@
"@types/marked": "^4.0.8",
"@types/md5-file": "^4.0.2",
"@types/memorystream": "^0.3.0",
"@types/mini-css-extract-plugin": "^2.4.0",
"@types/mock-fs": "^4.13.1",
"@types/node": "^16.18.11",
"@types/proper-lockfile": "^4.1.2",
@ -239,7 +235,6 @@
"@types/semver": "^7.3.13",
"@types/tar": "^6.1.4",
"@types/tcp-port-used": "^1.0.1",
"@types/tempy": "^0.3.0",
"@types/triple-beam": "^1.3.2",
"@types/url-parse": "^1.4.8",
"@types/uuid": "^8.3.4",

View File

@ -28,6 +28,12 @@
"@k8slens/test-utils": "^1.0.0-alpha.1",
"@k8slens/utilities": "^1.0.0-alpha.1",
"@ogre-tools/fp": "^15.1.1",
"@ogre-tools/injectable": "^15.1.1"
"@ogre-tools/injectable": "^15.1.2",
"type-fest": "^2.19.0",
"typed-emitter": "^1.4.0",
"uuid": "^8.3.2"
},
"devDependencies": {
"@types/uuid": "^9.0.1"
}
}

View File

@ -23,5 +23,12 @@
"build": "webpack",
"dev": "webpack --mode=development --watch",
"test": "jest --coverage --runInBand"
},
"peerDependencies": {
"@ogre-tools/injectable": "^15.1.2",
"lodash": "^4.17.21"
},
"devDependencies": {
"@types/lodash": "^4.14.191"
}
}

View File

@ -25,7 +25,28 @@
"test": "jest --coverage --runInBand"
},
"peerDependencies": {
"@astronautlabs/jsonpath": "^1.1.0",
"crypto-js": "^4.1.1",
"lodash": "^4.17.21",
"mobx": "^6.8.0",
"type-fest": "^2.19.0"
"moment": "^2.29.4",
"p-limit": "^3.1.0",
"path-to-regexp": "^6.2.1",
"react": "^17.0.2",
"react-router": "^5.3.4",
"readable-stream": "^3.6.2",
"semver": "^7.3.8",
"tar": "^6.1.13",
"type-fest": "^2.19.0",
"typed-regex": "^0.0.8"
},
"devDependencies": {
"@types/crypto-js": "^4.1.1",
"@types/lodash": "^4.14.191",
"@types/react": "^17.0.2",
"@types/react-router": "^5.1.20",
"@types/readable-stream": "^2.3.15",
"@types/semver": "^7.3.13",
"@types/tar": "^6.1.4"
}
}