LinusU / gopher-hcl

The official HCL library, compiled to JavaScript with GopherJS
10 stars 4 forks source link

Migrated from HCL to HCL2 #6

Closed Ghost---Shadow closed 4 years ago

Ghost---Shadow commented 5 years ago

Fix for https://github.com/LinusU/gopher-hcl/issues/4

Hasicorp uses a different repository for HCL2

mytototo commented 4 years ago

Any plan to see a new release supporting the latest version of HCL?

Ghost---Shadow commented 4 years ago

@mytototo

Meanwhile you can npm i https://github.com/Ghost---Shadow/gopher-hcl#master

richardgavel commented 4 years ago

HCL2 is no longer in the hcl2 repository. See https://github.com/hashicorp/hcl2#experimental-hcl2

Ghost---Shadow commented 4 years ago

Cool

LinusU commented 4 years ago

Hey! Sorry for not looking into this earlier!

It seems like they have moved the v2 code to the main repository, but at the moment it requires Go Modules to use, which GopherJS doesn't support yet. I'll open another issue to track this.

Thanks