The official "as-proto-gen" package doesn't generate the correct AS output files so I had to fork the repo to fix it. I cannot merge the fork to the original repo as it introduces breaking changes and changes some of the logic of the original library.
Is there an existing issue for this?
Current behavior
The official "as-proto-gen" package doesn't generate the correct AS output files so I had to fork the repo to fix it. I cannot merge the fork to the original repo as it introduces breaking changes and changes some of the logic of the original library.
The fork of the npm package is available at "@romainroe/as-proto-gen" The source code of this fork is hosted at https://github.com/roaminroe/as-proto/tree/0.3.0/packages/as-proto-gen This example repo uses the correct npm package: https://github.com/roaminroe/koinos-proto-as
Expected behavior
Generate the correct AS files (no namespaces and valid import paths)
https://github.com/koinos/koinos-proto/blob/as/ci/install.sh#L32
yarn add --dev as-proto-gen@$AS_PROTO_VERSION
should beyarn add --dev @romainroe/as-proto-gen@$AS_PROTO_VERSION
Steps to reproduce
No response
Environment
Anything else?
No response