Skip to content

Commit d010b45

Browse files
committed
Merge branch 'dev-2.0' into webgpu
2 parents 117ab93 + 83c871c commit d010b45

File tree

165 files changed

+17647
-11589
lines changed

Some content is hidden

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

165 files changed

+17647
-11589
lines changed

.all-contributorsrc

Lines changed: 238 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"files": [
55
"README.md"
66
],
7-
"imageSize": 120,
7+
"imageSize": 64,
88
"contributorsPerLine": 6,
99
"commit": true,
1010
"contributors": [
@@ -6088,10 +6088,10 @@
60886088
]
60896089
},
60906090
{
6091-
"login": "Evorage0",
6092-
"name": "Evorage",
6091+
"login": "bensgilbert",
6092+
"name": "Ben Gilbert",
60936093
"avatar_url": "https://avatars.githubusercontent.com/u/68397475?v=4",
6094-
"profile": "https://github.com/Evorage0",
6094+
"profile": "http://bensgilbert.com",
60956095
"contributions": [
60966096
"bug",
60976097
"code"
@@ -6794,6 +6794,240 @@
67946794
"contributions": [
67956795
"translation"
67966796
]
6797+
},
6798+
{
6799+
"login": "HughJacks",
6800+
"name": "HughJacks",
6801+
"avatar_url": "https://avatars.githubusercontent.com/u/102194905?v=4",
6802+
"profile": "https://github.com/HughJacks",
6803+
"contributions": [
6804+
"code"
6805+
]
6806+
},
6807+
{
6808+
"login": "jackeddielove",
6809+
"name": "Jack L",
6810+
"avatar_url": "https://avatars.githubusercontent.com/u/130420780?v=4",
6811+
"profile": "http://jackeddielove.github.io",
6812+
"contributions": [
6813+
"bug",
6814+
"doc"
6815+
]
6816+
},
6817+
{
6818+
"login": "clairep94",
6819+
"name": "Claire Peng",
6820+
"avatar_url": "https://avatars.githubusercontent.com/u/128436909?v=4",
6821+
"profile": "https://github.com/clairep94",
6822+
"contributions": [
6823+
"code",
6824+
"bug"
6825+
]
6826+
},
6827+
{
6828+
"login": "IIITM-Jay",
6829+
"name": "Jay Dev Jha",
6830+
"avatar_url": "https://avatars.githubusercontent.com/u/65283880?v=4",
6831+
"profile": "https://github.com/IIITM-Jay",
6832+
"contributions": [
6833+
"code"
6834+
]
6835+
},
6836+
{
6837+
"login": "yugalkaushik",
6838+
"name": "Yugal Kaushik",
6839+
"avatar_url": "https://avatars.githubusercontent.com/u/138966980?v=4",
6840+
"profile": "https://yugalkaushik.vercel.app",
6841+
"contributions": [
6842+
"code",
6843+
"doc"
6844+
]
6845+
},
6846+
{
6847+
"login": "LalitNarayanYadav",
6848+
"name": "Lalit Narayan Yadav",
6849+
"avatar_url": "https://avatars.githubusercontent.com/u/162928571?v=4",
6850+
"profile": "https://github.com/LalitNarayanYadav",
6851+
"contributions": [
6852+
"doc",
6853+
"code"
6854+
]
6855+
},
6856+
{
6857+
"login": "irina-wang",
6858+
"name": "Irina Mengqi Wang",
6859+
"avatar_url": "https://avatars.githubusercontent.com/u/59970384?v=4",
6860+
"profile": "https://github.com/irina-wang",
6861+
"contributions": [
6862+
"example"
6863+
]
6864+
},
6865+
{
6866+
"login": "jennybkowalski",
6867+
"name": "Jenny Biette Kowalski",
6868+
"avatar_url": "https://avatars.githubusercontent.com/u/11235412?v=4",
6869+
"profile": "http://jennybkowalski.com",
6870+
"contributions": [
6871+
"ideas"
6872+
]
6873+
},
6874+
{
6875+
"login": "Wlaith",
6876+
"name": "Laith Alwazani",
6877+
"avatar_url": "https://avatars.githubusercontent.com/u/98265005?v=4",
6878+
"profile": "https://github.com/wlaith",
6879+
"contributions": [
6880+
"ideas"
6881+
]
6882+
},
6883+
{
6884+
"login": "jep-a",
6885+
"name": "jep",
6886+
"avatar_url": "https://avatars.githubusercontent.com/u/20326207?v=4",
6887+
"profile": "https://github.com/jep-a",
6888+
"contributions": [
6889+
"ideas"
6890+
]
6891+
},
6892+
{
6893+
"login": "dpanshug",
6894+
"name": "Dipanshu Gupta",
6895+
"avatar_url": "https://avatars.githubusercontent.com/u/97534722?v=4",
6896+
"profile": "https://github.com/dpanshug",
6897+
"contributions": [
6898+
"doc"
6899+
]
6900+
},
6901+
{
6902+
"login": "sukrucildirr",
6903+
"name": "sukrucildirr",
6904+
"avatar_url": "https://avatars.githubusercontent.com/u/32969880?v=4",
6905+
"profile": "https://github.com/sukrucildirr",
6906+
"contributions": [
6907+
"doc"
6908+
]
6909+
},
6910+
{
6911+
"login": "andrewmcwhae",
6912+
"name": "Andrew McWhae",
6913+
"avatar_url": "https://avatars.githubusercontent.com/u/8450380?v=4",
6914+
"profile": "https://linktr.ee/andrewmcwhae",
6915+
"contributions": [
6916+
"doc"
6917+
]
6918+
},
6919+
{
6920+
"login": "atmajaa",
6921+
"name": "Atmaja P.",
6922+
"avatar_url": "https://avatars.githubusercontent.com/u/69838867?v=4",
6923+
"profile": "https://github.com/atmajaa",
6924+
"contributions": [
6925+
"doc"
6926+
]
6927+
},
6928+
{
6929+
"login": "SonyaCode",
6930+
"name": "SonyaCode",
6931+
"avatar_url": "https://avatars.githubusercontent.com/u/99513449?v=4",
6932+
"profile": "https://github.com/SonyaCode",
6933+
"contributions": [
6934+
"a11y",
6935+
"blog",
6936+
"bug",
6937+
"code",
6938+
"design",
6939+
"doc"
6940+
]
6941+
},
6942+
{
6943+
"login": "vtjl10",
6944+
"name": "fuder.eth",
6945+
"avatar_url": "https://avatars.githubusercontent.com/u/139509124?v=4",
6946+
"profile": "https://github.com/vtjl10",
6947+
"contributions": [
6948+
"doc"
6949+
]
6950+
},
6951+
{
6952+
"login": "FerrinThreatt",
6953+
"name": "FerrinThreatt",
6954+
"avatar_url": "https://avatars.githubusercontent.com/u/51208056?v=4",
6955+
"profile": "https://github.com/FerrinThreatt",
6956+
"contributions": [
6957+
"doc"
6958+
]
6959+
},
6960+
{
6961+
"login": "leopardracer",
6962+
"name": "leopardracer",
6963+
"avatar_url": "https://avatars.githubusercontent.com/u/136604165?v=4",
6964+
"profile": "https://github.com/leopardracer",
6965+
"contributions": [
6966+
"doc"
6967+
]
6968+
},
6969+
{
6970+
"login": "kilavvy",
6971+
"name": "kilavvy",
6972+
"avatar_url": "https://avatars.githubusercontent.com/u/140459108?v=4",
6973+
"profile": "https://github.com/kilavvy",
6974+
"contributions": [
6975+
"doc"
6976+
]
6977+
},
6978+
{
6979+
"login": "shivasankaran18",
6980+
"name": "Shiva",
6981+
"avatar_url": "https://avatars.githubusercontent.com/u/148421597?v=4",
6982+
"profile": "https://github.com/shivasankaran18",
6983+
"contributions": [
6984+
"doc"
6985+
]
6986+
},
6987+
{
6988+
"login": "madhav2348",
6989+
"name": "Madhav Majumdar",
6990+
"avatar_url": "https://avatars.githubusercontent.com/u/161720210?v=4",
6991+
"profile": "https://github.com/madhav2348",
6992+
"contributions": [
6993+
"code"
6994+
]
6995+
},
6996+
{
6997+
"login": "nking07049925",
6998+
"name": "Nikita Korol",
6999+
"avatar_url": "https://avatars.githubusercontent.com/u/11886663?v=4",
7000+
"profile": "https://github.com/nking07049925",
7001+
"contributions": [
7002+
"code"
7003+
]
7004+
},
7005+
{
7006+
"login": "mudit06mah",
7007+
"name": "Mudit Maheshwari",
7008+
"avatar_url": "https://avatars.githubusercontent.com/u/140621191?v=4",
7009+
"profile": "https://leetcode.com/u/mudit_mah/",
7010+
"contributions": [
7011+
"doc"
7012+
]
7013+
},
7014+
{
7015+
"login": "acgillette",
7016+
"name": "AC",
7017+
"avatar_url": "https://avatars.githubusercontent.com/u/18038450?v=4",
7018+
"profile": "http://acgillette.net",
7019+
"contributions": [
7020+
"code"
7021+
]
7022+
},
7023+
{
7024+
"login": "shawdm",
7025+
"name": "Darren Shaw",
7026+
"avatar_url": "https://avatars.githubusercontent.com/u/157414?v=4",
7027+
"profile": "https://darrenshaw.org",
7028+
"contributions": [
7029+
"doc"
7030+
]
67977031
}
67987032
],
67997033
"repoType": "github",
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Close Linked Issues on PR Merge
2+
3+
on:
4+
pull_request:
5+
types: [closed]
6+
branches:
7+
- dev-2.0
8+
9+
jobs:
10+
close_issues:
11+
if: github.event.pull_request.merged == true
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Close linked issues on non-default branches
15+
uses: processing/branch-pr-close-issue@v1
16+
with:
17+
token: ${{ secrets.GITHUB_TOKEN }}
18+
branch: dev-2.0

.github/workflows/ci-test.yml

Lines changed: 27 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,39 @@ jobs:
4444
env:
4545
CI: true
4646

47-
#- name: Build and test (Ubuntu)
48-
# if: matrix.os == 'windows-latest'
49-
# run: npm test -- --project=unit-tests-webgpu
50-
# env:
51-
# CI: true
52-
5347
- name: Build and test (Ubuntu)
48+
id: test
5449
if: matrix.os == 'ubuntu-latest'
5550
run: npm test -- --project=unit-tests
51+
continue-on-error: true
5652
env:
5753
CI: true
5854

59-
- name: Report test coverage
55+
- name: Generate Visual Test Report
56+
if: always()
57+
run: node visual-report.js
58+
env:
59+
CI: true
60+
- name: Upload Visual Test Report
61+
if: always()
62+
uses: actions/upload-artifact@v4
63+
with:
64+
name: visual-test-report
65+
path: test/unit/visual/visual-report.html
66+
retention-days: 14
67+
- name: generate TypeScript types
68+
run: npm run generate-types
69+
env:
70+
CI: true
71+
- name: test TypeScript types
72+
run: npm run test:types
73+
env:
74+
CI: true
75+
- name: report test coverage
76+
if: steps.test.outcome == 'success'
6077
run: bash <(curl -s https://codecov.io/bash) -f coverage/coverage-final.json
6178
env:
6279
CI: true
80+
- name: fail job if tests failed
81+
if: steps.test.outcome != 'success'
82+
run: exit 1

.gitignore

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,17 @@ __screenshots__/
2424
*.d.ts
2525
p5.zip
2626
yarn.lock
27+
28+
docs/data.json
29+
analyzer/
30+
preview/
31+
__screenshots__/
32+
actual-screenshots/
33+
visual-report.html
34+
2735
todo.md
2836

2937
*.DS_Store
3038
.idea
31-
.project
39+
.project
40+

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010
"editor.formatOnSave": false,
1111
"editor.codeActionsOnSave": {},
1212
"javascript.format.enable": false
13-
}
13+
}

0 commit comments

Comments
 (0)