{"id":21478320,"url":"https://github.com/savvy-css/generator-savvy-css","last_synced_at":"2026-04-11T02:08:54.216Z","repository":{"id":75908757,"uuid":"86900543","full_name":"savvy-css/generator-savvy-css","owner":"savvy-css","description":"Yeoman generator for scaffolding out a Savvy module  or utility","archived":false,"fork":false,"pushed_at":"2017-07-27T15:13:11.000Z","size":124,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-23T10:44:42.292Z","etag":null,"topics":["css","css-framework","functional-css","postcss","savvy-css"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/savvy-css.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2017-04-01T09:06:16.000Z","updated_at":"2017-05-31T06:02:36.000Z","dependencies_parsed_at":"2023-05-09T15:23:26.884Z","dependency_job_id":null,"html_url":"https://github.com/savvy-css/generator-savvy-css","commit_stats":{"total_commits":80,"total_committers":1,"mean_commits":80.0,"dds":0.0,"last_synced_commit":"1eeeeb5b2d097fd7c5703921137df99ef8ba7ee4"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/savvy-css%2Fgenerator-savvy-css","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/savvy-css%2Fgenerator-savvy-css/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/savvy-css%2Fgenerator-savvy-css/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/savvy-css%2Fgenerator-savvy-css/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/savvy-css","download_url":"https://codeload.github.com/savvy-css/generator-savvy-css/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243997164,"owners_count":20380982,"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":["css","css-framework","functional-css","postcss","savvy-css"],"created_at":"2024-11-23T11:17:42.812Z","updated_at":"2026-04-11T02:08:54.169Z","avatar_url":"https://github.com/savvy-css.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# generator-savvy-css \n\n[![NPM version][npm-image]][npm-url] \n[![Build Status][circle-image]][circle-url] \n[![Dependency Status][daviddm-image]][daviddm-url]\n\n\u003e Generator for scaffolding out a Savvy CSS module..\n\n## Installation\n\nFirst, install [Yeoman](http://yeoman.io) and this generator using either [npm](https://www.npmjs.com/) (we assume you have pre-installed [node.js](https://nodejs.org/))...\n\n```bash\nnpm install -g yo\nnpm install -g @savvy-css/generator-savvy-css\n```\n\n... or [yarn](https://yarnpkg.com/en/).\n\n```bash\nyarn global add yo\nyarn global add @savvy-css/generator-savvy-css\n```\n\n## Usage \n\nRun the `yo` command to generate your new project:\n\n```bash\nyo @savvy-css/generator-savvy-css\n```\n\nFrom there, the generator is setup to configure a Savvy CSS module within \none of Savvy's [categories of concerns](https://github.com/savvy-css/savvy/blob/master/doc/architecture/design-principles.md). \n\nSimply select your concern (for example, \"utility\"), the _subject_ of your module _within_ the context of that concern (for example, \"spacing\"), and from there, after a few more straightforward prompts, the generator will know how to scaffold your project!\n\n### Deployment\n\nEach project designed to be [published on NPM](https://www.npmjs.com/org/savvy-css) using [`np`](https://github.com/sindresorhus/np).\n\nRight now, instead of packaging `np` with each project, it's recommended to use your own\nglobal installation: \n\n```shell\nyarn global add np\n```\n\nor \n\n```shell\nnpm install -g np\n```\n\n#### 🔑 Important Note\n\nThe [Savvy CSS organization](https://github.com/savvy-css) currently lacks the funding for private GitHub repositories 😛. \n\nThis means that before packages can be published under the `@savvy-css` namespace using `np`, an initial publish will need to be done manually with the `--access publish` flag being passed.\n\nPlease do this with the `v0.0.0` files after they are generated. First, update the date in [CHANGELOG.md](./CHANGELOG.md) and push the project to Github:\n\n```shell\ngit init\ngit remote add origin \u003crepo_url\u003e\ngit add --all\ngit commit -m 'released v0.0.0'\ngit push --set-upstream origin master\n```\n\nThen create and push a tag to Github:\n\n```shell\ngit tag v0.0.0\ngit push origin master --tags\n```\n\nFinally, publish:\n\n```shell\nnpm publish --access public\n```\n\n## License\n\nMIT © 2017 [Brian Sipple](https://github.com/BrianSipple)\n\n\n[npm-image]: https://img.shields.io/npm/v/@savvy-css/generator-savvy-css.svg\n[npm-url]: https://www.npmjs.com/package/@savvy-css/generator-savvy-css\n\n[circle-image]: https://circleci.com/gh/savvy-css/generator-savvy-css/tree/master.svg?style=svg\u0026circle-token={{CIRCLE_TOKEN}}\n[circle-url]: https://circleci.com/gh/savvy-css/generator-savvy-css/tree/master\n[daviddm-image]: https://david-dm.org/savvy-css/generator-savvy-css.svg?theme=shields.io\n[daviddm-url]: https://david-dm.org/savvy-css/generator-savvy-css\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsavvy-css%2Fgenerator-savvy-css","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsavvy-css%2Fgenerator-savvy-css","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsavvy-css%2Fgenerator-savvy-css/lists"}