Skip to content

engineStrict abuse #16

@Swaagie

Description

@Swaagie

Dependencies with modules that will are restrictive e.g use engineStrict will cause module-foundry to stop processing the package and return a status 500 to the user with 'npm exit code 1' (--debug). For instance below module will fail if we build with either 0.10.21 or 0.12.x even.

{
...
engineStrict: true,
engines: { node: ">=0.8.0 <0.10.15"
}

Now we could

  • complain @ isaacs that people are abusing it, per example: ghost
  • just silently strip the option from the package.json
  • notify the dev of the abuse before he starts uploading with jitsu

@indexzero might be good to add to the upcoming refresh

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions