Skip to content

Commit

Permalink
Switch @minecraft/server to a peer dependency (#11)
Browse files Browse the repository at this point in the history
* Minor adjustment to dependencies, making @minecraft/server a peer instead of direct dependency

* Change files
  • Loading branch information
rlandav authored Feb 2, 2024
1 parent 439fc8c commit 2228e72
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 27 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "minor",
"comment": "Minor adjustment to dependencies, making @minecraft/server a peer instead of direct dependency",
"packageName": "@minecraft/math",
"email": "[email protected]",
"dependentChangeType": "patch"
}
55 changes: 28 additions & 27 deletions libraries/math/package.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,30 @@
{
"name": "@minecraft/math",
"version": "1.0.1",
"author": "Raphael Landaverde ([email protected])",
"description": "Math utilities for use with minecraft scripting modules",
"main": "lib/index.js",
"types": "lib/types/math-public.d.ts",
"scripts": {
"build": "just build",
"lint": "just lint",
"test": "just test",
"clean": "just clean"
},
"license": "MIT",
"files": [
"dist",
"lib",
"api-report"
],
"dependencies": {
"@minecraft/server": "^1.6.0"
},
"devDependencies": {
"@minecraft/core-build-tasks": "*",
"@minecraft/tsconfig": "*",
"just-scripts": "^2.2.1",
"vitest": "^0.34.6"
}
"name": "@minecraft/math",
"version": "1.0.1",
"author": "Raphael Landaverde ([email protected])",
"description": "Math utilities for use with minecraft scripting modules",
"main": "lib/index.js",
"types": "lib/types/math-public.d.ts",
"scripts": {
"build": "just build",
"lint": "just lint",
"test": "just test",
"clean": "just clean"
},
"license": "MIT",
"files": [
"dist",
"lib",
"api-report"
],
"peerDependencies": {
"@minecraft/server": "^1.6.0"
},
"devDependencies": {
"@minecraft/server": "^1.6.0",
"@minecraft/core-build-tasks": "*",
"@minecraft/tsconfig": "*",
"just-scripts": "^2.2.1",
"vitest": "^0.34.6"
}
}

0 comments on commit 2228e72

Please sign in to comment.