solidity-parser / parser

A Solidity parser for JS built on top of a robust ANTLR4 grammar
MIT License
157 stars 44 forks source link

Bundle all the project #34

Closed fvictorio closed 3 years ago

fvictorio commented 3 years ago

Closes #33.

A huge list of changes here. But the tl;dr is: use rollup and typescript, and include antlr4 in the bundle because they set their node engines as >= 14, which causes issues for people using node <14 that install this package with yarn.

@cgewecke I published this as @solidity-parser/parser@rc. Could you check if it works for you? I tested it in prettier-solidity and solhint, and in both cases I had introduced bugs (which I already fixed), so it wouldn't surprise me if I introduced a bug for one of your projects too :sweat_smile:

cgewecke commented 3 years ago

Thanks @fvictorio

Everything's running clean on my side. Looks good 💯

fvictorio commented 3 years ago

@cgewecke Thank you! I'll release a new version then :slightly_smiling_face: