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
8 changes: 6 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: CI

on:
schedule:
- cron: '0 1 * * *'
- cron: "0 1 * * *"

workflow_dispatch:

Expand All @@ -26,7 +26,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v5
with:
node-version-file: '.nvmrc'
node-version-file: ".nvmrc"

- name: Install dependencies
run: pnpm install
Expand All @@ -39,6 +39,10 @@ jobs:
run: |
pnpm build:rsbuild

- name: Build Rslib
run: |
pnpm build:rslib

- name: Build Rspress
run: |
pnpm build:rspress
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ This repository contains comprehensive examples that demonstrate the Rstack ecos

## List of Examples

| [Rspack](https://github.com/web-infra-dev/rspack) | <a href="https://github.com/web-infra-dev/rspack" target="blank"><img src="https://assets.rspack.dev/rspack/rspack-banner.png" width="400" /></a> | [Examples](./rspack) | [Document](https://rspack.dev/) |
| :---------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------: | :----------------------------------: |
| [Rsbuild](https://github.com/web-infra-dev/rsbuild) | <a href="https://github.com/web-infra-dev/rsbuild" target="blank"><img src="https://assets.rspack.dev/rsbuild/rsbuild-banner.png" width="400" /></a> | [Examples](./rsbuild) | [Document](https://rsbuild.dev/) |
| [Rspress](https://github.com/web-infra-dev/rspress) | <a href="https://github.com/web-infra-dev/rspress" target="blank"><img src="https://assets.rspack.dev/rspress/rspress-banner.png" width="400" /></a> | [Examples](./rspress/) | [Document](https://rspress.dev/) |
| [Rsdoctor](https://github.com/web-infra-dev/rsdoctor) | <a href="https://github.com/web-infra-dev/rsdoctor" target="blank"><img src="https://assets.rspack.dev/rsdoctor/rsdoctor-banner.png" width="400" /></a> | [Examples](./rsdoctor/) | [Document](https://rsdoctor.dev/) |
| [Rslib](https://github.com/web-infra-dev/rslib) | <a href="https://github.com/web-infra-dev/rslib" target="blank"><img src="https://assets.rspack.dev/rslib/rslib-banner.png" width="400" /></a> | [Examples](https://github.com/web-infra-dev/rslib/tree/main/examples) | [Document](https://lib.rsbuild.dev/) |
| [Rspack](https://github.com/web-infra-dev/rspack) | <a href="https://github.com/web-infra-dev/rspack" target="blank"><img src="https://assets.rspack.dev/rspack/rspack-banner.png" width="400" /></a> | [Examples](./rspack) | [Document](https://rspack.dev/) |
| :---------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------: | :----------------------------------: |
| [Rsbuild](https://github.com/web-infra-dev/rsbuild) | <a href="https://github.com/web-infra-dev/rsbuild" target="blank"><img src="https://assets.rspack.dev/rsbuild/rsbuild-banner.png" width="400" /></a> | [Examples](./rsbuild) | [Document](https://rsbuild.dev/) |
| [Rspress](https://github.com/web-infra-dev/rspress) | <a href="https://github.com/web-infra-dev/rspress" target="blank"><img src="https://assets.rspack.dev/rspress/rspress-banner.png" width="400" /></a> | [Examples](./rspress/) | [Document](https://rspress.dev/) |
| [Rsdoctor](https://github.com/web-infra-dev/rsdoctor) | <a href="https://github.com/web-infra-dev/rsdoctor" target="blank"><img src="https://assets.rspack.dev/rsdoctor/rsdoctor-banner.png" width="400" /></a> | [Examples](./rsdoctor/) | [Document](https://rsdoctor.dev/) |
| [Rslib](https://github.com/web-infra-dev/rslib) | <a href="https://github.com/web-infra-dev/rslib" target="blank"><img src="https://assets.rspack.dev/rslib/rslib-banner.png" width="400" /></a> | [Examples](./rslib) | [Document](https://lib.rsbuild.dev/) |

## How to Use

Expand Down
6 changes: 5 additions & 1 deletion biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"**/rsbuild/**",
"**/rspress/**",
"**/rsdoctor/**",
"**/rslib/**",
"!**/dist",
"!**/dist-*",
"!**/doc_build",
Expand Down Expand Up @@ -55,7 +56,10 @@
"**/tsconfig-*.json"
],
"json": {
"parser": { "allowComments": true, "allowTrailingCommas": true }
"parser": {
"allowComments": true,
"allowTrailingCommas": true
}
}
},
{
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@
"license": "MIT",
"scripts": {
"bump": "taze -l",
"build": "npm run build:rspack && npm run build:rsbuild && npm run build:rspress && npm run build:rsdoctor",
"build": "npm run build:rspack && npm run build:rsbuild && npm run build:rspress && npm run build:rsdoctor && npm run build:rslib",
"build:rsbuild": "pnpm --filter \"rsbuild-*\" build",
"build:rsdoctor": "pnpm --filter \"rsdoctor-*\" build",
"build:rspack": "pnpm --filter \"example-*\" build",
"test:rspack": "pnpm --filter \"example-*\" test",
"build:rspress": "pnpm --filter \"rspress-*\" build",
"build:rslib": "pnpm --filter \"rslib-*\" build",
"prepare": "husky",
"sort-package-json": "npx sort-package-json \"rspack/*/package.json\" \"rsbuild/*/package.json\" \"rspress/*/package.json\" \"rsdoctor/*/package.json\""
"sort-package-json": "npx sort-package-json \"rspack/*/package.json\" \"rsbuild/*/package.json\" \"rspress/*/package.json\" \"rsdoctor/*/package.json\" \"rslib/*/package.json\""
},
"lint-staged": {
"*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc}": [
Expand All @@ -32,4 +33,4 @@
"react-focus-lock": "2.13.6"
}
}
}
}
Loading