{"id":22820058,"url":"https://github.com/ridays2001/starttsx-ps","last_synced_at":"2025-08-10T11:31:16.123Z","repository":{"id":186368997,"uuid":"303358908","full_name":"ridays2001/StartTSX-ps","owner":"ridays2001","description":"A PowerShell script to automate the creation of a TSX project and all related steps in a single command.","archived":false,"fork":false,"pushed_at":"2021-02-08T11:11:45.000Z","size":298,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-08-05T18:27:08.422Z","etag":null,"topics":["automation","cra-template","powershell","tsx","typescript","typescript-boilerplate","windows"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","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/ridays2001.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}},"created_at":"2020-10-12T10:38:51.000Z","updated_at":"2023-08-05T18:27:11.239Z","dependencies_parsed_at":null,"dependency_job_id":"5a97a674-1f28-4228-9fc3-3fecaa5ada37","html_url":"https://github.com/ridays2001/StartTSX-ps","commit_stats":null,"previous_names":["ridays2001/starttsx-ps"],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ridays2001%2FStartTSX-ps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ridays2001%2FStartTSX-ps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ridays2001%2FStartTSX-ps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ridays2001%2FStartTSX-ps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ridays2001","download_url":"https://codeload.github.com/ridays2001/StartTSX-ps/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229404258,"owners_count":18067680,"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":["automation","cra-template","powershell","tsx","typescript","typescript-boilerplate","windows"],"created_at":"2024-12-12T15:16:07.578Z","updated_at":"2024-12-12T15:16:08.214Z","avatar_url":"https://github.com/ridays2001.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# No Longer Valid\r\nThis script may not work anymore. The dependencies have been updated and a lot of changes have been made to the original create-react-app tool.\r\n----\r\n\r\n# StartTSX-PS\r\nThis is a powershell script to automate the creation of a TSX project using a single command.\r\nThis command will create the TSX project, update dependencies, update README file, remove git references, and copy the setup files to the project folder.\r\n\r\n### Installation Instructions:\r\n+ Clone this repo to your computer.\r\n+ If you prefer to use a custom prettier config, then update it in the `./setup-files/.prettierrc` file.\r\n+ Update the `$setup_files` variable in `StartTSX.ps1` file to match the exact path to the `./setup-files/` folder in this repo.\r\n+ Open PowerShell and type `code $Profile`. (Assuming that you're using VS Code. You can use whatever editor you want).\r\n![Image](/img/SS_Profile.png)\r\n+ Your powershell profile settings will open.\r\n+ Then add this line to it `. path/to/folder/StartTSX.ps1`. (Replace the path with exact path to the `StartTSX.ps1` file in this repo).\r\n+ Save the file and close all your powershell windows.\r\n+ Start a new Powershell window and test it out by `tsx \u003cyour-project-name\u003e`.\r\n![Image](/img/SS_TSX.png)\r\n\r\n### Common Problems:\r\n+ **The system cannot find the file specified.** | **Your powershell profile file doesn't exist.** This problem is usually for those who haven't customized anything in your powershell before. You need to type `$profile` in your powershell \u003e navigate to the directory \u003e create a new file named `Microsoft.PowerShell_profile.ps1`. There you go! Now you have it.\r\n+ **📂❌ Cannot find setup files folder.** This problem arises when you didn't change the `$setup_files` variable in the `StartTSX.ps1` file, or if you added an extra slash at the end of the path.\r\n+ **The term 'tsx' is not recognized as the name of a cmdlet, function, script file, or operable program.** You need to load the script once your powershell starts. For this, we need to add that `. path/to/script.ps1` line to your powershell profile.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fridays2001%2Fstarttsx-ps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fridays2001%2Fstarttsx-ps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fridays2001%2Fstarttsx-ps/lists"}