{"id":21629559,"url":"https://github.com/abrie/nl4","last_synced_at":"2026-04-15T18:02:14.193Z","repository":{"id":259254304,"uuid":"877425323","full_name":"abrie/nl4","owner":"abrie","description":"Another copilot game test","archived":false,"fork":false,"pushed_at":"2024-10-23T16:23:21.000Z","size":4,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-18T21:23:35.010Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/abrie.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-10-23T16:17:21.000Z","updated_at":"2024-10-23T16:23:25.000Z","dependencies_parsed_at":"2024-10-23T22:49:16.789Z","dependency_job_id":"774f4c3e-e750-45b6-af32-a187cee18326","html_url":"https://github.com/abrie/nl4","commit_stats":null,"previous_names":["abrie/nl4"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/abrie/nl4","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abrie%2Fnl4","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abrie%2Fnl4/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abrie%2Fnl4/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abrie%2Fnl4/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abrie","download_url":"https://codeload.github.com/abrie/nl4/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abrie%2Fnl4/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31853279,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"last_error":"SSL_read: 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-11-25T02:08:01.649Z","updated_at":"2026-04-15T18:02:14.173Z","avatar_url":"https://github.com/abrie.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nl4\nAnother copilot game test\n\n## Setting up ViteJS with Yarn\n\nTo set up ViteJS for a vanilla Typescript app using Yarn, follow these steps:\n\n1. Install Yarn if you haven't already:\n   ```sh\n   npm install --global yarn\n   ```\n\n2. Create a new project directory and navigate into it:\n   ```sh\n   mkdir my-vite-app\n   cd my-vite-app\n   ```\n\n3. Initialize a new Yarn project:\n   ```sh\n   yarn init -y\n   ```\n\n4. Add ViteJS and Typescript as dependencies:\n   ```sh\n   yarn add vite typescript\n   ```\n\n5. Create a `tsconfig.json` file for Typescript configuration:\n   ```json\n   {\n     \"compilerOptions\": {\n       \"target\": \"esnext\",\n       \"module\": \"esnext\",\n       \"moduleResolution\": \"node\",\n       \"strict\": true,\n       \"jsx\": \"preserve\",\n       \"esModuleInterop\": true,\n       \"skipLibCheck\": true,\n       \"forceConsistentCasingInFileNames\": true\n     },\n     \"include\": [\"src\"]\n   }\n   ```\n\n6. Create a `vite.config.ts` file for ViteJS configuration:\n   ```ts\n   import { defineConfig } from 'vite'\n\n   export default defineConfig({\n     root: 'src',\n     build: {\n       outDir: '../dist'\n     }\n   })\n   ```\n\n7. Create a `src` directory and add an `index.html` file:\n   ```html\n   \u003c!DOCTYPE html\u003e\n   \u003chtml lang=\"en\"\u003e\n   \u003chead\u003e\n     \u003cmeta charset=\"UTF-8\"\u003e\n     \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"\u003e\n     \u003ctitle\u003eVite App\u003c/title\u003e\n   \u003c/head\u003e\n   \u003cbody\u003e\n     \u003cscript type=\"module\" src=\"/main.ts\"\u003e\u003c/script\u003e\n   \u003c/body\u003e\n   \u003c/html\u003e\n   ```\n\n8. Add a `main.ts` file in the `src` directory:\n   ```ts\n   console.log('Hello Vite with Typescript!')\n   ```\n\n9. Add scripts to `package.json` for running the development server and building the project:\n   ```json\n   {\n     \"scripts\": {\n       \"dev\": \"vite\",\n       \"build\": \"vite build\"\n     }\n   }\n   ```\n\n10. Run the development server:\n    ```sh\n    yarn dev\n    ```\n\n11. Build the project:\n    ```sh\n    yarn build\n    ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabrie%2Fnl4","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabrie%2Fnl4","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabrie%2Fnl4/lists"}