Skip to content

Commit e4589f2

Browse files
committed
add babel-plugin-syntax-hermes-parser for devtools
1 parent bfba8f5 commit e4589f2

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
"@typescript-eslint/parser": "^6.21.0",
5151
"abortcontroller-polyfill": "^1.7.5",
5252
"art": "0.10.1",
53+
"babel-plugin-syntax-hermes-parser": "^0.32.0",
5354
"babel-plugin-syntax-trailing-function-commas": "^6.5.0",
5455
"chalk": "^3.0.0",
5556
"cli-table": "^0.3.1",

packages/react-devtools-shared/babel.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ module.exports = api => {
3434
}
3535
}
3636
const plugins = [
37+
['babel-plugin-syntax-hermes-parser'],
3738
['@babel/plugin-transform-flow-strip-types'],
3839
['@babel/plugin-proposal-class-properties', {loose: false}],
3940
];

yarn.lock

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5351,6 +5351,13 @@ babel-plugin-polyfill-regenerator@^0.6.1:
53515351
dependencies:
53525352
"@babel/helper-define-polyfill-provider" "^0.6.3"
53535353

5354+
babel-plugin-syntax-hermes-parser@^0.32.0:
5355+
version "0.32.0"
5356+
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-hermes-parser/-/babel-plugin-syntax-hermes-parser-0.32.0.tgz#06f7452bf91adf6cafd7c98e7467404d4eb65cec"
5357+
integrity sha512-m5HthL++AbyeEA2FcdwOLfVFvWYECOBObLHNqdR8ceY4TsEdn4LdX2oTvbB2QJSSElE2AWA/b2MXZ/PF/CqLZg==
5358+
dependencies:
5359+
hermes-parser "0.32.0"
5360+
53545361
babel-plugin-syntax-trailing-function-commas@^6.5.0:
53555362
version "6.22.0"
53565363
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-trailing-function-commas/-/babel-plugin-syntax-trailing-function-commas-6.22.0.tgz#ba0360937f8d06e40180a43fe0d5616fff532cf3"
@@ -9985,6 +9992,11 @@ hermes-estree@0.29.1:
99859992
resolved "https://registry.yarnpkg.com/hermes-estree/-/hermes-estree-0.29.1.tgz#043c7db076e0e8ef8c5f6ed23828d1ba463ebcc5"
99869993
integrity sha512-jl+x31n4/w+wEqm0I2r4CMimukLbLQEYpisys5oCre611CI5fc9TxhqkBBCJ1edDG4Kza0f7CgNz8xVMLZQOmQ==
99879994

9995+
hermes-estree@0.32.0:
9996+
version "0.32.0"
9997+
resolved "https://registry.yarnpkg.com/hermes-estree/-/hermes-estree-0.32.0.tgz#bb7da6613ab8e67e334a1854ea1e209f487d307b"
9998+
integrity sha512-KWn3BqnlDOl97Xe1Yviur6NbgIZ+IP+UVSpshlZWkq+EtoHg6/cwiDj/osP9PCEgFE15KBm1O55JRwbMEm5ejQ==
9999+
998810000
hermes-parser@0.25.1, hermes-parser@^0.25.1:
998910001
version "0.25.1"
999010002
resolved "https://registry.yarnpkg.com/hermes-parser/-/hermes-parser-0.25.1.tgz#5be0e487b2090886c62bd8a11724cd766d5f54d1"
@@ -9999,6 +10011,13 @@ hermes-parser@0.29.1:
999910011
dependencies:
1000010012
hermes-estree "0.29.1"
1000110013

10014+
hermes-parser@0.32.0:
10015+
version "0.32.0"
10016+
resolved "https://registry.yarnpkg.com/hermes-parser/-/hermes-parser-0.32.0.tgz#7916984ef6fdce62e7415d354cf35392061cd303"
10017+
integrity sha512-g4nBOWFpuiTqjR3LZdRxKUkij9iyveWeuks7INEsMX741f3r9xxrOe8TeQfUxtda0eXmiIFiMQzoeSQEno33Hw==
10018+
dependencies:
10019+
hermes-estree "0.32.0"
10020+
1000210021
homedir-polyfill@^1.0.0, homedir-polyfill@^1.0.1:
1000310022
version "1.0.3"
1000410023
resolved "https://registry.yarnpkg.com/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz#743298cef4e5af3e194161fbadcc2151d3a058e8"

0 commit comments

Comments
 (0)