{"id":20806794,"url":"https://github.com/fed/generator-ui-component","last_synced_at":"2026-04-25T01:35:34.517Z","repository":{"id":85048383,"uuid":"44944196","full_name":"fed/generator-ui-component","owner":"fed","description":"A Yeoman generator for scaffolding reusable, standalone ui-components","archived":false,"fork":false,"pushed_at":"2015-10-26T03:52:40.000Z","size":116,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-18T13:38:07.989Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/fed.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2015-10-26T03:40:58.000Z","updated_at":"2015-10-26T03:55:11.000Z","dependencies_parsed_at":"2023-03-07T07:37:16.297Z","dependency_job_id":null,"html_url":"https://github.com/fed/generator-ui-component","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/fed%2Fgenerator-ui-component","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fed%2Fgenerator-ui-component/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fed%2Fgenerator-ui-component/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fed%2Fgenerator-ui-component/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fed","download_url":"https://codeload.github.com/fed/generator-ui-component/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243152875,"owners_count":20244657,"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-11-17T19:26:49.603Z","updated_at":"2025-12-27T04:03:31.410Z","avatar_url":"https://github.com/fed.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# generator-ui-component\n\nA Yeoman generator for scaffolding reusable, standalone ui-components.\n\n## Built-in packages\n\n* [Sass](http://sass-lang.com/): CSS Preprocessor\n* [Compass](http://compass-style.org/): Less mixin library\n* [RequireJS](http://requirejs.org/): Asynchronous JavaScript file and module loader\n* [jQuery](https://jquery.com/): Feature-rich JavaScript library\n* [Lodash](https://lodash.com/): A JavaScript utility library\n* [Hogan.js](http://twitter.github.io/hogan.js/): Templating engine\n* [The Intern](https://theintern.github.io/): Unit and Functional testing framework\n* [Grunt](http://gruntjs.com/): Task runner\n\n## Creating a new ui-component\n\n1. Setup [npm](https://nodejs.org/) properly for your development environment.\n\n2. Install [Yeoman](http://yeoman.io/) and its required libraries:\n\n```\nnpm install -g yo grunt-cli\n```\n\n3. Install the [ui-component](https://github.com/fknussel/generator-ui) generator:\n\n```\nnpm install -g generator-ui-component\n```\n\n4. Create a new directory and initialize a Git repo on it for your new ui-component:\n\n```\nmkdir your-project\ncd your-project\ngit init\ngit remote add origin https://github.com/some-user/some-project.git\n```\n\n7. Run the generator:\n\n```\nyo ui-component\n```\n\n8. Answer the questions.\n\n9. **STRONGLY RECOMMENDED:** commit the generated code to your git repository before making any modifications. This will make it much easier to see a diff of the work you have done vs. the generator output.\n\n```\ngit add --all\ngit commit -m \"Initial commit\"\n```\n\n## Start writing your code\n\nSee the `README.md` file in your newly created ui-component for more information.\n\n## Release versions\n\nThis repo uses [grunt-bump](https://github.com/gruntjs/grunt-bump) and Semantic Versioning to version and tag releases. To release a new version, run the appropriate command:\n\n```\ngrunt release:major       # bump major version, eg. 1.0.2 -\u003e 2.0.0\ngrunt release:minor       # bump minor version, eg. 0.1.3 -\u003e 0.2.0\ngrunt release:patch       # bump patch version, eg. 0.0.1 -\u003e 0.0.2\ngrunt release:prerelease  # bump pre-release version, eg. 1.0.0 -\u003e 1.0.0-1\n```\n\nMake sure to push tags:\n\n```\ngit push --tags origin master\n```\n\nPublish the package to [npm's public registry](https://www.npmjs.com/):\n\n```\nnpm publish\n```\n\nTo make sure everything worked just fine, go to [http://npmjs.com/package/generator-ui](http://npmjs.com/package/generator-ui).\n\n**Heads up!** To publish, you must have a user on the npm registry. If you don't have one, create it with `npm adduser`. If you created one on the site, use `npm login` to store the credentials on the client. You can use `npm config ls` to ensure that the credentials are stored on your client. Check that it has been added to the registry by going to [http://npmjs.com/~](http://npmjs.com/~).\n\n## Semantic Versioning\n\nGiven a version number `MAJOR.MINOR.PATCH`, increment the:\n\n1. `MAJOR` version when you make incompatible API changes,\n2. `MINOR` version when you add functionality in a backwards-compatible manner, and\n3. `PATCH` version when you make backwards-compatible bug fixes.\n\nAdditional labels for pre-release and build metadata are available as extensions to the `MAJOR.MINOR.PATCH` format.\n\nSee the [Semantic Versioning](http://semver.org/) specification for more information.\n\n## Release History\n\nSee the [CHANGELOG](CHANGELOG.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffed%2Fgenerator-ui-component","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffed%2Fgenerator-ui-component","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffed%2Fgenerator-ui-component/lists"}