Skip to content

Commit ca4f327

Browse files
authored
chore: add rsbuild-arco-pro (#61)
1 parent 2725208 commit ca4f327

File tree

189 files changed

+11753
-3
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

189 files changed

+11753
-3
lines changed

.github/workflows/manual.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ on:
4444
- rsbuild-lit
4545
- rsbuild-svelte
4646
- rsbuild-vanilla
47+
- rsbuild-arco-pro
4748
commitId:
4849
description: 'commitId of your repo'
4950
onlyInstallSize:

.github/workflows/scheduled.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ jobs:
6666
product: RSBUILD
6767
- case: rsbuild-vanilla
6868
product: RSBUILD
69+
- case: rsbuild-arco-pro
70+
product: RSBUILD
6971

7072
runs-on: ${{ fromJSON(vars.SELF_LINUX_LABELS || '"ubuntu-latest"') }}
7173

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,10 @@ Rsbuild project + svelte.
120120

121121
Rsbuild project + vanilla.
122122

123+
### rsbuild-arco-pro
124+
125+
Arco Pro project with rsbuild.
126+
123127
## Metrics
124128

125129
### Bundle Size
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
chrome >= 51
2+
edge >= 15
3+
firefox >= 54
4+
safari >= 10
5+
ios_saf >= 10
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
{
2+
"name": "rsbuild-arco-pro",
3+
"version": "0.1.0",
4+
"scripts": {
5+
"dev": "rsbuild dev",
6+
"build": "rsbuild build",
7+
"preview": "rsbuild preview"
8+
},
9+
"dependencies": {
10+
"@antv/data-set": "^0.11.8",
11+
"@arco-design/color": "^0.4.0",
12+
"@arco-design/web-react": "^2.41.2",
13+
"@arco-themes/react-arco-pro": "^0.0.7",
14+
"@loadable/component": "^5.13.2",
15+
"@turf/turf": "^6.5.0",
16+
"arco-design-pro": "^2.4.0",
17+
"axios": "^0.24.0",
18+
"bizcharts": "^4.1.11",
19+
"classnames": "^2.3.1",
20+
"copy-to-clipboard": "^3.3.1",
21+
"dayjs": "^1.11.1",
22+
"lodash": "^4.17.21",
23+
"mockjs": "^1.1.0",
24+
"nprogress": "^0.2.0",
25+
"query-string": "^6.13.8",
26+
"react": "^18",
27+
"react-color": "^2.18.1",
28+
"react-dom": "^18",
29+
"react-redux": "^7.2.6",
30+
"react-router": "^5.2.0",
31+
"react-router-dom": "^5.2.0",
32+
"redux": "^4.1.2"
33+
},
34+
"devDependencies": {
35+
"@rsbuild/core": "workspace:*",
36+
"@rsbuild/plugin-react": "workspace:*",
37+
"rimraf": "^3.0.2",
38+
"lint-staged": "^11.2.6",
39+
"prettier": "^2.6.2",
40+
"husky": "4.3.8",
41+
"typescript": "^5",
42+
"@types/react": "^18",
43+
"@types/react-dom": "^18",
44+
"@types/node": "^14"
45+
}
46+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { defineConfig } from '@rsbuild/core';
2+
import { pluginReact } from '@rsbuild/plugin-react';
3+
import { measurePlugin } from '@modern-js/benchmark-scripts/plugins/rsbuild';
4+
5+
export default defineConfig({
6+
plugins: [pluginReact(), measurePlugin()],
7+
});
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"extends": [
3+
"@jupiter-app"
4+
]
5+
}

cases/rsbuild/rsbuild-arco-pro/src/Logo.svg

Lines changed: 15 additions & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 39 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)