Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@pnpm/find-workspace-dir
Advanced tools
@pnpm/find-workspace-dir is a utility package that helps you locate the root directory of a pnpm workspace. This can be particularly useful in monorepo setups where you need to perform operations relative to the workspace root.
Find Workspace Directory
This feature allows you to find the root directory of a pnpm workspace. The code sample demonstrates how to use the package to locate the workspace directory starting from the current working directory.
const findWorkspaceDir = require('@pnpm/find-workspace-dir');
(async () => {
const workspaceDir = await findWorkspaceDir(process.cwd());
console.log(workspaceDir);
})();
find-yarn-workspace-root is a package that helps you locate the root directory of a Yarn workspace. Similar to @pnpm/find-workspace-dir, it is useful in monorepo setups but is specific to Yarn workspaces.
workspace-tools is a package that provides various utilities for working with monorepos, including finding the root directory of a workspace. It supports multiple package managers like npm, Yarn, and pnpm, making it more versatile compared to @pnpm/find-workspace-dir.
FAQs
Finds the root of a pnpm workspace
We found that @pnpm/find-workspace-dir demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.