Skip to content

Commit

Permalink
feat: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
linbudu599 committed Mar 16, 2022
1 parent 256b757 commit 720e263
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ Starters collection based on pnpm workspace.

**Note: This is a personal project, it is not community oriented, so the direction of the iteration will be entirely based on the authors' own opinions.**

## Getting Started

- [Use this template](https://github.com/LinbuduLab/starter-collections/generate) and clone it.
- **Do not run `pnpm install` at once**, run `pnpm init:workspace` to only install dependencies which is required by CLI.
- Pick your starters.
- Move on!

## Packages

### React
Expand Down
3 changes: 1 addition & 2 deletions scripts/init-workspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ export default function useInitWorkspaceAfterInstall(cli: CAC) {

const chosedStarters = await CLIUtils.createPackageMultiSelector(
'chosedStarters',
'Pick starters to initialize workspace',
true
'Pick starters to initialize workspace'
);

const excluded = chosedStarters.includes(Constants.noneIdentifier)
Expand Down
2 changes: 1 addition & 1 deletion scripts/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ export class CLIUtils {
public static async createPackageMultiSelector<T extends string>(
name: T,
message: string,
color = true
color = false
): Promise<string[]> {
const existPackages = CLIUtils.existPackages;

Expand Down

0 comments on commit 720e263

Please sign in to comment.