{"id":19505899,"url":"https://github.com/morlay/undertaker-config-registry","last_synced_at":"2026-06-11T18:31:23.817Z","repository":{"id":57385947,"uuid":"48481256","full_name":"morlay/undertaker-config-registry","owner":"morlay","description":null,"archived":false,"fork":false,"pushed_at":"2015-12-23T09:22:44.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-18T18:25:45.968Z","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/morlay.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-12-23T09:18:29.000Z","updated_at":"2015-12-23T09:20:09.000Z","dependencies_parsed_at":"2022-08-31T20:51:43.188Z","dependency_job_id":null,"html_url":"https://github.com/morlay/undertaker-config-registry","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/morlay/undertaker-config-registry","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morlay%2Fundertaker-config-registry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morlay%2Fundertaker-config-registry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morlay%2Fundertaker-config-registry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morlay%2Fundertaker-config-registry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/morlay","download_url":"https://codeload.github.com/morlay/undertaker-config-registry/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morlay%2Fundertaker-config-registry/sbom","scorecard":{"id":660320,"data":{"date":"2025-08-11","repo":{"name":"github.com/morlay/undertaker-config-registry","commit":"8b487da3e8e6c95b281e7e2ce1e762bcbb6e523c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"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":"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/2 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":"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":"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":"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":"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":"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":"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":"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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 '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"}}]},"last_synced_at":"2025-08-21T15:58:14.750Z","repository_id":57385947,"created_at":"2025-08-21T15:58:14.750Z","updated_at":"2025-08-21T15:58:14.750Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34213180,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","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":[],"created_at":"2024-11-10T22:34:45.968Z","updated_at":"2026-06-11T18:31:23.538Z","avatar_url":"https://github.com/morlay.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Undertaker Config Registry\n\nA registry for Gulp 4 ([Undertaker](https://github.com/gulpjs/undertaker))\n\n[![Build Status](https://img.shields.io/travis/morlay/undertaker-config-registry.svg?style=flat-square)](https://travis-ci.org/morlay/undertaker-config-registry)\n[![NPM](https://img.shields.io/npm/v/undertaker-config-registry.svg?style=flat-square)](https://npmjs.org/package/undertaker-config-registry)\n[![Dependencies](https://img.shields.io/david/morlay/undertaker-config-registry.svg?style=flat-square)](https://david-dm.org/morlay/undertaker-config-registry)\n[![License](https://img.shields.io/npm/l/undertaker-config-registry.svg?style=flat-square)](https://npmjs.org/package/undertaker-config-registry)\n\n### How to work\n\n```\ncommonConf |\u003e taskConfFn =\u003e taskConf |\u003e taskDefFn =\u003e task\n```\n\n#### Gulp Structure\n\n```\ngulpfile.babel.js/\nconfig/\n  copy.js\ntasks/\n  copy.js\nindex.js\n```\n\n** filename should be prefer the task name **\n\n\n```js\n// config/copy.js\nexport default (conf) =\u003e {\n  return {\n    src: `${conf.src}/**`,\n    output: `${conf.dist}`\n  }\n}\n```\n\n```js\n// tasks/copy.js\nimport gulp from 'gulp';\n\nfunction copy(taskConf) {\n  return gulp.src(taskConf.src)\n    .pipe(gulp.dest(taskConf.output));\n}\n\ncopy.watch = function copyWatch(taskConf, taskFn) {\n  gulp.watch(taskConf.src, taskFn);\n};\n\nexport default copy;\n```\n\n\n```js\n// index.js\nimport gulp from 'gulp';\nimport requireDir from 'require-dir';\nimport ConfigRegistry from 'undertaker-config-registry';\n\nconst baseConfig = {\n  src: './src',\n  dist: './public'\n};\n\nconst configRegistry = new ConfigRegistry(\n  baseConfig,\n  requireDir('./config', {\n    recurse: true\n  }),\n  requireDir('./tasks')\n);\n```\n\nRun `gulp copy` will be work well or defined custom task queues by `gulp.series` or `gulp.parallel`\n\n##### Dev mode\n\n`taskDefFn.watch` will be called only in dev model\n\n```js\nconfigRegistry.enableDevMode(() =\u003e {\n  // other configuration for dev model\n  // ex.\n  // process.env.BABEL_ENV = 'development';\n})\n```\n\n##### Mutli configure\n\nFor `taskConfFn`, a special hook be provided.\n`files` will help to create sub task and will merge common `options` which exists,\nwithout changing `TaskDefFn`\n\nex.\n\n```js\nexport default (conf) =\u003e {\n  return {\n    files: [{\n      src: `${conf.src}/target1/**`,\n      output: `${conf.dist}/target1`,\n      options: {\n        a: 2,\n        b: 1\n      }\n    }, {\n      src: `${conf.src}/target2/**`,\n      output: `${conf.dist}/target2`\n    }],\n    options: {\n      a: 1\n    }\n  }\n}\n```\n\nwill be\n\n```js\n// taskConf_0\n{\n  src: `${conf.src}/target1/**`,\n  output: `${conf.dist}/target1`,\n  options: {\n    a: 2,\n    b: 1\n  }\n}\n\n// taskConf_1\n{\n  src: `${conf.src}/target1/**`,\n  output: `${conf.dist}/target1`,\n  options: {\n    a: 1\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorlay%2Fundertaker-config-registry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmorlay%2Fundertaker-config-registry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorlay%2Fundertaker-config-registry/lists"}