{"id":15060150,"url":"https://github.com/ijlee2/blueprints-v2-addon-output","last_synced_at":"2026-02-11T22:16:47.616Z","repository":{"id":256847398,"uuid":"849740883","full_name":"ijlee2/blueprints-v2-addon-output","owner":"ijlee2","description":"Reference repo for updating blueprints-v2-addon (created by create-v2-addon-repo)","archived":false,"fork":false,"pushed_at":"2025-08-01T09:30:20.000Z","size":122,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-30T05:43:43.539Z","etag":null,"topics":["codemod","ember-codemod","ember-polaris","emberjs","embroider"],"latest_commit_sha":null,"homepage":"https://github.com/ijlee2/embroider-toolbox","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/ijlee2.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-08-30T06:45:09.000Z","updated_at":"2025-08-01T09:30:13.000Z","dependencies_parsed_at":"2024-10-12T20:41:04.965Z","dependency_job_id":"e2f5eb3b-90c8-40c1-9c27-7bf7c49a3b8a","html_url":"https://github.com/ijlee2/blueprints-v2-addon-output","commit_stats":null,"previous_names":["ijlee2/blueprints-v2-addon-output"],"tags_count":23,"template":false,"template_full_name":null,"purl":"pkg:github/ijlee2/blueprints-v2-addon-output","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ijlee2%2Fblueprints-v2-addon-output","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ijlee2%2Fblueprints-v2-addon-output/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ijlee2%2Fblueprints-v2-addon-output/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ijlee2%2Fblueprints-v2-addon-output/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ijlee2","download_url":"https://codeload.github.com/ijlee2/blueprints-v2-addon-output/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ijlee2%2Fblueprints-v2-addon-output/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273767658,"owners_count":25164462,"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-09-05T02:00:09.113Z","response_time":402,"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":["codemod","ember-codemod","ember-polaris","emberjs","embroider"],"created_at":"2024-09-24T22:53:45.249Z","updated_at":"2026-02-11T22:16:47.606Z","avatar_url":"https://github.com/ijlee2.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# blueprints-v2-addon\n\n_Blueprints for v2 addons_\n\n1. [Features](#features)\n1. [Usage](#usage)\n    - [Install blueprints](#install-blueprints)\n    - [Create addon](#create-addon)\n    - [Create entity](#create-entity)\n    - [Remove entity](#remove-entity)  \n    - [Update blueprints](#update-blueprints)\n1. [Compatibility](#compatibility)\n1. [License](#license)\n\n\n## Features\n\nStandardize how you write v2 addons:\n\n- Run `new` to create a v2 addon\n- Run `generate` to create source and test files\n- Run `destroy` to remove source and test files\n- Blueprints available for components, helpers, modifiers, services, and utilities\n- Tailor addon blueprints to your needs\n\n\n## Usage\n\n### Install blueprints\n\nInstall `blueprints-v2-addon` as a development dependency in these locations:\n\n\u003cdetails\u003e\n\n\u003csummary\u003eWorkspace root\u003c/summary\u003e\n\n```json5\n/* package.json */\n{\n  \"scripts\": {\n    \"addon\": \"blueprints-v2-addon\"\n  },\n  \"devDependencies\": {\n    \"blueprints-v2-addon\": \"workspace:*\"\n  }\n}\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\n\u003csummary\u003eV2 addon in \u003ccode\u003epackages\u003c/code\u003e\u003c/summary\u003e\n\nNote, the `new` command will automatically update `package.json`.\n\n```json5\n/* Example: packages/ui/form/package.json */\n{\n  \"scripts\": {\n    \"addon\": \"blueprints-v2-addon --test-app-location '../../../test-app'\"\n  },\n  \"devDependencies\": {\n    \"blueprints-v2-addon\": \"workspace:*\"\n  }\n}\n```\n\n\u003c/details\u003e\n\n\u003e [!NOTE]\n\u003e\n\u003e From the workspace root, please run `pnpm build; pnpm install` so that the blueprints are available.\n\n\n### Create addon\n\nFrom the workspace root, run the `new` command to create a package in `packages`. The package will be added to `docs-app` and `test-app`.\n\n```sh\npnpm addon new \u003cname\u003e [options]\n\n# Example: Create the addon `ui-form`\npnpm addon new ui-form\n\n# Example: Specify the location for a scoped package\npnpm addon new @my-org-ui/form --location ui/form\n```\n\n\n### Create entity\n\nFrom the addon root, run the `generate` command to create the source code and its test file.\n\n```sh\npnpm addon generate \u003ccomponent|helper|modifier|service|util\u003e \u003cname\u003e [options]\n\n# Example: Create a component\npnpm addon generate component ui/form/input\n\n# Example: Use alias\npnpm addon g component ui/form/textarea\n```\n\nThere may be more than 1 blueprint available. You can pass `--blueprint` to select the right one.\n\n```sh\n# Example: Create a \u003ctemplate\u003e tag component\npnpm addon g component ui/form/select --blueprint glimmer\n```\n\nFor more information, pass `--help`.\n\n\n### Remove entity\n\nFrom the addon root, run the `destroy` command to remove the source code and its test file.\n\n```sh\npnpm addon destroy \u003ccomponent|helper|modifier|service|util\u003e \u003cname\u003e \n\n# Example: Remove a component\npnpm addon destroy component ui/form/input\n\n# Example: Use alias\npnpm addon d component ui/form/textarea\n```\n\n\n### Update blueprints\n\nGet the latest blueprints from [`create-v2-addon-repo`](https://github.com/ijlee2/create-v2-addon-repo). The versions available for `--to` can be found at [`blueprints-v2-addon-output`](https://github.com/ijlee2/blueprints-v2-addon-output/releases).\n\n```sh\n# From this package root\npnpm update-blueprints --to 0.5.0\n```\n\n\n## Compatibility\n\n- Node.js v20 or above\n\n\n## License\n\nThis project is licensed under the [MIT License](./LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fijlee2%2Fblueprints-v2-addon-output","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fijlee2%2Fblueprints-v2-addon-output","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fijlee2%2Fblueprints-v2-addon-output/lists"}