Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@aklinker1/buildc
Advanced tools
Zero config CLI tool for caching and orchestrating builds in monorepos
Zero config CLI tool for caching and orchestrating builds in monorepos.
pnpm i -D buildc
Then prefix any package-specific build commands you want to cache with buildc --
:
-"build": "unbuild --minify",
+"build": "buildc -- unbuild --minify",
build
also supports only building the package's dependencies, not the package itself. Add buildc --deps-only --
before any scripts that needs the dependencies built before running, like tests:
-"build": "vitest",
+"build": "buildc --deps-only -- vitest",
Note that this is a personal tool, and I only plan on supporting the tools I use. If you want to add support for NPM or Yarn, feel free to open a PR!
Each package.json
can have a buildc
field where you can configure options. Listed below are the defaults:
{
// ...,
"buildc": {
// Set to false to disable the cache-checking behavior for this package
"cachable": true,
// The directory where your build is output to
"outDir": "dist",
// List of glob patterns to include when checking if the package needs rebuilt
"include": ["src/**/*"],
// List of glob patterns to ignore when checking if the package needs rebuilt
"exclude": ["**/__tests__/**", "**/*.test.*", "**/e2e/**"],
},
}
FAQs
Zero config CLI tool for caching and orchestrating builds in monorepos
The npm package @aklinker1/buildc receives a total of 35 weekly downloads. As such, @aklinker1/buildc popularity was classified as not popular.
We found that @aklinker1/buildc 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.