Skip to content

Commit

Permalink
Dependency update and minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rlandav committed Jan 7, 2025
1 parent b796e65 commit 85e4ffc
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion libraries/math/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions tools/core-build-tasks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
{
Expand Down Expand Up @@ -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"
},
Expand Down
2 changes: 1 addition & 1 deletion tools/eslint-plugin-minecraft-linting/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion tools/tsconfig/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Module resolution and format is decided by consuming packages, but with a preference to ESM as that is what the Minecraft runtime natively supports.

0 comments on commit 85e4ffc

Please sign in to comment.