{"id":19486245,"url":"https://github.com/textbook/viteedeedee","last_synced_at":"2026-05-05T09:31:05.502Z","repository":{"id":216992214,"uuid":"742876422","full_name":"textbook/viteedeedee","owner":"textbook","description":"Vite/st \u0026 Playwright TDD setup","archived":false,"fork":false,"pushed_at":"2024-01-15T11:42:53.000Z","size":306,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-22T01:47:45.136Z","etag":null,"topics":["playwright","react","tdd","test-driven-development","vite","vitest"],"latest_commit_sha":null,"homepage":"https://blog.jonrshar.pe/viteedeedee/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/textbook.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-13T16:27:15.000Z","updated_at":"2024-01-13T17:34:22.000Z","dependencies_parsed_at":"2024-11-10T20:47:36.751Z","dependency_job_id":null,"html_url":"https://github.com/textbook/viteedeedee","commit_stats":null,"previous_names":["textbook/viteedeedee"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/textbook/viteedeedee","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/textbook%2Fviteedeedee","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/textbook%2Fviteedeedee/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/textbook%2Fviteedeedee/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/textbook%2Fviteedeedee/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/textbook","download_url":"https://codeload.github.com/textbook/viteedeedee/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/textbook%2Fviteedeedee/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32643444,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"online","status_checked_at":"2026-05-05T02:00:06.033Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["playwright","react","tdd","test-driven-development","vite","vitest"],"created_at":"2024-11-10T20:35:59.470Z","updated_at":"2026-05-05T09:31:05.292Z","avatar_url":"https://github.com/textbook.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ViTeeDeeDee\n\nVite/st \u0026 Playwright [TDD] setup\n\n## Dev setup\n\nRequires [Node.js] v20 (\"Iron\" LTS, `^20.9`) and [NPM] v10 (bundled with Node).\n\n- [Create][github-create] a repository from this template\n- [Clone][github-clone] your new repository to your local machine\n- Run `npm ci` to install the dependencies\n- Run `npx playwright install` to install browsers for end-to-end tests\n- Run `npm run ship` to ensure everything is working\n\n## Deployment\n\nThe CI pipeline defined in `.github/workflows/push.yml` will automatically push the built site to the `gh-pages` branch for any successful build on the `main` branch. To serve this via GitHub Pages:\n\n- [Configure][github-publish] GitHub to deploy from `gh-pages` branch\n- [Set][vite-deploy] the `base` value in `vite.config.js` to either:\n    - `\"/\u003crepo_name\u003e/\"` for a _project site_; or\n    - `\"/\"` for a _user site_ (i.e. a repo named `\u003cuser_name\u003e.github.io`).\n- Push your changes and wait for the various builds to run, then you should be able to [visit][github-visit] your site.\n\n## Tools\n\nThe following tools are in use if you need further documentation:\n\n- [React] application\n- [Vite] dev server and bundling\n- [ESLint] linting rules\n- [Vitest] low-level tests (unit/integration)\n    - [React Testing Library] to render and interact with React\n    - [MSW] to allow mocking of network requests\n- [Playwright] high-level tests (end-to-end)\n\n## Scripts\n\nThe following scripts are the entrypoints you'll commonly use:\n\n- `npm run dev`: Run the app in development mode\n- `npm run e2e`: Run the high-level tests (also starts the app in production mode)\n- `npm run lint`: Run the ESLint style checks\n    - `npm run lint:fix`: Fix style issues where possible\n- `npm run ship`: run `lint`, then `test`, then `e2e`\n- `npm run start`: Start the app in production mode\n- `npm run test`: Run the low-level tests once\n    - `npm run test:cover`: Run the tests and report [coverage][vitest-coverage]\n    - `npm run test:watch`: Run the tests in watch mode\n\n[eslint]: https://eslint.org/\n[github-clone]: https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository\n[github-create]: https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template\n[github-publish]: https://docs.github.com/en/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site#publishing-from-a-branch\n[github-visit]: https://docs.github.com/en/pages/getting-started-with-github-pages/creating-a-github-pages-site#creating-your-site\n[msw]: https://mswjs.io/\n[node.js]: https://nodejs.org/en\n[npm]: https://www.npmjs.com/\n[playwright]: https://playwright.dev/\n[react]: https://react.dev/\n[react testing library]: https://testing-library.com/docs/react-testing-library/intro/\n[tdd]: https://testdriven.io/test-driven-development/\n[vite]: https://vitejs.dev/\n[vite-deploy]: https://vitejs.dev/guide/static-deploy.html#github-pages\n[vitest]: https://vitest.dev/\n[vitest-coverage]: https://vitest.dev/guide/coverage.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftextbook%2Fviteedeedee","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftextbook%2Fviteedeedee","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftextbook%2Fviteedeedee/lists"}