{"id":21140379,"url":"https://github.com/freddydumont/theme-ui-next-boilerplate","last_synced_at":"2025-07-09T04:31:21.171Z","repository":{"id":37037811,"uuid":"230153778","full_name":"freddydumont/theme-ui-next-boilerplate","owner":"freddydumont","description":"State of the art front end starter pack featuring TypeScript, Next.js, ThemeUI and other goodies","archived":false,"fork":false,"pushed_at":"2023-03-04T12:04:32.000Z","size":4752,"stargazers_count":20,"open_issues_count":13,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-28T06:41:48.214Z","etag":null,"topics":["cypress","emotion","jest","next","nextjs","react","react-testing-library","template","testing","theme-ui","typescript"],"latest_commit_sha":null,"homepage":"","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/freddydumont.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-12-25T21:08:27.000Z","updated_at":"2023-03-06T21:57:48.000Z","dependencies_parsed_at":"2023-02-15T15:46:29.759Z","dependency_job_id":null,"html_url":"https://github.com/freddydumont/theme-ui-next-boilerplate","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freddydumont%2Ftheme-ui-next-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freddydumont%2Ftheme-ui-next-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freddydumont%2Ftheme-ui-next-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freddydumont%2Ftheme-ui-next-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/freddydumont","download_url":"https://codeload.github.com/freddydumont/theme-ui-next-boilerplate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225482702,"owners_count":17481235,"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":["cypress","emotion","jest","next","nextjs","react","react-testing-library","template","testing","theme-ui","typescript"],"created_at":"2024-11-20T07:14:48.819Z","updated_at":"2024-11-20T07:14:49.434Z","avatar_url":"https://github.com/freddydumont.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Next.js Front End starter pack\n\nBased on [`next-theme-ui-example`](https://github.com/system-ui/theme-ui/tree/master/examples/next).\n\nFeaturing:\n\n- TypeScript\n- Next.js\n- ThemeUI\n- NProgress\n- Jest\n- Cypress\n- react-testing-library\n\n## Testing\n\nJest is configured and ready to use with `react-testing-library`.\n\nThere is a custom rendering setup similar to what is found in [the documentation](https://testing-library.com/docs/react-testing-library/setup#custom-render). It wraps all tested components with ThemeUI's `ThemeProvider`.\n\nThe custom test renderer, and all `react-testing-library` exports are available without using relative imports:\n\n```javascript\nimport { render, fireEvent } from 'test-utils';\n```\n\nMake sure you import from `'test-utils'` or your tests may crash if the theme is expected.\n\n### Emotion snapshots\n\nBecause ThemeUI uses emotion under the hood, `@emotion/jest`'s [snapshot serializer](https://emotion.sh/docs/testing) is included.\n\nRefer to the emotion's [testing documentation](https://emotion.sh/docs/testing) for more info.\n\n### End-to-End tests with Cypress\n\nSee [the example test](https://github.com/freddydumont/theme-ui-next-boilerplate/blob/master/cypress/integration/navigation_spec.ts) and Cypress's documentation to get started.\n\nBy default the tests are running in CI with GitHub actions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreddydumont%2Ftheme-ui-next-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffreddydumont%2Ftheme-ui-next-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreddydumont%2Ftheme-ui-next-boilerplate/lists"}