
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@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 16 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.