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
1 change: 1 addition & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"fixed": [],
"linked": [],
"access": "public",
"provenance": true,
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Default Workflow

on:
push:
branches:
branches-ignore:
- main

jobs:
Expand Down
40 changes: 40 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Release Workflow

on:
push:
branches:
- main

jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node-version }}
registry-url: 'https://registry.npmjs.org'

- name: Install dependencies
run: npm ci

- name: Build
run: npm run build

- name: Release
uses: changesets/action@v1
with:
publish: npm run release
setupGitUser: false
commitMode: github-api
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# react-json-chunked

## 0.3.2
## 0.3.6

### Patch Changes

- test changesets
- setup change sets/logs

## 0.3.1
## 0.3.5

- 🎣 **Custom Hook**: Exports a custom `useJsonStream` hook for consuming JSON chunks
- ⚛️ **React Integration**: Built with native `useSyncExternalStore` hook for optimal rendering
Expand Down
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-json-chunked",
"version": "0.3.2",
"version": "0.3.6",
"description": "A React component for streaming JSON using chunked Transfer-Encoding",
"type": "module",
"files": [
Expand All @@ -26,6 +26,11 @@
"type": "git",
"url": "git+https://github.com/amerani/react-json-chunked.git"
},
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public",
"provenance": true
},
"peerDependencies": {
"react": "^19.1.1",
"react-dom": "^19.1.1"
Expand Down