Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ catalog:
'@rspress/plugin-sitemap': '^2.0.19'
'@rspress/plugin-twoslash': '^2.0.19'
'@rstack-dev/doc-ui': '1.14.7'
'@rstackjs/create-toolkit': '2.1.4'
'@rstackjs/create-toolkit': '2.2.1'
'@rstest/adapter-rslib': '^0.11.6'
'@rstest/core': '^0.11.6'
'@shikijs/transformers': '^4.4.2'
Expand All @@ -74,7 +74,7 @@ catalog:
'express': '^5.2.1'
'fs-extra': '^11.4.0'
'get-tsconfig': '5.0.0-beta.5'
'heading-case': '^1.1.4'
'heading-case': '^1.1.5'
'http-server': '^14.1.1'
'lodash': '^4.18.1'
'lodash.merge': '^4.6.2'
Expand Down
4 changes: 3 additions & 1 deletion website/docs/en/guide/start/quick-start.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,10 @@ Follow the prompts step by step. During project creation, you can choose a templ

All templates include [Rstest](https://rstest.rs/) by default for testing.

By default, the scaffold initializes a Git repository in the generated project. Pass `--no-git` to skip Git initialization.

After creating the project, do the following:

- Run `git init` to initialize a Git repository.
- Run `npm install` (or your package manager's install command) to install dependencies.
- Run `npm run dev` to start watch mode and begin development.

Expand Down Expand Up @@ -136,6 +137,7 @@ Options:
-h, --help display help for command
-d, --dir <dir> create project in specified directory
-t, --template <tpl> specify the template to use
--no-git skip Git repository initialization
--tools <tool> add additional tools, comma separated
--skill <skill> add optional skills, comma separated
--override override files in target directory
Expand Down
4 changes: 3 additions & 1 deletion website/docs/zh/guide/start/quick-start.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,10 @@ import { PackageManagerTabs } from '@theme';

创建的 Rslib 项目默认使用 [Rstest](https://rstest.rs/zh/) 作为测试框架,阅读 [使用 Rstest](/guide/advanced/rstest) 了解更多信息。

脚手架默认会在生成的项目中初始化 Git 仓库。如需跳过 Git 初始化,请在创建命令中添加 `--no-git`。

在创建完成后,你可以执行以下步骤:

- 执行 `git init` 来初始化 Git 仓库。
- 执行 `npm install`(或其他包管理器的 install 命令)安装 npm 依赖。
- 执行 `npm run dev` 启动监听模式开始开发。

Expand Down Expand Up @@ -136,6 +137,7 @@ Options:
-h, --help display help for command
-d, --dir <dir> create project in specified directory
-t, --template <tpl> specify the template to use
--no-git skip Git repository initialization
--tools <tool> add additional tools, comma separated
--skill <skill> add optional skills, comma separated
--override override files in target directory
Expand Down