{"id":26768551,"url":"https://github.com/art-ws/ngx-ws","last_synced_at":"2026-04-03T10:39:54.768Z","repository":{"id":115966391,"uuid":"427634662","full_name":"art-ws/ngx-ws","owner":"art-ws","description":"ngx-ws","archived":false,"fork":false,"pushed_at":"2025-06-14T11:06:52.000Z","size":189,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-14T11:37:29.263Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/art-ws.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}},"created_at":"2021-11-13T10:31:43.000Z","updated_at":"2025-06-14T11:06:55.000Z","dependencies_parsed_at":"2023-05-22T19:00:17.201Z","dependency_job_id":null,"html_url":"https://github.com/art-ws/ngx-ws","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/art-ws/ngx-ws","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/art-ws%2Fngx-ws","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/art-ws%2Fngx-ws/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/art-ws%2Fngx-ws/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/art-ws%2Fngx-ws/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/art-ws","download_url":"https://codeload.github.com/art-ws/ngx-ws/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/art-ws%2Fngx-ws/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259811626,"owners_count":22915146,"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":[],"created_at":"2025-03-28T21:34:18.896Z","updated_at":"2026-04-03T10:39:54.714Z","avatar_url":"https://github.com/art-ws.png","language":"TypeScript","funding_links":[],"categories":["Angular"],"sub_categories":["CLI Tools"],"readme":"# 🚀 ngx-ws\n\n**Generate [angular.json](https://angular.dev/reference/configs/workspace-config) from modular, human-friendly definitions.**\n\nEasily split a large `angular.json` into modular, project-local files using the power of [JSON References](https://www.npmjs.com/package/@apidevtools/json-schema-ref-parser), with the convenience of [YAML](https://yaml.org/) and [JSON5](https://json5.org/) formats.\n\n---\n## 🛠️ How It Works\n\n1. **Install [ngx-ws](https://www.npmjs.com/package/ngx-ws) globally** (using your preferred package manager):\n\n  ```sh\n  npm install -g ngx-ws\n  # or\n  pnpm add -g ngx-ws\n  # or\n  yarn global add ngx-ws\n  ```\n\n2. **Navigate to your Angular project directory** (where `angular.json` is located):\n\n  ```sh\n  cd your-angular-project\n  ```\n\n3. **Initialize modular configuration files** from your existing `angular.json`:\n\n  ```sh\n  ngx-ws --build\n  ```\n\n  This generates `angular-workspace.yaml` and `angular-project.yaml` files.\n\n4. **Edit your configuration** in the new YAML files.  \n  You can now manage your workspace and project settings in a modular, human-friendly format.\n\n5. **Regenerate `angular.json`** after making changes:\n\n  ```sh\n  ngx-ws -v\n  ```\n\n  This will update `angular.json` based on your YAML definitions.\n\n---\n\n**Tip:**  \nOnce set up, you can focus on editing `angular-workspace.yaml` and `angular-project.yaml`.  \nLet `ngx-ws` handle the generation of `angular.json` for you!\n\n## ✨ Features\n\n- 📝 Supports [YAML](https://yaml.org/) and [JSON5](https://json5.org/) formats\n- 🔗 Handles [JSON References](https://datatracker.ietf.org/doc/html/draft-pbryan-zyp-json-ref-03) for modular configuration\n- 🔄 Recursive variable interpolation for flexible templating\n- 🛠️ Simplifies configuration of [scripts, styles, and assets](https://angular.dev/reference/configs/workspace-config#styles-and-scripts-configuration)\n\n---\n\n## 🧩 Example  \n\nSee the [ngx-ws-example](https://github.com/art-ws/ngx-ws-example) repository.  \nPay special attention to [angular-workspace.yaml](https://github.com/art-ws/ngx-ws-example/blob/main/angular-workspace.yaml) and [angular-project.yaml](https://github.com/art-ws/ngx-ws-example/blob/main/projects/app1/angular-project.yaml).\n\n---\n\n## ⚙️ Options\n\n| Option         | Alias | Description                                                        |\n| -------------- | ----- | ------------------------------------------------------------------ |\n| `--build`      |       | Build files from `angular.json`                                    |\n| `--deps`       |       | Update `package.json` with project-specific dependencies           |\n| `--debug`      |       | Enable debug mode (retain temporary files)                         |\n| `--dry-run`    |       | Preview changes without writing files                              |\n| `--verbose`    |`-v`   | Enable verbose output                                              |\n| `--version`    |       | Print version                                                      |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fart-ws%2Fngx-ws","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fart-ws%2Fngx-ws","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fart-ws%2Fngx-ws/lists"}