how is Angular repo created?

Discussão em 'Angular' iniciado por anlex N, Maio 26, 2025.

  1. anlex N

    anlex N Guest

    I am contributing my source code to Angular repo.

    But some meaningful details confuse me very much, I have searched them from google.com, stackoverflow.com and others. but none can be found.


    1. adev/scripts/update-cdk-apis/index.mjs: This script updates the Angular CDK api JSON files stored in adev/src/content/cdk.

      my@host:~/workspace/github.com/angular/angular
      $ tree adev/src/content/cdk
      adev/src/content/cdk
      ├── BUILD.bazel
      ├── _build-info.json
      ├── cdk_drag_drop.json
      ├── cdk_testing.json
      ├── cdk_testing_protractor.json
      ├── cdk_testing_selenium_webdriver.json
      └── cdk_testing_testbed.json


      README.md just say this script updates those json files, so how are those json file created by themself? or use script, but where is that script? Or create them manually?


    2. If I want to change "Angular v19 is here!" to "Angular v19 is there!", I just need to change it in the home-animation.component.html, right?

      [​IMG]

      Because I only can find "Angular v19 is here" keyword in the home-animation.component.html:

      anlexn@DOOR:~/workspace/github.com/anlexN/angular
      $ grep -rI --exclude-dir=.git "Angular v19 is here" .
      ./adev/src/app/features/home/components/home-animation/home-animation.component.html: <h1 tabindex="-1">Angular v19 is here!</h1>


      I use git to know there already have some files in the //adev/src/app/features/home/components/home-animation:

      anlexn@DOOR:~/workspace/github.com/anlexN/angular
      $ git ls-files ./adev/src/app/features/home/components/home-animation
      adev/src/app/features/home/components/home-animation/animation-definition.ts
      adev/src/app/features/home/components/home-animation/home-animation.component.html
      adev/src/app/features/home/components/home-animation/home-animation.component.scss
      adev/src/app/features/home/components/home-animation/home-animation.component.ts


      so how are animation-definition.ts, home-animation.component.html, home-animation.component.scss, home-animation.component.ts created by themselves?


    3. how is Angular repo created by itself? can you give me step-by-step command?

    Continue reading...

Compartilhe esta Página