Skip to content

[FEATURE REQUEST] Support monorepo. #140

@ilyaliao

Description

@ilyaliao

Issues

  • I have checked existing issues and there are no existing ones with the same request.

Feature description

Hi there! Thank you for developing such a wonderful package. I really enjoy it.

Currently, it seems to have trouble working on projects with a monorepo architecture.

package-info.mov

截圖 2023-08-12 上午9 25 48

Mainly because in a monorepo, you need to explicitly specify the download location.

Example.

(root)
pnpm add -wD naive-ui

(workspace)
pnpm add (package name) -r --filter

pnpm workspace document

So simply adding it won't suffice for installation; further analysis is required.

Perhaps it could read the pnpm-workspace.yaml to determine which package.json files belong to the workspace and proceed with the downloads?
(I haven't used npm or yarn workspaces before.)

Help

Yes, but I don't know how to start. I would need guidance

Implementation help

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions