Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
@clabs/packages-publisher
Advanced tools
CLI for publishing packages within a repository using the same version for all packages
Tool to help publishing packages within a repository, using the same version for all packages.
You can install it globally to use across projects:
npm install -g @clabs/packages-publisher
You can check it has been installed by running:
packages-publisher --help
or the short version:
pkgs --help
This tool should be ran from the root of the monorepo for multiple packages. It can also be ran from within a single package. It can either be ran directly or added to your npm scripts.
Note that if you are using yarn
you might need to add a .yarnrc
with npm's registry so that it can find the right information when publishing. See this package's .yarnrc
for an example.
You need to indicate what's the path where packages can be found. For that, you can add a configuration to the package.json at the root of your monorepo.
{
[...]
"pkgs": {
"path": "./packages"
}
[...]
}
Alternatively, if path is not configured there, you can pass it as a flag to the commands.
At any point, you can run pkgs [command] --help
to learn more about a command.
This bumps all packages in the given path and where they are used as dependencies as well.
Example:
pkgs bump-versions minor --path packages
Builds and publishes all packages in the given path to npm. You can skip build if you have a monorepo build type.
Example:
pkgs publish --path packages [--otp 123456] [--skip-build]
FAQs
CLI for publishing packages within a repository using the same version for all packages
The npm package @clabs/packages-publisher receives a total of 3 weekly downloads. As such, @clabs/packages-publisher popularity was classified as not popular.
We found that @clabs/packages-publisher demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.