Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

monorun

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

monorun

Intelligently detects and runs scripts specific to your project's directory in the terminal.

  • 0.1.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
decreased by-20%
Maintainers
1
Weekly downloads
 
Created
Source

monorun

This package intelligently detects your current directory within your project in the terminal, allowing you to seamlessly run scripts specific to the package you're in. You can also switch to the project's root directory, where you'll find a list of scripts from the root package.json. Enjoy easy script execution, built-in autocompletion, and support for both monorepo and single-package projects.

Preview`

Features

  • Intelligently detects whether you're in the root or deep within a monorepo package. When in the root, it offers root-level scripts. When elsewhere, it prompts you to choose between package-specific or root-level scripts, tailoring the options accordingly
  • Execute scripts defined in your package.json with ease
  • Enjoy built-in autocompletion
  • Suitable for both monorepo and single-package projects
  • Automatically detects the package manager; supports npm, pnpm, yarn, and bun
  • Forget script names; we provide script suggestions for you
  • After selecting a script, it becomes interactive, mimicking user-initiated execution

Installation

You can install this package globally to use it as a command-line tool:

npm install -g monorun

Aliases

  • monorun
  • mrun
  • run

Usage

To use this package, run it from the command line:

monorun

Follow the prompts to select the scope (current package or project root) and script you want to run.

Contributing

Contributions are welcome! Feel free to open issues or submit pull requests to help improve this package.

License

This package is licensed under the MIT License. See the LICENSE file for details.

Keywords

FAQs

Package last updated on 20 Dec 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc