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.
@webeferen/buildable
Advanced tools
Link your local repositories and dependencies quickly, without any additional knowledge.
Buildable is made to work with each of installation type such as local, global and npx.
Local scope
npm install --save-dev @webeferen/buildable
Global scope
npm install --global @webeferen/buildable
It can be also used via npx
npx @webeferen/buildable [command]
Buildable itself is a CLI tool that doesn't require any additional configuration to run successfully. To get the smoothest experience the recommended way is by doing following steps:
buildable init
method to create metadata files;
.buildable
to the state that fits the usecase;pnpm-workspaces.yaml
if needed - default is packages/*
;buildable install
to make sure that every dependency is installed and linked;buildable run XYZ
;buildable [command] (...options)
This command prints out useful information such as available commands and options.
buildable help
Prints out currently used version of the package
buildable --version
This command generates configuration files which allows modifications to be applied. It will also generate pnpm-workspaces.yaml
file if workspace
flag is set to true.
buildable init (...options)
This command installs and links packages. Under the hood it is using either pnpm-workspaces
if workspaces
is set or pnpm install
in each project.
buildable install (...options)
This command runs specified command for each project inside directory.
buildable run (r) "script name" (...options)
This command generates dependency graph with every dependency inside workspace (linking them with correct versions). Graph only shows relations between local dependencies.
buildable dependency-graph (dg) (...options)
This command generates execution order in which projects should be run to avoid build order issues. It only takes into consideration local dependencies.
buildable execution-order (eo) (...options)
--listeners (-l)
List of comma separated texts when achieve next process can be run (regex check)--only (-o)
List of comma separated projects that will only be run (with their dependencies)--exclude (-e)
List of comma separated packages which should be excluded--path (-p)
Relative path to the directory containing workspace (if any)--config (-c)
Relative path to the configuration file--reload (-r)
List of comma separated packages which can be manually reloaded--workspace (-w)
Sets buildable in workspace mode (default: true)--save (-s)
Enables or disables safe mode for running without dependencies (default: true)Example configuration can be found here.
There were some cases where buildable was not able to kill child process by itself. If that happens, this command might help to clean the ports up:
kill -9 $(lsof -ti:[port])
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
FAQs
Workspace linking tool on steroids.
We found that @webeferen/buildable demonstrated a not healthy version release cadence and project activity because the last version was released 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.
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.