Skip to content

About

Nexion Plugin: script-runner

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

Script Runner

Plugin for Nexion that auto-discovers project scripts from package.json, Makefile, and Cargo.toml and lets you run them from the Command Palette.

Features

  • npm scripts discovery — reads the scripts section from package.json
  • Makefile target discovery — parses Makefile targets
  • Cargo alias discovery — reads from .cargo/config.toml or .cargo/config
  • Standard Cargo commands — adds build, test, run, check, clippy
  • Python scripts discovery — reads script sections from pyproject.toml
  • Package manager auto-detection — selects npm/yarn/pnpm/bun automatically
  • Auto-discovery — scans on project open
  • Dynamic command registration — creates commands for each discovered script
  • Script grouping — organizes by source in the notification view

Commands

Command Description
scripts.discover Manually trigger script discovery
scripts.list Show all discovered scripts

Supported Sources

Source File Script type
npm/yarn/pnpm/bun package.json scripts object
Make Makefile target rules
Cargo Cargo.toml, .cargo/config.toml aliases + standard commands
Python pyproject.toml scripts section

Requirements

  • Appropriate package managers in PATH (npm, yarn, pnpm, bun, cargo, make, etc.)

Permissions

  • terminal.send — to run scripts in the terminal
  • filesystem.read — to read config files
  • process.spawn — to run system commands

About

Nexion Plugin: script-runner

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages