Skip to content

Add support for NPM workspaces #416

Description

@vamcs

Is your feature request related to a problem? Please describe.
Hi!

We have a monorepo configured with NPM workspaces, and the autocomplete does not correctly pick up commands from each subfolder. Fig/Q/Kiro CLI has the same issue, and if I recall correctly yarn workspaces is supported and the suggestions work for all apps/packages in a monorepo.

Describe the solution you'd like
When running npm -w somePackage run ... I would like to get suggestions for scripts in that package.json in packages/somePackage/package.json.

Describe alternatives you've considered
I have tried Warp and Kiro CLI (the current implementation of Fig), but none have support for it. Since this library is based on Fig, I have the same issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestRequest for new features or functionality

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions