Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
056ce89
update(deps): update Auth0 dependency for android and iOS
subhankarmaiti Jul 30, 2025
c7c427c
refactor(auth): streamline error handling in CredentialsManager and u…
subhankarmaiti Jul 30, 2025
dcb5078
Merge branch 'master' of https://github.com/auth0/react-native-auth0 …
subhankarmaiti Aug 9, 2025
9e5ebb7
feat(auth): implement platform-agnostic error handling with WebAuthEr…
subhankarmaiti Aug 9, 2025
d9694f7
feat(errors): enhance error handling with additional mappings for web
subhankarmaiti Aug 9, 2025
f52b0b7
refactor(tests): remove redundant error handling tests and update moc…
subhankarmaiti Aug 9, 2025
573acb8
feat(exports): add classes and hooks exports for improved module stru…
subhankarmaiti Aug 10, 2025
c956d4c
Add enums export and enhance Auth0 exports
subhankarmaiti Aug 10, 2025
e1598b3
Revert "refactor(auth): streamline error handling in CredentialsManag…
subhankarmaiti Aug 12, 2025
27949a2
feat(errors): update error codes for CredentialsManager and WebAuth t…
subhankarmaiti Aug 19, 2025
ed0a338
feat(errors): add new error codes for transaction handling and MFA re…
subhankarmaiti Aug 20, 2025
5323a44
refactor(errors): streamline error handling in WebCredentialsManager …
subhankarmaiti Aug 20, 2025
3180ee8
feat(errors): add NativeModuleError type and implement error handling…
subhankarmaiti Aug 20, 2025
b0a6e9c
Merge branch 'master' into SDK-5700-platform-agnostic-error
subhankarmaiti Aug 21, 2025
31ce8a9
Merge branch 'SDK-5700-platform-agnostic-error' of https://github.com…
subhankarmaiti Aug 21, 2025
590e08f
Update documentation links and add NativeModuleError type alias
subhankarmaiti Aug 21, 2025
9cfd123
adding test cases to validate each and every error from credentialman…
subhankarmaiti Aug 24, 2025
25082cc
Merge branch 'SDK-5700-platform-agnostic-error' of https://github.com…
subhankarmaiti Aug 24, 2025
148c79e
Merge branch 'master' of https://github.com/auth0/react-native-auth0 …
subhankarmaiti Aug 25, 2025
40b3a18
created manage doc versions script and added to pipeline for doc vers…
subhankarmaiti Sep 1, 2025
9526c6e
feat: enable placing internals in owning module for improved document…
subhankarmaiti Sep 1, 2025
c44a96b
Merge branch 'master' of https://github.com/auth0/react-native-auth0 …
subhankarmaiti Sep 2, 2025
3233cfc
refactor: clean up build scripts and update documentation output path
subhankarmaiti Sep 2, 2025
50533f3
Merge branch 'master' of https://github.com/auth0/react-native-auth0 …
subhankarmaiti Sep 2, 2025
42e08f0
Merge branch 'master' into fix-doc
subhankarmaiti Sep 3, 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
83 changes: 83 additions & 0 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
name: PUBLISH DOCS
on:
workflow_dispatch:
workflow_call:
# or set up your own custom triggers
permissions:
contents: write # allows the 'Commit' step without tokens

jobs:
get_history: # create an artifact from the existing documentation builds
runs-on: ubuntu-latest
steps:
- name: get the gh-pages repo
uses: actions/checkout@v4
with:
ref: gh-pages

- name: tar the existing docs
run: |
mkdir -p ./docs
tar -cvf documentation.tar ./docs

- name: create a document artifact
uses: actions/upload-artifact@v4
with:
name: documentation
path: documentation.tar

build: # builds the distribution and then the documentation
needs: get_history
runs-on: ubuntu-latest
steps:
- name: Checkout src
uses: actions/checkout@v4

- run: mkdir -p ./docs
- name: Download the existing documents artifact
uses: actions/download-artifact@v4
with:
name: documentation
- run: tar -xf documentation.tar -C ./docs

- name: Setup
uses: ./.github/actions/setup

- name: Build documents
run: yarn docs #set up 'docs' build script in your package.json

- name: Run cleanup and manage document versions
run: node scripts/manage-doc-versions.js

- name: tar the new docs
run: tar -cvf newdocumentation.tar ./docs

- name: create a new document artifact
uses: actions/upload-artifact@v4
with:
name: newdocumentation
path: newdocumentation.tar

commit: # commit the old and new merged documents to gh-pages/docs
needs: build
runs-on: ubuntu-latest
steps:
- name: checkout the gh-pages repo
uses: actions/checkout@v4
with:
ref: gh-pages

- run: mkdir -p ./docs
- name: Download the new documents artifact
uses: actions/download-artifact@v4
with:
name: newdocumentation
- run: tar -xf newdocumentation.tar -C ./docs

- name: commit
run: |
git config --global user.email "[email protected]"
git config --global user.name "Continuous Integration"
git add .
git commit -m "CI updated the documentation"
git push
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
permissions:
contents: write
id-token: write # For publishing to npm using --provenance
pages: write # For publishing documentation

### TODO: Replace instances of './.github/workflows/' w/ `auth0/dx-sdk-actions/workflows/` and append `@latest` after the common `dx-sdk-actions` repo is made public.
### TODO: Also remove `get-prerelease`, `get-release-notes`, `get-version`, `npm-publish`, `release-create`, and `tag-exists` actions from this repo's .github/actions folder once the repo is public.
Expand All @@ -20,3 +21,12 @@ jobs:
secrets:
npm-token: ${{ secrets.NPM_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}

publish-docs:
needs: release
if: success()
uses: ./.github/workflows/publish-docs.yml
permissions:
contents: write
pages: write
id-token: write
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,5 @@ android/generated
# Other
dist/
out/
coverage/
coverage/
docs/
3 changes: 1 addition & 2 deletions .shiprc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
"files": {
"src/core/utils/telemetry.ts": [],
".version": []
},
"postbump": "node scripts/jsdocs.js"
}
}
2 changes: 0 additions & 2 deletions docs/assets/hierarchy.js

This file was deleted.

173 changes: 0 additions & 173 deletions docs/assets/highlight.css

This file was deleted.

Loading