Skip to content

Commit 23868d0

Browse files
committed
chore: use peerDependencies in packages
fix multi version dependencies use local @orillsuion/core as peer dependency
1 parent 9d8ae6b commit 23868d0

File tree

7 files changed

+22
-22
lines changed

7 files changed

+22
-22
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@orillusion/core",
3-
"version": "0.8.3-dev.2",
3+
"version": "0.8.3-dev.3",
44
"author": "Orillusion",
55
"description": "Orillusion WebGPU Engine",
66
"type": "module",

packages/geometry/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "@orillusion/geometry",
3-
"version": "0.2.2",
3+
"version": "0.2.4",
44
"author": "Orillusion",
5-
"description": "Orillusion geometry Plugin",
5+
"description": "Orillusion Geometry Plugin",
66
"main": "./dist/geometry.umd.js",
77
"module": "./dist/geometry.es.js",
88
"module:dev": "./index.ts",
@@ -21,7 +21,7 @@
2121
"type": "git",
2222
"url": "git+https://github.com/Orillusion/orillusion.git"
2323
},
24-
"dependencies": {
25-
"@orillusion/core": "^0.8.0"
24+
"peerDependencies": {
25+
"@orillusion/core": ">=0.8.0"
2626
}
2727
}

packages/graphic/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "@orillusion/graphic",
3-
"version": "0.2.0",
3+
"version": "0.2.2",
44
"author": "Orillusion",
5-
"description": "Orillusion graphic Plugin",
5+
"description": "Orillusion Graphic Plugin",
66
"main": "./dist/graphic.umd.js",
77
"module": "./dist/graphic.es.js",
88
"module:dev": "./index.ts",
@@ -21,7 +21,7 @@
2121
"type": "git",
2222
"url": "git+https://github.com/Orillusion/orillusion.git"
2323
},
24-
"dependencies": {
25-
"@orillusion/core": "^0.8.0"
24+
"peerDependencies": {
25+
"@orillusion/core": ">=0.8.0"
2626
}
2727
}

packages/media-extention/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@orillusion/media-extention",
3-
"version": "0.3.4",
3+
"version": "0.3.6",
44
"author": "Orillusion",
55
"description": "Orillusion Media Material Extention",
66
"main": "./dist/media.umd.js",
@@ -20,7 +20,7 @@
2020
"type": "git",
2121
"url": "git+https://github.com/Orillusion/orillusion.git"
2222
},
23-
"dependencies": {
24-
"@orillusion/core": "^0.7.0"
23+
"peerDependencies": {
24+
"@orillusion/core": ">=0.8.0"
2525
}
2626
}

packages/particle/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@orillusion/particle",
3-
"version": "0.1.0",
3+
"version": "0.1.6",
44
"author": "Orillusion",
55
"description": "Orillusion Particle Plugin",
66
"main": "./dist/particle.umd.js",
@@ -20,7 +20,7 @@
2020
"type": "git",
2121
"url": "git+https://github.com/Orillusion/orillusion.git"
2222
},
23-
"dependencies": {
24-
"@orillusion/core": "^0.7.0"
23+
"peerDependencies": {
24+
"@orillusion/core": ">=0.8.0"
2525
}
2626
}

packages/physics/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@orillusion/physics",
3-
"version": "0.3.0",
3+
"version": "0.3.2",
44
"author": "Orillusion",
55
"description": "Orillusion Physics Plugin, Powerd by Ammo.js",
66
"main": "./dist/physics.umd.js",
@@ -20,8 +20,8 @@
2020
"type": "git",
2121
"url": "git+https://github.com/Orillusion/orillusion.git"
2222
},
23-
"dependencies": {
24-
"@orillusion/ammo": "^0.2.1",
25-
"@orillusion/core": "^0.8.0"
23+
"peerDependencies": {
24+
"@orillusion/ammo": ">=0.2.1",
25+
"@orillusion/core": ">=0.8.0"
2626
}
2727
}

packages/stats/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@orillusion/stats",
3-
"version": "0.2.2",
3+
"version": "0.2.6",
44
"author": "Orillusion",
55
"description": "Orillusion Stats Plugin",
66
"main": "./dist/stats.umd.js",
@@ -20,7 +20,7 @@
2020
"type": "git",
2121
"url": "git+https://github.com/Orillusion/orillusion.git"
2222
},
23-
"dependencies": {
24-
"@orillusion/core": "^0.7.0"
23+
"peerDependencies": {
24+
"@orillusion/core": ">=0.8.0"
2525
}
2626
}

0 commit comments

Comments
 (0)