Gathering detailed insights and metrics for find-yarn-workspace-root
Gathering detailed insights and metrics for find-yarn-workspace-root
Gathering detailed insights and metrics for find-yarn-workspace-root
Gathering detailed insights and metrics for find-yarn-workspace-root
Algorithm for finding the root of a yarn workspace, extracted from yarnpkg.com
npm install find-yarn-workspace-root
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
50 Stars
88 Commits
8 Forks
3 Watching
4 Branches
40 Contributors
Updated on 21 Nov 2024
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
-10.4%
634,997
Compared to previous day
Last week
-1.2%
3,627,422
Compared to previous week
Last month
8.2%
15,727,148
Compared to previous month
Last year
16.3%
161,287,821
Compared to previous year
1
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.
To trigger a release, bump the version using standard-version
:
To update the CHANGELOG, bump the version in package.json
, and create a git tag, run:
1$(yarn bin)/standard-version
git push && git push --tags
npm publish
Copyright 2017 Square, Inc.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
Found 0/5 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
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
security policy file not detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
21 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-18
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