From e43ee843a5da8bac28e1890729dbd6c702507602 Mon Sep 17 00:00:00 2001 From: Jayly <65847850+JaylyDev@users.noreply.github.com> Date: Sat, 22 Jul 2023 20:10:54 +0800 Subject: [PATCH] using stable apis --- package-lock.json | 108 ++++++++++----------------------------------- package.json | 10 ++--- tsconfig-base.json | 4 -- 3 files changed, 26 insertions(+), 96 deletions(-) diff --git a/package-lock.json b/package-lock.json index 10bcb2a1..737a8acf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,13 +9,9 @@ "version": "1.0.0", "license": "MIT", "dependencies": { - "@minecraft/server": "1.5.0-beta.1.20.20-preview.21", - "@minecraft/server-admin": "1.0.0-beta.1.20.20-preview.21", - "@minecraft/server-editor": "0.1.0-beta.1.20.20-preview.21", - "@minecraft/server-gametest": "1.0.0-beta.1.20.20-preview.21", - "@minecraft/server-net": "1.0.0-beta.1.20.20-preview.21", - "@minecraft/server-ui": "1.2.0-beta.1.20.20-preview.21", - "@minecraft/vanilla-data": "1.20.20-preview.21" + "@minecraft/server": "^1.3.0", + "@minecraft/server-ui": "^1.1.0", + "@minecraft/vanilla-data": "^1.20.10" }, "devDependencies": { "@npm/types": "^1.0.2", @@ -33,51 +29,22 @@ "license": "MIT" }, "node_modules/@minecraft/server": { - "version": "1.5.0-beta.1.20.20-preview.21", - "resolved": "https://registry.npmjs.org/@minecraft/server/-/server-1.5.0-beta.1.20.20-preview.21.tgz", - "integrity": "sha512-ZOA7XgJu9/fOd22vtdoymhKlWTu9HuNBYM9wBa7GWlzABV9are7sKWvtIxg1P0d4ESMki1yJSAz7rUKuf0zVDw==" - }, - "node_modules/@minecraft/server-admin": { - "version": "1.0.0-beta.1.20.20-preview.21", - "resolved": "https://registry.npmjs.org/@minecraft/server-admin/-/server-admin-1.0.0-beta.1.20.20-preview.21.tgz", - "integrity": "sha512-aQR1NdyjGendFJzolwHW1Ok+fZMVqKvQlBel339c0epZdc8cgtqn1YNTNCkEFphHT+twJ5CBdu8RqffyrppxQw==" - }, - "node_modules/@minecraft/server-editor": { - "version": "0.1.0-beta.1.20.20-preview.21", - "resolved": "https://registry.npmjs.org/@minecraft/server-editor/-/server-editor-0.1.0-beta.1.20.20-preview.21.tgz", - "integrity": "sha512-dm97kEvw+QloBadfZoMXEAK600lxqYGjak+HsfumSkLb0Zasb6qx9WJo31vp4GpFXj2ZXJOrD2b8kTONis6Xug==", - "dependencies": { - "@minecraft/server": "^1.5.0-beta.1.20.20-preview.21" - } - }, - "node_modules/@minecraft/server-gametest": { - "version": "1.0.0-beta.1.20.20-preview.21", - "resolved": "https://registry.npmjs.org/@minecraft/server-gametest/-/server-gametest-1.0.0-beta.1.20.20-preview.21.tgz", - "integrity": "sha512-iWPSbHrz21dnLo40LStY/9e+LbMSRVCzBb13SXHZOOQESCCubdmuH0MZM/uHKYXx/UwYaDEVSuxoOxqz5/+MXA==", - "dependencies": { - "@minecraft/server": "^1.5.0-beta.1.20.20-preview.21" - } - }, - "node_modules/@minecraft/server-net": { - "version": "1.0.0-beta.1.20.20-preview.21", - "resolved": "https://registry.npmjs.org/@minecraft/server-net/-/server-net-1.0.0-beta.1.20.20-preview.21.tgz", - "integrity": "sha512-IV6tW9nyNur4JEkaFYqDuhYhcrZ5W1Dz1Ckh9aZFwUDG/43c2nqkLIZRBGiyxnHDkva8RSTd5Zl5rnS4Luv+/Q==", - "dependencies": { - "@minecraft/server-admin": "^1.0.0-beta.1.20.20-preview.21" - } + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@minecraft/server/-/server-1.3.0.tgz", + "integrity": "sha512-FlR3ZpUi+KelJjf3EsYE50ymPfnWt61YZH3lwgvCdgjAJ2JeLz1zYupHkvoIvkqNhx7mkhe4kMnNXvh2OS5y2g==" }, "node_modules/@minecraft/server-ui": { - "version": "1.2.0-beta.1.20.20-preview.21", - "resolved": "https://registry.npmjs.org/@minecraft/server-ui/-/server-ui-1.2.0-beta.1.20.20-preview.21.tgz", - "integrity": "sha512-xY4KTM8AE39o3diIog8fdksS3ApDuS8T67kmNsCcJv+JvMx37cchV9ULBbU4yBOg5097aMwHK48bz6IG3RrHGQ==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@minecraft/server-ui/-/server-ui-1.1.0.tgz", + "integrity": "sha512-Gnf+GHjjT4VFoXEt7qjrfDRipDgc93YcXbgTmdPTQ5Og3DIRD003ahH97tGMZmeNdsB+ymvAquf+o2o9W2pDjw==", "dependencies": { - "@minecraft/server": "^1.5.0-beta.1.20.20-preview.21" + "@minecraft/server": "^1.2.0" } }, "node_modules/@minecraft/vanilla-data": { - "version": "1.20.20-preview.21", - "resolved": "https://registry.npmjs.org/@minecraft/vanilla-data/-/vanilla-data-1.20.20-preview.21.tgz", - "integrity": "sha512-PzNaexRIZhF6KvJuWCzwYlCK67ylhi6/BD1Hm+yqda1qrXQrFLqO1DGJhlsrCwxKP2s2VxsmWGmZLp/VSQsfsw==" + "version": "1.20.10", + "resolved": "https://registry.npmjs.org/@minecraft/vanilla-data/-/vanilla-data-1.20.10.tgz", + "integrity": "sha512-3FbbRSJspjJyk5eFPSj70wp776tIaqP3Apo2q2yCMkzBhH0iwPizl5aDer6ZwWBPiipGev9039Or2R9wyAplbg==" }, "node_modules/@npm/types": { "version": "1.0.2", @@ -218,51 +185,22 @@ }, "dependencies": { "@minecraft/server": { - "version": "1.5.0-beta.1.20.20-preview.21", - "resolved": "https://registry.npmjs.org/@minecraft/server/-/server-1.5.0-beta.1.20.20-preview.21.tgz", - "integrity": "sha512-ZOA7XgJu9/fOd22vtdoymhKlWTu9HuNBYM9wBa7GWlzABV9are7sKWvtIxg1P0d4ESMki1yJSAz7rUKuf0zVDw==" - }, - "@minecraft/server-admin": { - "version": "1.0.0-beta.1.20.20-preview.21", - "resolved": "https://registry.npmjs.org/@minecraft/server-admin/-/server-admin-1.0.0-beta.1.20.20-preview.21.tgz", - "integrity": "sha512-aQR1NdyjGendFJzolwHW1Ok+fZMVqKvQlBel339c0epZdc8cgtqn1YNTNCkEFphHT+twJ5CBdu8RqffyrppxQw==" - }, - "@minecraft/server-editor": { - "version": "0.1.0-beta.1.20.20-preview.21", - "resolved": "https://registry.npmjs.org/@minecraft/server-editor/-/server-editor-0.1.0-beta.1.20.20-preview.21.tgz", - "integrity": "sha512-dm97kEvw+QloBadfZoMXEAK600lxqYGjak+HsfumSkLb0Zasb6qx9WJo31vp4GpFXj2ZXJOrD2b8kTONis6Xug==", - "requires": { - "@minecraft/server": "^1.5.0-beta.1.20.20-preview.21" - } - }, - "@minecraft/server-gametest": { - "version": "1.0.0-beta.1.20.20-preview.21", - "resolved": "https://registry.npmjs.org/@minecraft/server-gametest/-/server-gametest-1.0.0-beta.1.20.20-preview.21.tgz", - "integrity": "sha512-iWPSbHrz21dnLo40LStY/9e+LbMSRVCzBb13SXHZOOQESCCubdmuH0MZM/uHKYXx/UwYaDEVSuxoOxqz5/+MXA==", - "requires": { - "@minecraft/server": "^1.5.0-beta.1.20.20-preview.21" - } - }, - "@minecraft/server-net": { - "version": "1.0.0-beta.1.20.20-preview.21", - "resolved": "https://registry.npmjs.org/@minecraft/server-net/-/server-net-1.0.0-beta.1.20.20-preview.21.tgz", - "integrity": "sha512-IV6tW9nyNur4JEkaFYqDuhYhcrZ5W1Dz1Ckh9aZFwUDG/43c2nqkLIZRBGiyxnHDkva8RSTd5Zl5rnS4Luv+/Q==", - "requires": { - "@minecraft/server-admin": "^1.0.0-beta.1.20.20-preview.21" - } + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@minecraft/server/-/server-1.3.0.tgz", + "integrity": "sha512-FlR3ZpUi+KelJjf3EsYE50ymPfnWt61YZH3lwgvCdgjAJ2JeLz1zYupHkvoIvkqNhx7mkhe4kMnNXvh2OS5y2g==" }, "@minecraft/server-ui": { - "version": "1.2.0-beta.1.20.20-preview.21", - "resolved": "https://registry.npmjs.org/@minecraft/server-ui/-/server-ui-1.2.0-beta.1.20.20-preview.21.tgz", - "integrity": "sha512-xY4KTM8AE39o3diIog8fdksS3ApDuS8T67kmNsCcJv+JvMx37cchV9ULBbU4yBOg5097aMwHK48bz6IG3RrHGQ==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@minecraft/server-ui/-/server-ui-1.1.0.tgz", + "integrity": "sha512-Gnf+GHjjT4VFoXEt7qjrfDRipDgc93YcXbgTmdPTQ5Og3DIRD003ahH97tGMZmeNdsB+ymvAquf+o2o9W2pDjw==", "requires": { - "@minecraft/server": "^1.5.0-beta.1.20.20-preview.21" + "@minecraft/server": "^1.2.0" } }, "@minecraft/vanilla-data": { - "version": "1.20.20-preview.21", - "resolved": "https://registry.npmjs.org/@minecraft/vanilla-data/-/vanilla-data-1.20.20-preview.21.tgz", - "integrity": "sha512-PzNaexRIZhF6KvJuWCzwYlCK67ylhi6/BD1Hm+yqda1qrXQrFLqO1DGJhlsrCwxKP2s2VxsmWGmZLp/VSQsfsw==" + "version": "1.20.10", + "resolved": "https://registry.npmjs.org/@minecraft/vanilla-data/-/vanilla-data-1.20.10.tgz", + "integrity": "sha512-3FbbRSJspjJyk5eFPSj70wp776tIaqP3Apo2q2yCMkzBhH0iwPizl5aDer6ZwWBPiipGev9039Or2R9wyAplbg==" }, "@npm/types": { "version": "1.0.2", diff --git a/package.json b/package.json index 74af8179..885493c2 100644 --- a/package.json +++ b/package.json @@ -19,13 +19,9 @@ }, "homepage": "https://github.com/JaylyDev/ScriptAPI#readme", "dependencies": { - "@minecraft/server": "1.5.0-beta.1.20.20-preview.21", - "@minecraft/server-admin": "1.0.0-beta.1.20.20-preview.21", - "@minecraft/server-editor": "0.1.0-beta.1.20.20-preview.21", - "@minecraft/server-gametest": "1.0.0-beta.1.20.20-preview.21", - "@minecraft/server-net": "1.0.0-beta.1.20.20-preview.21", - "@minecraft/server-ui": "1.2.0-beta.1.20.20-preview.21", - "@minecraft/vanilla-data": "1.20.20-preview.21" + "@minecraft/server": "^1.3.0", + "@minecraft/server-ui": "^1.1.0", + "@minecraft/vanilla-data": "^1.20.10" }, "devDependencies": { "@npm/types": "^1.0.2", diff --git a/tsconfig-base.json b/tsconfig-base.json index c4428f8d..3a6a4c18 100644 --- a/tsconfig-base.json +++ b/tsconfig-base.json @@ -5,12 +5,8 @@ "moduleResolution": "classic", "allowSyntheticDefaultImports": true, "types": [ - "@minecraft/server-gametest", "@minecraft/server", "@minecraft/server-ui", - "@minecraft/server-admin", - "@minecraft/server-editor", - "@minecraft/server-net", "@minecraft/vanilla-data" ], "typeRoots": ["./node_modules/"],