From f1745f5aff90303a77a338f179c8bb9eee6d384e Mon Sep 17 00:00:00 2001 From: hunghg255 Date: Wed, 8 Nov 2023 17:53:06 +0700 Subject: [PATCH] chore: update rsbuild template --- README.md | 3 +++ src/templates.ts | 17 ++++++++++++++--- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ad25c1b..e9472db 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,9 @@ bunx create-template-fe@latest |- Vitejs, React18, Typescript, SWC |- Vitejs, Antd, Recoil, i18n, Typescript +- Rsbuild + |- Rsbuild, Antd, Recoil, i18n, Typescript + - Nextjs |- Next12, Antd, Recoil, i18n, Typescript |- Next13, Antd, Jotai, i18n, Typescript (Page Router) diff --git a/src/templates.ts b/src/templates.ts index bca7515..8dbd511 100644 --- a/src/templates.ts +++ b/src/templates.ts @@ -9,7 +9,7 @@ import { red, yellow, lightYellow, - lightGray + lightGray, } from 'kolorist'; export const templates = [ @@ -46,18 +46,29 @@ export const templates = [ githubRepo: 'https://github.com/hunghg255/vite-react-swc-init.git', }, { - name: 'Vitejs, Antd, Recoil, i18n, Typescript', + name: 'Vitejs, Antd, Jotail, i18n, Typescript', color: yellow, githubRepo: 'https://github.com/hunghg255/vite-react-antd.git', }, ], }, + { + framwork: 'Rsbuild', + color: magenta, + variants: [ + { + name: 'Rsbuild, Antd, Jotail, i18n, Typescript', + color: green, + githubRepo: 'https://github.com/hunghg255/rsbuild-react-antd.git', + } + ], + }, { framwork: 'Nextjs', color: lightGreen, variants: [ { - name: 'Next12, Antd, Recoil, i18n, Typescript', + name: 'Next12, Antd, Jotail, i18n, Typescript', color: red, githubRepo: 'https://github.com/hunghg255/next12-antd-recoil.git', },