{"id":15388544,"url":"https://github.com/deebloo/wireit-recipes","last_synced_at":"2026-03-19T03:12:50.491Z","repository":{"id":216826623,"uuid":"742449712","full_name":"deebloo/wireit-recipes","owner":"deebloo","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-16T21:08:34.000Z","size":9,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-06T01:41:19.435Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deebloo.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-12T14:02:38.000Z","updated_at":"2024-01-14T19:38:00.000Z","dependencies_parsed_at":"2024-01-13T04:13:55.484Z","dependency_job_id":"c99affef-1df9-4331-b555-365f4d66c2d3","html_url":"https://github.com/deebloo/wireit-recipes","commit_stats":{"total_commits":1,"total_committers":1,"mean_commits":1.0,"dds":0.0,"last_synced_commit":"6578b516e5bdaa335be448574e12ac675f93707b"},"previous_names":["deebloo/wireit-recipes"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/deebloo/wireit-recipes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deebloo%2Fwireit-recipes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deebloo%2Fwireit-recipes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deebloo%2Fwireit-recipes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deebloo%2Fwireit-recipes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deebloo","download_url":"https://codeload.github.com/deebloo/wireit-recipes/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deebloo%2Fwireit-recipes/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28562231,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T03:31:16.861Z","status":"ssl_error","status_checked_at":"2026-01-19T03:31:15.069Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-10-01T14:57:12.477Z","updated_at":"2026-01-19T06:01:20.289Z","avatar_url":"https://github.com/deebloo.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wireit Recipes\n\nThis document is a place to write down and share different [wireit](https://github.com/google/wireit) configurations\n\n## TypeScript\n\n```JSON\n{\n  \"script\": {\n    \"tsc\": \"wireit\"\n  },\n  \"wireit\": {\n    \"tsc\": {\n      \"command\": \"tsc --build --pretty\",\n      \"clean\": \"if-file-deleted\",\n      \"files\": [\n        \"src/**/*.{ts,tsx}\",\n        \"tsconfig.json\"\n      ],\n      \"output\": [\n        \"target/**\",\n        \"tsconfig.tsbuildinfo\"\n      ]\n    }\n  }\n}\n```\n\n## Jest\n\nJest has an option to generate an output file when it runs tests.\nUsing that file as an output for a tasks means we can have effective caching of our test command.\nIf an output isn't defined, but files is, we will cache things we don't intend if we pass arguments to jest.\n\n```JSON\n{\n  \"script\": {\n    \"test\": \"wireit\"\n  },\n  \"wireit\": {\n    \"test\": {\n      \"command\": \"jest --json --outputFile jestresults.json\",\n      \"files\": [\n        \"src/**\"\n      ],\n      \"output\": [\n        \"jestresults.json\"\n      ]\n    }\n  }\n}\n```\n\n## Copying Files\n\nFor cross platform copy\n\n```bash\nnpm i copyfiles\n```\n\n```JSON\n{\n  \"wireit\": {\n    \"cp:css\": {\n      \"command\": \"copyfiles -u 1 \\\"src/**/*.css\\\" target\",\n      \"clean\": \"if-file-deleted\",\n      \"files\": [\n        \"src/**/*.css\"\n      ],\n      \"output\": [\n        \"target/**/*.css\"\n      ]\n    }\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeebloo%2Fwireit-recipes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeebloo%2Fwireit-recipes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeebloo%2Fwireit-recipes/lists"}