{"id":4564646,"name":"@build-script/codegen","ecosystem":"npm","description":"根据搜索指定目录中的所有 `.generator.ts` 结尾的文件，调用其中的 `generate` 函数，将结果写入 `.generated.ts`。","homepage":"https://github.com/GongT/baobao#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/GongT/baobao","keywords_array":[],"namespace":"build-script","versions_count":28,"first_release_published_at":"2022-07-12T11:51:49.855Z","latest_release_published_at":"2026-03-28T11:13:11.918Z","latest_release_number":"1.0.23","last_synced_at":"2026-03-28T11:45:21.662Z","created_at":"2022-07-14T00:02:15.503Z","updated_at":"2026-03-28T12:58:28.995Z","registry_url":"https://www.npmjs.com/package/@build-script/codegen","install_command":"npm install @build-script/codegen","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"1.0.23"}},"repo_metadata":{"id":38341439,"uuid":"194592442","full_name":"GongT/baobao","owner":"GongT","description":"All of my javascript projects!","archived":false,"fork":false,"pushed_at":"2025-09-29T19:46:16.000Z","size":6322,"stargazers_count":12,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-11-23T22:14:25.714Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/GongT.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-07-01T03:18:35.000Z","updated_at":"2025-09-29T19:46:20.000Z","dependencies_parsed_at":"2024-05-21T14:29:13.602Z","dependency_job_id":"3aa63b13-36c7-48f1-b070-9c053bb5e28d","html_url":"https://github.com/GongT/baobao","commit_stats":{"total_commits":347,"total_committers":3,"mean_commits":"115.66666666666667","dds":"0.060518731988472574","last_synced_commit":"cc2519ffe39af69c81defacf6bf5557de788311a"},"previous_names":["gongt/idlebox"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/GongT/baobao","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GongT%2Fbaobao","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GongT%2Fbaobao/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GongT%2Fbaobao/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GongT%2Fbaobao/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GongT","download_url":"https://codeload.github.com/GongT/baobao/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GongT%2Fbaobao/sbom","scorecard":{"id":57303,"data":{"date":"2025-08-11","repo":{"name":"github.com/GongT/baobao","commit":"c9fbecf1ae80551f818b490314931c1e14303dca"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4,"checks":[{"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":"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":10,"reason":"30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/detect-change.yml:1","Info: no jobLevel write permissions found"],"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":"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":"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":"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":"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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/detect-change.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/GongT/baobao/detect-change.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/detect-change.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/GongT/baobao/detect-change.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/detect-change.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/GongT/baobao/detect-change.yml/master?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction 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":"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":"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":"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":6,"reason":"4 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-xffm-g5w8-qvg7","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-8cj5-5rvv-wf4v"],"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-15T01:01:20.416Z","repository_id":38341439,"created_at":"2025-08-15T01:01:20.416Z","updated_at":"2025-08-15T01:01:20.416Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27489648,"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-12-04T02:00:07.142Z","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"},"tags":[]},"repo_metadata_updated_at":"2026-03-28T12:58:28.962Z","dependent_packages_count":3,"downloads":418,"downloads_period":"last-month","dependent_repos_count":1,"rankings":{"downloads":31.79036661006225,"dependent_repos_count":10.324049984209953,"dependent_packages_count":5.895953140084131,"stargazers_count":8.972338212511442,"forks_count":15.40493323788128,"docker_downloads_count":null,"average":14.477528236949812},"purl":"pkg:npm/%40build-script/codegen","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@build-script/codegen","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/@build-script/codegen","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@build-script/codegen/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-09-26T18:07:24.233Z","issues_count":3,"pull_requests_count":1,"avg_time_to_close_issue":55135990.666666664,"avg_time_to_close_pull_request":null,"issues_closed_count":3,"pull_requests_closed_count":0,"pull_request_authors_count":1,"issue_authors_count":3,"avg_comments_per_issue":2.0,"avg_comments_per_pull_request":0.0,"merged_pull_requests_count":0,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":1,"past_year_pull_requests_count":1,"past_year_avg_time_to_close_issue":28902193.0,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":1,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":1,"past_year_avg_comments_per_issue":0.0,"past_year_avg_comments_per_pull_request":0.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/GongT%2Fbaobao/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@build-script%2Fcodegen/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@build-script%2Fcodegen/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@build-script%2Fcodegen/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@build-script%2Fcodegen/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@build-script%2Fcodegen/codemeta","maintainers":[{"uuid":"gongt","login":"gongt","name":null,"email":"admin@gongt.me","url":null,"packages_count":119,"html_url":"https://www.npmjs.com/~gongt","role":null,"created_at":"2022-11-20T09:39:36.330Z","updated_at":"2022-11-20T09:39:36.330Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/gongt/packages"}]}