{"id":18411323,"url":"https://github.com/shelljs/release","last_synced_at":"2025-09-14T21:10:14.807Z","repository":{"id":9082868,"uuid":"58966522","full_name":"shelljs/release","owner":"shelljs","description":"A simple NodeJS script to help make npm releases","archived":false,"fork":false,"pushed_at":"2025-05-09T19:43:39.000Z","size":65,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-09-01T18:57:48.039Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shelljs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-05-16T20:46:07.000Z","updated_at":"2025-05-09T19:43:38.000Z","dependencies_parsed_at":"2025-07-11T04:31:32.343Z","dependency_job_id":"2cb561b0-ebcc-47dd-9ddd-268d3fcbe997","html_url":"https://github.com/shelljs/release","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/shelljs/release","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shelljs%2Frelease","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shelljs%2Frelease/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shelljs%2Frelease/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shelljs%2Frelease/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shelljs","download_url":"https://codeload.github.com/shelljs/release/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shelljs%2Frelease/sbom","scorecard":{"id":817524,"data":{"date":"2025-08-11","repo":{"name":"github.com/shelljs/release","commit":"2647cd45d4e23c680d0fb0048517d5e234bd8fee"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.5,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 12 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-23T14:34:13.121Z","repository_id":9082868,"created_at":"2025-08-23T14:34:13.122Z","updated_at":"2025-08-23T14:34:13.122Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275167941,"owners_count":25417072,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-14T02:00:10.474Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T03:36:10.058Z","updated_at":"2025-09-14T21:10:14.783Z","avatar_url":"https://github.com/shelljs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# release\n\n[![npm version](https://img.shields.io/npm/v/shelljs-release.svg?style=flat-square)](https://www.npmjs.com/package/shelljs-release)\n[![npm downloads](https://img.shields.io/npm/dm/shelljs-release.svg?style=flat-square)](https://www.npmjs.com/package/shelljs-release)\n\nA simple NodeJS script to help make npm releases.\n\n## Installation and setup\n\n```bash\nnpm install --save-dev shelljs-release\n```\n\nAlso, make sure your primary/main branch has upstream-tracking set-up:\n\n```bash\n# Assuming your primary branch is named 'main':\ngit push --set-upstream origin main\n```\n\nNow, add some `scripts` to `package.json` like so:\n\n```json\n  \"scripts\": {\n    \"test\": \"... whatever you had here before ...\",\n    \"release:major\": \"shelljs-release major\",\n    \"release:minor\": \"shelljs-release minor\",\n    \"release:patch\": \"shelljs-release patch\"\n  },\n```\n\nAlright, you're good to go!\n\n## Usage example\n\nIf you made some commits to your project and now want to release a new update,\nwith a bump in the patch number (i.e. from `v1.2.6` to `v1.2.7`), run this\ncommand:\n\n```bash\n$ npm run release:patch\n```\n\nThis will:\n\n - Bump the version \u0026 commit for you\n - Create the corresponding git tag\n - Push your commit and tags upstream\n - Release to npm!\n\nCool!\n\nSimilarly, if you want to jump from `v1.2.6` to `v1.3.0,` or from `v1.2.6` to\n`v2.0.0`, you can run `npm run release:minor` or `npm run release:major`\nrespectively.\n\n## Two Factor Authentication (2FA, OTP)\n\nNewer versions of npm [support Two Factor\nAuthentication](https://docs.npmjs.com/getting-started/using-two-factor-authentication)\n(2FA) for added security. We've added support passing OTPs on the commandline:\n\n```bash\n$ npm run release:patch -- --otp=123456\n$ # Substitute \"123456\" for your actual OTP from a supported app.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshelljs%2Frelease","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshelljs%2Frelease","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshelljs%2Frelease/lists"}