-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tweak tsconfig so it's friendly to commonjs alongside ESM (#47)
* Tweak tsconfig so it's friendly to commonjs alongside ESM * Change files * Switch to node16 to not become new node features unintentionally
- Loading branch information
Showing
6 changed files
with
72 additions
and
50 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
change/@minecraft-core-build-tasks-e51dbed2-f9e3-40a3-abd9-3813a356ec3b.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"type": "minor", | ||
"comment": "Tweak tsconfig so it's friendly to commonjs alongside ESM", | ||
"packageName": "@minecraft/core-build-tasks", | ||
"email": "[email protected]", | ||
"dependentChangeType": "patch" | ||
} |
7 changes: 7 additions & 0 deletions
7
change/@minecraft-math-e81ec011-0c50-4078-bc9b-d74ddc549756.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"type": "patch", | ||
"comment": "Tweak tsconfig so it's friendly to commonjs alongside ESM", | ||
"packageName": "@minecraft/math", | ||
"email": "[email protected]", | ||
"dependentChangeType": "patch" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,55 @@ | ||
{ | ||
"name": "@minecraft/core-build-tasks", | ||
"version": "1.1.7", | ||
"description": "Common build tasks used for minecraft-scripting-libraries", | ||
"main": "lib/index.js", | ||
"types": "lib/index.d.ts", | ||
"author": "Raphael Landaverde ([email protected])", | ||
"contributors": [ | ||
{ | ||
"name": "Francisco Alejandro Garcia Cebada", | ||
"email": "[email protected]" | ||
"name": "@minecraft/core-build-tasks", | ||
"version": "1.1.7", | ||
"description": "Common build tasks used for minecraft-scripting-libraries", | ||
"main": "lib/index.js", | ||
"exports": { | ||
".": { | ||
"import": "./lib/index.js", | ||
"require": "./lib/index.js" | ||
} | ||
}, | ||
"types": "lib/index.d.ts", | ||
"author": "Raphael Landaverde ([email protected])", | ||
"contributors": [ | ||
{ | ||
"name": "Francisco Alejandro Garcia Cebada", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/Mojang/minecraft-scripting-libraries.git", | ||
"directory": "tools/core-build-tasks" | ||
}, | ||
"scripts": { | ||
"build-tools": "just-scripts build-tools", | ||
"clean-tools": "just-scripts clean-tools", | ||
"lint": "just-scripts lint", | ||
"test": "just-scripts test" | ||
}, | ||
"files": [ | ||
"lib" | ||
], | ||
"dependencies": { | ||
"@rushstack/node-core-library": "^3.59.6", | ||
"@microsoft/api-extractor": "^7.38.3", | ||
"esbuild": "^0.20.1", | ||
"dotenv": "^16.4.5", | ||
"just-scripts": "^2.3.2", | ||
"prettier": "^2.8.2", | ||
"rimraf": "^3.0.2", | ||
"vitest": "^0.34.6", | ||
"zip-lib": "^0.7.3" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^14.0.0 || ^16.0.0 || ^18.0.0", | ||
"@types/rimraf": "^3.0.2", | ||
"@typescript-eslint/parser": "^7.2.0", | ||
"eslint": "^8.53.0", | ||
"ts-node": "^10.9.1", | ||
"tsconfig": "*", | ||
"typescript": "^5.2.2", | ||
"webpack": "^5.86.0" | ||
} | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/Mojang/minecraft-scripting-libraries.git", | ||
"directory": "tools/core-build-tasks" | ||
}, | ||
"scripts": { | ||
"build-tools": "just-scripts build-tools", | ||
"clean-tools": "just-scripts clean-tools", | ||
"lint": "just-scripts lint", | ||
"test": "just-scripts test" | ||
}, | ||
"files": [ | ||
"lib" | ||
], | ||
"dependencies": { | ||
"@rushstack/node-core-library": "^3.59.6", | ||
"@microsoft/api-extractor": "^7.38.3", | ||
"esbuild": "^0.20.1", | ||
"dotenv": "^16.4.5", | ||
"just-scripts": "^2.3.2", | ||
"prettier": "^2.8.2", | ||
"rimraf": "^3.0.2", | ||
"vitest": "^0.34.6", | ||
"zip-lib": "^0.7.3" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^14.0.0 || ^16.0.0 || ^18.0.0", | ||
"@types/rimraf": "^3.0.2", | ||
"@typescript-eslint/parser": "^7.2.0", | ||
"eslint": "^8.53.0", | ||
"ts-node": "^10.9.1", | ||
"tsconfig": "*", | ||
"typescript": "^5.2.2", | ||
"webpack": "^5.86.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters