@minecraft/debug-utilities 1.0.0-beta.1.20.70-preview.20

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/.eslintrc.json ADDED
@@ -0,0 +1,23 @@
1
+ {
2
+ "env": {
3
+ "browser": true,
4
+ "es2021": true
5
+ },
6
+ "extends": [
7
+ "eslint:recommended",
8
+ "plugin:@typescript-eslint/recommended"
9
+ ],
10
+ "overrides": [
11
+ ],
12
+ "parser": "@typescript-eslint/parser",
13
+ "parserOptions": {
14
+ "ecmaVersion": "latest",
15
+ "sourceType": "module"
16
+ },
17
+ "plugins": [
18
+ "@typescript-eslint"
19
+ ],
20
+ "rules": {
21
+ "@typescript-eslint/no-explicit-any": "off"
22
+ }
23
+ }
package/README.md ADDED
@@ -0,0 +1,7 @@
1
+ # `@minecraft/debug-utilities`
2
+
3
+ ## **NOTE: This version of this module is still in pre-release. It may change or it may be removed in future releases.**
4
+
5
+ See full documentation for this module here:
6
+
7
+ https://learn.microsoft.com/en-us/minecraft/creator/scriptapi/minecraft/debug-utilities/minecraft-debug-utilities
package/index.d.ts ADDED
@@ -0,0 +1,27 @@
1
+ // Type definitions for Minecraft Bedrock Edition script APIs
2
+ // Project: https://docs.microsoft.com/minecraft/creator/
3
+ // Definitions by: Jake Shirley <https://github.com/JakeShirley>
4
+ // Mike Ammerlaan <https://github.com/mammerla>
5
+
6
+ /* *****************************************************************************
7
+ Copyright (c) Microsoft Corporation.
8
+ ***************************************************************************** */
9
+ /**
10
+ * @beta
11
+ * @packageDocumentation
12
+ *
13
+ * Manifest Details
14
+ * ```json
15
+ * {
16
+ * "module_name": "@minecraft/debug-utilities",
17
+ * "version": "1.0.0-beta.1.20.70-preview.20"
18
+ * }
19
+ * ```
20
+ *
21
+ */
22
+ import * as minecraftcommon from '@minecraft/common';
23
+ import * as minecraftserver from '@minecraft/server';
24
+ /**
25
+ * @throws This function can throw errors.
26
+ */
27
+ export function disableWatchdog(isStopped: boolean): void;
package/package.json ADDED
@@ -0,0 +1,20 @@
1
+ {
2
+ "name": "@minecraft/debug-utilities",
3
+ "version": "1.0.0-beta.1.20.70-preview.20",
4
+ "description": "",
5
+ "contributors": [
6
+ {
7
+ "name": "Jake Shirley",
8
+ "email": "jake@xbox.com"
9
+ },
10
+ {
11
+ "name": "Mike Ammerlaan",
12
+ "email": "mikeam@microsoft.com"
13
+ }
14
+ ],
15
+ "dependencies": {
16
+ "@minecraft/common": "^1.0.0",
17
+ "@minecraft/server": "^1.8.0-rc.1.20.70-preview.20"
18
+ },
19
+ "license": "MIT"
20
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,20 @@
1
+ {
2
+ "compilerOptions": {
3
+ "module": "commonjs",
4
+ "lib": ["es6"],
5
+ "target": "es6",
6
+ "forceConsistentCasingInFileNames": true,
7
+ "noEmit": true,
8
+ "noImplicitAny": true,
9
+ "noImplicitThis": true,
10
+ "strictFunctionTypes": true,
11
+ "strictNullChecks": true,
12
+ "baseUrl": "../",
13
+ "typeRoots": ["../"],
14
+ "types": []
15
+ },
16
+ "files": [
17
+ "index.d.ts",
18
+ "tests.ts"
19
+ ]
20
+ }