Skip to content
This repository has been archived by the owner on Jun 11, 2021. It is now read-only.

build: yarn install triggers yarn run build #70

Closed
s-pace opened this issue Aug 20, 2020 · 1 comment
Closed

build: yarn install triggers yarn run build #70

s-pace opened this issue Aug 20, 2020 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed question Further information is requested

Comments

@s-pace
Copy link
Collaborator

s-pace commented Aug 20, 2020

Do you want to request a feature or report a bug?
Bug

What is the current behavior?

When trying ton install this project thanks to yarn install, it seems that yarn buid. I do not expect such behaviour.

image

What is the expected behavior?
yarn install is not building this project

Environment:

I am using node version 12.14.1 and yarn version 1.22.4

@s-pace s-pace added bug Something isn't working help wanted Extra attention is needed question Further information is requested labels Aug 20, 2020
@s-pace s-pace reopened this Aug 20, 2020
@francoischalifour
Copy link
Owner

francoischalifour commented Aug 20, 2020

The build after installing is triggered by the npm prepare script.

This is intended in this monorepo because Yarn needs to link the packages by building their ESM versions to be aware of their existence.

@s-pace s-pace closed this as completed Aug 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants