Skip to content

deploy uses monorepo root for output instead of working dir or absolute path #4980

@AWare

Description

@AWare

pnpm version: 7.5.0

Code to reproduce the issue:

say you're in a project 'p' within a monorepo

> pnpm --filter p deploy dist
> pnpm --filter p deploy $(pwd)/dist

Expected behavior:

I'd expect them both to put them within the current working dir.

Actual behavior:

it will put dist within the root of the monorepo,

Additional information:

it would also be really handy to infer the package from the working directory so filter can be omitted

Edit: apologies, just realised I got expected and actual the wrong way round

Metadata

Metadata

Assignees

No one assigned

    Labels

    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