Skip to content

[rush] Deploy command is preserving workspace:* entries #2723

Open
@thelinuxlich

Description

@thelinuxlich

Summary

I'm confused. I thought rush deploy was supposed to create a generic artifact to be deployed in restrict environments, like Google Cloud which doesn't support NPM. However, when I run rush deploy I can see the package.json of the deployed projects in common/deploy/packages/<project_name> are still using the "workspace:*" syntax. Is this a bug or intended?

Repro steps

Expected result: Generated package.json in deploy folder without "workspace:*" syntax

Actual result: Generated package.json still preserving exclusive PNPM syntax

Standard questions

Please answer these questions to help us investigate your issue more quickly:

Question Answer
@microsoft/rush globally installed version?
rushVersion from rush.json?
useWorkspaces from rush.json?
Operating system?
Would you consider contributing a PR?
Node.js version (node -v)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs designThe next step is for someone to propose the details of an approach for solving the problemneeds more infoWe can't proceed because we need a better repro or an answer to a question

    Type

    No type

    Projects

    Status

    Needs Investigation

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions