Gathering detailed insights and metrics for find-yarn-workspace-root2
Gathering detailed insights and metrics for find-yarn-workspace-root2
Gathering detailed insights and metrics for find-yarn-workspace-root2
Gathering detailed insights and metrics for find-yarn-workspace-root2
npm install find-yarn-workspace-root2
Typescript
Module System
Node Version
NPM Version
99
Supply Chain
81
Quality
75.9
Maintenance
100
Vulnerability
100
License
TypeScript (74.24%)
JavaScript (25.4%)
Smarty (0.35%)
Total Downloads
190,884,014
Last Day
335,382
Last Week
1,776,823
Last Month
7,232,858
Last Year
89,023,627
14 Stars
1,345 Commits
3 Forks
2 Watchers
1 Branches
17 Contributors
Updated on Jul 23, 2024
Minified
Minified + Gzipped
Latest Version
1.2.50
Package Id
find-yarn-workspace-root2@1.2.50
Unpacked Size
37.38 kB
Size
10.46 kB
File Count
10
NPM Version
lerna/6.6.2/node@v22.1.0+x64 (win32)
Node Version
22.1.0
Published on
May 03, 2024
Cumulative downloads
Total Downloads
Last Day
56.2%
335,382
Compared to previous day
Last Week
13.3%
1,776,823
Compared to previous week
Last Month
-6.6%
7,232,858
Compared to previous month
Last Year
39.1%
89,023,627
Compared to previous year
4
Algorithm for finding the root of a yarn workspace, extracted from yarnpkg.com
1yarn add find-yarn-workspace-root
1const findWorkspaceRoot = require('find-yarn-workspace-root'); 2 3const workspaceRoot = findWorkspaceRoot(__dirname); // Absolute path or null
Contributions are welcome! Just clone this repository and install the dependencies:
1git clone https://github.com/square/find-yarn-workspace-root.git 2cd find-yarn-workspace-root 3yarn
Note that you'll need node
and yarn
installed. Next, verify the tests all pass:
1yarn test
Then create a branch for your bugfix/feature, make changes and update the tests, and submit a pull request. Please do not change the version in package.json
when submitting a pull request. We determine the next version automatically based on the commits since the last release.
NOTE: Commit messages follow the Angular commit message guidelines.
Releases are handled by Travis CI once a build succeeds on master
. To trigger a release, bump the version using standard-version
:
1$(yarn bin)/standard-version
That should update the CHANGELOG, bump the version in package.json
, and create a git tag. Then, just git push && git push --tags
.
Copyright 2017 Square, Inc.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
no SAST tool detected
Details
Reason
security policy file not detected
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
project is not fuzzed
Details
Reason
89 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-05-05
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More