From 694949375e35a960a529ad1b711cc6e490fb2a69 Mon Sep 17 00:00:00 2001 From: FliPPeDround <734243792@qq.com> Date: Thu, 6 Jul 2023 10:13:34 +0800 Subject: [PATCH] chore: update README --- README.md | 8 ++++---- renovate.json | 2 +- src/question/index.ts | 4 ++-- src/question/{projectName.ts => name.ts} | 0 template/config/pinia/package.json | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) rename src/question/{projectName.ts => name.ts} (100%) diff --git a/README.md b/README.md index 5ac6a99..2006728 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@

-# 使用 +# 📦 使用 ```shell # npm @@ -20,11 +20,11 @@ pnpm create uni ``` - - ## 📖 介绍 -`create-uni` 是一个用于快速创建 uni-app 项目的脚手架工具,它可以帮助你快速创建一个基于vite的`uni-app`项目,同时提供了一些模板供你选择。 +`create-uni` 是一个用于快速创建 uni-app 项目的轻量脚手架工具,它可以帮助你快速创建一个基于`vite`和`vue3`的`uni-app`项目,同时提供了一些模板供你选择。 + + ## 🤝 参与贡献 diff --git a/renovate.json b/renovate.json index 49fdb5e..c718413 100644 --- a/renovate.json +++ b/renovate.json @@ -8,5 +8,5 @@ ], "rangeStrategy": "bump", "labels": ["dependencies"], - "ignoreDeps": ["esbuild", "typescript"] + "ignoreDeps": ["esbuild", "typescript", "pinia"] } diff --git a/src/question/index.ts b/src/question/index.ts index cd592c1..914b5d6 100644 --- a/src/question/index.ts +++ b/src/question/index.ts @@ -1,9 +1,9 @@ import prompts from 'prompts' import { red } from 'kolorist' -import projectName from './projectName.js' +import projectName from './name' import model from './model' -import template from './template/index.js' +import template from './template' export async function question() { const questions = [ diff --git a/src/question/projectName.ts b/src/question/name.ts similarity index 100% rename from src/question/projectName.ts rename to src/question/name.ts diff --git a/template/config/pinia/package.json b/template/config/pinia/package.json index c85397d..3ef9bc4 100644 --- a/template/config/pinia/package.json +++ b/template/config/pinia/package.json @@ -1,5 +1,5 @@ { "dependencies": { - "pinia": "2.1.4" + "pinia": "2.0.36" } }