Skip to content

Commit

Permalink
feat: support create-solid
Browse files Browse the repository at this point in the history
  • Loading branch information
yrming committed Jan 4, 2024
1 parent 77559d8 commit bb24546
Show file tree
Hide file tree
Showing 10 changed files with 719 additions and 11 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ Kickstart your project with a starter in VSCode
<a href="https://marketplace.visualstudio.com/items?itemName=YRM.starter-templates" target="__blank"><img src="https://img.shields.io/visual-studio-marketplace/v/YRM.starter-templates.svg?color=eee&amp;label=VS%20Code%20Marketplace&logo=visual-studio-code" alt="Visual Studio Marketplace Version" /></a>
</p>


## Motivation

- As a front-end developer, everytime before I create a new project, I have to open a terminal, enter some commands recommended in the front-end framework documentation; sometimes I even forget these commands. This whole process apparently needs more efficiency.
Expand All @@ -29,7 +28,6 @@ Kickstart your project with a starter in VSCode
- Enable or disable automatic initialization of Git
- Enable or disable automatic installation of dependencies


## Usage

<p>
Expand All @@ -42,7 +40,6 @@ Kickstart your project with a starter in VSCode
<img width="800" alt="Preview 2" src="./resources/preview2.png">
</p>


## Support Templates

- [Nuxt3 Minimal Starter](https://github.com/nuxt/starter/tree/v3) - Create a new Nuxt project.
Expand All @@ -52,6 +49,7 @@ Kickstart your project with a starter in VSCode
- [Vitesse Lite](https://github.com/antfu/vitesse-lite) - Lightweight version of Vitesse.
- [Create Next App](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) - The easiest way to get started with Next.js.
- [Create Svelte](https://github.com/sveltejs/kit/tree/main/packages/create-svelte) - Create new SvelteKit projects.
- [Create Solid](https://github.com/solidjs/solid-start/tree/main/packages/create-solid) - The easiest way to get started with Solid.
- [Starter TS](https://github.com/antfu/starter-ts) - Starter template for TypeScript library.
- [Starter VSCode](https://github.com/antfu/starter-vscode) - Starter template for VS Code Extension.
- [Vitesse WebExt](https://github.com/antfu/vitesse-webext) - WebExtension Vite Starter Template.
Expand Down
45 changes: 44 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"publisher": "YRM",
"name": "starter-templates",
"displayName": "Starters",
"version": "0.9.0",
"version": "0.10.0",
"description": "Kickstart your project with a starter in VSCode",
"license": "MIT",
"repository": {
Expand Down Expand Up @@ -217,6 +217,42 @@
"scope": "window"
}
}
},
{
"title": "Create Solid(Official Beta)",
"order": 5,
"properties": {
"starters.createSolid.whichTemplate": {
"enum": [
"bare",
"basic",
"experiments",
"hackernews",
"todomvc",
"with-auth",
"with-mdx",
"with-prisma",
"with-solid-styled",
"with-tailwindcss",
"with-trpc"
],
"default": "bare",
"description": "Which template do you want to use?",
"scope": "window"
},
"starters.createSolid.needsSsr": {
"type": "boolean",
"default": true,
"markdownDescription": "Server Side Rendering?",
"scope": "window"
},
"starters.createSolid.needsTypeScript": {
"type": "boolean",
"default": true,
"markdownDescription": "Use TypeScript?",
"scope": "window"
}
}
}
]
},
Expand All @@ -232,6 +268,11 @@
},
"devDependencies": {
"@antfu/eslint-config": "^2.4.6",
"@babel/core": "^7.23.7",
"@babel/plugin-syntax-jsx": "^7.23.3",
"@babel/preset-typescript": "^7.23.3",
"@types/babel-plugin-syntax-jsx": "^6.18.2",
"@types/babel__core": "^7.20.5",
"@types/degit": "^2.8.6",
"@types/fs-extra": "^11.0.4",
"@types/mocha": "^10.0.6",
Expand All @@ -245,8 +286,10 @@
"degit": "^2.8.4",
"eslint": "^8.54.0",
"execa": "^8.0.1",
"fast-glob": "^3.3.2",
"fs-extra": "^11.2.0",
"nypm": "^0.3.3",
"prettier": "^3.1.1",
"tsup": "^8.0.1",
"typescript": "^5.3.2",
"vscode-uri": "^3.0.8"
Expand Down
Loading

0 comments on commit bb24546

Please sign in to comment.