Skip to content

Evaluate alternatives for install npm lifecycle script in Secrets SDK #2777

Description

@t1m0thyj

The Secrets SDK package has an install script which checks for prebuilds and falls back to building from source if they are missing:

"install": "node scripts/prebuildCheck.js || npm run rebuild",

In npm 12, lifecycle scripts will be disabled by default and controlled by the allowScripts option:

Install scripts are off by default. preinstall, install, and postinstall from dependencies won't run unless explicitly allowed.

Source: https://github.com/orgs/community/discussions/198547

Consider alternatives for the install script - in most cases it may not be needed if prebuilds are valid.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority-mediumNot functioning - next quarter if capacity permitsseverity-mediumBug where workaround exists or that doesn't prevent the usage of Zowe. Just makes it more complex.

    Type

    No type

    Projects

    Status
    Medium Priority

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions