Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
yarn-changed-workspaces
Advanced tools
A small utility tool to be used in CI/CD pipelines along with `git` to trigger dependent libraries' workflows in a monorepo pattern.
A small utility tool to be used in CI/CD pipelines along with git
to trigger dependent libraries' workflows in a monorepo pattern.
yarn global add yarn-changed-workspaces
yarn-changed-workspaces --help
./package.json
{
"workspaces": ["packages/*"]
}
const getChangedWorkspaces = require("yarn-changed-workspaces");
(async () => {
const workspaces = await getChangedWorkspaces({
branch: "master",
projectRoot: process.cwd(),
});
console.log("changes", workspaces);
})();
./package.json
{
"private": true,
"workspaces": ["packages/*"]
}
./packages/app/package.json
{
"name": "@team/ui",
"version": "1.0.0",
"workspace": { "files": ["!**/*.(test|spec).(j|t)s(x)?"] }
}
git
is the core diffing tool. This library will not work if you use a different distributed version-control system for tracking changes in source code during software development
FAQs
An utility to show changed workspaces and their dependants
The npm package yarn-changed-workspaces receives a total of 291 weekly downloads. As such, yarn-changed-workspaces popularity was classified as not popular.
We found that yarn-changed-workspaces 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
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.