Skip to content

Commit

Permalink
Merge pull request #34 from react18-tools/upgrade
Browse files Browse the repository at this point in the history
Upgrade
  • Loading branch information
mayank1513 authored Dec 13, 2024
2 parents ec34623 + 83e2cd5 commit bab67ad
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 3 deletions.
6 changes: 6 additions & 0 deletions lib/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# r18gs

## 2.0.1

### Patch Changes

- 087a5b9: Fix: fix resetting store

## 2.0.0

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "r18gs",
"author": "Mayank Kumar Chaudhari <https://mayank-chaudhari.vercel.app>",
"private": false,
"version": "2.0.0",
"version": "2.0.1",
"description": "A simple yet elegant, light weight, react18 global store to replace Zustand for better tree shaking.",
"license": "MPL-2.0",
"main": "./dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion lib/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ declare global {
}

const globalThisForBetterMinification = globalThis;
globalThisForBetterMinification.rgs = {};
if (!globalThisForBetterMinification.rgs) globalThisForBetterMinification.rgs = {};
export const globalRGS = globalThisForBetterMinification.rgs;

/** trigger all listeners */
Expand Down
7 changes: 7 additions & 0 deletions packages/shared/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @repo/shared

## 0.0.4

### Patch Changes

- Updated dependencies [087a5b9]
- [email protected]

## 0.0.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@repo/shared",
"version": "0.0.3",
"version": "0.0.4",
"private": true,
"sideEffects": false,
"main": "./dist/index.js",
Expand Down

0 comments on commit bab67ad

Please sign in to comment.