Skip to content

Compatibility with npm 7? #105

@mnasyrov

Description

@mnasyrov

Hi! Npm 7 now supports the similar concept for workspaces.

  • How wsrun is bound with yarn?
  • Could it be used with npm for running scripts in workspaces?

I tried to use a shell script with --bin option to use npm's run. It seems working, but not convenient:

npm-run.sh

#!/bin/sh
npm run "$@"

usage:

npx wsrun --bin="$(pwd)/npm-run.sh" -m -c clean

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