{"id":18961948,"url":"https://github.com/lamualfa/routify-ts","last_synced_at":"2025-09-14T20:24:05.824Z","repository":{"id":49898710,"uuid":"290169501","full_name":"lamualfa/routify-ts","owner":"lamualfa","description":"Use Typescript in Routify Starter Template.","archived":false,"fork":false,"pushed_at":"2022-01-05T04:27:05.000Z","size":103,"stargazers_count":19,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-09T15:52:29.253Z","etag":null,"topics":["routify","svelte","typescript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lamualfa.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}},"created_at":"2020-08-25T09:15:43.000Z","updated_at":"2024-07-16T15:02:06.000Z","dependencies_parsed_at":"2022-09-26T16:32:57.987Z","dependency_job_id":null,"html_url":"https://github.com/lamualfa/routify-ts","commit_stats":null,"previous_names":["lamualfa/setup-routify-ts"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/lamualfa/routify-ts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lamualfa%2Froutify-ts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lamualfa%2Froutify-ts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lamualfa%2Froutify-ts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lamualfa%2Froutify-ts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lamualfa","download_url":"https://codeload.github.com/lamualfa/routify-ts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lamualfa%2Froutify-ts/sbom","scorecard":{"id":578149,"data":{"date":"2025-08-11","repo":{"name":"github.com/lamualfa/routify-ts","commit":"6ed53f50284d36fca1c3652fbccbee6d8b556063"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 1/28 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Do What The F*ck You Want To Public License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 3 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-20T18:24:28.570Z","repository_id":49898710,"created_at":"2025-08-20T18:24:28.571Z","updated_at":"2025-08-20T18:24:28.571Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273926542,"owners_count":25192318,"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","status":"online","status_checked_at":"2025-09-06T02:00:13.247Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["routify","svelte","typescript"],"created_at":"2024-11-08T14:14:48.449Z","updated_at":"2025-09-14T20:24:05.796Z","avatar_url":"https://github.com/lamualfa.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![NPM Version](https://badgen.net/npm/v/routify-ts?color=red\u0026icon=npm\u0026label=version)](https://npmjs.com/package/routify-ts)\n[![NPM Downloads](https://badgen.net/npm/dt/routify-ts?color=blue\u0026label=downloads)](https://npmjs.com/package/routify-ts)\n[![Github License](https://badgen.net/github/license/lamualfa/routify-ts?color=purple\u0026label=license)](https://github.com/lamualfa/routify-ts/blob/master/LICENSE)\n[![Dependencies](https://img.shields.io/badge/dependencies-agnostic-pink)](https://github.com/lamualfa/routify-ts/blob/master/package.json)\n\n# routify-ts\n\nUse Typescript in [Routify Starter Template](https://github.com/roxiness/routify-starter).\n\n## Important\n\n- **This library does not have support for Routify v3 template project (_PR Welcome_)**.\n- The script name has been changed from `setup-routify-ts` to `routify-ts`.\n- This `routify-ts` script designed for [Routify Starter Template](https://github.com/roxiness/routify-starter). Not for [Svelte Template](https://github.com/sveltejs/template).\n- This documentation is shown for `@sveltech/routify` version `2`. For versions below `2`, please visit [v1.0.0](https://github.com/lamualfa/routify-ts/tree/v1.0.0).\n- Please backup your project folder before use `routify-ts convert` command. You don't need to do that for `init` command.\n\n## Usage\n\nWe have 2 methods to add Typescript support to Routify Starter Template. You can choose whichever one suits your needs.\n\n**Support methods:**\n\n- [Create new Routify Starter Template from Scratch](https://github.com/lamualfa/routify-ts#Create-new-Routify-Starter-Template-from-Scratch)\n- [Convert existing projects to Typescript](https://github.com/lamualfa/routify-ts#Convert-existing-projects-to-Typescript)\n\n\u003chr\u003e\n\n### Create new Routify Starter Template from Scratch\n\nWith this method, `routify-ts` will create a Routify Starter Template and then add additional configurations for Typescript purposes.\n\n#### Command\n\n```bash\nnpx routify-ts init \u003cproject-name\u003e [routify-init-args]\n```\n\n#### Arguments\n\n- `project-name`: Your project name (will be used as the folder name).\n- `routify-init-args`: Some arguments will be passed to `npx @sveltech/routify init` command. See [Routify Get Started](https://github.com/roxiness/routify-starter#starter-templates).\n\n#### Example\n\n```bash\nnpx routify-ts init my-routify-app\n```\n\n\u003chr\u003e\n\n### Convert existing projects to Typescript\n\n`routify-ts` will add additional configurations for Typescript needs to an existing project.\n\n\u003e **Important** - Try to do backups to prevent conflicts in case of conflicts with the configuration that you have made.\n\n#### Command\n\n```bash\nnpx routify-ts convert [project-directory]\n```\n\n#### Arguments\n\n- `project-directory`: Path to your project folder. Default: `.`(Current folder).\n\n#### Example\n\n```bash\nnpx routify-ts convert /home/me/my-routify-app\n```\n\n\u003chr\u003e\n\n## What we do\n\n- Create new `tsconfig.json` file in root folder.\n- Add `svelte-check` script \u0026 some `devDependencies` to `package.json`.\n- Rename `src/main.js` to `src/main.ts`.\n- Add `lang` property to `script` element in `src/App.svelte`.\n- Add some plugins \u0026 configurations to `rollup.config.js` file.\n- Create new `extensions.json` file in `.vscode` directory.\n\n\u003chr/\u003e\n\n**Tested with `@roxi/routify@v2.8.5`**\n\n\u003chr/\u003e\n\n## Related\n\n- [routify-tailwind](https://github.com/lamualfa/routify-tailwind) - Use Tailwind CSS in Routify.\n- [routify-twind](https://github.com/lamualfa/routify-twind) - Use Twind (Tailwind CSS in JS version) in Routify.\n- [routify-windi](https://github.com/lamualfa/routify-windi) - Use Windi CSS (_Next generation of Tailwind CSS compiler_) in Routify.\n- [routify-vite](https://github.com/lamualfa/routify-vite) Use Vite (_Next Generation Frontend Tooling_) in Routify.\n- [routify-carbon](https://github.com/lamualfa/routify-carbon) - Use IBM Carbon Framework in Routify.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flamualfa%2Froutify-ts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flamualfa%2Froutify-ts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flamualfa%2Froutify-ts/lists"}