Skip to content

Commit

Permalink
fix(build): fix error with duplicated typings for eslint by forcing t…
Browse files Browse the repository at this point in the history
…he resolution of the package
  • Loading branch information
plouc committed Dec 17, 2021
1 parent 1ec5fbd commit 384e424
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
2 changes: 2 additions & 0 deletions Makefile
Expand Up @@ -86,6 +86,8 @@ clean-all: ##@0 global uninstall node modules, remove transpiled code & lock fil
@$(foreach source, $(SOURCES), $(call clean-source-all, $(source)))
@rm -rf website/node_modules
@rm -rf website/package-lock.json
@rm -rf api/node_modules
@rm -rf api/package-lock.json

define clean-source-lib
rm -rf $(1)/*/cjs
Expand Down
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -79,6 +79,7 @@
},
"resolutions": {
"@types/react": "^17.0.11",
"@types/eslint": "7.29.0",
"react": "17.0.2",
"react-dom": "17.0.2"
},
Expand Down
10 changes: 1 addition & 9 deletions yarn.lock
Expand Up @@ -4534,15 +4534,7 @@
"@types/eslint" "*"
"@types/estree" "*"

"@types/eslint@*":
version "8.2.1"
resolved "https://registry.yarnpkg.com/@types/eslint/-/eslint-8.2.1.tgz#13f3d69bac93c2ae008019c28783868d0a1d6605"
integrity sha512-UP9rzNn/XyGwb5RQ2fok+DzcIRIYwc16qTXse5+Smsy8MOIccCChT15KAwnsgQx4PzJkaMq4myFyZ4CL5TjhIQ==
dependencies:
"@types/estree" "*"
"@types/json-schema" "*"

"@types/eslint@^7.28.2":
"@types/eslint@*", "@types/eslint@7.29.0", "@types/eslint@^7.28.2":
version "7.29.0"
resolved "https://registry.yarnpkg.com/@types/eslint/-/eslint-7.29.0.tgz#e56ddc8e542815272720bb0b4ccc2aff9c3e1c78"
integrity sha512-VNcvioYDH8/FxaeTKkM4/TiTwt6pBV9E3OfGmvaw8tPl0rrHCJ4Ll15HRT+pMiFAf/MLQvAzC+6RzUMEL9Ceng==
Expand Down

0 comments on commit 384e424

Please sign in to comment.