{"id":31235892,"url":"https://github.com/nitayneeman/schematics-utilities","last_synced_at":"2025-10-12T09:14:58.137Z","repository":{"id":44981077,"uuid":"140888059","full_name":"nitayneeman/schematics-utilities","owner":"nitayneeman","description":"🛠️ Useful exported utilities for working with Schematics","archived":false,"fork":false,"pushed_at":"2022-12-07T21:08:19.000Z","size":754,"stargazers_count":87,"open_issues_count":15,"forks_count":9,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-09-22T15:02:16.101Z","etag":null,"topics":["angular","devkit","material","schematic","schematics","util","utilities","utility","utils"],"latest_commit_sha":null,"homepage":"https://nitayneeman.github.io/schematics-utilities","language":"TypeScript","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/nitayneeman.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":"2018-07-13T19:59:26.000Z","updated_at":"2025-07-25T18:56:31.000Z","dependencies_parsed_at":"2022-09-24T21:40:38.602Z","dependency_job_id":null,"html_url":"https://github.com/nitayneeman/schematics-utilities","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/nitayneeman/schematics-utilities","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitayneeman%2Fschematics-utilities","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitayneeman%2Fschematics-utilities/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitayneeman%2Fschematics-utilities/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitayneeman%2Fschematics-utilities/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nitayneeman","download_url":"https://codeload.github.com/nitayneeman/schematics-utilities/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitayneeman%2Fschematics-utilities/sbom","scorecard":{"id":689154,"data":{"date":"2025-08-11","repo":{"name":"github.com/nitayneeman/schematics-utilities","commit":"e896c919feb4ff808671c7b1c6e5b5c8db7f9d37"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"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":"Code-Review","score":1,"reason":"Found 2/15 approved changesets -- score normalized to 1","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":"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":"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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: npmCommand not pinned by hash: scripts/test-sanity.sh:3","Info:   0 out of   1 npmCommand dependencies pinned"],"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":"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":"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 21 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":0,"reason":"37 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-8r6j-v8pm-fqw3","Warn: Project is vulnerable to: MAL-2023-462","Warn: Project is vulnerable to: GHSA-qqgx-2p2h-9c37","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-6c8f-qphg-qjgp","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-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-vx3p-948g-6vhq","Warn: Project is vulnerable to: GHSA-3jfq-g458-7qm9","Warn: Project is vulnerable to: GHSA-r628-mhmh-qjhw","Warn: Project is vulnerable to: GHSA-9r2w-394v-53qc","Warn: Project is vulnerable to: GHSA-5955-9wpr-37jh","Warn: Project is vulnerable to: GHSA-qq89-hq3f-393p","Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-7wwv-vh3v-89cq","Warn: Project is vulnerable to: GHSA-rc47-6667-2j5j","Warn: Project is vulnerable to: GHSA-78xj-cgh5-2h22","Warn: Project is vulnerable to: GHSA-2p57-rm9w-gvfp","Warn: Project is vulnerable to: GHSA-5v2h-r2cx-5xgj","Warn: Project is vulnerable to: GHSA-rrrm-qjm4-v8hf","Warn: Project is vulnerable to: GHSA-4rq4-32rv-6wp6","Warn: Project is vulnerable to: GHSA-64g7-mvw6-v9qj","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6"],"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-22T01:52:19.102Z","repository_id":44981077,"created_at":"2025-08-22T01:52:19.102Z","updated_at":"2025-08-22T01:52:19.102Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279010963,"owners_count":26084837,"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-10-12T02:00:06.719Z","response_time":53,"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":["angular","devkit","material","schematic","schematics","util","utilities","utility","utils"],"created_at":"2025-09-22T15:01:04.272Z","updated_at":"2025-10-12T09:14:58.111Z","avatar_url":"https://github.com/nitayneeman.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/nitayneeman/schematics-utilities/blob/master/images/logo.png?raw=true\" alt=\"Puppeteer Logo\"\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eSchematics Utilities\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.npmjs.com/package/schematics-utilities\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/schematics-utilities.svg?colorB=cb3837\" alt=\"npm\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://nitayneeman.github.io/schematics-utilities/\"\u003e\u003cimg src=\"https://img.shields.io/badge/docs-typedoc-green.svg\" alt=\"Docs\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/schematics-utilities\"\u003e\u003cimg src=\"https://img.shields.io/npm/dt/schematics-utilities?color=blue\" alt=\"Downloads\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/nitayneeman/schematics-utilities/blob/master/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-MIT-lightgray.svg\" alt=\"License\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/nitayneeman/schematics-utilities#-how-to-install\"\u003eInstallation\u003c/a\u003e ·\n  \u003ca href=\"https://github.com/nitayneeman/schematics-utilities#-how-to-use\"\u003eUsage\u003c/a\u003e ·\n  \u003ca href=\"https://github.com/nitayneeman/schematics-utilities#%EF%B8%8F%EF%B8%8F-disclaimer\"\u003eDisclaimer\u003c/a\u003e\n\u003c/p\u003e\n\n## ℹ️️ Description\n\nAt the moment, none of the utilities from the Angular Schematics package are exported.\n\nThis project was created from that purpose - _providing a collection of general and useful utilities for Schematics, based on non-exported existing utilities and further_.\n\nYou might use this project as a polyfill until these utilities will be exported officially by the relevant teams (and then just replace the path you import). However, consider sticking with this project for additional and unique utilities which are planned for the future.\n\n\u003cbr\u003e\n\n## 🔧 How to Install\n\nTo Install using npm, simply do:\n\n```\nnpm install schematics-utilities\n```\n\n\u003cbr\u003e\n\n## 👨🏻‍🏫 How to Use\n\n```javascript\nimport { Rule, Tree } from '@angular-devkit/schematics';\n// 1. Import the needed utilities\nimport { addPackageJsonDependency, NodeDependency, NodeDependencyType } from 'schematics-utilities';\n\nfunction addDependencies(host: Tree): Tree {\n  const dependencies: NodeDependency[] = [{ type: NodeDependencyType.Default, version: '4.17.10', name: 'lodash-es' }];\n\n  // 2. Just use it whenever you need :)\n  dependencies.forEach(dependency =\u003e addPackageJsonDependency(host, dependency));\n\n  return host;\n}\n\nexport default function(): Rule {\n  return (tree: Tree) =\u003e {\n    addDependencies(tree);\n\n    return tree;\n  };\n}\n```\n\nCheck out the [API docs](https://nitayneeman.github.io/schematics-utilities/) for the available utilities.\n\n\u003cbr\u003e\n\n## ⚠️️ Disclaimer\n\nThis repository contains code which is directly taken from:\n\n- [Angular Schematics package](https://github.com/angular/angular-cli/tree/master/packages/schematics)\n- [Angular Material](https://github.com/angular/components/tree/master/src/cdk/schematics/utils)\n\nAll credits go to the respective developers! 👏\n\n\u003cbr\u003e\n\n## 💁🏻 Contributing\n\nThis is an open source project. Any contribution would be greatly appreciated!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnitayneeman%2Fschematics-utilities","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnitayneeman%2Fschematics-utilities","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnitayneeman%2Fschematics-utilities/lists"}