Skip to content

Commit 0e482db

Browse files
mrbrentkellyclaude
andcommitted
refactor: modernize project tooling and simplify architecture
Replace CircleCI with GitHub Actions, remove old/new arch split in favor of unified Android module, migrate example app to Expo, and add modern tooling (ESLint flat config, lefthook, Turborepo, Yarn Berry). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 6134071 commit 0e482db

File tree

94 files changed

+13072
-14971
lines changed

Some content is hidden

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

94 files changed

+13072
-14971
lines changed

.circleci/config.yml

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

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
*.pbxproj -text
22
# specific for windows script files
3-
*.bat text eol=crlf
3+
*.bat text eol=crlf

.github/CODEOWNERS

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
name: 🐛 Bug report
2+
description: Report a reproducible bug or regression in this library.
3+
labels: [bug]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
# Bug report
9+
10+
👋 Hi!
11+
12+
**Please fill the following carefully before opening a new issue ❗**
13+
*(Your issue may be closed if it doesn't provide the required pieces of information)*
14+
- type: checkboxes
15+
attributes:
16+
label: Before submitting a new issue
17+
description: Please perform simple checks first.
18+
options:
19+
- label: I tested using the latest version of the library, as the bug might be already fixed.
20+
required: true
21+
- label: I tested using a [supported version](https://github.com/reactwg/react-native-releases/blob/main/docs/support.md) of react native.
22+
required: true
23+
- label: I checked for possible duplicate issues, with possible answers.
24+
required: true
25+
- type: textarea
26+
id: summary
27+
attributes:
28+
label: Bug summary
29+
description: |
30+
Provide a clear and concise description of what the bug is.
31+
If needed, you can also provide other samples: error messages / stack traces, screenshots, gifs, etc.
32+
validations:
33+
required: true
34+
- type: input
35+
id: library-version
36+
attributes:
37+
label: Library version
38+
description: What version of the library are you using?
39+
placeholder: "x.x.x"
40+
validations:
41+
required: true
42+
- type: textarea
43+
id: react-native-info
44+
attributes:
45+
label: Environment info
46+
description: Run `react-native info` in your terminal and paste the results here.
47+
render: shell
48+
validations:
49+
required: true
50+
- type: textarea
51+
id: steps-to-reproduce
52+
attributes:
53+
label: Steps to reproduce
54+
description: |
55+
You must provide a clear list of steps and code to reproduce the problem.
56+
value: |
57+
1. …
58+
2. …
59+
validations:
60+
required: true
61+
- type: input
62+
id: reproducible-example
63+
attributes:
64+
label: Reproducible example repository
65+
description: Please provide a link to a repository on GitHub with a reproducible example.
66+
validations:
67+
required: true

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Feature Request 💡
4+
url: https://github.com/hudl/react-native-system-bars/discussions/new?category=ideas
5+
about: If you have a feature request, please create a new discussion on GitHub.
6+
- name: Discussions on GitHub 💬
7+
url: https://github.com/hudl/react-native-system-bars/discussions
8+
about: If this library works as promised but you need help, please ask questions there.

.github/workflows/ci.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: CI
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
branches:
8+
- main
9+
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: true
13+
14+
jobs:
15+
ci:
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v4
21+
22+
- name: Setup Node
23+
uses: actions/setup-node@v4
24+
with:
25+
node-version: 20
26+
27+
- name: Enable Corepack
28+
run: corepack enable
29+
30+
- name: Install dependencies
31+
run: yarn install --frozen-lockfile
32+
33+
- name: Lint
34+
run: yarn lint --max-warnings 0
35+
36+
- name: Build
37+
run: yarn prepare

.gitignore

Lines changed: 28 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
.expo/
77

88
# VSCode
9+
.vscode/
910
jsconfig.json
1011

1112
# Xcode
@@ -26,21 +27,26 @@ DerivedData
2627
*.hmap
2728
*.ipa
2829
*.xcuserstate
29-
ios/.xcode.env.local
3030
project.xcworkspace
31+
**/.xcode.env.local
3132

3233
# Android/IJ
3334
#
34-
.idea
35+
.classpath
36+
.cxx
3537
.gradle
38+
.idea
39+
.project
40+
.settings
3641
local.properties
3742
android.iml
38-
*.hprof
3943

40-
# Ruby / Cocoapods
44+
# Cocoapods
4145
#
4246
example/ios/Pods
43-
/vendor/bundle/
47+
48+
# Ruby
49+
example/vendor/
4450

4551
# node.js
4652
#
@@ -55,13 +61,25 @@ buck-out/
5561
android/app/libs
5662
android/keystores/debug.keystore
5763

64+
# Yarn
65+
.yarn/*
66+
!.yarn/patches
67+
!.yarn/plugins
68+
!.yarn/sdks
69+
!.yarn/versions
70+
5871
# Expo
59-
.expo/*
72+
.expo/
73+
74+
# Turborepo
75+
.turbo/
6076

6177
# generated by bob
6278
lib/
6379

64-
**/fastlane/report.xml
65-
**/fastlane/Preview.html
66-
**/fastlane/screenshots
67-
**/fastlane/test_output
80+
# React Native Codegen
81+
ios/generated
82+
android/generated
83+
84+
# React Native Nitro Modules
85+
nitrogen/

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v22.20.0

.vscode/extensions.json

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

.vscode/settings.json

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

0 commit comments

Comments
 (0)