
Security News
npm ‘is’ Package Hijacked in Expanding Supply Chain Attack
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
@sortpark/build-tools
Advanced tools
Collection of build tools for managing repositories on GitHub and NPM.
A collection of build tools for managing repositories on GitHub and npm.
Using npm:
npm install --save-dev @sortpark/build-tools
build-tools
is intended to be used as a CLI tool, though it may also be imported as an ES6 or CommonJS module.
It has these sub-commands:
stage-release [newversion]
: Bumps npm version and creates a new branch, e.g. "release/v0.1.0". The optional [newversion] may be one of major
, minor
, or patch
(default).release [tagmessage]
: Runs npm run build
, commits, tags with the version number, and merges into master
. The optional [tagmessage] will be joined with the build number and used to annotate the tag.publish-gh
: Pushes master and release branches to GitHub with all tags.Add scripts to your package.json
to call build-tools
:
"scripts": {
"stage-release": "build-tools stage-release",
"release": "build-tools release",
"publish-gh": "build-tools publish-gh"
}
Then run the script, adding any extra arguments (e.g. minor
below):
npm run stage-release minor
build-tools
uses the following environment variables to configure its behaviour:
BUILDTOOLS_VERSION_PREFIX
: Adds a prefix to the version number, e.g. "v" to produce versions like v0.1.0
. Defaults to "".These variables can be defined by creating a file named .env
at your project's root (see .env.sample
and dotenv for more info).
These features may be added in the future:
FAQs
Collection of build tools for managing repositories on GitHub and NPM.
The npm package @sortpark/build-tools receives a total of 1 weekly downloads. As such, @sortpark/build-tools popularity was classified as not popular.
We found that @sortpark/build-tools 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
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
Security News
A critical flaw in the popular npm form-data package could allow HTTP parameter pollution, affecting millions of projects until patched versions are adopted.
Security News
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.