{"id":17125045,"url":"https://github.com/tusbar/grunt-subgrunt","last_synced_at":"2025-09-12T23:41:08.276Z","repository":{"id":10017890,"uuid":"12056617","full_name":"tusbar/grunt-subgrunt","owner":"tusbar","description":"Run sub-projects’ grunt tasks.","archived":false,"fork":false,"pushed_at":"2022-12-08T19:06:07.000Z","size":396,"stargazers_count":42,"open_issues_count":14,"forks_count":11,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-29T20:07:12.639Z","etag":null,"topics":["grunt","submodules","subproject"],"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/tusbar.png","metadata":{"files":{"readme":"readme.md","changelog":null,"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":"2013-08-12T13:34:12.000Z","updated_at":"2024-09-23T10:33:21.000Z","dependencies_parsed_at":"2023-01-13T15:41:43.331Z","dependency_job_id":null,"html_url":"https://github.com/tusbar/grunt-subgrunt","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/tusbar/grunt-subgrunt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tusbar%2Fgrunt-subgrunt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tusbar%2Fgrunt-subgrunt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tusbar%2Fgrunt-subgrunt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tusbar%2Fgrunt-subgrunt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tusbar","download_url":"https://codeload.github.com/tusbar/grunt-subgrunt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tusbar%2Fgrunt-subgrunt/sbom","scorecard":{"id":902884,"data":{"date":"2025-08-18","repo":{"name":"github.com/tusbar/grunt-subgrunt","commit":"c52da809fe78b1437ef3b194483c56c934b5fee1"},"scorecard":{"version":"v5.2.1-41-g40576783","commit":"40576783fda6698350fcbbeaea760ff827433034"},"score":2,"checks":[{"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/40576783fda6698350fcbbeaea760ff827433034/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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#binary-artifacts"}},{"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/40576783fda6698350fcbbeaea760ff827433034/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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/10 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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#code-review"}},{"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/40576783fda6698350fcbbeaea760ff827433034/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/40576783fda6698350fcbbeaea760ff827433034/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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#cii-best-practices"}},{"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#security-policy"}},{"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#fuzzing"}},{"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/40576783fda6698350fcbbeaea760ff827433034/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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/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 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"39 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-6chw-6frg-f759","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-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-hr2v-3952-633q","Warn: Project is vulnerable to: GHSA-h6ch-v84p-w6p9","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-pfrx-2q88-qq97","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-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-6c8f-qphg-qjgp","Warn: Project is vulnerable to: GHSA-4xcv-9jjx-gfj3","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","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-4g88-fppr-53pp","Warn: Project is vulnerable to: GHSA-4jqc-8m5r-9rpr","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-7p7h-4mm5-852v","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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-24T16:18:59.153Z","repository_id":10017890,"created_at":"2025-08-24T16:18:59.153Z","updated_at":"2025-08-24T16:18:59.153Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274894089,"owners_count":25369488,"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-12T02:00:09.324Z","response_time":60,"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":["grunt","submodules","subproject"],"created_at":"2024-10-14T18:44:00.334Z","updated_at":"2025-09-12T23:41:08.234Z","avatar_url":"https://github.com/tusbar.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# grunt-subgrunt [![CircleCI](https://circleci.com/gh/tusbar/grunt-subgrunt.svg?style=svg)](https://circleci.com/gh/tusbar/grunt-subgrunt)\n\n[![npm version](https://img.shields.io/npm/v/grunt-subgrunt.svg)](https://www.npmjs.com/package/grunt-subgrunt)\n[![Dependencies Status](https://david-dm.org/tusbar/grunt-subgrunt.svg)](https://david-dm.org/tusbar/grunt-subgrunt)\n[![Dev Dependencies Status](https://david-dm.org/tusbar/grunt-subgrunt/dev-status.svg)](https://david-dm.org/tusbar/grunt-subgrunt#info=devDependencies)\n[![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo)\n\n\u003e Run sub-projects' grunt tasks.\n\u003e This plugin was inspired by https://gist.github.com/cowboy/3819170.\n\n## Getting started\n\nIf you haven't used [Grunt](http://gruntjs.com/) before, be sure to 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 with this command:\n\n```shell\nnpm install grunt-subgrunt --save-dev\n```\n\nOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\n\n```js\ngrunt.loadNpmTasks('grunt-subgrunt');\n```\n\n## Release notes\n\nFor change logs and release notes, see the [changelog](https://github.com/tusbar/grunt-subgrunt/blob/master/changelog.md) file.\n\n## The \"subgrunt\" task\n\n### Overview\nIn your project's Gruntfile, add a section named `subgrunt` to the data object passed into `grunt.initConfig()`.\n\n```js\ngrunt.initConfig({\n  subgrunt: {\n    options: {\n      // Task-specific options go here.\n    },\n    your_target: {\n      options: {\n        // Target-specific options\n      },\n      projects: {\n        // Paths to sub-projects' gruntfiles\n      }\n    },\n  },\n})\n```\n\n### Options\n\n#### options.npmInstall\nType: `bool`  \nDefault value: `true`\n\nDetermines wether `npm install` will be ran for the sub-project (thus installing dev dependencies).\n\n#### options.npmClean\nType: `bool`  \nDefault value: `false`  \n*Requires npm \u003e= 1.3.10*\n\nWhen enabled, runs `npm prune --production` to clean development dependencies.\n\n#### options.npmPath\nType: `string`  \nDefault value: `'npm'`\n\nThe location of the `npm` executable. Defaults to `'npm'` as it should be available in the `$PATH` environment variable.\n\n#### options.passGruntFlags\nType: `bool`  \nDefault value: `true`  \n\nWhen enabled, passes the grunt.options thru to the subgrunt task.\n\n#### options.limit\nType: `Number`  \nDefault value: Number of CPU cores (`require('os').cpus().length`) with a minimum of 2\n\nLimit how many sub-grunt projects are launched concurrently.\n\n\n### Usage examples\n\n```js\ngrunt.initConfig({\n  subgrunt: {\n    target0: {\n      projects: {\n        // For each of these projects, the specified grunt task will be executed:\n        'node_modules/module1': 'default',\n        'node_modules/module2': 'bower:install'\n      }\n    },\n    target1: {\n      // Without target-specific options, the projects object is optional:\n      'node_modules/module1': 'default',\n      'node_modules/module2': 'bower:install'\n    },\n    target2: {\n      // Use an array to run multiple tasks:\n      'node_modules/module1': [ 'clean', 'test' ]\n    },\n    target3: {\n      // you can use this array to add parameters:\n      'node_modules/module1': [ 'clean', '--myParam=\"foobar\"', '--verbose' ]\n    },\n    target4: [\n      // Using an array will just execute the 'default' grunt task:\n      'node_modules/module3',\n      'node_modules/module4'\n    ],\n    target5: {\n      // npm install will not be ran for this target:\n      options: {\n        npmInstall: false\n      },\n      projects: {\n        'sub-projects/my-awesome-module': 'build:dist'\n      }\n    },\n    target6: {\n      // The npm devDependencies will be cleaned out after running the grunt tasks.\n      options: {\n        npmClean: true\n      },\n      projects: {\n        'node_modules/module1': [ 'preprocess', 'build' ]\n      }\n    },\n    target7: {\n      // grunt option flags will not be passed to the subgrunts\n      options: {\n        passGruntFlags: false\n      },\n      projects: {\n        'baz': [ 'foo', 'bar' ]\n      }\n    }\n  }\n})\n```\n\n## Miscellaneous\n\n```\n    ╚⊙ ⊙╝\n  ╚═(███)═╝\n ╚═(███)═╝\n╚═(███)═╝\n ╚═(███)═╝\n  ╚═(███)═╝\n   ╚═(███)═╝\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftusbar%2Fgrunt-subgrunt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftusbar%2Fgrunt-subgrunt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftusbar%2Fgrunt-subgrunt/lists"}