Skip to content

Commit

Permalink
Merge pull request #401 from curvefi/build/sync-libs
Browse files Browse the repository at this point in the history
build: sync `eslint` versions
  • Loading branch information
ignromanov authored Oct 18, 2024
2 parents d960bfe + fab67cb commit 1bf7704
Show file tree
Hide file tree
Showing 12 changed files with 65 additions and 78 deletions.
6 changes: 6 additions & 0 deletions apps/lend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
"i18n:compile": "lingui compile",
"analyze": "ANALYZE=true next build"
},
"peerDependencies": {
"eslint-config-custom": "*",
"react": "*",
"react-dom": "*",
"tsconfig": "*"
},
"dependencies": {
"@curvefi/lending-api": "^2.3.3",
"@lingui/detect-locale": "^4.6.0",
Expand Down
6 changes: 6 additions & 0 deletions apps/loan/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
"i18n:compile": "lingui compile",
"analyze": "ANALYZE=true next build"
},
"peerDependencies": {
"eslint-config-custom": "*",
"react": "*",
"react-dom": "*",
"tsconfig": "*"
},
"dependencies": {
"@curvefi/stablecoin-api": "^1.5.5",
"@lingui/detect-locale": "^4.6.0",
Expand Down
6 changes: 6 additions & 0 deletions apps/main/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
"i18n:compile": "lingui compile",
"analyze": "ANALYZE=true next build"
},
"peerDependencies": {
"eslint-config-custom": "*",
"react": "*",
"react-dom": "*",
"tsconfig": "*"
},
"dependencies": {
"@curvefi/api": "^2.63.10",
"@hookform/error-message": "^2.0.1",
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"@types/react": "^18.3.1",
"@types/react-dom": "^18.3.1",
"cross-env": "^7.0.3",
"eslint": "^8.57.1",
"eslint-config-custom": "*",
"husky": "^9.1.6",
"is-ci": "^3.0.1",
Expand All @@ -51,6 +52,7 @@
]
},
"resolutions": {
"eslint": "^8.57.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"@types/react": "^18.3.1",
Expand Down
6 changes: 4 additions & 2 deletions packages/curve-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,14 @@
"devDependencies": {
"@types/react": "*",
"@types/react-dom": "*",
"eslint": "^8.57.1",
"eslint-config-custom": "*",
"tsconfig": "*"
},
"peerDependencies": {
"eslint": "*",
"eslint-config-custom": "*",
"react": "*",
"react-dom": "*"
"react-dom": "*",
"tsconfig": "*"
}
}
2 changes: 2 additions & 0 deletions packages/eslint-config-custom/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# dependencies
/node_modules
1 change: 0 additions & 1 deletion packages/eslint-config-custom/node_modules/.bin/eslint

This file was deleted.

This file was deleted.

3 changes: 2 additions & 1 deletion packages/eslint-config-custom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"@tanstack/eslint-plugin-query": "^5.59.1",
"@typescript-eslint/eslint-plugin": "^8.6.0",
"@typescript-eslint/parser": "^8.6.0",
"eslint": "^8.57.1",
"eslint": "*",
"eslint-config-next": "^14.2.11",
"eslint-config-prettier": "^9.1.0",
"eslint-config-turbo": "^2.1.2",
Expand All @@ -20,6 +20,7 @@
"prettier-eslint": "^16.3.0"
},
"peerDependencies": {
"eslint": "*",
"react": "*",
"react-dom": "*"
}
Expand Down
7 changes: 6 additions & 1 deletion packages/external-rewards/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@
"lint": "eslint \"**/*.ts*\""
},
"devDependencies": {
"eslint": "^8.57.1",
"eslint": "*",
"eslint-config-custom": "*",
"tsconfig": "*"
},
"peerDependencies": {
"eslint": "*",
"eslint-config-custom": "*",
"tsconfig": "*"
}
Expand Down
3 changes: 2 additions & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,13 @@
"@types/react": "*",
"@types/react-dom": "*",
"@types/styled-components": "5.1.14",
"eslint": "^8.57.1",
"eslint": "*",
"eslint-config-custom": "*",
"tsconfig": "*"
},
"peerDependencies": {
"curve-lib": "*",
"eslint": "*",
"react": "*",
"react-dom": "*",
"react-router-dom": "^6",
Expand Down
100 changes: 29 additions & 71 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2404,13 +2404,6 @@ __metadata:
languageName: node
linkType: hard

"@eslint/js@npm:8.57.0":
version: 8.57.0
resolution: "@eslint/js@npm:8.57.0"
checksum: 10c0/9a518bb8625ba3350613903a6d8c622352ab0c6557a59fe6ff6178bf882bf57123f9d92aa826ee8ac3ee74b9c6203fe630e9ee00efb03d753962dcf65ee4bd94
languageName: node
linkType: hard

"@eslint/js@npm:8.57.1":
version: 8.57.1
resolution: "@eslint/js@npm:8.57.1"
Expand Down Expand Up @@ -3850,17 +3843,6 @@ __metadata:
languageName: node
linkType: hard

"@humanwhocodes/config-array@npm:^0.11.14":
version: 0.11.14
resolution: "@humanwhocodes/config-array@npm:0.11.14"
dependencies:
"@humanwhocodes/object-schema": "npm:^2.0.2"
debug: "npm:^4.3.1"
minimatch: "npm:^3.0.5"
checksum: 10c0/66f725b4ee5fdd8322c737cb5013e19fac72d4d69c8bf4b7feb192fcb83442b035b92186f8e9497c220e58b2d51a080f28a73f7899bc1ab288c3be172c467541
languageName: node
linkType: hard

"@humanwhocodes/config-array@npm:^0.13.0":
version: 0.13.0
resolution: "@humanwhocodes/config-array@npm:0.13.0"
Expand All @@ -3879,7 +3861,7 @@ __metadata:
languageName: node
linkType: hard

"@humanwhocodes/object-schema@npm:^2.0.2, @humanwhocodes/object-schema@npm:^2.0.3":
"@humanwhocodes/object-schema@npm:^2.0.3":
version: 2.0.3
resolution: "@humanwhocodes/object-schema@npm:2.0.3"
checksum: 10c0/80520eabbfc2d32fe195a93557cef50dfe8c8905de447f022675aaf66abc33ae54098f5ea78548d925aa671cd4ab7c7daa5ad704fe42358c9b5e7db60f80696c
Expand Down Expand Up @@ -11516,6 +11498,7 @@ __metadata:
"@types/react": "npm:^18.3.1"
"@types/react-dom": "npm:^18.3.1"
cross-env: "npm:^7.0.3"
eslint: "npm:^8.57.1"
eslint-config-custom: "npm:*"
husky: "npm:^9.1.6"
is-ci: "npm:^3.0.1"
Expand All @@ -11538,13 +11521,15 @@ __metadata:
"@tanstack/react-query-persist-client": "npm:^5.59.0"
"@types/react": "npm:*"
"@types/react-dom": "npm:*"
eslint: "npm:^8.57.1"
eslint-config-custom: "npm:*"
ethers: "npm:^6.11.0"
tsconfig: "npm:*"
peerDependencies:
eslint: "*"
eslint-config-custom: "*"
react: "*"
react-dom: "*"
tsconfig: "*"
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -12800,7 +12785,7 @@ __metadata:
"@tanstack/eslint-plugin-query": "npm:^5.59.1"
"@typescript-eslint/eslint-plugin": "npm:^8.6.0"
"@typescript-eslint/parser": "npm:^8.6.0"
eslint: "npm:^8.57.1"
eslint: "npm:*"
eslint-config-next: "npm:^14.2.11"
eslint-config-prettier: "npm:^9.1.0"
eslint-config-turbo: "npm:^2.1.2"
Expand All @@ -12810,6 +12795,7 @@ __metadata:
eslint-plugin-react: "npm:7.36.1"
prettier-eslint: "npm:^16.3.0"
peerDependencies:
eslint: "*"
react: "*"
react-dom: "*"
languageName: unknown
Expand Down Expand Up @@ -13215,54 +13201,6 @@ __metadata:
languageName: node
linkType: hard

"eslint@npm:^8.7.0":
version: 8.57.0
resolution: "eslint@npm:8.57.0"
dependencies:
"@eslint-community/eslint-utils": "npm:^4.2.0"
"@eslint-community/regexpp": "npm:^4.6.1"
"@eslint/eslintrc": "npm:^2.1.4"
"@eslint/js": "npm:8.57.0"
"@humanwhocodes/config-array": "npm:^0.11.14"
"@humanwhocodes/module-importer": "npm:^1.0.1"
"@nodelib/fs.walk": "npm:^1.2.8"
"@ungap/structured-clone": "npm:^1.2.0"
ajv: "npm:^6.12.4"
chalk: "npm:^4.0.0"
cross-spawn: "npm:^7.0.2"
debug: "npm:^4.3.2"
doctrine: "npm:^3.0.0"
escape-string-regexp: "npm:^4.0.0"
eslint-scope: "npm:^7.2.2"
eslint-visitor-keys: "npm:^3.4.3"
espree: "npm:^9.6.1"
esquery: "npm:^1.4.2"
esutils: "npm:^2.0.2"
fast-deep-equal: "npm:^3.1.3"
file-entry-cache: "npm:^6.0.1"
find-up: "npm:^5.0.0"
glob-parent: "npm:^6.0.2"
globals: "npm:^13.19.0"
graphemer: "npm:^1.4.0"
ignore: "npm:^5.2.0"
imurmurhash: "npm:^0.1.4"
is-glob: "npm:^4.0.0"
is-path-inside: "npm:^3.0.3"
js-yaml: "npm:^4.1.0"
json-stable-stringify-without-jsonify: "npm:^1.0.1"
levn: "npm:^0.4.1"
lodash.merge: "npm:^4.6.2"
minimatch: "npm:^3.1.2"
natural-compare: "npm:^1.4.0"
optionator: "npm:^0.9.3"
strip-ansi: "npm:^6.0.1"
text-table: "npm:^0.2.0"
bin:
eslint: bin/eslint.js
checksum: 10c0/00bb96fd2471039a312435a6776fe1fd557c056755eaa2b96093ef3a8508c92c8775d5f754768be6b1dddd09fdd3379ddb231eeb9b6c579ee17ea7d68000a529
languageName: node
linkType: hard

"espree@npm:^9.3.1, espree@npm:^9.6.0, espree@npm:^9.6.1":
version: 9.6.1
resolution: "espree@npm:9.6.1"
Expand Down Expand Up @@ -13833,9 +13771,13 @@ __metadata:
version: 0.0.0-use.local
resolution: "external-rewards@workspace:packages/external-rewards"
dependencies:
eslint: "npm:^8.57.1"
eslint: "npm:*"
eslint-config-custom: "npm:*"
tsconfig: "npm:*"
peerDependencies:
eslint: "*"
eslint-config-custom: "*"
tsconfig: "*"
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -16372,6 +16314,11 @@ __metadata:
ui: "npm:*"
webpack: "npm:^5.83.1"
zustand: "npm:^4.5.5"
peerDependencies:
eslint-config-custom: "*"
react: "*"
react-dom: "*"
tsconfig: "*"
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -16619,6 +16566,11 @@ __metadata:
ui: "npm:*"
webpack: "npm:^5.83.1"
zustand: "npm:^4.5.5"
peerDependencies:
eslint-config-custom: "*"
react: "*"
react-dom: "*"
tsconfig: "*"
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -17024,6 +16976,11 @@ __metadata:
viem: "npm:^2.21.1"
webpack: "npm:^5.83.1"
zustand: "npm:^4.5.5"
peerDependencies:
eslint-config-custom: "*"
react: "*"
react-dom: "*"
tsconfig: "*"
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -21537,7 +21494,7 @@ __metadata:
"@types/react-dom": "npm:*"
"@types/styled-components": "npm:5.1.14"
bignumber.js: "npm:^9.0.1"
eslint: "npm:^8.57.1"
eslint: "npm:*"
eslint-config-custom: "npm:*"
ethers: "npm:^6.11.0"
lodash: "npm:4.17.21"
Expand All @@ -21546,6 +21503,7 @@ __metadata:
tsconfig: "npm:*"
peerDependencies:
curve-lib: "*"
eslint: "*"
react: "*"
react-dom: "*"
react-router-dom: ^6
Expand Down

0 comments on commit 1bf7704

Please sign in to comment.