Skip to content

Commit f4414a1

Browse files
authored
v2 (#53)
1 parent 9221b9d commit f4414a1

1,184 files changed

Lines changed: 121957 additions & 39569 deletions

File tree

Some content is hidden

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

.eslintrc.js

Lines changed: 0 additions & 39 deletions
This file was deleted.

.github/workflows/build-linux.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,21 @@ on:
55
branches:
66
- main
77
paths:
8-
- packages/**
8+
- cppjs-core/**
9+
- cppjs-extensions/**
10+
- cppjs-packages/**
11+
- cppjs-plugins/**
12+
- cppjs-samples/**
913
- .github/workflows/build-linux.yml
1014
pull_request:
1115
branches:
1216
- main
1317
paths:
14-
- packages/**
18+
- cppjs-core/**
19+
- cppjs-extensions/**
20+
- cppjs-packages/**
21+
- cppjs-plugins/**
22+
- cppjs-samples/**
1523
- .github/workflows/build-linux.yml
1624

1725
permissions: {}

.github/workflows/build-macos.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,22 @@ on:
55
branches:
66
- main
77
paths:
8-
- packages/**
8+
- cppjs-core/**
9+
- cppjs-extensions/**
10+
- cppjs-packages/**
11+
- cppjs-plugins/**
12+
- cppjs-samples/**
913
- .github/workflows/build-macos.yml
1014
pull_request:
1115
branches:
1216
- main
1317
paths:
14-
- packages/cpp.js/**
15-
- packages/cppjs-plugin-*/**
16-
- packages/cppjs-sample-lib-*/**
17-
- packages/cppjs-sample-web-*/**
18-
- packages/cppjs-sample-backend-*/**
19-
- packages/cppjs-sample-cloud-*/**
18+
- cppjs-core/cpp.js/**
19+
- cppjs-plugins/**
20+
- cppjs-samples/cppjs-sample-lib-*/**
21+
- cppjs-samples/cppjs-sample-web-*/**
22+
- cppjs-samples/cppjs-sample-backend-*/**
23+
- cppjs-samples/cppjs-sample-cloud-*/**
2024
- .github/workflows/build-macos.yml
2125

2226
permissions: {}

.github/workflows/build-windows.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,18 @@ on:
55
branches:
66
- main
77
paths:
8-
- packages/**
8+
- cppjs-core/**
9+
- cppjs-extensions/**
10+
- cppjs-packages/**
11+
- cppjs-plugins/**
12+
- cppjs-samples/**
913
- .github/workflows/build-windows.yml
1014
pull_request:
1115
branches:
1216
- main
1317
paths:
14-
- packages/cpp.js/**
15-
- packages/cppjs-plugin-*/**
18+
- cppjs-core/cpp.js/**
19+
- cppjs-plugins/**
1620
- .github/workflows/build-windows.yml
1721

1822
permissions: {}

.github/workflows/test-android-sample.yml

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,21 @@ on:
55
branches:
66
- main
77
paths:
8-
- packages/**
8+
- cppjs-core/**
9+
- cppjs-extensions/**
10+
- cppjs-packages/**
11+
- cppjs-plugins/**
12+
- cppjs-samples/**
913
- .github/workflows/test-android-sample.yml
1014
pull_request:
1115
branches:
1216
- main
1317
paths:
14-
- packages/cpp.js/**
15-
- packages/cppjs-plugin-metro/**
16-
- packages/cppjs-plugin-react-native/**
17-
- packages/cppjs-sample-lib-prebuilt-matrix/**
18-
- packages/cppjs-sample-mobile-reactnative-cli/**
18+
- cppjs-core/cpp.js/**
19+
- cppjs-plugins/cppjs-plugin-metro/**
20+
- cppjs-plugins/cppjs-plugin-react-native/**
21+
- cppjs-samples/cppjs-sample-lib-prebuilt-matrix/**
22+
- cppjs-samples/cppjs-sample-mobile-reactnative-cli/**
1923
- .github/workflows/test-android-sample.yml
2024

2125
permissions: {}
@@ -52,25 +56,25 @@ jobs:
5256
- name: Gradle cache
5357
uses: gradle/actions/setup-gradle@0bdd871935719febd78681f197cd39af5b6e16a6 #v4
5458
- name: create AVD
55-
uses: reactivecircus/android-emulator-runner@62dbb605bba737720e10b196cb4220d374026a6d #v2
59+
uses: reactivecircus/android-emulator-runner@e89f39f1abbbd05b1113a29cf4db69e7540cae5a #v2.37.0
5660
with:
57-
api-level: 30
58-
target: google_apis
61+
api-level: 36
62+
target: default
5963
arch: x86_64
60-
cmake: 3.31.1
61-
ndk: 26.1.10909125
64+
cmake: 4.1.2
65+
ndk: 29.0.14206865
6266
force-avd-creation: false
6367
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
6468
disable-animations: false
6569
script: echo "Generated AVD snapshot for caching."
6670
- name: E2E Android
67-
uses: reactivecircus/android-emulator-runner@62dbb605bba737720e10b196cb4220d374026a6d #v2
71+
uses: reactivecircus/android-emulator-runner@e89f39f1abbbd05b1113a29cf4db69e7540cae5a #v2.37.0
6872
with:
69-
api-level: 30
70-
target: google_apis
73+
api-level: 36
74+
target: default
7175
arch: x86_64
72-
cmake: 3.31.1
73-
ndk: 26.1.10909125
76+
cmake: 4.1.2
77+
ndk: 29.0.14206865
7478
force-avd-creation: false
7579
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
7680
disable-animations: true

.github/workflows/test-ios-sample.yml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,22 @@ on:
55
branches:
66
- main
77
paths:
8-
- packages/**
8+
- cppjs-core/**
9+
- cppjs-extensions/**
10+
- cppjs-packages/**
11+
- cppjs-plugins/**
12+
- cppjs-samples/**
913
- .github/workflows/test-ios-sample.yml
1014
pull_request:
1115
branches:
1216
- main
1317
paths:
14-
- packages/cpp.js/**
15-
- packages/cppjs-plugin-metro/**
16-
- packages/cppjs-plugin-react-native/**
17-
- packages/cppjs-plugin-react-native-ios-helper/**
18-
- packages/cppjs-sample-lib-prebuilt-matrix/**
19-
- packages/cppjs-sample-mobile-reactnative-cli/**
18+
- cppjs-core/cpp.js/**
19+
- cppjs-plugins/cppjs-plugin-metro/**
20+
- cppjs-plugins/cppjs-plugin-react-native/**
21+
- cppjs-plugins/cppjs-plugin-react-native-ios-helper/**
22+
- cppjs-samples/cppjs-sample-lib-prebuilt-matrix/**
23+
- cppjs-samples/cppjs-sample-mobile-reactnative-cli/**
2024
- .github/workflows/test-ios-sample.yml
2125

2226
permissions: {}
@@ -70,10 +74,10 @@ jobs:
7074
curl -fsSL "https://get.maestro.mobile.dev" | bash
7175
echo "$HOME/.maestro/bin" >> $GITHUB_PATH
7276
- name: Restore cached bridge files
73-
run: cp -r ./packages/cppjs-sample-mobile-reactnative-cli/ci/.cppjs ./packages/cppjs-sample-mobile-reactnative-cli
77+
run: cp -r ./cppjs-samples/cppjs-sample-mobile-reactnative-cli/ci/.cppjs ./cppjs-samples/cppjs-sample-mobile-reactnative-cli
7478
- name: Build cppjs-sample-lib-prebuilt-matrix
7579
run: pnpm --filter=@cpp.js/sample-lib-prebuilt-matrix run build:ios
7680
- name: Pod install
77-
run: cd packages/cppjs-sample-mobile-reactnative-cli/ios && pod install && cd ../../../
81+
run: cd cppjs-samples/cppjs-sample-mobile-reactnative-cli/ios && pod install && cd ../../../
7882
- name: E2E IOS
7983
run: pnpm run e2e:ios

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ tmp
88
*.xcframework
99
*.xcframework.zip
1010
*.tgz
11+
pnpm-publish-summary.json
1112

1213
# dependencies
1314
node_modules
@@ -44,3 +45,4 @@ testem.log
4445
Thumbs.db
4546

4647
.vscode
48+
.claude

0 commit comments

Comments
 (0)