Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
@rushstack/heft
Advanced tools
🚨 This is an early preview release. Please report issues! 🚨
Heft is an extensible build system designed for use with the Rush Stack family of tools. You don't need a monorepo to use Heft, though. It also works well for small standalone projects. Compared to other similar systems, Heft has some unique design goals:
Scalable: Heft is designed to interface with the Rush build orchestrator which is optimized for large monorepos with many people and projects. (Usage of Rush is optional.)
Familiar: Heft is a plain Node.js application, so developers won't need to install any native prerequisites such as Python, MSYS2, or the .NET Framework. Heft's source code is easy to understand and debug because everything is 100% TypeScript, the same programming language as your web projects. Developing for native targets is also supported, of course.
Polished and Complete: Philosophically, Rush Stack aspires to provide a functionally complete toolkit with a professional developer experience. Pluggable task abstractions actually work against this goal: It's expensive to support and optimize (and document!) every possible combination of pieces. Also, the best optimizations rely heavily on assumptions about what's behind the abstraction. (As one example, sharing compiler state with the linter requires fairly different strategies for ESLint versus TSLint.) Heft is customizable, but our focus is to invest deeply in one recommended approach that everyone can use.
Extensible: Most large projects require specialized additional tooling such as preprocessors, postprocessors, instrumentation, and reporting. Heft allows you to write your own plugins using the tapable hook system (familiar from Webpack). Compared to loose architectures such as Grunt or Gulp, Heft ships a standardized set of stages for custom tasks to hook into. Working from a more standardized foundation makes custom rigs more understandable for newcomers.
Optimized: Heft tracks fine-grained performance metrics at each step. Although Heft is still in its early stages, the TypeScript plugin already implements optimizations such as: filesystem caching, incremental compilation, symlinking of cache files to avoid copying, hosting the compiler in a separate worker process, and a single compiler pass for Jest and Webpack.
Heft is still in preview and has not officially shipped yet. The following tasks are already available:
webpack-dev-server
is not implemented yet for locally running the appcopy-static-assets
helper supporting arbitrary globs, with "watch" modeFor documentation and support, please see the Heft topic on the Rush Stack website.
FAQs
Build all your JavaScript projects the same way: A way that works.
The npm package @rushstack/heft receives a total of 12,547 weekly downloads. As such, @rushstack/heft popularity was classified as popular.
We found that @rushstack/heft demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.