Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Kablam is a tool designed to help with release processes.
kablam --help
kablam release
Prepares a release by merging and tagging branches.
History.md
and package.json
master
and stable
stable
origin
In almost all prompts (except History file lines), a sensible default is provided.
Configuration is done by way of a file in the project root named .kablamrc
. Here's a sample file, with basic docs:
{
/* which tagging style this project uses. Supports "semver", "incremental" and "time" */
"tagStyle": "semver",
/* The type of branch model in use.
Supports two styles: 'trunk' and 'git-flow'
*/
"branchingModel": ["trunk", {
"trunk": "master" // which branch you develop upon and tag
}],
"branchingModel": ["git-flow", {
"deployment": "stable", // the stable release branch
"development": "master", // the main development branch
"releasePrefix": "release/" // the prefix of release branches
}],
/* the name of the History file to update */
"historyFile": "History.md",
/* information about the jenkins job which builds this project. Optional. */
"jenkins": {
"host": "http://my.jenkins.server:8080/",
"job": "my-jenkins-job"
},
/* path to a file where detailed logs are stored. Logs are truncated to 256kb. Optional. */
"logFile": ".kablamlog",
/* default tag message. %s is replaced with the tag name. Optional, default shown below */
"tagMessage": "Version %s",
/* if set to true, the default tag message is always used. The user isn't able to modify it. Default false */
"fixedTagMessage": false
}
To add custom tasks to Kablam, write your task and publish it as an NPM module with a name starting with kablam-task-
. Namespaced packages are also fine, eg: @sc/kablam-task-deploy
. You can then execute this by running kablam @sc/deploy
. If you'd like to use a different name for the task, add a property to your .kablamrc
file like so:
{
"taskAliases": {
"deploy": "@sc/deploy",
"d": "@sc/deploy"
}
}
A task should be exported as a function which returns a Promise (something with a .then()
method). It should also define a description
property, and optionally a preflight
function which is executed before running the task. This may return a Promise if asynchronous behaviour is needed; or throw an error to halt the task.
Three color themes are provided:
To choose a theme, set an environment variable called KABLAM_THEME
. This can be done in your shell's configuration file (~/.zshrc
, etc), or once off like so: kablam_THEME=mono kablam
make
make compile
make test
make lint
make publish
FAQs
Release automation CLI
The npm package kablam receives a total of 2 weekly downloads. As such, kablam popularity was classified as not popular.
We found that kablam 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.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.