Skip to content

Avoid conflict with existing projects and scripts when using dangerously-allow-all-builds globally  #9628

@tusharsnx

Description

@tusharsnx

Contribution

Describe the user story

I can't easily use the global dangerously-allow-all-builds setting without conflicting with existing scripts (E.g. create-next-app) and projects that use --allow-build or onlyBuiltDependencies.

The workaround is to remove dangerously-allow-all-builds from the config first, and then run the script, but it's not a good experience. I believe this needs improvement.

Image

Describe the solution you'd like

dangerouslyAllowAllBuilds should work as allow building all dependencies except when onlyBuiltDependencies is set. This should avoid the conflict, but still maintain the same setup on every machine.

Describe the drawbacks of your solution

No response

Describe alternatives you've considered

Relaxing the restriction completely. (This might introduce confusion regarding which dependencies were built based on the config.)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions