{"id":16353813,"url":"https://github.com/beeman/nx-generators","last_synced_at":"2025-10-26T03:31:00.189Z","repository":{"id":66567589,"uuid":"465615678","full_name":"beeman/nx-generators","owner":"beeman","description":"Some shared NX Workspace Generators","archived":false,"fork":false,"pushed_at":"2023-02-08T11:49:03.000Z","size":1101,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-31T14:16:41.250Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/beeman.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-03T07:36:25.000Z","updated_at":"2023-11-14T23:21:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"18b5f472-9212-4266-b8ec-cc3af3543b93","html_url":"https://github.com/beeman/nx-generators","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/beeman%2Fnx-generators","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beeman%2Fnx-generators/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beeman%2Fnx-generators/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beeman%2Fnx-generators/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beeman","download_url":"https://codeload.github.com/beeman/nx-generators/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238254075,"owners_count":19441778,"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":"2024-10-11T01:30:52.794Z","updated_at":"2025-10-26T03:30:59.804Z","avatar_url":"https://github.com/beeman.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nx-generators\n\nSome shared nx-generators\n\n### Add generators\n\nRun this in your Nx Workspace. It **WILL** delete any existing workspace-generators so make sure to commit any changes you want to store.\n\n```shell\nwget -O - https://raw.githubusercontent.com/beeman/nx-generators/main/setup.sh | bash\n```\n\n### Install dependencies\n\n```shell\nyarn add -D @nrwl/nest @nrwl/react ts-morph\n```\n\n### Run generators\n\n#### api-feature\n\nGenerate basic feature:\n\n```shell\nnx workspace-generator api-feature core\n# This will generate:\n# - libs/api/core/data-access\n# - libs/api/core/feature\n```\n\nTo delete them use this command:\n\n```shell\nnx g remove api-core-feature  \u0026\u0026 nx g remove api-core-data-access\n```\n\nYou can generate a feature with `util` lib:\n\n```shell\nnx workspace-generator api-feature core --skipUtil fals\n# This will generate:\n# - libs/api/core/data-access\n# - libs/api/core/feature\n# - libs/api/core/util\n```\n\nYou can generate a feature with CRUD (depends on `@prisma/client`):\n\n```shell\nnx workspace-generator api-feature company --crud --plural companies\n```\n\n# MIT License 2023 beeman\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeeman%2Fnx-generators","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeeman%2Fnx-generators","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeeman%2Fnx-generators/lists"}