Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@bscotch/trebuchet
Advanced tools
Readme
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 27 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 1 open source maintainer 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.