{"id":18792141,"url":"https://github.com/khatastroffik/grunt-standard-version","last_synced_at":"2026-04-30T03:38:47.584Z","repository":{"id":39768911,"uuid":"259469853","full_name":"khatastroffik/grunt-standard-version","owner":"khatastroffik","description":"Grunt.js plugin with automatic versioning (using \"semver\") and CHANGELOG generation (using \"standard-version\")","archived":false,"fork":false,"pushed_at":"2022-12-11T03:39:53.000Z","size":541,"stargazers_count":1,"open_issues_count":11,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-03T01:58:51.214Z","etag":null,"topics":["changelog","conventional-commit","github","grunt","grunt-task","gruntplugin","release","release-automation","semver","standard-version"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/khatastroffik.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-27T22:20:08.000Z","updated_at":"2020-06-19T08:39:44.000Z","dependencies_parsed_at":"2023-01-26T14:30:47.207Z","dependency_job_id":null,"html_url":"https://github.com/khatastroffik/grunt-standard-version","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/khatastroffik/grunt-standard-version","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khatastroffik%2Fgrunt-standard-version","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khatastroffik%2Fgrunt-standard-version/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khatastroffik%2Fgrunt-standard-version/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khatastroffik%2Fgrunt-standard-version/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/khatastroffik","download_url":"https://codeload.github.com/khatastroffik/grunt-standard-version/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khatastroffik%2Fgrunt-standard-version/sbom","scorecard":{"id":558934,"data":{"date":"2025-08-11","repo":{"name":"github.com/khatastroffik/grunt-standard-version","commit":"b2470df3cc66691c3e212dd4d42e54e0770faae4"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"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":"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":"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":"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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"Code-Review","score":0,"reason":"Found 0/7 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":"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":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"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 'master'"],"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":"Vulnerabilities","score":0,"reason":"38 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-fwr7-v2mv-hh25","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-h6ch-v84p-w6p9","Warn: Project is vulnerable to: GHSA-ff7x-qrg7-qggm","Warn: Project is vulnerable to: GHSA-phwq-j96m-2c2q","Warn: Project is vulnerable to: GHSA-ghr5-ch3p-vcr6","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-957j-59c2-j692","Warn: Project is vulnerable to: GHSA-m5pj-vjjf-4m3h","Warn: Project is vulnerable to: GHSA-j383-35pm-c5h4","Warn: Project is vulnerable to: GHSA-rm36-94g8-835r","Warn: Project is vulnerable to: GHSA-765h-qjxv-5f44","Warn: Project is vulnerable to: GHSA-f2jv-r9rf-7988","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-qqgx-2p2h-9c37","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-4rq4-32rv-6wp6","Warn: Project is vulnerable to: GHSA-64g7-mvw6-v9qj","Warn: Project is vulnerable to: GHSA-7xcx-6wjh-7xp2","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-7p7h-4mm5-852v","Warn: Project is vulnerable to: GHSA-38fc-wpqx-33j7","Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh","Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp"],"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-20T13:05:59.429Z","repository_id":39768911,"created_at":"2025-08-20T13:05:59.429Z","updated_at":"2025-08-20T13:05:59.429Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32454148,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","response_time":57,"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":["changelog","conventional-commit","github","grunt","grunt-task","gruntplugin","release","release-automation","semver","standard-version"],"created_at":"2024-11-07T21:18:37.021Z","updated_at":"2026-04-30T03:38:42.576Z","avatar_url":"https://github.com/khatastroffik.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# grunt-standard-version\n\nGrunt.js plugin with automatic versioning (using [semver](https://github.com/semver/semver)) and CHANGELOG generation (using [standard-version](https://github.com/conventional-changelog/standard-version))\n\n## Getting Started\n\nThis plugin requires **Grunt** `1.1.0` (it may work with some older versions, though not tested) and is integrating **standard-version** `v7.1.0`.\n\nIf you haven't used [Grunt](http://gruntjs.com/) before, please check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin following the instructions below.\n\n## Conventional installation\n\nThis Grunt plugin should be installed as a development dependency of your project:\n\n```shell\nnpm install --save-dev khatastroffik/grunt-standard-version \n```\n\nIn your project's `Gruntfile.js`, add a section named `standardVersion` to the data object passed into `grunt.initConfig()`. At least one target (e.g. `version` below) must be defined. This target will be executed by default if no target is explicitly specified when the task is called:\n\n```js\ngrunt.initConfig({\n\n  //...\n\n  standardVersion: {\n    options: {\n      // define the DEFAULT options for ALL targets here\n    },\n    version: {\n      options: {\n        // define the options SPECIFIC to THIS target here\n      }\n    }\n  },\n\n  //...\n\n});\n```\nnote: if multiple targets are defined and the task call doesn't specify any target, then ALL the defined targets will be executed in a row.\n\nTo enable i.e. **load** the plugin, add the following inside your `Gruntfile.js` file (usually after the configuration above):\n\n```js\n// load the plugin\ngrunt.loadNpmTasks('grunt-standard-version');\n```\n\nTo integrate the task i.e. in order to have it called in some workflow, you may also define further (kind of *meta*) tasks like the following:\n\n```js\ngrunt.registerTask('versionize', ['standardVersion:version']); // call the task with target 'version'\ngrunt.registerTask('test-versionize', ['clean', 'versionize', 'nodeunit']); // call the 'versionize' task above\n\ngrunt.registerTask('release', ['SOME-TASK-HERE', 'standardVersion:version', 'SOME-TASK-THERE']);\n```\n\nTo make the grunt (meta) tasks available per npm, you may add some scripts in your `package.json`file. E.g.:\n\n```json\n\n\"scripts\": {\n  \"test-versionize\": \"grunt test-versionize\",\n  \"versionize\": \"grunt versionize\",\n  \"release\": \"grunt release\"\n}\n\n```\n\n\n## Options\n\n### Grunt plugin specific option\n\nThere's only one specific option `continueIfError` (default = `false`) that allows Grunt to keep running following tasks in case \"standard-version\" has failed - if set to `true`.\n\n### standard-version specific options\n\nAll the options declared in `standard-version` v7.1.0 are valid.\n\nOverview:\n\n|option|default/example|short description\n|------|---------------|-----------------\n|infile| \"CHANGELOG.md\"|name of the file used to track the changelog\n|releaseCommitMessageFormat|\"\u0026#123;\u0026#123;currentTag\u0026#125;\u0026#125;\"| the message of the commit (the old \"message\" option is deprecated). Placeholder \"\u0026#123;\u0026#123;currentTag\u0026#125;\u0026#125;\" is allowed. Current default is `chore(release): \u0026#123;\u0026#123;currentTag\u0026#125;\u0026#125;`\n|header|\"EXAMPLE HEADER\"|headline for the list of changes ('header' is the replacement for the DEPRECATED 'changelogHeader')\n|packageFiles|[]|list of files that will be scanned to find the 'current version' information. First version found wins!\n|bumpFiles|[]|list of files (note: the listed 'packageFiles' will be added internally/automatically to the 'bumpFiles' list) in which the 'current version' information should be bumped\n|firstRelease|false|set to true for the very first release\n|sign|false|true if a signature should be used to sign the commits...\n|noVerify|false|if true, existing git hooks will be bypassed\n|commitAll|false|if true, all staged files (beside the changelog and bumpfiles) will be added to the commit\n|silent|false|true to avoid displaying any message to console etc.\n|tagPrefix|\"v\"|bump will use this to prefix the new version number\n|scripts|\u0026#123;\t\u0026#125;|see standard-version docs\n|skip|\u0026#123;\t\u0026#125;|see standard-version docs\n|gitTagFallback|true|if no meta-information file is found (e.g., package.json), a fallback 'version' should be used\n|releaseAs|\"\"|Specify the release type manually (like \"major\", \"minor\", \"patch\" or a custom value like \"1.0\")\n|path|\"\"|Only populate commits with files added, modified... under this path\n|preset|\"angular\"|Commit message guideline preset (undefined by default). many different presets exist. see standard-version documentation\n|verbose|false|output extra log information to console...\n|dryRun|false|simulate if set to true\n\nFurther details: see [standard-version default configuration](https://github.com/conventional-changelog/standard-version/blob/master/defaults.js) and [standard-version commands](https://github.com/conventional-changelog/standard-version/blob/master/command.js) among others.\n\n### Usage of the `.versionrc` (and alternatives) configuration\n\nThe [conventional-change-spec](https://github.com/conventional-changelog/conventional-changelog-config-spec/blob/master/versions/2.1.0/README.md) v2.1.0 (adopted by standard-version) defines configuration options applicable to the presets i.e. each preset may define it's own \"taste\" according to the spec.\n\nTo apply a **custom spec** i.e. to define a *custom rule set*, you may create a `.versionrc` file in the same directory as the `Gruntfile.js`.\nSee *standard-version* [Configuration](https://github.com/conventional-changelog/standard-version#configuration) documentation.\n\n**grunt-standard-version** will *merge the 'versionrc' custom rule set* with the task configuration in the `Gruntfile.js`. Rules defined in the gruntfile take absolute precedence over the versionrc configuration. This matches with the CLI behavior.\n\nNote: the option `header` defined in the **conventional-change-spec** (see above) is *not respected by standard-version 7.1.0*. Instead, `header` is defined as a *root option* by standard-version. This may change in the future (fix?). See the configuration example below.\n\n### Gruntfile Configuration Example\n\nThis is an example of the **standardVersion** task configuration using a target named \"version\".\n\n```js\ngrunt.initConfig({\n\n  //...\n  standardVersion: {\n    options: {\n      releaseCommitMessageFormat: 'SuperProject {{currentTag}}',\n      prerelease: 'alpha',\n      silent: true,\n      header: '# This is the changelog of the SuperProject\\n\\n',\n      tagPrefix: \"version-\",\n      releaseAs: 'major',\n      preset: 'angular',\n      dryRun: true\n    },\n    version: { \n      options: {\n        dryRun: false\n      }\n    }\n  },\n  //...\n\n});\n```\n\nExecuting the task `standardVersion:version` as defined above will result in:\n\n- reduced task output to the console\n- all bump files updated to the next *major* version, including a pre-release value e.g. from `1.3.0` to `2.0.0-alpha.0`\n- CHANGELOG.md will be updated according the 'angular' preset with a header as declared above\n- all bumpfiles and the changelog will be commited with the message `SuperProject version-2.0.0-alpha.0`\n- a tag will be created as `version-2.0.0-alpha.0`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhatastroffik%2Fgrunt-standard-version","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkhatastroffik%2Fgrunt-standard-version","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhatastroffik%2Fgrunt-standard-version/lists"}