{"id":13622773,"url":"https://github.com/angular/angular-cn","last_synced_at":"2025-10-06T11:31:11.913Z","repository":{"id":43018921,"uuid":"59776086","full_name":"angular/angular-cn","owner":"angular","description":"Chinese localization of angular.io","archived":true,"fork":false,"pushed_at":"2022-10-29T06:47:25.000Z","size":326501,"stargazers_count":758,"open_issues_count":6,"forks_count":420,"subscribers_count":42,"default_branch":"master","last_synced_at":"2025-10-06T00:33:41.883Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Pug","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/angular.png","metadata":{"files":{"readme":"README-en.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":"2016-05-26T19:07:10.000Z","updated_at":"2025-05-21T08:12:18.000Z","dependencies_parsed_at":"2023-01-20T02:17:24.177Z","dependency_job_id":null,"html_url":"https://github.com/angular/angular-cn","commit_stats":null,"previous_names":[],"tags_count":512,"template":false,"template_full_name":null,"purl":"pkg:github/angular/angular-cn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angular%2Fangular-cn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angular%2Fangular-cn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angular%2Fangular-cn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angular%2Fangular-cn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/angular","download_url":"https://codeload.github.com/angular/angular-cn/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angular%2Fangular-cn/sbom","scorecard":{"id":196318,"data":{"date":"2025-08-11","repo":{"name":"github.com/angular/angular-cn","commit":"9821bc55ea2ed928f10b553329bfe41b1378340c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4,"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":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"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":0,"reason":"Found 1/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":"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":"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":"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":"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":"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":"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":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/angular/.github/SECURITY.md:1","Info: Found linked content: github.com/angular/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/angular/.github/SECURITY.md:1","Info: Found text in security policy: github.com/angular/.github/SECURITY.md:1"],"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: npmCommand not pinned by hash: scripts/before-install.sh:8","Warn: npmCommand not pinned by hash: scripts/examples-install-preview.sh:10","Warn: npmCommand not pinned by hash: scripts/examples-install.sh:5","Warn: npmCommand not pinned by hash: scripts/install.sh:17","Info:   0 out of   4 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":"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":3,"reason":"branch protection is not maximal on development and all release branches","details":["Info: 'allow deletion' disabled on branch 'master'","Info: 'force pushes' disabled on branch 'master'","Warn: 'branch protection settings apply to administrators' is disabled on branch 'master'","Warn: branch 'master' does not require approvers","Warn: codeowners review is not required on branch 'master'","Warn: no status checks found to merge onto branch 'master'","Warn: PRs are not required to make changes on branch 'master'; or we don't have data to detect it.If you think it might be the latter, make sure to run Scorecard with a PAT or use Repo Rules (that are always public) instead of Branch Protection settings"],"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 1 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"}}]},"last_synced_at":"2025-08-16T21:53:49.731Z","repository_id":43018921,"created_at":"2025-08-16T21:53:49.731Z","updated_at":"2025-08-16T21:53:49.731Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278601981,"owners_count":26013993,"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-06T02:00:05.630Z","response_time":65,"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-08-01T21:01:23.905Z","updated_at":"2025-10-06T11:31:10.130Z","avatar_url":"https://github.com/angular.png","language":"Pug","funding_links":[],"categories":["Pug"],"sub_categories":[],"readme":"# Angular.io\nAngular.io is site for Angular 2 **documentation** . \n\nThis site also includes links to other helpful angular resources including \nAngular 2, Angular 1, Angular Material, and AngularFire.\n\n## Issues\n\nPlease file **Developer Guide, Cookbook, and code sample issues _only_** in this \n[Angular.io](https://github.com/angular/angular.io/issues) github repo.\n\n**Angular API issues, cheatsheet corrections, feature requests, defect reports, and technical questions** concerning Angular itself\nbelong in the [**angular source code**](https://github.com/angular/angular/issues) github repo.\nWe can't handle those topics here and will ask you to re-post them on the angular repo.\n\n## How you can help\n\nFiling issues is helpful but **pull requests** that improve the docs are even better!\n\nLearn how to [contribute to Angular.io](https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md).\n\n## Development Setup\nThis site relies heavily on node and npm.\n\n1. Make sure you are using the latest node and npm; \nif not install [nvm](https://github.com/creationix/nvm) to get node going on your machine.\n\n1. install these npm packages *globally*: `npm install -g harp gulp protractor`\n\n1. clone this repo and the [angular source code repo](https://github.com/angular/angular) to the same parent directory.\nThe two cloned repo directories must be sibling.\n\n1. cd into root directory `Angular.io/`\n\n1. install the *all-docs* local packages by running `npm install`\n\u003e If running node v.5+, you probably must rebuild `node-sass` in a separate step: `npm rebuild node-sass`\n\n1. See [below](#code-sample-development) for code sample development preparation.\n\n## Content Development\nAll documentation content is written in Jade which has [its own syntax](http://jade-lang.com/reference/).\nBe aware of the strict demands imposed by this significant-whitespace language.\nWe strongly recommend running one of the gulp `serve-and-sync` commands [described below](#serve-and-sync)\nwhile editing content so you can see the effect of your changes *as you type*.\n\nThe documentation relies on specific styles and mixins. \nLearn about those in the [documentation styleguide](https://angular.io/docs/ts/latest/styleguide.html).\n\nThe jade documentation files are language-specific directories under either `public/docs/`.\nFor example, all of the TypeScript docs are in `public/docs/ts/latest`, e.g.\n- `public/docs/ts/latest/quickstart.jade`\n- `public/docs/ts/latest/guide/architecture.jade`\n- `public/docs/ts/latest/cookbook/component-communication.jade`\n- `public/docs/ts/latest/tutorial/toh-pt5.jade`\n\n### Local server with watches and browser reload\n 1. cd into root directory `Angular.io/`\n 1. run `gulp serve-and-sync`\n 1. browser will launch on localhost:3000 and stay refreshed automatically.\n\n\u003ca id=\"serve-and-sync\"\u003e\u003c/a\u003e\nIf you are only going to work on a specific part of the docs, such as the dev guide, then you can use one of the more specific gulp tasks to only watch those parts of the file system:\n\n* `gulp serve-and-sync` : watch all the local Jade/Sass files, the API source and examples, and the dev guide files\n* `gulp serve-and-sync-api` : watch only the API source and example files\n* `gulp serve-and-sync-devguide` : watch only the dev guide files\n* `gulp build-and-serve` : watch only the local Jade/Sass files\n\n## Code Sample Development\n\nAll documentation is supported by sample code and plunkers. \nSuch code resides in the `public/docs/_examples` directory, under chapter-specific directories, further divided by language track.\n\nFor example, the TypeScript QuickStart sample is in `public/docs/_examples/quickstart/ts`.\n\nAll samples are in a consistent directory structure using the same styles and the same npm packages, including the latest release of Angular 2.\nThis consistency is possible in part thanks to gulp-driven tooling. \nTo run the samples locally and confirm that they work properly, \ntake the following extra steps to prepare the environment:\n\n1. cd to `public/docs/_examples`\n\n1. install the canonical node packages for all samples by running `npm install`\n\n1. cd back up to `Angular.io` root: `cd ../../..`\n\n1. run `gulp add-example-boilerplate` (elevate to admin on Windows) \nto copy canonical files to the sample directories and create symlinks there for node_modules and typings. \n\nNow cd into any particular sample's language directory (e.g., `public/docs/_examples/quickstart/ts`) and try:\n- `npm start`  to simultaneously compile-with-watch and serve-in-browser-with-watch\n- `npm run tsc` to compile only\n- `npm run lite` to serve-and-watch in browser\n\nLook at the scripts in `package.json` for other options.\nAlso, open any `plunkr.no-link.html` to see the code execute in plunker\n(you may have to run `gulp build-plunkers` first to create/update).\n\n### Sample end-to-end tests\n\nAll samples should be covered to some degree by end-to-end tests:\n- `gulp run-e2e-tests` to run all TypeScript and JavaScript tests\n- `gulp run-e2e-tests --lang=dart` to run all Dart tests\n- `gulp run-e2e-tests --lang=all` to run TypeScript, JavaScript, and Dart tests\n- `gulp run-e2e-tests --filter=quickstart` to filter the examples to run, by name\n- `gulp run-e2e-tests --fast` to ignore npm install, webdriver update and boilerplate copy\n\nAny combination of options is possible.\n\n\n## Technology Used\n- Angular 1.x: The production ready version of Angular\n- Angular Material: An implementation of Material Design in Angular.js\n- Gulp: node-based tooling\n- Harp: The static web server with built-in preprocessing.\n- Sass: A professional grade CSS extension language\n- Normalize: A modern, HTML5-ready alternative to CSS resets\n- Grids: A highly customizable CSS Grid Framework built with Sass\n- Prettify: A JS module and CSS for syntax highlighting of source code snippets.\n- Icomoon: Custom built icon fonts\n\n\n## License\nPowered by Google ©2010-2016. Code licensed under an [MIT-style License](https://github.com/angular.io/blob/master/LICENSE). Documentation licensed under [CC BY 4.0](http://creativecommons.org/licenses/by/4.0/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangular%2Fangular-cn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fangular%2Fangular-cn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangular%2Fangular-cn/lists"}