From bc64d385887aa115a968c7ce7c6a7896648d33ed Mon Sep 17 00:00:00 2001 From: Willy Brauner Date: Wed, 18 Oct 2023 14:34:48 +0200 Subject: [PATCH] Link @cher-ami/router to example-client --- examples/example-client/package.json | 2 +- package.json | 4 ---- pnpm-lock.yaml | 2 +- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/examples/example-client/package.json b/examples/example-client/package.json index f17e650c..2eef48ad 100644 --- a/examples/example-client/package.json +++ b/examples/example-client/package.json @@ -5,7 +5,7 @@ "build": "vite build" }, "dependencies": { - "@cher-ami/router": "latest", + "@cher-ami/router": "^3.1.2", "react": "^18.2.0", "react-dom": "^18.2.0" }, diff --git a/package.json b/package.json index e2b92e2b..6a6d8684 100644 --- a/package.json +++ b/package.json @@ -50,10 +50,6 @@ "history": "^5.3.0", "path-to-regexp": "^6.2.1" }, - "peerDependencies": { - "react": ">=17.0.0", - "react-dom": ">=17.0.0" - }, "devDependencies": { "tsup": "^7.2.0", "@babel/core": "*", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index acde9b0f..500d06e0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -94,7 +94,7 @@ importers: examples/example-client: dependencies: '@cher-ami/router': - specifier: latest + specifier: ^3.1.2 version: link:../.. react: specifier: ^18.2.0