Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
"ignore": ["rn-sample-app", "rn-test-runner"]
}
19 changes: 19 additions & 0 deletions .changeset/eighty-banks-feel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
'@ping-identity/rn-device-profile': patch
'@ping-identity/rn-device-client': patch
'@ping-identity/rn-external-idp': patch
'@ping-identity/rn-device-id': patch
'@ping-identity/rn-binding': patch
'@ping-identity/rn-browser': patch
'@ping-identity/rn-journey': patch
'@ping-identity/rn-storage': patch
'@ping-identity/rn-logger': patch
'@ping-identity/rn-types': patch
'@ping-identity/rn-core': patch
'@ping-identity/rn-fido': patch
'@ping-identity/rn-oath': patch
'@ping-identity/rn-oidc': patch
'@ping-identity/rn-push': patch
---

fix(core): add codegenConfig to trigger Android autolinking
19 changes: 19 additions & 0 deletions .changeset/goofy-foxes-clap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
'@ping-identity/rn-device-profile': patch
'@ping-identity/rn-device-client': patch
'@ping-identity/rn-external-idp': patch
'@ping-identity/rn-device-id': patch
'@ping-identity/rn-binding': patch
'@ping-identity/rn-browser': patch
'@ping-identity/rn-journey': patch
'@ping-identity/rn-storage': patch
'@ping-identity/rn-logger': patch
'@ping-identity/rn-types': patch
'@ping-identity/rn-core': patch
'@ping-identity/rn-fido': patch
'@ping-identity/rn-oath': patch
'@ping-identity/rn-oidc': patch
'@ping-identity/rn-push': patch
---

fix(core): add RNPingCorePackage for Android autolinking
19 changes: 19 additions & 0 deletions .changeset/hungry-papayas-learn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
'@ping-identity/rn-device-profile': patch
'@ping-identity/rn-device-client': patch
'@ping-identity/rn-external-idp': patch
'@ping-identity/rn-device-id': patch
'@ping-identity/rn-binding': patch
'@ping-identity/rn-browser': patch
'@ping-identity/rn-journey': patch
'@ping-identity/rn-storage': patch
'@ping-identity/rn-logger': patch
'@ping-identity/rn-types': patch
'@ping-identity/rn-core': patch
'@ping-identity/rn-fido': patch
'@ping-identity/rn-oath': patch
'@ping-identity/rn-oidc': patch
'@ping-identity/rn-push': patch
---

fix: move rn-core to peerDependencies and fix workspace:\* refs in published packages
19 changes: 19 additions & 0 deletions .changeset/initial-beta-release.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
'@ping-identity/rn-binding': major
'@ping-identity/rn-browser': major
'@ping-identity/rn-core': major
'@ping-identity/rn-device-client': major
'@ping-identity/rn-device-id': major
'@ping-identity/rn-device-profile': major
'@ping-identity/rn-external-idp': major
'@ping-identity/rn-fido': major
'@ping-identity/rn-journey': major
'@ping-identity/rn-logger': major
'@ping-identity/rn-oath': major
'@ping-identity/rn-oidc': major
'@ping-identity/rn-push': major
'@ping-identity/rn-storage': major
'@ping-identity/rn-types': major
---

Initial 1.0.0 beta release
29 changes: 29 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"mode": "pre",
"tag": "beta",
"initialVersions": {
"rn-sample-app": "0.0.1",
"rn-test-runner": "0.0.1",
"@ping-identity/rn-binding": "0.1.0",
"@ping-identity/rn-browser": "0.1.0",
"@ping-identity/rn-core": "0.1.0",
"@ping-identity/rn-device-client": "0.1.0",
"@ping-identity/rn-device-id": "0.1.0",
"@ping-identity/rn-device-profile": "0.1.0",
"@ping-identity/rn-external-idp": "0.1.0",
"@ping-identity/rn-fido": "0.1.0",
"@ping-identity/rn-journey": "0.1.0",
"@ping-identity/rn-logger": "0.1.0",
"@ping-identity/rn-oath": "0.1.0",
"@ping-identity/rn-oidc": "0.1.0",
"@ping-identity/rn-push": "0.1.0",
"@ping-identity/rn-storage": "0.1.0",
"@ping-identity/rn-types": "0.1.0"
},
"changesets": [
"eighty-banks-feel",
"goofy-foxes-clap",
"hungry-papayas-learn",
"initial-beta-release"
]
}
39 changes: 19 additions & 20 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,21 @@
# Steps:
# 1. Checks out the repo using the built-in GITHUB_TOKEN.
# 2. Installs Node 22 and yarn dependencies.
# 3. Sets git identity to github-actions[bot].
# 4. Reads changeset files and bumps all package.json versions + generates CHANGELOGs.
# 5. Verifies all packages are at the same version (lockstep check).
# 6. Commits the version bump and pushes it back to the branch.
# 7. Builds all packages and publishes them to npm via OIDC (no token required).
# 8. Creates a single repo-level version tag (e.g. v1.0.0-beta.0) and pushes it.
# 3. Verifies all packages are at the same version (lockstep check).
# 4. Replaces workspace:* references with real versions (changeset publish calls npm
# directly and bypasses yarn's workspace: rewriting — this script fills that gap).
# 5. Verifies no workspace:* references remain before publishing.
# 6. Builds all packages and publishes them to npm via OIDC (no token required).
# 7. Creates a single repo-level version tag (e.g. v1.0.0-beta.1) and pushes it.
#
# Prerequisites:
# - Version bump must be done manually before triggering this workflow:
# yarn changeset add # describe the change
# yarn release:version # bump versions + generate CHANGELOGs
# yarn install # update lockfile
# git add -A && git commit && git push
# - npm Trusted Publishing must be configured for each @ping-identity/* package on npmjs.com,
# pointing to this repo and this workflow file.
# - The branch must not have required status checks that block GITHUB_TOKEN pushes.
#
name: Release

Expand All @@ -48,6 +52,9 @@ jobs:
node-version: '22'
registry-url: 'https://registry.npmjs.org'

- name: Upgrade npm
run: npm install -g npm@latest

- name: Install dependencies
run: yarn install

Expand All @@ -56,22 +63,14 @@ jobs:
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"

- name: Version packages
run: yarn release:version
env:
# changelog-github uses GITHUB_TOKEN to resolve PR links and author info in CHANGELOG.md
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Check lockstep
run: yarn release:check-lockstep

- name: Commit and push version bump
run: |
# Stage only the files changeset version touches — avoids accidentally
# committing build artifacts or install-state changes from yarn install.
git add packages/*/package.json packages/*/CHANGELOG.md .changeset
git commit -m "chore: version packages"
git push
- name: Replace workspace refs with real versions
run: node scripts/replace-workspace-refs.mjs

- name: Check no workspace refs remain
run: node scripts/check-workspace-refs.mjs

- name: Build and publish
# NPM_CONFIG_PROVENANCE links each package to this workflow run and source commit
Expand Down
Binary file modified .yarn/install-state.gz
Binary file not shown.
21 changes: 21 additions & 0 deletions PingSampleApp/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# rn-sample-app

## 0.0.2-beta.1

### Patch Changes

- Updated dependencies []:
- @ping-identity/rn-device-profile@1.0.0-beta.2
- @ping-identity/rn-device-client@1.0.0-beta.2
- @ping-identity/rn-external-idp@1.0.0-beta.2
- @ping-identity/rn-device-id@1.0.0-beta.2
- @ping-identity/rn-binding@1.0.0-beta.2
- @ping-identity/rn-browser@1.0.0-beta.2
- @ping-identity/rn-journey@1.0.0-beta.2
- @ping-identity/rn-storage@1.0.0-beta.2
- @ping-identity/rn-logger@1.0.0-beta.2
- @ping-identity/rn-types@1.0.0-beta.2
- @ping-identity/rn-fido@1.0.0-beta.2
- @ping-identity/rn-oath@1.0.0-beta.2
- @ping-identity/rn-oidc@1.0.0-beta.2
- @ping-identity/rn-push@1.0.0-beta.2
Comment thread
pingidentity-gaurav marked this conversation as resolved.
2 changes: 1 addition & 1 deletion PingSampleApp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rn-sample-app",
"version": "0.0.1",
"version": "0.0.2-beta.1",
"private": true,
"scripts": {
"android": "react-native run-android",
Expand Down
21 changes: 21 additions & 0 deletions PingTestRunner/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# rn-test-runner

## 0.0.2-beta.1

### Patch Changes

- Updated dependencies []:
- @ping-identity/rn-device-profile@1.0.0-beta.2
- @ping-identity/rn-device-client@1.0.0-beta.2
- @ping-identity/rn-external-idp@1.0.0-beta.2
- @ping-identity/rn-device-id@1.0.0-beta.2
- @ping-identity/rn-binding@1.0.0-beta.2
- @ping-identity/rn-browser@1.0.0-beta.2
- @ping-identity/rn-journey@1.0.0-beta.2
- @ping-identity/rn-storage@1.0.0-beta.2
- @ping-identity/rn-logger@1.0.0-beta.2
- @ping-identity/rn-types@1.0.0-beta.2
- @ping-identity/rn-fido@1.0.0-beta.2
- @ping-identity/rn-oath@1.0.0-beta.2
- @ping-identity/rn-oidc@1.0.0-beta.2
- @ping-identity/rn-push@1.0.0-beta.2
2 changes: 1 addition & 1 deletion PingTestRunner/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rn-test-runner",
"version": "0.0.1",
"version": "0.0.2-beta.1",
"private": true,
"scripts": {
"android": "react-native run-android",
Expand Down
43 changes: 43 additions & 0 deletions packages/binding/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# @ping-identity/rn-binding

## 1.0.0-beta.3

### Patch Changes

- fix(core): add RNPingCorePackage for Android autolinking

- Updated dependencies []:
- @ping-identity/rn-types@1.0.0-beta.3
- @ping-identity/rn-core@1.0.0-beta.3

## 1.0.0-beta.2

### Patch Changes

- fix(core): add codegenConfig to trigger Android autolinking

- Updated dependencies []:
- @ping-identity/rn-types@1.0.0-beta.2
- @ping-identity/rn-core@1.0.0-beta.2

## 1.0.0-beta.1

### Patch Changes

- fix: move rn-core to peerDependencies and fix workspace:\* refs in published packages

- Updated dependencies []:
- @ping-identity/rn-types@1.0.0-beta.1
- @ping-identity/rn-core@1.0.0-beta.1

## 1.0.0-beta.0

### Major Changes

- [`b8341ef`](https://github.com/ForgeRock/ping-react-native-sdk/commit/b8341ef2025aced0ae984529a6643a1de873fd44) Thanks [@pingidentity-gaurav](https://github.com/pingidentity-gaurav)! - Initial 1.0.0 beta release

### Patch Changes

- Updated dependencies [[`b8341ef`](https://github.com/ForgeRock/ping-react-native-sdk/commit/b8341ef2025aced0ae984529a6643a1de873fd44)]:
- @ping-identity/rn-core@1.0.0-beta.0
- @ping-identity/rn-types@1.0.0-beta.0
6 changes: 6 additions & 0 deletions packages/binding/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,14 @@ This package provides native-backed device binding and signing-verifier capabili

## Install

> **Note:** This module requires that the `@ping-identity/rn-core` module is already set up and installed.

```bash
# Install & setup the core module
yarn add @ping-identity/rn-core
# Install the rn-binding module
yarn add @ping-identity/rn-binding
# If you are developing your app using iOS, run this command
cd ios && pod install
```

Expand Down
10 changes: 7 additions & 3 deletions packages/binding/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
{
"name": "@ping-identity/rn-binding",
"version": "0.1.0",
"version": "1.0.0-beta.3",
"description": "The Binding Module provides native-backed device binding and signing-verifier capabilities for React Native.",
"homepage": "https://www.pingidentity.com/",
"author": "Ping Identity",
"repository": {
"type": "git",
"url": "https://github.com/ForgeRock/ping-react-native-sdk"
},
"main": "lib/module/index.js",
"types": "lib/typescript/src/index.d.ts",
"files": [
Expand All @@ -23,11 +27,11 @@
"prettier": "prettier --check \"src/**/*.{js,jsx,ts,tsx}\""
},
"dependencies": {
"@ping-identity/rn-core": "^0.1.0",
"@ping-identity/rn-types": "^0.1.0"
"@ping-identity/rn-types": "workspace:*"
},
"license": "MIT",
"peerDependencies": {
"@ping-identity/rn-core": "workspace:*",
"react": "*",
"react-native": "*"
},
Expand Down
43 changes: 43 additions & 0 deletions packages/browser/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# @ping-identity/rn-browser

## 1.0.0-beta.3

### Patch Changes

- fix(core): add RNPingCorePackage for Android autolinking

- Updated dependencies []:
- @ping-identity/rn-types@1.0.0-beta.3
- @ping-identity/rn-core@1.0.0-beta.3

## 1.0.0-beta.2

### Patch Changes

- fix(core): add codegenConfig to trigger Android autolinking

- Updated dependencies []:
- @ping-identity/rn-types@1.0.0-beta.2
- @ping-identity/rn-core@1.0.0-beta.2

## 1.0.0-beta.1

### Patch Changes

- fix: move rn-core to peerDependencies and fix workspace:\* refs in published packages

- Updated dependencies []:
- @ping-identity/rn-types@1.0.0-beta.1
- @ping-identity/rn-core@1.0.0-beta.1

## 1.0.0-beta.0

### Major Changes

- [`b8341ef`](https://github.com/ForgeRock/ping-react-native-sdk/commit/b8341ef2025aced0ae984529a6643a1de873fd44) Thanks [@pingidentity-gaurav](https://github.com/pingidentity-gaurav)! - Initial 1.0.0 beta release

### Patch Changes

- Updated dependencies [[`b8341ef`](https://github.com/ForgeRock/ping-react-native-sdk/commit/b8341ef2025aced0ae984529a6643a1de873fd44)]:
- @ping-identity/rn-core@1.0.0-beta.0
- @ping-identity/rn-types@1.0.0-beta.0
6 changes: 5 additions & 1 deletion packages/browser/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,14 @@ returns the redirect URL to JavaScript.

## Integrating the SDK into your project

Add the package and let autolinking wire the native code:
> **Note:** This module requires that the `@ping-identity/rn-core` module is already set up and installed.

```bash
# Install & setup the core module
yarn add @ping-identity/rn-core
# Install the rn-browser module
yarn add @ping-identity/rn-browser
# If you are developing your app using iOS, run this command
cd ios && pod install
```

Expand Down
Loading
Loading