Skip to content

Commit ac8e89e

Browse files
Fix: failed to load @typescript-eslint/parser (#28)
* Install @typescript-eslint/parser as dev dev dependency * Modify cache key so it include the packages change
1 parent a75c4a1 commit ac8e89e

File tree

3 files changed

+47
-2
lines changed

3 files changed

+47
-2
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
name: "Restore .NET dependencies"
2525
command: msbuild -t:restore .\windows\ReactNativeNotes.sln
2626
- save_cache:
27-
key: v1-deps-{{ .Branch }}-{{ checksum "windows/ReactNativeNotes.sln" }}
27+
key: v1-deps-{{ .Branch }}-{{ checksum "windows/ReactNativeNotes.sln" }}-{{ checksum "package.json" }}
2828
paths:
2929
- node_modules
3030
- windows/packages
@@ -38,7 +38,7 @@ jobs:
3838
- checkout
3939
- restore_cache:
4040
keys:
41-
- v1-deps-{{ .Branch }}-{{ checksum "windows/ReactNativeNotes.sln" }}
41+
- v1-deps-{{ .Branch }}-{{ checksum "windows/ReactNativeNotes.sln" }}-{{ checksum "package.json" }}
4242
- v1-deps-
4343
- run:
4444
name: "Verify the standards and code quality"

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"@types/react": "^17.0.13",
2626
"@types/react-native": "^0.64.10",
2727
"@types/react-test-renderer": "^17.0.1",
28+
"@typescript-eslint/parser": "^4.28.2",
2829
"babel-jest": "^25.1.0",
2930
"eslint": "^7.29.0",
3031
"jest": "^25.1.0",

yarn.lock

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1792,6 +1792,16 @@
17921792
"@typescript-eslint/typescript-estree" "4.28.1"
17931793
debug "^4.3.1"
17941794

1795+
"@typescript-eslint/parser@^4.28.2":
1796+
version "4.28.2"
1797+
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-4.28.2.tgz#6aff11bf4b91eb67ca7517962eede951e9e2a15d"
1798+
integrity sha512-Q0gSCN51eikAgFGY+gnd5p9bhhCUAl0ERMiDKrTzpSoMYRubdB8MJrTTR/BBii8z+iFwz8oihxd0RAdP4l8w8w==
1799+
dependencies:
1800+
"@typescript-eslint/scope-manager" "4.28.2"
1801+
"@typescript-eslint/types" "4.28.2"
1802+
"@typescript-eslint/typescript-estree" "4.28.2"
1803+
debug "^4.3.1"
1804+
17951805
"@typescript-eslint/scope-manager@4.28.1":
17961806
version "4.28.1"
17971807
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-4.28.1.tgz#fd3c20627cdc12933f6d98b386940d8d0ce8a991"
@@ -1800,11 +1810,24 @@
18001810
"@typescript-eslint/types" "4.28.1"
18011811
"@typescript-eslint/visitor-keys" "4.28.1"
18021812

1813+
"@typescript-eslint/scope-manager@4.28.2":
1814+
version "4.28.2"
1815+
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-4.28.2.tgz#451dce90303a3ce283750111495d34c9c204e510"
1816+
integrity sha512-MqbypNjIkJFEFuOwPWNDjq0nqXAKZvDNNs9yNseoGBB1wYfz1G0WHC2AVOy4XD7di3KCcW3+nhZyN6zruqmp2A==
1817+
dependencies:
1818+
"@typescript-eslint/types" "4.28.2"
1819+
"@typescript-eslint/visitor-keys" "4.28.2"
1820+
18031821
"@typescript-eslint/types@4.28.1":
18041822
version "4.28.1"
18051823
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.28.1.tgz#d0f2ecbef3684634db357b9bbfc97b94b828f83f"
18061824
integrity sha512-4z+knEihcyX7blAGi7O3Fm3O6YRCP+r56NJFMNGsmtdw+NCdpG5SgNz427LS9nQkRVTswZLhz484hakQwB8RRg==
18071825

1826+
"@typescript-eslint/types@4.28.2":
1827+
version "4.28.2"
1828+
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.28.2.tgz#e6b9e234e0e9a66c4d25bab881661e91478223b5"
1829+
integrity sha512-Gr15fuQVd93uD9zzxbApz3wf7ua3yk4ZujABZlZhaxxKY8ojo448u7XTm/+ETpy0V0dlMtj6t4VdDvdc0JmUhA==
1830+
18081831
"@typescript-eslint/typescript-estree@2.34.0":
18091832
version "2.34.0"
18101833
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-2.34.0.tgz#14aeb6353b39ef0732cc7f1b8285294937cf37d5"
@@ -1831,6 +1854,19 @@
18311854
semver "^7.3.5"
18321855
tsutils "^3.21.0"
18331856

1857+
"@typescript-eslint/typescript-estree@4.28.2":
1858+
version "4.28.2"
1859+
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.28.2.tgz#680129b2a285289a15e7c6108c84739adf3a798c"
1860+
integrity sha512-86lLstLvK6QjNZjMoYUBMMsULFw0hPHJlk1fzhAVoNjDBuPVxiwvGuPQq3fsBMCxuDJwmX87tM/AXoadhHRljg==
1861+
dependencies:
1862+
"@typescript-eslint/types" "4.28.2"
1863+
"@typescript-eslint/visitor-keys" "4.28.2"
1864+
debug "^4.3.1"
1865+
globby "^11.0.3"
1866+
is-glob "^4.0.1"
1867+
semver "^7.3.5"
1868+
tsutils "^3.21.0"
1869+
18341870
"@typescript-eslint/visitor-keys@4.28.1":
18351871
version "4.28.1"
18361872
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.28.1.tgz#162a515ee255f18a6068edc26df793cdc1ec9157"
@@ -1839,6 +1875,14 @@
18391875
"@typescript-eslint/types" "4.28.1"
18401876
eslint-visitor-keys "^2.0.0"
18411877

1878+
"@typescript-eslint/visitor-keys@4.28.2":
1879+
version "4.28.2"
1880+
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.28.2.tgz#bf56a400857bb68b59b311e6d0a5fbef5c3b5130"
1881+
integrity sha512-aT2B4PLyyRDUVUafXzpZFoc0C9t0za4BJAKP5sgWIhG+jHECQZUEjuQSCIwZdiJJ4w4cgu5r3Kh20SOdtEBl0w==
1882+
dependencies:
1883+
"@typescript-eslint/types" "4.28.2"
1884+
eslint-visitor-keys "^2.0.0"
1885+
18421886
abab@^2.0.0:
18431887
version "2.0.5"
18441888
resolved "https://registry.yarnpkg.com/abab/-/abab-2.0.5.tgz#c0b678fb32d60fc1219c784d6a826fe385aeb79a"

0 commit comments

Comments
 (0)