@nanoforge-dev/schematics 1.2.1 → 2.0.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.
Files changed (31) hide show
  1. package/dist/index.cjs +2 -34
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.d.cts +1 -26
  4. package/dist/index.d.ts +1 -26
  5. package/dist/index.js +1 -30
  6. package/dist/index.js.map +1 -1
  7. package/dist/libs/application/application.factory.d.ts +5 -0
  8. package/dist/libs/application/application.factory.js +6 -3
  9. package/dist/libs/application/application.factory.js.map +1 -1
  10. package/dist/libs/application/files/js/package.json.template +2 -1
  11. package/dist/libs/application/files/ts/package.json.template +2 -1
  12. package/dist/libs/application/schema.json +6 -5
  13. package/dist/libs/configuration/configuration.factory.d.ts +8 -3
  14. package/dist/libs/configuration/configuration.factory.js +32 -49
  15. package/dist/libs/configuration/configuration.factory.js.map +1 -1
  16. package/dist/libs/configuration/schema.json +9 -8
  17. package/dist/libs/docker/docker.factory.d.ts +2 -7
  18. package/dist/libs/docker/docker.factory.js +2 -24
  19. package/dist/libs/docker/docker.factory.js.map +1 -1
  20. package/dist/libs/docker/files/.dockerignore +1 -1
  21. package/dist/libs/docker/files/Dockerfile +10 -24
  22. package/dist/libs/docker/schema.json +4 -13
  23. package/dist/libs/part-base/part-base.factory.d.ts +5 -10
  24. package/dist/libs/part-base/part-base.factory.js +6 -34
  25. package/dist/libs/part-base/part-base.factory.js.map +1 -1
  26. package/dist/libs/part-base/schema.json +4 -12
  27. package/dist/libs/part-main/part-main.factory.d.ts +14 -9
  28. package/dist/libs/part-main/part-main.factory.js +83 -61
  29. package/dist/libs/part-main/part-main.factory.js.map +1 -1
  30. package/dist/libs/part-main/schema.json +13 -12
  31. package/package.json +1 -1
@@ -4,24 +4,16 @@
4
4
  "title": "NanoForge Part Main Options Schema",
5
5
  "type": "object",
6
6
  "properties": {
7
- "name": {
7
+ "directory": {
8
8
  "type": "string",
9
- "description": "The name of the application",
10
- "$default": {
11
- "$source": "argv",
12
- "index": 0
13
- },
14
- "x-prompt": "What name would you like to use for the new project ?"
9
+ "description": "NanoForge application destination directory",
10
+ "default": "."
15
11
  },
16
12
  "part": {
17
13
  "type": "string",
18
14
  "enum": ["client", "server"],
19
15
  "description": "The part of the application to generate"
20
16
  },
21
- "directory": {
22
- "type": "string",
23
- "description": "NanoForge application destination directory"
24
- },
25
17
  "language": {
26
18
  "type": "string",
27
19
  "enum": ["ts", "js"],
@@ -36,7 +28,16 @@
36
28
  "saveFile": {
37
29
  "type": "string",
38
30
  "description": "Save file path with components and systems in JSON format"
31
+ },
32
+ "outFile": {
33
+ "type": "string",
34
+ "description": "Path of the out file"
35
+ },
36
+ "editor": {
37
+ "type": "boolean",
38
+ "description": "Build main editor",
39
+ "default": false
39
40
  }
40
41
  },
41
- "required": ["name", "part"]
42
+ "required": ["part"]
42
43
  }
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": "1.2.1",
4
+ "version": "2.0.0",
5
5
  "description": "NanoForge Schematics",
6
6
  "keywords": [
7
7
  "nanoforge",