Skip to content

@cdktf/hcl-tools: npm package is missing dependency on fs-extra #3852

Closed
@Veetaha

Description

@Veetaha

Expected Behavior

The npm package @cdktf/hcl-tools must list all the dependencies it uses in the package.json dependencies map.

Actual Behavior

The package lists 0 dependencies, but it actually contains an import of "fs-extra":

import * as fs from "fs-extra";

Thefore if you invoke its format function it fails with a missing dependency error at runtime.

Versions

@cdktf/hcl-tools: 0.20.11

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingnewUn-triaged issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions