From 85e4ffc4640b4d8c7b2c29828bf9c89c0ff07737 Mon Sep 17 00:00:00 2001 From: Raphael Landaverde Date: Tue, 7 Jan 2025 10:08:25 -0500 Subject: [PATCH] Dependency update and minor fixes --- libraries/math/package.json | 2 +- package-lock.json | 8 ++++---- tools/core-build-tasks/package.json | 4 ++-- tools/eslint-plugin-minecraft-linting/package.json | 2 +- tools/tsconfig/README.md | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/libraries/math/package.json b/libraries/math/package.json index def2ea0..0f9e961 100644 --- a/libraries/math/package.json +++ b/libraries/math/package.json @@ -13,7 +13,7 @@ "import": "./lib/index.js" }, "type": "module", - "types": "lib/types/math-public.d.ts", + "types": "./lib/types/math-public.d.ts", "repository": { "type": "git", "url": "https://github.com/Mojang/minecraft-scripting-libraries.git", diff --git a/package-lock.json b/package-lock.json index a29e27d..bae011c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -29,7 +29,7 @@ }, "libraries/math": { "name": "@minecraft/math", - "version": "1.5.1", + "version": "1.5.2", "license": "MIT", "devDependencies": { "@minecraft/core-build-tasks": "*", @@ -7760,7 +7760,7 @@ }, "tools/core-build-tasks": { "name": "@minecraft/core-build-tasks", - "version": "1.2.0", + "version": "1.2.1", "dependencies": { "@microsoft/api-extractor": "^7.38.3", "@rushstack/node-core-library": "^3.59.6", @@ -7770,7 +7770,7 @@ "just-scripts": "^2.3.3", "prettier": "^2.8.2", "rimraf": "^3.0.2", - "typescript": "^5.2.2", + "typescript": "^5.7.2", "vitest": "^0.34.6", "zip-lib": "^0.7.3" }, @@ -7829,7 +7829,7 @@ } }, "tools/eslint-plugin-minecraft-linting": { - "version": "1.2.6", + "version": "1.2.7", "license": "MIT", "dependencies": { "@typescript-eslint/eslint-plugin": "^8.18.1", diff --git a/tools/core-build-tasks/package.json b/tools/core-build-tasks/package.json index 1f49c91..aea9b6c 100644 --- a/tools/core-build-tasks/package.json +++ b/tools/core-build-tasks/package.json @@ -6,7 +6,7 @@ "import": "./lib/index.js", "require": "./lib-cjs/index.js" }, - "types": "lib/index.d.ts", + "types": "./lib/index.d.ts", "author": "Raphael Landaverde (rlanda@microsoft.com)", "contributors": [ { @@ -37,7 +37,7 @@ "prettier": "^2.8.2", "rimraf": "^3.0.2", "eslint": "^9.17.0", - "typescript": "^5.2.2", + "typescript": "^5.7.2", "vitest": "^0.34.6", "zip-lib": "^0.7.3" }, diff --git a/tools/eslint-plugin-minecraft-linting/package.json b/tools/eslint-plugin-minecraft-linting/package.json index bc7347d..73a822c 100644 --- a/tools/eslint-plugin-minecraft-linting/package.json +++ b/tools/eslint-plugin-minecraft-linting/package.json @@ -2,7 +2,7 @@ "name": "eslint-plugin-minecraft-linting", "version": "1.2.7", "main": "./lib/index.js", - "types": "lib/index.d.ts", + "types": "./lib/index.d.ts", "license": "MIT", "repository": { "type": "git", diff --git a/tools/tsconfig/README.md b/tools/tsconfig/README.md index 14c19b3..a090d17 100644 --- a/tools/tsconfig/README.md +++ b/tools/tsconfig/README.md @@ -2,4 +2,4 @@ These are base shared `tsconfig.json`s from which all other `tsconfig.json`'s inherit from. -By default we target module ESNext with resolution of form bundler. The reason for this is because packages built here are mainly for use in Minecraft where we have ESM support and no need for file extensions. \ No newline at end of file +Module resolution and format is decided by consuming packages, but with a preference to ESM as that is what the Minecraft runtime natively supports. \ No newline at end of file