{"id":21004907,"url":"https://github.com/aivascu/ts-kata","last_synced_at":"2025-04-12T07:24:36.339Z","repository":{"id":93032097,"uuid":"360197518","full_name":"aivascu/ts-kata","owner":"aivascu","description":"Simple TypeScript template for code katas.","archived":false,"fork":false,"pushed_at":"2021-05-06T15:40:17.000Z","size":188,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T02:42:31.177Z","etag":null,"topics":["code-kata","code-katas","javascript","kata","katas","typescript","vscode"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/aivascu.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":"2021-04-21T14:19:45.000Z","updated_at":"2024-04-08T09:51:26.000Z","dependencies_parsed_at":"2023-07-03T06:10:51.907Z","dependency_job_id":null,"html_url":"https://github.com/aivascu/ts-kata","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/aivascu%2Fts-kata","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aivascu%2Fts-kata/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aivascu%2Fts-kata/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aivascu%2Fts-kata/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aivascu","download_url":"https://codeload.github.com/aivascu/ts-kata/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248531944,"owners_count":21119829,"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":["code-kata","code-katas","javascript","kata","katas","typescript","vscode"],"created_at":"2024-11-19T08:38:24.584Z","updated_at":"2025-04-12T07:24:36.316Z","avatar_url":"https://github.com/aivascu.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TypeScript Kata template\n\n[![Node CI](https://github.com/aivascu/ts-kata/actions/workflows/nodejs.yml/badge.svg?branch=master)](https://github.com/aivascu/ts-kata/actions/workflows/nodejs.yml)\n\nThis repository is a simple TypeScript project for experimenting with coding Katas.\n\n## Summary\n\n- [How to setup](#how-to-setup)\n  - [Working locally](#working-locally)\n  - [Working inside container](#working-inside-container)\n- [How to use](#how-to-use)\n  - [Installing packages](#installing-packages)\n  - [Building](#building)\n  - [Running tests](#running-tests)\n- [License](#license)\n\n## How to setup\n\nThere are two main ways to use this repository. You can setup the project locally or you could open it inside a Docker container, using VS Code.\n\n### Working locally\n\nThis project tries to keep a minimum of requirements. You'll need just two things to use it efficiently.\n\n- Node.js (v15.x)\n- Visual Studio Code\n\nNext, inside the VS Code, go to the extensions packages and check the recommended extensions, by the repository.\n\nAt the moment there are three recommended extensions\n\n- [Test Explorer UI](https://marketplace.visualstudio.com/items?itemName=hbenl.vscode-test-explorer)\n- [Jest Test Explorer](https://marketplace.visualstudio.com/items?itemName=kavod-io.vscode-jest-test-adapter)\n- [Jest (Optional)](https://marketplace.visualstudio.com/items?itemName=Orta.vscode-jest)\n\n### Working inside container\n\nTo work inside an isolated container you'll need the following dependencies.\n\n- Docker\n- Visual Studio Code\n  - [Remote - WSL](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-wsl)\n\nNext, inside VS Code, run the action `Remote-Containers: Reopen in Container`. All the necessary dependencies will be installed automatically inside the container, including the recommended extensions.\n\n## How to use\n\nSince this is not a guide on how to practice conding katas, below are described only the steps necessary to build and run the tests.\n\n### Installing packages\n\nOnce you've setup the project, depending on the option you picked, you might want to install the dependencies. To install dependencies run the package install command inside the repository directory.\n\n```sh\n\u003e npm install\n```\n\n### Building\n\nTo build the project, you can invoke the following command inside your command line.\n\n```sh\n\u003e npm run build\n```\n\n### Running tests\n\nTo run the tests you can run the following command.\n\n```sh\n\u003e npm run test\n```\n\nTo run test continuously you can substitute `test` with `watch-test`.\n\nIf you have installed the recommended extensions inside VS Code, the tests will be run automatically on file save by the Jest extensions. Or you can choose to run them manually from the test explorer panel.\n\n## License\n\nCopyright \u0026copy; 2021 [Andrei Ivascu](https://github.com/aivascu).\u003cbr/\u003e\nThis project is [MIT](https://github.com/aivascu/ts-kata/blob/master/LICENSE) licensed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faivascu%2Fts-kata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faivascu%2Fts-kata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faivascu%2Fts-kata/lists"}