alloc / alloc/indo

Remove package scripts before install

Open
#32 0 comments 0 reactions 0 assignees View on GitHub
enhancement priority:high
Dominant language
TypeScript
Stars
18
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Any `package.json` scripts that would run on `npm install` will be removed while dependencies are being installed. This lets us install parent packages first without the fear of a child package not being ready-to-use in a script.

Why would I want that? Installing dependencies of parents first lets children use `link:` to inherit dev dependencies from their parents. This reduces install times.

The removed scripts are restored after install, and they're executed in topological order (children first).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.