Skip to content

Commit

Permalink
chore: use peerDependencies in packages
Browse files Browse the repository at this point in the history
fix multi version dependencies
use local @orillsuion/core as peer dependency
  • Loading branch information
lslzl3000 committed Aug 19, 2024
1 parent 9d8ae6b commit 23868d0
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
8 changes: 4 additions & 4 deletions packages/geometry/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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"
}
}
8 changes: 4 additions & 4 deletions packages/graphic/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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"
}
}
6 changes: 3 additions & 3 deletions packages/media-extention/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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"
}
}
6 changes: 3 additions & 3 deletions packages/particle/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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"
}
}
8 changes: 4 additions & 4 deletions packages/physics/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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"
}
}
6 changes: 3 additions & 3 deletions packages/stats/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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"
}
}

0 comments on commit 23868d0

Please sign in to comment.