Skip to content

Commit b893a3e

Browse files
authored
Merge pull request #2069 from VisActor/release/1.0.43
[Auto release] release 1.0.43
2 parents 987ab1a + 91edde6 commit b893a3e

62 files changed

Lines changed: 3524 additions & 1576 deletions

Some content is hidden

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

.github/labeler.yml

Lines changed: 36 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,59 @@
1-
# Add 'core' label to any change within the 'core' package
21
core:
3-
- packages/vrender/**
2+
- changed-files:
3+
- any-glob-to-any-file: 'packages/vrender/**'
44

5-
# Add 'react' label to any change within the 'core' package
65
react:
7-
- packages/react-vrender/**
6+
- changed-files:
7+
- any-glob-to-any-file: 'packages/react-vrender/**'
88

9-
# Add 'hierarchy' label to any change within the 'core' package
109
react-utils:
11-
- packages/react-vrender-utils/**
10+
- changed-files:
11+
- any-glob-to-any-file: 'packages/react-vrender-utils/**'
1212

13-
# Add 'projection' label to any change within the 'core' package
1413
components:
15-
- packages/vrender-components/**
14+
- changed-files:
15+
- any-glob-to-any-file: 'packages/vrender-components/**'
1616

17-
# Add 'sankey' label to any change within the 'core' package
1817
kits:
19-
- packages/vrender-kits/**
18+
- changed-files:
19+
- any-glob-to-any-file: 'packages/vrender-kits/**'
2020

21-
# Add 'test' label to any change to packages/*/__tests__/* files within the source dir
2221
test:
23-
- packages/*/__tests__/*
22+
- changed-files:
23+
- any-glob-to-any-file: 'packages/*/__tests__/*'
2424

25-
# Add 'docs' label to any change to docs/ files within the source dir
2625
docs:
27-
- docs/**
26+
- changed-files:
27+
- any-glob-to-any-file: 'docs/**'
2828

29-
# Add 'eslint' label to any change to docs/ files within the source dir
3029
eslint:
31-
- share/eslint-config/**
32-
- packages/*/.eslintrc.js
30+
- changed-files:
31+
- any-glob-to-any-file:
32+
- 'share/eslint-config/**'
33+
- 'packages/*/.eslintrc.js'
3334

34-
# Add 'jest' label to any change to docs/ files within the source dir
3535
jest:
36-
- share/jest-config/**
37-
- packages/*/jest.config.js
36+
- changed-files:
37+
- any-glob-to-any-file:
38+
- 'share/jest-config/**'
39+
- 'packages/*/jest.config.js'
3840

39-
# Add 'typescript' label to any change to docs/ files within the source dir
4041
typescript:
41-
- share/ts-config/**
42-
- packages/*/tsconfig.json
43-
- packages/*/tsconfig.eslint.json
42+
- changed-files:
43+
- any-glob-to-any-file:
44+
- 'share/ts-config/**'
45+
- 'packages/*/tsconfig.json'
46+
- 'packages/*/tsconfig.eslint.json'
4447

45-
# Add 'bundler' label to any change to tools/bunder/** files within the source dir
4648
bundler:
47-
- tools/bundler/**
48-
- packages/*/bundler.config.js
49+
- changed-files:
50+
- any-glob-to-any-file:
51+
- 'tools/bundler/**'
52+
- 'packages/*/bundler.config.js'
4953

50-
# Add 'chore' label to any change to common/** files within the source dir
5154
chore:
52-
- common/autoinstallers/**
53-
- common/git-hooks/**
54-
- common/scripts/**
55+
- changed-files:
56+
- any-glob-to-any-file:
57+
- 'common/autoinstallers/**'
58+
- 'common/git-hooks/**'
59+
- 'common/scripts/**'

.github/workflows/bug-server.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,12 @@ jobs:
1111
build:
1212
runs-on: ubuntu-latest
1313

14-
strategy:
15-
matrix:
16-
node-version: [18.x]
17-
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
18-
1914
steps:
2015
- uses: actions/checkout@v3
21-
- name: Use Node.js ${{ matrix.node-version }}
22-
uses: actions/setup-node@v3
16+
- name: Use Node.js 24.x
17+
uses: actions/setup-node@v4
2318
with:
24-
node-version: ${{ matrix.node-version }}
19+
node-version: 24.x
2520
cache: 'npm'
2621
cache-dependency-path: './common/config/rush/pnpm-lock.yaml'
2722

.github/workflows/pr-check.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,12 @@ jobs:
88
build:
99
runs-on: ubuntu-latest
1010

11-
strategy:
12-
matrix:
13-
node-version: [20.x]
14-
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
15-
1611
steps:
1712
- uses: actions/checkout@v3
18-
- name: Use Node.js ${{ matrix.node-version }}
19-
uses: actions/setup-node@v3
13+
- name: Use Node.js 24.x
14+
uses: actions/setup-node@v4
2015
with:
21-
node-version: ${{ matrix.node-version }}
16+
node-version: 24.x
2217
cache: 'npm'
2318
cache-dependency-path: './common/config/rush/pnpm-lock.yaml'
2419

.github/workflows/release-changelog.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111

1212
strategy:
1313
matrix:
14-
node-version: [18.x]
14+
node-version: [24.x]
1515

1616
steps:
1717
- name: Checkout
@@ -22,7 +22,7 @@ jobs:
2222
git config user.email ${{ github.actor }}@users.noreply.github.com
2323
2424
- name: Use Node.js ${{ matrix.node-version }}
25-
uses: actions/setup-node@v3
25+
uses: actions/setup-node@v4
2626
with:
2727
node-version: ${{ matrix.node-version }}
2828
cache: 'npm'

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
strategy:
2121
matrix:
22-
node-version: [20.x]
22+
node-version: [24.x]
2323
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2424

2525
steps:

.github/workflows/sync-main-to-develop.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
strategy:
2121
matrix:
22-
node-version: [18.x]
22+
node-version: [24.x]
2323

2424
steps:
2525
- uses: actions/checkout@v3
@@ -28,7 +28,7 @@ jobs:
2828
git config user.email ${{ github.actor }}@users.noreply.github.com
2929
3030
- name: Use Node.js ${{ matrix.node-version }}
31-
uses: actions/setup-node@v3
31+
uses: actions/setup-node@v4
3232
with:
3333
node-version: ${{ matrix.node-version }}
3434
cache: 'npm'

.github/workflows/unit-test.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,12 @@ jobs:
1212
runs-on:
1313
- macos-latest
1414

15-
strategy:
16-
matrix:
17-
node-version: [18.x]
18-
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
19-
2015
steps:
2116
- uses: actions/checkout@v3
22-
- name: Use Node.js ${{ matrix.node-version }}
23-
uses: actions/setup-node@v3
17+
- name: Use Node.js 24.x
18+
uses: actions/setup-node@v4
2419
with:
25-
node-version: ${{ matrix.node-version }}
20+
node-version: 24.x
2621
cache: 'npm'
2722
cache-dependency-path: './common/config/rush/pnpm-lock.yaml'
2823

CONTRIBUTING.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,14 @@ The core team is monitoring for pull requests. We will review your pull request
6262

6363
## Development Workflow
6464

65-
After cloning VRender, run `rush update --full` to fetch its dependencies. Then, you can run several commands:
65+
VRender development is verified against Node.js `20`, `22`, and `24`. We recommend using Node.js `24` for day-to-day local development.
66+
67+
If you switch between Node.js major versions, make sure to rebuild native dependencies such as `canvas`:
68+
69+
1. `node common/scripts/install-run-rush.js purge`
70+
2. `node common/scripts/install-run-rush.js install --bypass-policy`
71+
72+
After cloning VRender, run `node common/scripts/install-run-rush.js update --bypass-policy` to fetch its dependencies. Then, you can run several commands:
6673

6774
1. `rush run -p @internal/dev-demos -s start` runs VRender test page locally.
6875
2. `rush eslint` checks the code style.

0 commit comments

Comments
 (0)