Skip to content
Merged
Show file tree
Hide file tree
Changes from 86 commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
fc8e50d
Move config files
m-bert Apr 11, 2025
1de55d5
Test
m-bert Apr 14, 2025
baca7e6
Test2
m-bert Apr 14, 2025
cedad03
Update package.json
m-bert Apr 14, 2025
d7c340a
Fix husky path
m-bert Apr 14, 2025
ea00daa
Fix one CI
m-bert Apr 14, 2025
2c176ce
Bring back old versions
m-bert Apr 14, 2025
a49ffca
update lockfile
m-bert Apr 14, 2025
4ec5f5f
Add working dir to circular dependency check
m-bert Apr 14, 2025
c66dd04
Add BasicExample app
m-bert Apr 18, 2025
47f671e
Add husky to root package.json
m-bert Apr 18, 2025
0b0c540
Merge branch '@mbert/monorepo-move-config-files' into @mbert/monorepo…
m-bert Apr 18, 2025
697ed7d
Remove unused variable
m-bert Apr 18, 2025
6b92cb5
It works :o
m-bert Apr 18, 2025
cf20fc5
Add web
m-bert Apr 22, 2025
646409b
Add basic MacOSExample
m-bert Apr 24, 2025
ab7afd4
Change tsconfig
m-bert Apr 24, 2025
89a7544
Remove android and ios dirs
m-bert Apr 24, 2025
a6711c8
Add basic examples
m-bert Apr 24, 2025
958de88
Add CommonApp
m-bert Apr 24, 2025
f905eab
Use CommonApp in ExpoExample
m-bert Apr 24, 2025
3fbed8b
Update package.json and yarn.lock
m-bert Apr 24, 2025
f6f6dd4
Add CommonApp to macos
m-bert Apr 24, 2025
ac136e8
Update yarn.lock
m-bert Apr 25, 2025
7da0eb6
Android build CI
m-bert Apr 25, 2025
852a242
Docs CI
m-bert Apr 25, 2025
77d865b
iOS build
m-bert Apr 25, 2025
f6426b6
Kotlin lint CI
m-bert Apr 25, 2025
558e380
macos CI
m-bert Apr 25, 2025
b399724
main CI
m-bert Apr 25, 2025
e787855
static-examples
m-bert Apr 25, 2025
feac1df
static root
m-bert Apr 25, 2025
69f8b28
Fix workspace script
m-bert Apr 29, 2025
d130de3
Update yarn.lock
m-bert Apr 30, 2025
9512329
Bump reanimated
m-bert Apr 30, 2025
63c41a9
Bump safe-area-context
m-bert Apr 30, 2025
ee61690
Merge @mbert/monorepo-add-expo-example
m-bert Apr 30, 2025
54f70ea
Bump reanimated
m-bert Apr 30, 2025
b78aa63
Merge branch '@mbert/monorepo-add-macos-example' into @mbert/monorepo…
m-bert Apr 30, 2025
d35fd12
update locks
m-bert Apr 30, 2025
705d634
Merge branch '@mbert/monorepo-add-common-app' into @mbert/monorepo-fi…
m-bert Apr 30, 2025
ade521b
Update eslint
m-bert Apr 30, 2025
83fb405
BasicExample
m-bert Apr 30, 2025
8e0e4ce
CommonApp
m-bert Apr 30, 2025
8c3aa12
Package
m-bert Apr 30, 2025
41cca92
Add eslint scripts
m-bert Apr 30, 2025
cb70d7a
Update typescript
m-bert Apr 30, 2025
16c2bad
Fix ts-checks
m-bert Apr 30, 2025
0ade444
Update workflows
m-bert Apr 30, 2025
352828c
Fix faulty script in CIs
m-bert Apr 30, 2025
9b845bd
Disable promise rule
m-bert Apr 30, 2025
499d751
Add format-js
m-bert May 5, 2025
57c7109
Add global scripts for lint and format js
m-bert May 5, 2025
96de4ea
Fix android formatter paths
m-bert May 5, 2025
1708929
Add lint-staged config
m-bert May 5, 2025
af1663e
Remove unnecessary eslint comment
m-bert May 5, 2025
6b3c8af
Remove another comment
m-bert May 5, 2025
fed3ee5
Mergele @mbert/monorepo
m-bert May 7, 2025
8ce355c
Take out the trash
m-bert May 7, 2025
7b585ac
Extract gesture handler path to env
m-bert May 7, 2025
d6fdb27
Add expo app to CI
m-bert May 7, 2025
e87d619
Add empty postinstall
m-bert May 7, 2025
d7fb585
Mergele @mbert/monorepo-fix-CI-paths
m-bert May 7, 2025
ae4cfd9
Install pods conditionally
m-bert May 7, 2025
82ef8e4
Merge branch '@mbert/monorepo-fix-CI-paths' into @mbert/monorepo-unif…
m-bert May 7, 2025
760f6d8
Move scripts dir to root
m-bert May 7, 2025
f1fcc1a
Bring back clangd support
m-bert May 7, 2025
42341fe
Fix android formatter path
m-bert May 7, 2025
2868235
Fix codegen scripts paths
m-bert May 7, 2025
61d78c9
Mergele @mbert/monorepo
m-bert May 8, 2025
ca5aba3
Remove postinstall script
m-bert May 8, 2025
18ce1a6
Use - scripts in : scripts :)
m-bert May 8, 2025
ad33f84
Make scripts global
m-bert May 8, 2025
995e863
Merge @mbert/monorepo-unify-eslint-configs
m-bert May 8, 2025
e0da04b
Fix CI path
m-bert May 8, 2025
76f9677
Fix lintstaged path
m-bert May 8, 2025
aa4a5e1
Change config from .json to .js
m-bert May 8, 2025
f16c22e
Add paper CI for android
m-bert May 9, 2025
ceaf173
Remove concurrency
m-bert May 9, 2025
e55ffa7
iOS CI
m-bert May 9, 2025
5192edc
Fix CI paths
m-bert May 9, 2025
7e00b1a
Use env in iOS CI
m-bert May 9, 2025
a1648e4
Mergele @mbert/monorepo
m-bert May 12, 2025
c71fd12
Update yarn.lock
m-bert May 12, 2025
652e69d
Fix CI script
m-bert May 12, 2025
d4bcced
Merge branch '@mbert/monorepo' into @mbert/monorepo-prepare-paper
m-bert May 13, 2025
cd0f3ed
Fix CI scripts
m-bert May 13, 2025
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
35 changes: 35 additions & 0 deletions .github/workflows/android-build-paper.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Test Android build (Paper)
on:
pull_request:
paths:
- '.github/workflows/android-build-paper.yml'
- 'packages/react-native-gesture-handler/android/**'
push:
branches:
- main
workflow_dispatch:
jobs:
build:
if: github.repository == 'software-mansion/react-native-gesture-handler'
runs-on: ubuntu-latest
env:
WORKING_DIRECTORY: 'apps/ExpoExample'
steps:
- name: checkout
uses: actions/checkout@v4
- name: Use Java 17
uses: actions/setup-java@v4
with:
distribution: 'oracle'
java-version: '17'
- name: Use Node.js 18
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'yarn'
- name: Install node dependencies
working-directory: ${{ env.WORKING_DIRECTORY }}
run: PAPER_ENABLED=1 yarn install --immutable
- name: Build app
working-directory: ${{ env.WORKING_DIRECTORY }}/android
run: ./gradlew assembleDebug --console=plain -PreactNativeArchitectures=arm64-v8a
2 changes: 1 addition & 1 deletion .github/workflows/check-archs-consistency.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ jobs:
- name: Install node dependencies
run: yarn
- name: Check Android Paper & Fabric generated interfaces consistency
run: yarn architectures-consistency-check
run: yarn architectures:consistency-check
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
run: yarn architectures:consistency-check
run: yarn architectures-consistency-check

iirc

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, I've missed that. However, those CI were not run on this PR and I've already found it and changed in #3515

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, I thought about it for a while and I've decided to fix that here 😅 Done in cd0f3ed

35 changes: 35 additions & 0 deletions .github/workflows/ios-build-paper.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Test iOS build (paper)
on:
pull_request:
paths:
- '.github/workflows/ios-build-paper.yml'
- 'packages/react-native-gesture-handler/RNGestureHandler.podspec'
- 'packages/react-native-gesture-handler/apple/**'
push:
branches:
- main
workflow_dispatch:
jobs:
build:
if: github.repository == 'software-mansion/react-native-gesture-handler'
runs-on: macos-14
env:
WORKING_DIRECTORY: 'apps/ExpoExample'
steps:
- name: checkout
uses: actions/checkout@v4
- name: Use latest stable Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '16.1'
- name: Use Node.js 18
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'yarn'
- name: Install node dependencies
working-directory: ${{ env.WORKING_DIRECTORY }}
run: PAPER_ENABLED=1 yarn install --immutable
- name: Build app
working-directory: ${{ env.WORKING_DIRECTORY }}
run: npx react-native run-ios
2 changes: 1 addition & 1 deletion .github/workflows/static-root-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ jobs:
run: yarn lint-js
- name: Check for circular dependencies
working-directory: ${{ env.WORKING_DIRECTORY }}
run: yarn circular-dependency-check
run: yarn circular-dependency:check
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
run: yarn circular-dependency:check
run: yarn circular-dependency-check

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above

53 changes: 53 additions & 0 deletions apps/ExpoExample/app.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
const shouldEnablePaper = process.env.PAPER_ENABLED === '1';

export default {
expo: {
name: 'ExpoExample',
slug: 'ExpoExample',
version: '1.0.0',
orientation: 'portrait',
icon: './assets/icon.png',
userInterfaceStyle: 'light',
newArchEnabled: !shouldEnablePaper,
splash: {
image: './assets/splash.png',
resizeMode: 'cover',
backgroundColor: '#F8F9FF',
},
ios: {
supportsTablet: true,
bundleIdentifier: 'com.example.ExpoExample',
buildNumber: '1',
},
android: {
versionCode: 1,
adaptiveIcon: {
foregroundImage: './assets/adaptive-icon.png',
backgroundColor: '#F8F9FF',
},
edgeToEdgeEnabled: true,
package: 'com.example.ExpoExample',
},
web: {
favicon: './assets/favicon.png',
},
plugins: [
[
'expo-camera',
{
cameraPermission: 'Allow RNGH example to access your camera',
},
],
[
'expo-font',
{
fonts: [
'./node_modules/@swmansion/icons/fonts/broken/swm-icons-broken.ttf',
'./node_modules/@swmansion/icons/fonts/outline/swm-icons-outline.ttf',
'./node_modules/@swmansion/icons/fonts/curved/swm-icons-curved.ttf',
],
},
],
],
},
};
51 changes: 0 additions & 51 deletions apps/ExpoExample/app.json

This file was deleted.

Loading
Loading