{"id":18017693,"url":"https://github.com/laurci/ts-fork-demos","last_synced_at":"2025-04-04T15:42:55.803Z","repository":{"id":58796643,"uuid":"533813719","full_name":"laurci/ts-fork-demos","owner":"laurci","description":null,"archived":false,"fork":false,"pushed_at":"2022-12-12T11:16:45.000Z","size":201,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-10T01:37:32.591Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/laurci.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}},"created_at":"2022-09-07T14:56:38.000Z","updated_at":"2022-11-05T16:33:51.000Z","dependencies_parsed_at":"2023-01-27T18:31:10.132Z","dependency_job_id":null,"html_url":"https://github.com/laurci/ts-fork-demos","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laurci%2Fts-fork-demos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laurci%2Fts-fork-demos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laurci%2Fts-fork-demos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laurci%2Fts-fork-demos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/laurci","download_url":"https://codeload.github.com/laurci/ts-fork-demos/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247208016,"owners_count":20901568,"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":[],"created_at":"2024-10-30T04:24:00.930Z","updated_at":"2025-04-04T15:42:55.786Z","avatar_url":"https://github.com/laurci.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ts-fork-demos\n\nThis repository contains examples for features implemented in my own fork of TypeScript (you can find it [here](https://github.com/laurci/TypeScript)).\n\n## Running the examples\n\nPrerequisites:\n0. Node 16 + *Yarn* \u0026 *Gulp* installed globally\n1. Make sure you have a clone of the fork in a folder called `TypeScript` next to this folder.\n2. Make sure to build the compiler. You can run the following:\n    - `npm ci` to install dependencies\n    - `npm run build:compiler` to build\n3. Run `yarn` in the root of this directory.\n\nThere are 4 scripts in this project. You must run them in the root of this repository.\n1. `compile`: Will run `tsc` with specified sample. Ex: `yarn compile examples/defer`.\n2. `clean`: Will clean the compile output of a specified sample. Ex: `yarn clean examples/defer`.\n3. `build`: Runs both of the above. Ex: `yarn build examples/defer`.\n4. `start`: Builds and runs a specified sample. Ex: `yarn start examples/defer`. You can also skip building or cleaning with `--no-rebuild` and `--no-clean` flags.\n\n## Syntax and Language Service\n\nThe fork adds custom Syntax. If you want this to work in your editor, you will have use the built language service and modify the TS syntax to match the fork.\n\n### VSCode setup\n\nIf you use `vscode` you're in luck because I use it too, so you have some easy options.\n\nFor the language service, VSCode will prompt you to use the lamguage service from the fork (if it doesn't you can still [manually choose it](https://code.visualstudio.com/docs/typescript/typescript-compiling#_using-the-workspace-version-of-typescript)).\n\nFor the syntax, you have two options:\n1. Install the latest extension version from [here](https://github.com/laurci/ts-fork-vscode/tree/master/pack).\n2. Use my fork of vscode :) (I don't recommend it, but you can find it [here](https://github.com/laurci/vscode)).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaurci%2Fts-fork-demos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaurci%2Fts-fork-demos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaurci%2Fts-fork-demos/lists"}