Skip to content

bootstraping package without create-package breaks workspace #21811

@Hotell

Description

@Hotell

Describe the issue:

Currently when one creates new monorepo package, sometimes besides boostraping via yarn create-package, author also adds implementation or part of it. Then usually during PR review, reviewer will ask to bootstrap package in separate PR.

Now what we saw is that author of the package, manually copies newly created files to separate PR, but forgets about packages that have been modified as well (workspace.json, tsconfig.base.json)

Examples:

-> this breakes our monorepo/workspace 🔥

Actual behavior:

Pipeline passes

Expected behavior:

Pipeline should break as user created invalid package

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions