Skip to content

Commit b965188

Browse files
committed
Run the react-sdk reskindexer for developers
See matrix-org/matrix-react-sdk#3856 for why chokidar was updated.
1 parent 4ca41f4 commit b965188

2 files changed

Lines changed: 62 additions & 7 deletions

File tree

‎package.json‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
"diff-i18n": "cp src/i18n/strings/en_EN.json src/i18n/strings/en_EN_orig.json && yarn i18n && node scripts/compare-file.js src/i18n/strings/en_EN_orig.json src/i18n/strings/en_EN.json",
3434
"reskindex": "reskindex -h src/header",
3535
"reskindex:watch": "reskindex -h src/header -w",
36+
"reskindex:watch-react": "node scripts/yarn-sub.js matrix-react-sdk reskindex:watch",
3637
"clean": "rimraf lib webapp electron_app/dist",
3738
"build": "yarn clean && yarn build:genfiles && yarn build:compile && yarn build:types && yarn build:bundle",
3839
"build:res": "node scripts/copy-res.js",
@@ -47,7 +48,7 @@
4748
"build:types": "tsc --emitDeclarationOnly",
4849
"install:electron": "electron-builder install-app-deps",
4950
"dist": "scripts/package.sh",
50-
"start": "concurrently --kill-others-on-fail --prefix \"{time} [{name}]\" -n reskindex,res,riot-js \"yarn reskindex:watch\" \"yarn start:res\" \"yarn start:js\"",
51+
"start": "concurrently --kill-others-on-fail --prefix \"{time} [{name}]\" -n reskindex,reskindex-react,res,riot-js \"yarn reskindex:watch\", \"yarn reskindex:watch-react\", \"yarn start:res\" \"yarn start:js\"",
5152
"start:res": "node scripts/copy-res.js -w",
5253
"start:js": "webpack-dev-server --host=0.0.0.0 --output-filename=bundles/_dev_/[name].js --output-chunk-filename=bundles/_dev_/[name].js -w --progress --mode development",
5354
"electron": "yarn build && yarn install:electron && electron .",
@@ -100,7 +101,7 @@
100101
"babel-jest": "^24.9.0",
101102
"babel-loader": "^8.0.6",
102103
"canvas": "^2.6.1",
103-
"chokidar": "^2.0.4",
104+
"chokidar": "^3.3.1",
104105
"concurrently": "^4.0.1",
105106
"cpx": "^1.3.2",
106107
"cross-env": "^6.0.3",

‎yarn.lock‎

Lines changed: 59 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1791,6 +1791,14 @@ anymatch@^2.0.0:
17911791
micromatch "^3.1.4"
17921792
normalize-path "^2.1.1"
17931793

1794+
anymatch@~3.1.1:
1795+
version "3.1.1"
1796+
resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.1.tgz#c55ecf02185e2469259399310c173ce31233b142"
1797+
integrity sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg==
1798+
dependencies:
1799+
normalize-path "^3.0.0"
1800+
picomatch "^2.0.4"
1801+
17941802
app-builder-bin@3.4.3:
17951803
version "3.4.3"
17961804
resolved "https://registry.yarnpkg.com/app-builder-bin/-/app-builder-bin-3.4.3.tgz#58a74193eb882f029be6b7f0cd3f0c6805927a6b"
@@ -2197,6 +2205,11 @@ binary-extensions@^1.0.0:
21972205
resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-1.13.1.tgz#598afe54755b2868a5330d2aff9d4ebb53209b65"
21982206
integrity sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw==
21992207

2208+
binary-extensions@^2.0.0:
2209+
version "2.0.0"
2210+
resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.0.0.tgz#23c0df14f6a88077f5f986c0d167ec03c3d5537c"
2211+
integrity sha512-Phlt0plgpIIBOGTT/ehfFnbNlfsDEiqmzE2KRXoX1bLIlir4X/MR+zSyBEkL05ffWgnRSf/DXv+WrUAVr93/ow==
2212+
22002213
bindings@^1.5.0:
22012214
version "1.5.0"
22022215
resolved "https://registry.yarnpkg.com/bindings/-/bindings-1.5.0.tgz#10353c9e945334bc0511a6d90b38fbc7c9c504df"
@@ -2313,7 +2326,7 @@ braces@^2.3.1, braces@^2.3.2:
23132326
split-string "^3.0.2"
23142327
to-regex "^3.0.1"
23152328

2316-
braces@^3.0.1:
2329+
braces@^3.0.1, braces@~3.0.2:
23172330
version "3.0.2"
23182331
resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107"
23192332
integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==
@@ -2757,7 +2770,7 @@ chokidar@^1.6.0:
27572770
optionalDependencies:
27582771
fsevents "^1.0.0"
27592772

2760-
chokidar@^2.0.2, chokidar@^2.0.4, chokidar@^2.1.8:
2773+
chokidar@^2.0.2, chokidar@^2.1.8:
27612774
version "2.1.8"
27622775
resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-2.1.8.tgz#804b3a7b6a99358c3c5c61e71d8728f041cff917"
27632776
integrity sha512-ZmZUazfOzf0Nve7duiCKD23PFSCs4JPoYyccjUFF3aQkQadqBhfzhjkwBH2mNOG9cTBwhamM37EIsIkZw3nRgg==
@@ -2776,6 +2789,21 @@ chokidar@^2.0.2, chokidar@^2.0.4, chokidar@^2.1.8:
27762789
optionalDependencies:
27772790
fsevents "^1.2.7"
27782791

2792+
chokidar@^3.3.1:
2793+
version "3.3.1"
2794+
resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.3.1.tgz#c84e5b3d18d9a4d77558fef466b1bf16bbeb3450"
2795+
integrity sha512-4QYCEWOcK3OJrxwvyyAOxFuhpvOVCYkr33LPfFNBjAD/w3sEzWsp2BUOkI4l9bHvWioAd0rc6NlHUOEaWkTeqg==
2796+
dependencies:
2797+
anymatch "~3.1.1"
2798+
braces "~3.0.2"
2799+
glob-parent "~5.1.0"
2800+
is-binary-path "~2.1.0"
2801+
is-glob "~4.0.1"
2802+
normalize-path "~3.0.0"
2803+
readdirp "~3.3.0"
2804+
optionalDependencies:
2805+
fsevents "~2.1.2"
2806+
27792807
chownr@^1.1.1, chownr@^1.1.2:
27802808
version "1.1.3"
27812809
resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.3.tgz#42d837d5239688d55f303003a508230fa6727142"
@@ -5044,6 +5072,11 @@ fsevents@^1.0.0, fsevents@^1.2.7:
50445072
bindings "^1.5.0"
50455073
nan "^2.12.1"
50465074

5075+
fsevents@~2.1.2:
5076+
version "2.1.2"
5077+
resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.1.2.tgz#4c0a1fb34bc68e543b4b82a9ec392bfbda840805"
5078+
integrity sha512-R4wDiBwZ0KzpgOWetKDug1FZcYhqYnUYKtfZYt4mD5SBz76q0KR4Q9o7GIPamsVPGmW3EYPPJ0dOOjvx32ldZA==
5079+
50475080
function-bind@^1.1.1:
50485081
version "1.1.1"
50495082
resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d"
@@ -5161,6 +5194,13 @@ glob-parent@^3.1.0:
51615194
is-glob "^3.1.0"
51625195
path-dirname "^1.0.0"
51635196

5197+
glob-parent@~5.1.0:
5198+
version "5.1.0"
5199+
resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.0.tgz#5f4c1d1e748d30cd73ad2944b3577a81b081e8c2"
5200+
integrity sha512-qjtRgnIVmOfnKUE3NJAQEdk+lKrxfw8t5ke7SXtfMTHcjsBfOfWXCQfdb30zfDoZQ2IRSIiidmjtbHZPZ++Ihw==
5201+
dependencies:
5202+
is-glob "^4.0.1"
5203+
51645204
glob-to-regexp@^0.3.0:
51655205
version "0.3.0"
51665206
resolved "https://registry.yarnpkg.com/glob-to-regexp/-/glob-to-regexp-0.3.0.tgz#8c5a1494d2066c570cc3bfe4496175acc4d502ab"
@@ -6005,6 +6045,13 @@ is-binary-path@^1.0.0:
60056045
dependencies:
60066046
binary-extensions "^1.0.0"
60076047

6048+
is-binary-path@~2.1.0:
6049+
version "2.1.0"
6050+
resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09"
6051+
integrity sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==
6052+
dependencies:
6053+
binary-extensions "^2.0.0"
6054+
60086055
is-boolean-object@^1.0.0:
60096056
version "1.0.1"
60106057
resolved "https://registry.yarnpkg.com/is-boolean-object/-/is-boolean-object-1.0.1.tgz#10edc0900dd127697a92f6f9807c7617d68ac48e"
@@ -6190,7 +6237,7 @@ is-glob@^3.1.0:
61906237
dependencies:
61916238
is-extglob "^2.1.0"
61926239

6193-
is-glob@^4.0.0, is-glob@^4.0.1:
6240+
is-glob@^4.0.0, is-glob@^4.0.1, is-glob@~4.0.1:
61946241
version "4.0.1"
61956242
resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.1.tgz#7567dbe9f2f5e2467bc77ab83c4a29482407a5dc"
61966243
integrity sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==
@@ -8156,7 +8203,7 @@ normalize-path@^2.0.0, normalize-path@^2.0.1, normalize-path@^2.1.1:
81568203
dependencies:
81578204
remove-trailing-separator "^1.0.1"
81588205

8159-
normalize-path@^3.0.0:
8206+
normalize-path@^3.0.0, normalize-path@~3.0.0:
81608207
version "3.0.0"
81618208
resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65"
81628209
integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==
@@ -8757,7 +8804,7 @@ performance-now@^2.1.0:
87578804
resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b"
87588805
integrity sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=
87598806

8760-
picomatch@^2.0.5:
8807+
picomatch@^2.0.4, picomatch@^2.0.5, picomatch@^2.0.7:
87618808
version "2.2.1"
87628809
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.2.1.tgz#21bac888b6ed8601f831ce7816e335bc779f0a4a"
87638810
integrity sha512-ISBaA8xQNmwELC7eOjqFKMESB2VIqt4PPDD0nsS95b/9dZXvVKOlz9keMSnoGGKcOHXfTvDD6WMaRoSc9UuhRA==
@@ -10099,6 +10146,13 @@ readdirp@^2.0.0, readdirp@^2.2.1:
1009910146
micromatch "^3.1.10"
1010010147
readable-stream "^2.0.2"
1010110148

10149+
readdirp@~3.3.0:
10150+
version "3.3.0"
10151+
resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.3.0.tgz#984458d13a1e42e2e9f5841b129e162f369aff17"
10152+
integrity sha512-zz0pAkSPOXXm1viEwygWIPSPkcBYjW1xU5j/JBh5t9bGCJwa6f9+BJa6VaB2g+b55yVrmXzqkyLf4xaWYM0IkQ==
10153+
dependencies:
10154+
picomatch "^2.0.7"
10155+
1010210156
realistic-structured-clone@^2.0.1:
1010310157
version "2.0.2"
1010410158
resolved "https://registry.yarnpkg.com/realistic-structured-clone/-/realistic-structured-clone-2.0.2.tgz#2f8ec225b1f9af20efc79ac96a09043704414959"

0 commit comments

Comments
 (0)