Skip to content

Commit 3ccf238

Browse files
onesignal-deploygithub-actions[bot]fadi-george
authored
chore: Release 5.4.1 (#1927)
Co-authored-by: github-actions[bot] <noreply@onesignal.com> Co-authored-by: Fadi George <fadii925@gmail.com>
1 parent aafffef commit 3ccf238

4 files changed

Lines changed: 21 additions & 11 deletions

File tree

.github/workflows/create-release-pr.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,11 @@ jobs:
7979
- name: Setup Git User
8080
uses: OneSignal/sdk-shared/.github/actions/setup-git-user@main
8181

82-
- name: Setup Bun
83-
uses: oven-sh/setup-bun@v2
82+
- name: Set up Vite+
83+
uses: voidzero-dev/setup-vp@v1
8484
with:
85-
bun-version: latest
86-
87-
- name: Install
88-
run: bun install --frozen-lockfile
85+
cache: true
86+
run-install: true
8987

9088
- name: Get current native SDK versions from target branch
9189
id: current_versions
@@ -152,7 +150,7 @@ jobs:
152150
NEW_VERSION="${{ inputs.rn_version }}"
153151
154152
# Update package.json version
155-
bun pm pkg set version="$NEW_VERSION"
153+
npm pkg set version="$NEW_VERSION"
156154
157155
# Only commit if there are changes
158156
git add -A

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ dependencies {
3333
// Exclude OkHttp from OneSignal's transitive deps: the 5.7.x otel module pulls in OkHttp 5.x
3434
// (via opentelemetry-exporter-sender-okhttp) which is binary-incompatible with React Native's
3535
// networking stack (okhttp3.internal.Util removed in 5.x). React Native already provides OkHttp 4.x.
36-
api('com.onesignal:OneSignal:5.7.3') {
36+
api('com.onesignal:OneSignal:5.7.6') {
3737
exclude group: 'com.squareup.okhttp3', module: 'okhttp'
3838
}
3939

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-onesignal",
3-
"version": "5.4.0",
3+
"version": "5.4.1",
44
"description": "React Native OneSignal SDK",
55
"keywords": [
66
"android",
@@ -40,8 +40,8 @@
4040
"format": "vp fmt && npm run format:spotless",
4141
"format:check:spotless": "./examples/demo/android/gradlew spotlessCheck",
4242
"format:check": "vp fmt --check && npm run format:check:spotless",
43-
"lint": "vp check && npm run format:check:spotless",
44-
"lint:fix": "vp check --fix && npm run format:spotless",
43+
"lint": "vp check src && npm run format:check:spotless",
44+
"lint:fix": "vp check --fix src && npm run format:spotless",
4545
"test": "vp test"
4646
},
4747
"dependencies": {

tsconfig.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"compilerOptions": {
3+
"target": "ES2020",
4+
"module": "ES2020",
5+
"moduleResolution": "bundler",
6+
"strict": true,
7+
"esModuleInterop": true,
8+
"skipLibCheck": true
9+
},
10+
"include": ["src/**/*.ts"],
11+
"exclude": ["node_modules", "dist"]
12+
}

0 commit comments

Comments
 (0)