diff --git a/package-lock.json b/package-lock.json index 5f22a1c..fcf8271 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,13 @@ { "name": "swr-global-state", - "version": "2.1.0-preview", + "version": "2.1.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "swr-global-state", - "version": "2.1.0-preview", + "version": "2.1.0", + "license": "MIT", "workspaces": [ "apps/*", "packages/*" @@ -18,6 +19,10 @@ }, "engines": { "node": ">=14.0.0" + }, + "peerDependencies": { + "react": ">=17", + "swr": ">=2" } }, "apps/demo": { diff --git a/package.json b/package.json index 42f3155..ab9e800 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "swr-global-state", - "version": "2.1.0-preview", + "version": "2.1.0", "author": "Sutan Gading Fadhillah Nasution ", "description": "Zero-setup & simple global state management for React Components", "license": "MIT", @@ -12,7 +12,7 @@ "main": "packages/swr-global-state/dist/index.js", "typings": "packages/swr-global-state/dist/index.d.ts", "module": "packages/swr-global-state/dist/swr-global-state.esm.js", - "homepage": "https://github.com/gadingnst/swr-global-state", + "homepage": "https://swr-global-state-demo.gading.dev", "repository": { "type": "git", "url": "git+https://github.com/gadingnst/swr-global-state.git" diff --git a/packages/swr-global-state/package.json b/packages/swr-global-state/package.json index fdc048c..2308283 100644 --- a/packages/swr-global-state/package.json +++ b/packages/swr-global-state/package.json @@ -2,12 +2,12 @@ "name": "swr-global-state", "author": "Sutan Gading Fadhillah Nasution ", "description": "Zero-setup & simple global state management for React Components", - "version": "2.1.0-preview", + "version": "2.1.0", "license": "MIT", "main": "dist/index.js", "typings": "dist/index.d.ts", "module": "dist/swr-global-state.esm.js", - "homepage": "https://github.com/gadingnst/swr-global-state", + "homepage": "https://swr-global-state-demo.gading.dev", "repository": { "type": "git", "url": "git+https://github.com/gadingnst/swr-global-state.git"