{"id":15093189,"url":"https://github.com/angular/ngcc-validation","last_synced_at":"2025-10-06T11:31:48.680Z","repository":{"id":37483977,"uuid":"198527943","full_name":"angular/ngcc-validation","owner":"angular","description":"Angular Ivy library compatibility validation project","archived":true,"fork":false,"pushed_at":"2023-01-12T17:54:12.000Z","size":46402,"stargazers_count":145,"open_issues_count":135,"forks_count":44,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-09-26T11:04:30.520Z","etag":null,"topics":["angular","ivy","ngcc"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/angular.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":"2019-07-24T00:27:47.000Z","updated_at":"2024-07-10T01:57:54.000Z","dependencies_parsed_at":"2023-02-09T13:01:15.948Z","dependency_job_id":null,"html_url":"https://github.com/angular/ngcc-validation","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angular%2Fngcc-validation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angular%2Fngcc-validation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angular%2Fngcc-validation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angular%2Fngcc-validation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/angular","download_url":"https://codeload.github.com/angular/ngcc-validation/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219877267,"owners_count":16554853,"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","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","ivy","ngcc"],"created_at":"2024-09-25T11:04:05.122Z","updated_at":"2025-10-06T11:31:39.366Z","avatar_url":"https://github.com/angular.png","language":"TypeScript","readme":"[![CircleCI](https://circleci.com/gh/angular/ngcc-validation.svg?style=svg)](https://circleci.com/gh/angular/ngcc-validation)\n\n# ngcc validation\n\n\nThis repository aims to validate the Angular Ivy compatibility compiler (`ngcc`). Each directory contains a project that uses a popular Angular package which is distributed with `metadata.json` files generated by `ngc`.\n\nEach library is imported inside `app.module.ts`. The CI runs `ng build` in each directory to validate that `ngcc` is able to compile the given package to Ivy compatible format.\n\n## How to add my library?\n\nTo add your library, follow the next simple 4 steps:\n\n**Clone the repository**:\n\n```bash\ngit clone git@github.com:angular/ngcc-validation.git\n```\n\n**Install the top-level dependencies**:\n\n```bash\ncd ngcc-validation\nyarn install\n```\n\n**Create your project**:\n\nInside of the root directory create a new project:\n\n```bash\nnpm run add-project [my-library-name]\n```\n\nThis will create a new CLI application in `[my-library-name]-ngcc`:\n\n* using the latest CLI\n* with Ivy enabled\n\n\n**Import your library**:\n\nIn `app.module.ts` **add an import** of your library.\nIdeally import the library's `NgModule` into the `AppModule`.\n\nFor example:\n\n```ts\nimport { BrowserModule } from '@angular/platform-browser';\nimport { NgModule } from '@angular/core';\n\nimport { AgGridModule } from 'ag-grid-angular';\n\nimport { AppComponent } from './app.component';\n\n@NgModule({\n  declarations: [\n    AppComponent\n  ],\n  imports: [\n    BrowserModule,\n    AgGridModule.forRoot(),\n  ],\n  providers: [],\n  bootstrap: [AppComponent]\n})\nexport class AppModule { }\n```\n\n## My library is there, should I add tests?\n\nYes! The above instructions will only validate that your application could be successfully compiled with `ngcc`. To validate it actually works, it'll be great to add unit or e2e tests.\n\n## License\n\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangular%2Fngcc-validation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fangular%2Fngcc-validation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangular%2Fngcc-validation/lists"}