{"id":27641384,"url":"https://github.com/ryuheechul/create-svelte-with-config","last_synced_at":"2026-04-29T15:40:12.020Z","repository":{"id":65696145,"uuid":"597220536","full_name":"ryuheechul/create-svelte-with-config","owner":"ryuheechul","description":"invoke create-svelte with a \"config\" file","archived":false,"fork":false,"pushed_at":"2023-02-03T23:18:09.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-04T03:50:30.133Z","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/ryuheechul.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":"2023-02-03T22:35:15.000Z","updated_at":"2023-03-08T05:14:57.000Z","dependencies_parsed_at":"2023-02-18T12:03:52.145Z","dependency_job_id":null,"html_url":"https://github.com/ryuheechul/create-svelte-with-config","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ryuheechul/create-svelte-with-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryuheechul%2Fcreate-svelte-with-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryuheechul%2Fcreate-svelte-with-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryuheechul%2Fcreate-svelte-with-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryuheechul%2Fcreate-svelte-with-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryuheechul","download_url":"https://codeload.github.com/ryuheechul/create-svelte-with-config/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryuheechul%2Fcreate-svelte-with-config/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32432781,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T13:34:34.882Z","status":"ssl_error","status_checked_at":"2026-04-29T13:34:29.830Z","response_time":110,"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":"2025-04-23T23:46:27.467Z","updated_at":"2026-04-29T15:40:12.008Z","avatar_url":"https://github.com/ryuheechul.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# create-svelte-with-config\n\nThis is a thin wrapper of [create-svelte](https://www.npmjs.com/package/create-svelte).\n## Why\n[create-svelte](https://github.com/sveltejs/kit/tree/master/packages/create-svelte#api) currently doesn't accept a config file nor command flags.\nThat leaves you with either enter things interactively or setup a project like this very one to tap into `create-svelte` programmatically which is not ideal.\n\nSo until that feature is added to upstream, this project should be useful to create svelte project quickly without having to interactively providing parameters.\n\n## Examples\n\n### Example With a Config With Hard-Coded Project Name\n\n```javascript\n// let's say this is your-config-file.mjs in your current working directory\n\n// based on https://github.com/sveltejs/kit/tree/master/packages/create-svelte#api\nexport default { // always export this as default\n  name: 'my-new-app-via-config',\n  template: 'skeleton', // or 'default' or 'skeletonlib'\n  types: 'typescript', // or 'checkjs' or null;\n  vitest: true,\n  eslint: true,\n  prettier: true,\n  playwright: false,\n};\n```\n\nThen now you can run this\n\n```bash\nnpm create svelte-with-config your-config-file.mjs\n```\n\n\n### Example With Overriding Name\n```javascript\n// let's say this is another-config-file.mjs\n\nexport default {\n  name: 'still-hard-coded-name-in-config',\n  template: 'skeleton', // or 'default' or 'skeletonlib'\n  types: 'typescript', // or 'checkjs' or null;\n  vitest: false,\n  eslint: false,\n  prettier: false,\n  playwright: false,\n};\n```\n\nThen now you can run this to override the name\n\n```bash\nnpm create svelte-with-config another-config-file.mjs my-another-new-app\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryuheechul%2Fcreate-svelte-with-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryuheechul%2Fcreate-svelte-with-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryuheechul%2Fcreate-svelte-with-config/lists"}