@minecraft/core-build-tasks 5.4.0 → 5.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.json +16 -1
- package/CHANGELOG.md +10 -2
- package/lib/index.js +9 -0
- package/lib/platforms/MinecraftProduct.d.ts +2 -0
- package/lib-cjs/index.js +9 -0
- package/package.json +1 -1
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,22 @@
|
|
|
2
2
|
"name": "@minecraft/core-build-tasks",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Mon, 29 Sep 2025 17:42:07 GMT",
|
|
6
|
+
"version": "5.5.0",
|
|
7
|
+
"tag": "@minecraft/core-build-tasks_v5.5.0",
|
|
8
|
+
"comments": {
|
|
9
|
+
"minor": [
|
|
10
|
+
{
|
|
11
|
+
"author": "zachary.campbell@skyboxlabs.com",
|
|
12
|
+
"package": "@minecraft/core-build-tasks",
|
|
13
|
+
"commit": "a3a4494c22624aa8b334dd0b664a535fdb421827",
|
|
14
|
+
"comment": "Add Bedrock GDK paths to core-build-tasks"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"date": "Wed, 10 Sep 2025 20:47:56 GMT",
|
|
6
21
|
"version": "5.4.0",
|
|
7
22
|
"tag": "@minecraft/core-build-tasks_v5.4.0",
|
|
8
23
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
# Change Log - @minecraft/core-build-tasks
|
|
2
2
|
|
|
3
|
-
<!-- This log was last generated on
|
|
3
|
+
<!-- This log was last generated on Mon, 29 Sep 2025 17:42:07 GMT and should not be manually modified. -->
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 5.5.0
|
|
8
|
+
|
|
9
|
+
Mon, 29 Sep 2025 17:42:07 GMT
|
|
10
|
+
|
|
11
|
+
### Minor changes
|
|
12
|
+
|
|
13
|
+
- Add Bedrock GDK paths to core-build-tasks (zachary.campbell@skyboxlabs.com)
|
|
14
|
+
|
|
7
15
|
## 5.4.0
|
|
8
16
|
|
|
9
|
-
Wed, 10 Sep 2025 20:47:
|
|
17
|
+
Wed, 10 Sep 2025 20:47:56 GMT
|
|
10
18
|
|
|
11
19
|
### Minor changes
|
|
12
20
|
|
package/lib/index.js
CHANGED
|
@@ -53576,6 +53576,8 @@ var require_lib4 = __commonJS({
|
|
|
53576
53576
|
|
|
53577
53577
|
// src/platforms/MinecraftProduct.ts
|
|
53578
53578
|
var MinecraftProduct = /* @__PURE__ */ ((MinecraftProduct2) => {
|
|
53579
|
+
MinecraftProduct2["BedrockGDK"] = "BedrockGDK";
|
|
53580
|
+
MinecraftProduct2["PreviewGDK"] = "PreviewGDK";
|
|
53579
53581
|
MinecraftProduct2["Bedrock"] = "BedrockUWP";
|
|
53580
53582
|
MinecraftProduct2["Preview"] = "PreviewUWP";
|
|
53581
53583
|
MinecraftProduct2["Custom"] = "Custom";
|
|
@@ -53734,6 +53736,10 @@ function getOrThrowFromProcess(key, messageOverride) {
|
|
|
53734
53736
|
|
|
53735
53737
|
// src/tasks/cleanCollateral.ts
|
|
53736
53738
|
var STANDARD_CLEAN_PATHS = [
|
|
53739
|
+
"APPDATA/Minecraft Bedrock/Users/Shared/games/com.mojang/development_behavior_packs/PROJECT_NAME",
|
|
53740
|
+
"APPDATA/Minecraft Bedrock/Users/Shared/games/com.mojang/development_resource_packs/PROJECT_NAME",
|
|
53741
|
+
"APPDATA/Minecraft Bedrock Preview/Users/Shared/games/com.mojang/development_behavior_packs/PROJECT_NAME",
|
|
53742
|
+
"APPDATA/Minecraft Bedrock Preview/Users/Shared/games/com.mojang/development_resource_packs/PROJECT_NAME",
|
|
53737
53743
|
"LOCALAPPDATA/Packages/Microsoft.MinecraftUWP_8wekyb3d8bbwe/LocalState/games/com.mojang/development_behavior_packs/PROJECT_NAME",
|
|
53738
53744
|
"LOCALAPPDATA/Packages/Microsoft.MinecraftUWP_8wekyb3d8bbwe/LocalState/games/com.mojang/development_resource_packs/PROJECT_NAME",
|
|
53739
53745
|
"LOCALAPPDATA/Packages/Microsoft.MinecraftWindowsBeta_8wekyb3d8bbwe/LocalState/games/com.mojang/development_behavior_packs/PROJECT_NAME",
|
|
@@ -53833,8 +53839,11 @@ function copyFiles(originPaths, outputPath, skipIfPossible = true) {
|
|
|
53833
53839
|
import path4, { resolve as resolve2 } from "path";
|
|
53834
53840
|
function getGameDeploymentRootPaths() {
|
|
53835
53841
|
const localAppDataPath = process.env["LOCALAPPDATA"];
|
|
53842
|
+
const appDataPath = process.env["APPDATA"];
|
|
53836
53843
|
const customDeploymentPath = process.env["CUSTOM_DEPLOYMENT_PATH"];
|
|
53837
53844
|
return {
|
|
53845
|
+
BedrockGDK: appDataPath ? resolve2(appDataPath, "Minecraft Bedrock/Users/Shared/games/com.mojang/") : void 0,
|
|
53846
|
+
PreviewGDK: appDataPath ? resolve2(appDataPath, "Minecraft Bedrock Preview/Users/Shared/games/com.mojang/") : void 0,
|
|
53838
53847
|
BedrockUWP: localAppDataPath ? resolve2(localAppDataPath, "Packages/Microsoft.MinecraftUWP_8wekyb3d8bbwe/LocalState/games/com.mojang/") : void 0,
|
|
53839
53848
|
PreviewUWP: localAppDataPath ? resolve2(
|
|
53840
53849
|
localAppDataPath,
|
package/lib-cjs/index.js
CHANGED
|
@@ -53603,6 +53603,8 @@ module.exports = __toCommonJS(index_exports);
|
|
|
53603
53603
|
|
|
53604
53604
|
// src/platforms/MinecraftProduct.ts
|
|
53605
53605
|
var MinecraftProduct = /* @__PURE__ */ ((MinecraftProduct2) => {
|
|
53606
|
+
MinecraftProduct2["BedrockGDK"] = "BedrockGDK";
|
|
53607
|
+
MinecraftProduct2["PreviewGDK"] = "PreviewGDK";
|
|
53606
53608
|
MinecraftProduct2["Bedrock"] = "BedrockUWP";
|
|
53607
53609
|
MinecraftProduct2["Preview"] = "PreviewUWP";
|
|
53608
53610
|
MinecraftProduct2["Custom"] = "Custom";
|
|
@@ -53761,6 +53763,10 @@ function getOrThrowFromProcess(key, messageOverride) {
|
|
|
53761
53763
|
|
|
53762
53764
|
// src/tasks/cleanCollateral.ts
|
|
53763
53765
|
var STANDARD_CLEAN_PATHS = [
|
|
53766
|
+
"APPDATA/Minecraft Bedrock/Users/Shared/games/com.mojang/development_behavior_packs/PROJECT_NAME",
|
|
53767
|
+
"APPDATA/Minecraft Bedrock/Users/Shared/games/com.mojang/development_resource_packs/PROJECT_NAME",
|
|
53768
|
+
"APPDATA/Minecraft Bedrock Preview/Users/Shared/games/com.mojang/development_behavior_packs/PROJECT_NAME",
|
|
53769
|
+
"APPDATA/Minecraft Bedrock Preview/Users/Shared/games/com.mojang/development_resource_packs/PROJECT_NAME",
|
|
53764
53770
|
"LOCALAPPDATA/Packages/Microsoft.MinecraftUWP_8wekyb3d8bbwe/LocalState/games/com.mojang/development_behavior_packs/PROJECT_NAME",
|
|
53765
53771
|
"LOCALAPPDATA/Packages/Microsoft.MinecraftUWP_8wekyb3d8bbwe/LocalState/games/com.mojang/development_resource_packs/PROJECT_NAME",
|
|
53766
53772
|
"LOCALAPPDATA/Packages/Microsoft.MinecraftWindowsBeta_8wekyb3d8bbwe/LocalState/games/com.mojang/development_behavior_packs/PROJECT_NAME",
|
|
@@ -53860,8 +53866,11 @@ function copyFiles(originPaths, outputPath, skipIfPossible = true) {
|
|
|
53860
53866
|
var import_path4 = __toESM(require("path"));
|
|
53861
53867
|
function getGameDeploymentRootPaths() {
|
|
53862
53868
|
const localAppDataPath = process.env["LOCALAPPDATA"];
|
|
53869
|
+
const appDataPath = process.env["APPDATA"];
|
|
53863
53870
|
const customDeploymentPath = process.env["CUSTOM_DEPLOYMENT_PATH"];
|
|
53864
53871
|
return {
|
|
53872
|
+
BedrockGDK: appDataPath ? (0, import_path4.resolve)(appDataPath, "Minecraft Bedrock/Users/Shared/games/com.mojang/") : void 0,
|
|
53873
|
+
PreviewGDK: appDataPath ? (0, import_path4.resolve)(appDataPath, "Minecraft Bedrock Preview/Users/Shared/games/com.mojang/") : void 0,
|
|
53865
53874
|
BedrockUWP: localAppDataPath ? (0, import_path4.resolve)(localAppDataPath, "Packages/Microsoft.MinecraftUWP_8wekyb3d8bbwe/LocalState/games/com.mojang/") : void 0,
|
|
53866
53875
|
PreviewUWP: localAppDataPath ? (0, import_path4.resolve)(
|
|
53867
53876
|
localAppDataPath,
|