Skip to content

Better setup #5299

@hzoo

Description

@hzoo

If a new contributor does npm run test or make test and expects it to work you are greeted with Error: Cannot find module '../lib' because they didn't run make bootstrap. @montogeek

Of course we could be like "You should read the contributing.md, etc" but why not just do it automatically then?

  • Basic idea is that these commands should figure out whether the folder in packages/*/lib are empty or not and then run make build. If it's not bootstrapped properly it should run make bootstrap.

If we do this right they may not have to do anything other than git clone + npm install?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Has PRhelp wantedoutdatedA closed issue/PR that is archived due to age. Recommended to make a new issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions