bc-minecraft-project 1.0.20 → 1.19.40-1
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.
|
@@ -21,7 +21,7 @@ export declare namespace Definition {
|
|
|
21
21
|
function createEmpty(): Definition;
|
|
22
22
|
/** Checks if the given object implements the Defintion interface
|
|
23
23
|
* @param value The object to inspect
|
|
24
|
-
* @returns
|
|
24
|
+
* @returns Whether or not the object implements Definition*/
|
|
25
25
|
function is(value: any): value is Definition;
|
|
26
26
|
}
|
|
27
27
|
/**The interface for MCDefinitions*/
|
|
@@ -45,7 +45,7 @@ var Definition;
|
|
|
45
45
|
Definition.createEmpty = createEmpty;
|
|
46
46
|
/** Checks if the given object implements the Defintion interface
|
|
47
47
|
* @param value The object to inspect
|
|
48
|
-
* @returns
|
|
48
|
+
* @returns Whether or not the object implements Definition*/
|
|
49
49
|
function is(value) {
|
|
50
50
|
if (value) {
|
|
51
51
|
if (value.defined && Array.isArray(value.defined)) {
|
package/lib/src/Lib/project.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export declare namespace MCProject {
|
|
|
17
17
|
function createEmpty(): MCProject;
|
|
18
18
|
/**Checks wheter or not the given object implements MCProject
|
|
19
19
|
* @param value The object to inspect
|
|
20
|
-
* @returns
|
|
20
|
+
* @returns Whether or not the given object implements MCProject*/
|
|
21
21
|
function is(value: any): value is MCProject;
|
|
22
22
|
/**Loads from the given root folder the nesscary project files
|
|
23
23
|
* @param Source The root folder to retrieve files from
|
package/lib/src/Lib/project.js
CHANGED
|
@@ -20,7 +20,7 @@ var MCProject;
|
|
|
20
20
|
MCProject.createEmpty = createEmpty;
|
|
21
21
|
/**Checks wheter or not the given object implements MCProject
|
|
22
22
|
* @param value The object to inspect
|
|
23
|
-
* @returns
|
|
23
|
+
* @returns Whether or not the given object implements MCProject*/
|
|
24
24
|
function is(value) {
|
|
25
25
|
if (value) {
|
|
26
26
|
if (!(value.ignores && mcignore_1.MCIgnore.is(value.ignores)))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bc-minecraft-project",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.19.40-1",
|
|
4
4
|
"description": "A library that provides object and handling for minecraft projects",
|
|
5
5
|
"main": "./lib/src/main.js",
|
|
6
6
|
"types": "./lib/src/main.d.ts",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
],
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@types/chai": "^4.3.3",
|
|
42
|
-
"@types/mocha": "^
|
|
42
|
+
"@types/mocha": "^10.0.0",
|
|
43
43
|
"@types/node": "^18.7.16",
|
|
44
44
|
"chai": "^4.3.6",
|
|
45
45
|
"mocha": "^10.0.0",
|