{"id":18940305,"url":"https://github.com/donejs/css","last_synced_at":"2025-04-15T19:31:11.250Z","repository":{"id":32112926,"uuid":"35685308","full_name":"donejs/css","owner":"donejs","description":"A CSS Plugin for DoneJS projects","archived":false,"fork":false,"pushed_at":"2020-05-01T17:06:12.000Z","size":144,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":22,"default_branch":"master","last_synced_at":"2025-04-11T08:21:53.973Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/done-css","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/donejs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-15T16:44:59.000Z","updated_at":"2020-05-01T17:06:11.000Z","dependencies_parsed_at":"2022-07-08T11:47:01.676Z","dependency_job_id":null,"html_url":"https://github.com/donejs/css","commit_stats":null,"previous_names":[],"tags_count":44,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donejs%2Fcss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donejs%2Fcss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donejs%2Fcss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donejs%2Fcss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/donejs","download_url":"https://codeload.github.com/donejs/css/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249138709,"owners_count":21218929,"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-08T12:21:52.834Z","updated_at":"2025-04-15T19:31:10.964Z","avatar_url":"https://github.com/donejs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# done-css\n\n[![Build Status](https://travis-ci.org/donejs/css.svg?branch=worker)](https://travis-ci.org/donejs/css)\n[![npm version](https://badge.fury.io/js/done-css.svg)](http://badge.fury.io/js/done-css)\n\nA CSS plugin for DoneJS projects.\n\nThis is the normal Steal CSS plugin with a few DoneJS specific features like live-reload and server-side rendering included.\n\n## Install\n\nTo use this plugin in a DoneJS project just install it:\n\n```js\nnpm install done-css --save\n```\n\n## Features\n\n### renderingCacheVersion\n\nWhen server-side rendering with [done-ssr](https://github.com/donejs/done-ssr) and using the [cache busting](https://stealjs.com/docs/config.cacheVersion.html) extension you need to specify the `renderingCacheVersion` property in your config. You might do so like this:\n\n```js\nconst ssr = require(\"done-ssr\");\n\nconst render = ssr({\n\trenderingCacheVersion: 99\n});\n```\n\nDoing this will result in the cache version number appearing in the server-rendered `\u003clink\u003e` elements.\n\n## Contributing\n\nTo setup your dev environment:\n\n1. Clone and fork this repo.\n2. Run `npm install`.\n3. Open `test/test.html` in your browser. Everything should pass.\n4. Run `npm test`. Everything should pass.\n5. Run `npm run-script build`. Everything should build ok.\nTo publish:\n\n1. Update the version number in package.json\n2. Update the version number in `test/live-ssr/index.html`\n3. Commit and push this to master\n4. Tag it `git tag v0.2.0`. Push the tag `git push origin --tags`.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonejs%2Fcss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdonejs%2Fcss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonejs%2Fcss/lists"}