Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@bscotch/trebuchet
Advanced tools
Tooling for minimizing the cognitive load for monorepo/workspace management, with a focus on automation, minimal configuration, and interoperability with other tools.
A collection of command-line (CLI) and programmatic tools for managing a Typescript monorepo.
Local: npm i @bscotch/trebuchet
Global: npm i -g @bscotch/trebuchet
Local: npx treb --help
Global: treb --help
Trebuchet assumes that your monorepo:
package.json
file containing a workspaces
fieldworkspaces
field, each with a root package.json
fileTrebuchet also assumes that each project in your monorepo:
tsconfig.json
file that accurately represents how your project is compiledAssuming all of that is true, you're already set!
Trebuchet strives to be (relatively) unopinionated and to use patterns that are compatible with other popular tools, so that you can use its features a la carte without getting locked in.
The following is a feature-based listing of what you may want to use Trebuchet vs. other tools for:
npm
for publishing, coupled to the versioning process. You can set per-project publish
and prepublish
scripts (etc) as usual. Alternatives include Lerna and ChangeSets, though those mostly do the same thing.# List all projects
treb list
# List publishable projects
treb list --publishable
# Fix import statements to include extensions
# and to sync the package.json depenencies with
# what is actually imported by the project.
treb fix --importPaths --packageJson
# Run a project's tests
treb test
# Publish all changed projects
# (includes automatic version bump based on git commits)
treb publish
FAQs
Tooling for minimizing the cognitive load for monorepo/workspace management, with a focus on automation, minimal configuration, and interoperability with other tools.
The npm package @bscotch/trebuchet receives a total of 264 weekly downloads. As such, @bscotch/trebuchet popularity was classified as not popular.
We found that @bscotch/trebuchet demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.