From 38fa039a3777256b4c24e7d5a1ccf51d4725cd27 Mon Sep 17 00:00:00 2001 From: Jane Chu <7559015+janechu@users.noreply.github.com> Date: Wed, 11 Dec 2024 11:26:26 -0800 Subject: [PATCH] Change the router to use peerDependency for fast-element --- package-lock.json | 7 ++++--- packages/web-components/fast-router/package.json | 3 ++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 80ad2735e29..ab58faf22cd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -31017,12 +31017,10 @@ "name": "@microsoft/fast-router", "version": "1.0.0-alpha.28", "license": "MIT", - "dependencies": { - "@microsoft/fast-element": "^2.0.0" - }, "devDependencies": { "@jsdevtools/coverage-istanbul-loader": "^3.0.5", "@microsoft/api-extractor": "^7.47.0", + "@microsoft/fast-element": "^2.0.0", "@types/chai": "^4.2.11", "@types/karma": "^6.3.3", "@types/mocha": "^7.0.2", @@ -31054,6 +31052,9 @@ "typescript": "~4.7.0", "webpack": "^5.92.1", "webpack-cli": "^5.1.4" + }, + "peerDependencies": { + "@microsoft/fast-element": "^2.0.0" } }, "packages/web-components/fast-router/node_modules/acorn-walk": { diff --git a/packages/web-components/fast-router/package.json b/packages/web-components/fast-router/package.json index 74135a4402d..7c008115b71 100644 --- a/packages/web-components/fast-router/package.json +++ b/packages/web-components/fast-router/package.json @@ -48,6 +48,7 @@ "devDependencies": { "@jsdevtools/coverage-istanbul-loader": "^3.0.5", "@microsoft/api-extractor": "^7.47.0", + "@microsoft/fast-element": "^2.0.0", "@types/chai": "^4.2.11", "@types/karma": "^6.3.3", "@types/mocha": "^7.0.2", @@ -80,7 +81,7 @@ "webpack": "^5.92.1", "webpack-cli": "^5.1.4" }, - "dependencies": { + "peerDependencies": { "@microsoft/fast-element": "^2.0.0" }, "beachball": {