From 23868d04d87c1406641eb46eb9cdf4e893aac111 Mon Sep 17 00:00:00 2001 From: ShuangLiu Date: Mon, 19 Aug 2024 18:27:48 +0800 Subject: [PATCH] chore: use peerDependencies in packages fix multi version dependencies use local @orillsuion/core as peer dependency --- package.json | 2 +- packages/geometry/package.json | 8 ++++---- packages/graphic/package.json | 8 ++++---- packages/media-extention/package.json | 6 +++--- packages/particle/package.json | 6 +++--- packages/physics/package.json | 8 ++++---- packages/stats/package.json | 6 +++--- 7 files changed, 22 insertions(+), 22 deletions(-) diff --git a/package.json b/package.json index e5153186..c7e99ea7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@orillusion/core", - "version": "0.8.3-dev.2", + "version": "0.8.3-dev.3", "author": "Orillusion", "description": "Orillusion WebGPU Engine", "type": "module", diff --git a/packages/geometry/package.json b/packages/geometry/package.json index cf323957..05218faf 100644 --- a/packages/geometry/package.json +++ b/packages/geometry/package.json @@ -1,8 +1,8 @@ { "name": "@orillusion/geometry", - "version": "0.2.2", + "version": "0.2.4", "author": "Orillusion", - "description": "Orillusion geometry Plugin", + "description": "Orillusion Geometry Plugin", "main": "./dist/geometry.umd.js", "module": "./dist/geometry.es.js", "module:dev": "./index.ts", @@ -21,7 +21,7 @@ "type": "git", "url": "git+https://github.com/Orillusion/orillusion.git" }, - "dependencies": { - "@orillusion/core": "^0.8.0" + "peerDependencies": { + "@orillusion/core": ">=0.8.0" } } diff --git a/packages/graphic/package.json b/packages/graphic/package.json index 9ed99e18..08f4db6e 100644 --- a/packages/graphic/package.json +++ b/packages/graphic/package.json @@ -1,8 +1,8 @@ { "name": "@orillusion/graphic", - "version": "0.2.0", + "version": "0.2.2", "author": "Orillusion", - "description": "Orillusion graphic Plugin", + "description": "Orillusion Graphic Plugin", "main": "./dist/graphic.umd.js", "module": "./dist/graphic.es.js", "module:dev": "./index.ts", @@ -21,7 +21,7 @@ "type": "git", "url": "git+https://github.com/Orillusion/orillusion.git" }, - "dependencies": { - "@orillusion/core": "^0.8.0" + "peerDependencies": { + "@orillusion/core": ">=0.8.0" } } diff --git a/packages/media-extention/package.json b/packages/media-extention/package.json index 6a2a7225..9ffc67e7 100644 --- a/packages/media-extention/package.json +++ b/packages/media-extention/package.json @@ -1,6 +1,6 @@ { "name": "@orillusion/media-extention", - "version": "0.3.4", + "version": "0.3.6", "author": "Orillusion", "description": "Orillusion Media Material Extention", "main": "./dist/media.umd.js", @@ -20,7 +20,7 @@ "type": "git", "url": "git+https://github.com/Orillusion/orillusion.git" }, - "dependencies": { - "@orillusion/core": "^0.7.0" + "peerDependencies": { + "@orillusion/core": ">=0.8.0" } } diff --git a/packages/particle/package.json b/packages/particle/package.json index e63c7790..b292b79b 100644 --- a/packages/particle/package.json +++ b/packages/particle/package.json @@ -1,6 +1,6 @@ { "name": "@orillusion/particle", - "version": "0.1.0", + "version": "0.1.6", "author": "Orillusion", "description": "Orillusion Particle Plugin", "main": "./dist/particle.umd.js", @@ -20,7 +20,7 @@ "type": "git", "url": "git+https://github.com/Orillusion/orillusion.git" }, - "dependencies": { - "@orillusion/core": "^0.7.0" + "peerDependencies": { + "@orillusion/core": ">=0.8.0" } } diff --git a/packages/physics/package.json b/packages/physics/package.json index a270ddc0..a5a9a1f2 100644 --- a/packages/physics/package.json +++ b/packages/physics/package.json @@ -1,6 +1,6 @@ { "name": "@orillusion/physics", - "version": "0.3.0", + "version": "0.3.2", "author": "Orillusion", "description": "Orillusion Physics Plugin, Powerd by Ammo.js", "main": "./dist/physics.umd.js", @@ -20,8 +20,8 @@ "type": "git", "url": "git+https://github.com/Orillusion/orillusion.git" }, - "dependencies": { - "@orillusion/ammo": "^0.2.1", - "@orillusion/core": "^0.8.0" + "peerDependencies": { + "@orillusion/ammo": ">=0.2.1", + "@orillusion/core": ">=0.8.0" } } diff --git a/packages/stats/package.json b/packages/stats/package.json index 9147f621..ce1ea61e 100644 --- a/packages/stats/package.json +++ b/packages/stats/package.json @@ -1,6 +1,6 @@ { "name": "@orillusion/stats", - "version": "0.2.2", + "version": "0.2.6", "author": "Orillusion", "description": "Orillusion Stats Plugin", "main": "./dist/stats.umd.js", @@ -20,7 +20,7 @@ "type": "git", "url": "git+https://github.com/Orillusion/orillusion.git" }, - "dependencies": { - "@orillusion/core": "^0.7.0" + "peerDependencies": { + "@orillusion/core": ">=0.8.0" } }