@nanoforge-dev/schematics 2.1.2 → 2.1.3

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.
@@ -53,14 +53,14 @@
53
53
  "components": [
54
54
  {
55
55
  "name": "ExampleComponent",
56
- "path": "./components/example.component",
56
+ "path": "./components/example.component.js",
57
57
  "paramsNames": ["paramA", "paramB", "paramC"]
58
58
  }
59
59
  ],
60
60
  "systems": [
61
61
  {
62
62
  "name": "exampleSystem",
63
- "path": "./systems/example.system"
63
+ "path": "./systems/example.system.js"
64
64
  }
65
65
  ],
66
66
  "entities": [
@@ -25,14 +25,14 @@
25
25
  "components": [
26
26
  {
27
27
  "name": "ExampleComponent",
28
- "path": "./components/example.component",
28
+ "path": "./components/example.component.js",
29
29
  "paramsNames": ["paramA", "paramB", "paramC"]
30
30
  }
31
31
  ],
32
32
  "systems": [
33
33
  {
34
34
  "name": "exampleSystem",
35
- "path": "./systems/example.system"
35
+ "path": "./systems/example.system.js"
36
36
  }
37
37
  ],
38
38
  "entities": [
@@ -47,32 +47,26 @@ export const EDITOR_COMPONENT_MANIFEST = {
47
47
  name: "Example",
48
48
  description: "Example component description",
49
49
  params: [
50
- [
51
- {
52
- type: "string",
53
- name: "paramA",
54
- description: "Param A description",
55
- example: "Example value",
56
- },
57
- ],
58
- [
59
- {
60
- type: "number",
61
- name: "paramB",
62
- description: "Param B description",
63
- example: 3,
64
- },
65
- ],
66
- [
67
- {
68
- type: "boolean",
69
- name: "paramC",
70
- description: "Param C description",
71
- example: true,
72
- default: false,
73
- // Not required because it has a default value
74
- optional: true,
75
- },
76
- ],
50
+ {
51
+ type: "string",
52
+ name: "paramA",
53
+ description: "Param A description",
54
+ example: "Example value",
55
+ },
56
+ {
57
+ type: "number",
58
+ name: "paramB",
59
+ description: "Param B description",
60
+ example: 3,
61
+ },
62
+ {
63
+ type: "boolean",
64
+ name: "paramC",
65
+ description: "Param C description",
66
+ example: true,
67
+ default: false,
68
+ // Not required because it has a default value
69
+ optional: true,
70
+ },
77
71
  ],
78
72
  };
@@ -53,14 +53,14 @@
53
53
  "components": [
54
54
  {
55
55
  "name": "ExampleComponent",
56
- "path": "./components/example.component",
56
+ "path": "./components/example.component.ts",
57
57
  "paramsNames": ["paramA", "paramB", "paramC"]
58
58
  }
59
59
  ],
60
60
  "systems": [
61
61
  {
62
62
  "name": "exampleSystem",
63
- "path": "./systems/example.system"
63
+ "path": "./systems/example.system.ts"
64
64
  }
65
65
  ],
66
66
  "entities": [
@@ -25,14 +25,14 @@
25
25
  "components": [
26
26
  {
27
27
  "name": "ExampleComponent",
28
- "path": "./components/example.component",
28
+ "path": "./components/example.component.ts",
29
29
  "paramsNames": ["paramA", "paramB", "paramC"]
30
30
  }
31
31
  ],
32
32
  "systems": [
33
33
  {
34
34
  "name": "exampleSystem",
35
- "path": "./systems/example.system"
35
+ "path": "./systems/example.system.ts"
36
36
  }
37
37
  ],
38
38
  "entities": [
@@ -30,32 +30,26 @@ export const EDITOR_COMPONENT_MANIFEST: EditorComponentManifest = {
30
30
  name: "Example",
31
31
  description: "Example component description",
32
32
  params: [
33
- [
34
- {
35
- type: "string",
36
- name: "paramA",
37
- description: "Param A description",
38
- example: "Example value",
39
- },
40
- ],
41
- [
42
- {
43
- type: "number",
44
- name: "paramB",
45
- description: "Param B description",
46
- example: 3,
47
- },
48
- ],
49
- [
50
- {
51
- type: "boolean",
52
- name: "paramC",
53
- description: "Param C description",
54
- example: true,
55
- default: false,
56
- // Not required because it has a default value
57
- optional: true,
58
- },
59
- ],
33
+ {
34
+ type: "string",
35
+ name: "paramA",
36
+ description: "Param A description",
37
+ example: "Example value",
38
+ },
39
+ {
40
+ type: "number",
41
+ name: "paramB",
42
+ description: "Param B description",
43
+ example: 3,
44
+ },
45
+ {
46
+ type: "boolean",
47
+ name: "paramC",
48
+ description: "Param C description",
49
+ example: true,
50
+ default: false,
51
+ // Not required because it has a default value
52
+ optional: true,
53
+ },
60
54
  ],
61
55
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@nanoforge-dev/schematics",
4
- "version": "2.1.2",
4
+ "version": "2.1.3",
5
5
  "description": "NanoForge Schematics",
6
6
  "keywords": [
7
7
  "nanoforge",