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
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

### Rstest

- Run `npm run test` to test your code
- Run `{{ packageManager }} run test` to test your code
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

### Rstest

- Run `npm run test` to test your code
- Run `{{ packageManager }} run test` to test your code
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

### Rstest

- Run `npm run test` to test your code
- Run `{{ packageManager }} run test` to test your code
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

### Rstest

- Run `npm run test` to test your code
- Run `{{ packageManager }} run test` to test your code
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

### Rstest

- Run `npm run test` to test your code
- Run `{{ packageManager }} run test` to test your code
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

### Rstest

- Run `npm run test` to test your code
- Run `{{ packageManager }} run test` to test your code
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

### Storybook

- Run `npm run storybook` to start the Storybook dev server
- Run `{{ packageManager }} run storybook` to start the Storybook dev server
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

### Storybook

- Run `npm run storybook` to start the Storybook dev server
- Run `{{ packageManager }} run storybook` to start the Storybook dev server
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

### Storybook

- Run `npm run storybook` to start the Storybook dev server
- Run `{{ packageManager }} run storybook` to start the Storybook dev server
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

### Storybook

- Run `npm run storybook` to start the Storybook dev server
- Run `{{ packageManager }} run storybook` to start the Storybook dev server
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

### Vitest

- Run `npm run test` to test your code
- Run `{{ packageManager }} run test` to test your code
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

### Vitest

- Run `npm run test` to test your code
- Run `{{ packageManager }} run test` to test your code
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

### Vitest

- Run `npm run test` to test your code
- Run `{{ packageManager }} run test` to test your code
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

### Vitest

- Run `npm run test` to test your code
- Run `{{ packageManager }} run test` to test your code
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

### Vitest

- Run `npm run test` to test your code
- Run `{{ packageManager }} run test` to test your code
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

### Vitest

- Run `npm run test` to test your code
- Run `{{ packageManager }} run test` to test your code
5 changes: 3 additions & 2 deletions packages/create-rslib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,11 @@
"dev": "rslib build --watch",
"generate-templates": "pnpm tsx ./src/genTemplates.ts",
"start": "node ./dist/index.js",
"test": "rstest"
"test": "rstest",
"type-check": "tsc --noEmit"
},
"dependencies": {
"create-rstack": "1.7.7"
"create-rstack": "1.7.9"
},
"devDependencies": {
"@rslib/tsconfig": "workspace:*",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

### Rstest

- Run `npm run test` to test your code
- Run `{{ packageManager }} run test` to test your code
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

### Rstest

- Run `npm run test` to test your code
- Run `{{ packageManager }} run test` to test your code
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

### Vitest

- Run `npm run test` to test your code
- Run `{{ packageManager }} run test` to test your code
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

### Vitest

- Run `npm run test` to test your code
- Run `{{ packageManager }} run test` to test your code
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

### Rstest

- Run `npm run test` to test your code
- Run `{{ packageManager }} run test` to test your code
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

### Rstest

- Run `npm run test` to test your code
- Run `{{ packageManager }} run test` to test your code
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

### Vitest

- Run `npm run test` to test your code
- Run `{{ packageManager }} run test` to test your code
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

### Vitest

- Run `npm run test` to test your code
- Run `{{ packageManager }} run test` to test your code
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

### Storybook

- Run `npm run storybook` to start the Storybook dev server
- Run `{{ packageManager }} run storybook` to start the Storybook dev server
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

### Storybook

- Run `npm run storybook` to start the Storybook dev server
- Run `{{ packageManager }} run storybook` to start the Storybook dev server
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

### Rstest

- Run `npm run test` to test your code
- Run `{{ packageManager }} run test` to test your code
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

### Rstest

- Run `npm run test` to test your code
- Run `{{ packageManager }} run test` to test your code
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

### Vitest

- Run `npm run test` to test your code
- Run `{{ packageManager }} run test` to test your code
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

### Vitest

- Run `npm run test` to test your code
- Run `{{ packageManager }} run test` to test your code
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

### Storybook

- Run `npm run storybook` to start the Storybook dev server
- Run `{{ packageManager }} run storybook` to start the Storybook dev server
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

### Storybook

- Run `npm run storybook` to start the Storybook dev server
- Run `{{ packageManager }} run storybook` to start the Storybook dev server
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

### Vitest

- Run `npm run test` to test your code
- Run `{{ packageManager }} run test` to test your code
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

### Vitest

- Run `npm run test` to test your code
- Run `{{ packageManager }} run test` to test your code
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

### Storybook

- Run `npm run storybook` to start the Storybook dev server
- Run `{{ packageManager }} run storybook` to start the Storybook dev server
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

### Storybook

- Run `npm run storybook` to start the Storybook dev server
- Run `{{ packageManager }} run storybook` to start the Storybook dev server
2 changes: 1 addition & 1 deletion packages/create-rslib/template-[vue]-[rstest]-js/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

### Rstest

- Run `npm run test` to test your code
- Run `{{ packageManager }} run test` to test your code
2 changes: 1 addition & 1 deletion packages/create-rslib/template-[vue]-[rstest]-ts/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

### Rstest

- Run `npm run test` to test your code
- Run `{{ packageManager }} run test` to test your code
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

### Vitest

- Run `npm run test` to test your code
- Run `{{ packageManager }} run test` to test your code
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

### Vitest

- Run `npm run test` to test your code
- Run `{{ packageManager }} run test` to test your code
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

### Storybook

- Run `npm run storybook` to start the Storybook dev server
- Run `{{ packageManager }} run storybook` to start the Storybook dev server
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

### Storybook

- Run `npm run storybook` to start the Storybook dev server
- Run `{{ packageManager }} run storybook` to start the Storybook dev server
2 changes: 1 addition & 1 deletion packages/create-rslib/template-[vue]-[vitest]-js/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

### Vitest

- Run `npm run test` to test your code
- Run `{{ packageManager }} run test` to test your code
2 changes: 1 addition & 1 deletion packages/create-rslib/template-[vue]-[vitest]-ts/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

### Vitest

- Run `npm run test` to test your code
- Run `{{ packageManager }} run test` to test your code
4 changes: 2 additions & 2 deletions packages/create-rslib/template-common/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ You are an expert in JavaScript, Rspack, Rsbuild, Rslib, and library development

## Commands

- `npm run build` - Build the library for production
- `npm run dev` - Turn on watch mode, watch for changes and rebuild the library
- `{{ packageManager }} run build` - Build the library for production
- `{{ packageManager }} run dev` - Turn on watch mode, watch for changes and rebuild the library

## Docs

Expand Down
6 changes: 3 additions & 3 deletions packages/create-rslib/template-common/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@
Install the dependencies:

```bash
pnpm install
{{ packageManager }} install
```

## Get started

Build the library:

```bash
pnpm build
{{ packageManager }} run build
```

Build the library in watch mode:

```bash
pnpm dev
{{ packageManager }} run dev
```
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

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

Loading