{"id":16231848,"url":"https://github.com/smakosh/ontwik-ui","last_synced_at":"2025-03-19T14:30:55.702Z","repository":{"id":46720262,"uuid":"301870248","full_name":"smakosh/ontwik-ui","owner":"smakosh","description":"ontwik-ui - A headless UI library","archived":false,"fork":false,"pushed_at":"2022-08-23T10:51:11.000Z","size":721,"stargazers_count":55,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-17T08:11:58.760Z","etag":null,"topics":["components","playground","rollup","styled-components","theme","tsdx","typescript","ui"],"latest_commit_sha":null,"homepage":"https://ontwik-ui.smakosh.com","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/smakosh.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}},"created_at":"2020-10-06T22:32:44.000Z","updated_at":"2024-12-01T07:01:13.000Z","dependencies_parsed_at":"2022-09-13T08:22:28.502Z","dependency_job_id":null,"html_url":"https://github.com/smakosh/ontwik-ui","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smakosh%2Fontwik-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smakosh%2Fontwik-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smakosh%2Fontwik-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smakosh%2Fontwik-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smakosh","download_url":"https://codeload.github.com/smakosh/ontwik-ui/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244444482,"owners_count":20453730,"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":["components","playground","rollup","styled-components","theme","tsdx","typescript","ui"],"created_at":"2024-10-10T13:06:57.186Z","updated_at":"2025-03-19T14:30:55.349Z","avatar_url":"https://github.com/smakosh.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ontwik-ui\n\nA headless UI library and CLI theme generator\n\nPowered by:\n\n- 🏎 [Turborepo](https://turborepo.org) — High-performance build system for Monorepos\n- 🚀 [React](https://reactjs.org/) — JavaScript library for user interfaces\n- 🛠 [Tsup](https://github.com/egoist/tsup) — TypeScript bundler powered by esbuild\n- 📖 [Storybook](https://storybook.js.org/) — UI component environment powered by Vite\n\nAs well as a few others tools preconfigured:\n\n- [TypeScript](https://www.typescriptlang.org/) for static type checking\n- [Changesets](https://github.com/changesets/changesets) for managing versioning and changelogs\n- [GitHub Actions](https://github.com/changesets/action) for fully automated package publishing\n\n## Getting Started\n\n[Docs](https://ontwik-ui.smakosh.com/)\n\n### Useful Commands\n\n- `yarn dev` - Run all packages locally and preview with Storybook\n- `yarn build` - Build all packages including the Storybook site\n- `yarn lint` - Lint all packages\n- `yarn changeset` - Generate a changeset\n- `yarn clean` - Clean up all `node_modules` and `dist` folders (runs each package's clean script)\n\n## Apps \u0026 Packages\n\nThis monorepo includes the following packages and applications:\n\n- `apps/docs`: Component documentation site with Storybook\n- `apps/public-docs`: Public Docs powered by [Nextra](https://nextra.vercel.app/)\n- `packages/ontwik-ui`: Core React components\n\nEach package and app is 90% [TypeScript](https://www.typescriptlang.org/). Yarn Workspaces enables us to \"hoist\" dependencies that are shared between packages to the root `package.json`. This means smaller `node_modules` folders and a better local dev experience. To install a dependency for the entire monorepo, use the `-W` workspaces flag with `yarn add`.\n\n## Versioning \u0026 Publishing Packages\n\nThis repository uses [Changesets](https://github.com/changesets/changesets) to manage versions, create changelogs, and publish to npm. It's preconfigured so you can start publishing packages immediatley.\n\n### Generating the Changelog\n\nTo generate your changelog, run `yarn changeset` locally:\n\n1. **Which packages would you like to include?** – This shows which packages and changed and which have remained the same. By default, no packages are included. Press `space` to select the packages you want to include in the `changeset`.\n1. **Which packages should have a major bump?** – Press `space` to select the packages you want to bump versions for.\n1. If doing the first major version, confirm you want to release.\n1. Write a summary for the changes.\n1. Confirm the changeset looks as expected.\n1. A new Markdown file will be created in the `changeset` folder with the summary and a list of the packages included.\n\n### Releasing\n\nWhen you push your code to GitHub, the [GitHub Action](https://github.com/changesets/action) will run the `release` script defined in the root `package.json`:\n\n```bash\nturbo run build --filter=docs^... --filter=public-docs^... \u0026\u0026 changeset publish\n```\n\nTurborepo runs the `build` script for all publishable packages (excluding docs \u0026 public-docs) and publishes the packages to npm.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmakosh%2Fontwik-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmakosh%2Fontwik-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmakosh%2Fontwik-ui/lists"}