indraq_cli 2.7.1 → 2.7.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.
Files changed (63) hide show
  1. package/cloud-api/dist/index.js +69 -0
  2. package/cloud-api/package.json +1 -1
  3. package/cloud-api/src/index.ts +42 -0
  4. package/dist/cli/help-content.d.ts.map +1 -1
  5. package/dist/cli/help-content.js +8 -5
  6. package/dist/cli/help-content.js.map +1 -1
  7. package/dist/modules/mobile/commands/build-mobile.command.d.ts +1 -0
  8. package/dist/modules/mobile/commands/build-mobile.command.d.ts.map +1 -1
  9. package/dist/modules/mobile/commands/build-mobile.command.js +39 -21
  10. package/dist/modules/mobile/commands/build-mobile.command.js.map +1 -1
  11. package/dist/modules/mobile/commands/mobile-build-wizard.command.d.ts +15 -0
  12. package/dist/modules/mobile/commands/mobile-build-wizard.command.d.ts.map +1 -0
  13. package/dist/modules/mobile/commands/mobile-build-wizard.command.js +134 -0
  14. package/dist/modules/mobile/commands/mobile-build-wizard.command.js.map +1 -0
  15. package/dist/modules/mobile/commands/mobile-environment.command.d.ts.map +1 -1
  16. package/dist/modules/mobile/commands/mobile-environment.command.js +4 -6
  17. package/dist/modules/mobile/commands/mobile-environment.command.js.map +1 -1
  18. package/dist/modules/mobile/commands/mobile-prebuild.command.d.ts +2 -0
  19. package/dist/modules/mobile/commands/mobile-prebuild.command.d.ts.map +1 -1
  20. package/dist/modules/mobile/commands/mobile-prebuild.command.js +4 -4
  21. package/dist/modules/mobile/commands/mobile-prebuild.command.js.map +1 -1
  22. package/dist/modules/mobile/commands/ota.command.d.ts +1 -0
  23. package/dist/modules/mobile/commands/ota.command.d.ts.map +1 -1
  24. package/dist/modules/mobile/commands/ota.command.js +37 -1
  25. package/dist/modules/mobile/commands/ota.command.js.map +1 -1
  26. package/dist/modules/mobile/config/mobile-config.d.ts +1 -0
  27. package/dist/modules/mobile/config/mobile-config.d.ts.map +1 -1
  28. package/dist/modules/mobile/config/mobile-config.js +6 -1
  29. package/dist/modules/mobile/config/mobile-config.js.map +1 -1
  30. package/dist/modules/mobile/index.d.ts.map +1 -1
  31. package/dist/modules/mobile/index.js +18 -1
  32. package/dist/modules/mobile/index.js.map +1 -1
  33. package/dist/modules/scopes/commands/scope.command.d.ts +2 -0
  34. package/dist/modules/scopes/commands/scope.command.d.ts.map +1 -1
  35. package/dist/modules/scopes/commands/scope.command.js +125 -3
  36. package/dist/modules/scopes/commands/scope.command.js.map +1 -1
  37. package/dist/modules/scopes/index.d.ts.map +1 -1
  38. package/dist/modules/scopes/index.js +1 -0
  39. package/dist/modules/scopes/index.js.map +1 -1
  40. package/dist/modules/scopes/services/native-scope-inspection.service.d.ts +10 -0
  41. package/dist/modules/scopes/services/native-scope-inspection.service.d.ts.map +1 -0
  42. package/dist/modules/scopes/services/native-scope-inspection.service.js +75 -0
  43. package/dist/modules/scopes/services/native-scope-inspection.service.js.map +1 -0
  44. package/dist/modules/scopes/services/scope-native.service.d.ts +2 -0
  45. package/dist/modules/scopes/services/scope-native.service.d.ts.map +1 -1
  46. package/dist/modules/scopes/services/scope-native.service.js +43 -5
  47. package/dist/modules/scopes/services/scope-native.service.js.map +1 -1
  48. package/dist/modules/users/providers/npm-user.provider.d.ts +11 -0
  49. package/dist/modules/users/providers/npm-user.provider.d.ts.map +1 -1
  50. package/dist/modules/users/providers/npm-user.provider.js +16 -1
  51. package/dist/modules/users/providers/npm-user.provider.js.map +1 -1
  52. package/docs/assets/architecture.png +0 -0
  53. package/docs/assets/architecture.svg +123 -0
  54. package/docs/assets/backend-mobile.png +0 -0
  55. package/docs/assets/backend-mobile.svg +97 -0
  56. package/docs/assets/cleanup.png +0 -0
  57. package/docs/assets/cleanup.svg +104 -0
  58. package/docs/assets/setup-flow.png +0 -0
  59. package/docs/assets/setup-flow.svg +95 -0
  60. package/docs/assets/web-deployment.png +0 -0
  61. package/docs/assets/web-deployment.svg +72 -0
  62. package/package.json +9 -4
  63. package/README.md +0 -778
@@ -0,0 +1,72 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
3
+ "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
+ <!-- Generated by graphviz version 2.42.4 (0)
5
+ -->
6
+ <!-- Title: G Pages: 1 -->
7
+ <svg width="733pt" height="158pt"
8
+ viewBox="0.00 0.00 732.56 157.56" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
9
+ <g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(17.28 140.28)">
10
+ <title>G</title>
11
+ <!-- source -->
12
+ <g id="node1" class="node">
13
+ <title>source</title>
14
+ <path fill="#e9f3ff" stroke="#dce3f1" stroke-width="1.1" d="M98,-85C98,-85 12,-85 12,-85 6,-85 0,-79 0,-73 0,-73 0,-49 0,-49 0,-43 6,-37 12,-37 12,-37 98,-37 98,-37 104,-37 110,-43 110,-49 110,-49 110,-73 110,-73 110,-79 104,-85 98,-85"/>
15
+ <text text-anchor="middle" x="55" y="-64.4" font-family="Arial" font-size="12.00" fill="#223047">Local source</text>
16
+ <text text-anchor="middle" x="55" y="-51.4" font-family="Arial" font-size="12.00" fill="#223047">Component(s)</text>
17
+ </g>
18
+ <!-- build -->
19
+ <g id="node2" class="node">
20
+ <title>build</title>
21
+ <path fill="#ede9fe" stroke="#a78bfa" stroke-width="1.1" d="M276,-79C276,-79 163,-79 163,-79 157,-79 151,-73 151,-67 151,-67 151,-55 151,-55 151,-49 157,-43 163,-43 163,-43 276,-43 276,-43 282,-43 288,-49 288,-55 288,-55 288,-67 288,-67 288,-73 282,-79 276,-79"/>
22
+ <text text-anchor="middle" x="219.5" y="-57.9" font-family="Arial" font-size="12.00" fill="#223047">Build image ONCE</text>
23
+ </g>
24
+ <!-- source&#45;&gt;build -->
25
+ <g id="edge1" class="edge">
26
+ <title>source&#45;&gt;build</title>
27
+ <path fill="none" stroke="#64748b" stroke-width="1.5" d="M110.11,-61C120.89,-61 132.39,-61 143.72,-61"/>
28
+ <polygon fill="#64748b" stroke="#64748b" stroke-width="1.5" points="143.75,-63.45 150.75,-61 143.75,-58.55 143.75,-63.45"/>
29
+ </g>
30
+ <!-- ghcr -->
31
+ <g id="node3" class="node">
32
+ <title>ghcr</title>
33
+ <path fill="#e0f2fe" stroke="#dce3f1" stroke-width="1.1" d="M464,-85C464,-85 341,-85 341,-85 335,-85 329,-79 329,-73 329,-73 329,-49 329,-49 329,-43 335,-37 341,-37 341,-37 464,-37 464,-37 470,-37 476,-43 476,-49 476,-49 476,-73 476,-73 476,-79 470,-85 464,-85"/>
34
+ <text text-anchor="middle" x="402.5" y="-64.4" font-family="Arial" font-size="12.00" fill="#223047">Push to GHCR</text>
35
+ <text text-anchor="middle" x="402.5" y="-51.4" font-family="Arial" font-size="12.00" fill="#223047">Get immutable digest</text>
36
+ </g>
37
+ <!-- build&#45;&gt;ghcr -->
38
+ <g id="edge2" class="edge">
39
+ <title>build&#45;&gt;ghcr</title>
40
+ <path fill="none" stroke="#64748b" stroke-width="1.5" d="M288.16,-61C299.03,-61 310.37,-61 321.5,-61"/>
41
+ <polygon fill="#64748b" stroke="#64748b" stroke-width="1.5" points="321.77,-63.45 328.77,-61 321.77,-58.55 321.77,-63.45"/>
42
+ </g>
43
+ <!-- primary -->
44
+ <g id="node4" class="node">
45
+ <title>primary</title>
46
+ <path fill="#dcfce7" stroke="#dce3f1" stroke-width="1.1" d="M678,-123C678,-123 590,-123 590,-123 584,-123 578,-117 578,-111 578,-111 578,-87 578,-87 578,-81 584,-75 590,-75 590,-75 678,-75 678,-75 684,-75 690,-81 690,-87 690,-87 690,-111 690,-111 690,-117 684,-123 678,-123"/>
47
+ <text text-anchor="middle" x="634" y="-102.4" font-family="Arial" font-size="12.00" fill="#223047">Jenkins A</text>
48
+ <text text-anchor="middle" x="634" y="-89.4" font-family="Arial" font-size="12.00" fill="#223047">Primary server</text>
49
+ </g>
50
+ <!-- ghcr&#45;&gt;primary -->
51
+ <g id="edge3" class="edge">
52
+ <title>ghcr&#45;&gt;primary</title>
53
+ <path fill="none" stroke="#64748b" stroke-width="1.5" d="M476.12,-73.02C506.63,-78.08 541.76,-83.89 571.03,-88.74"/>
54
+ <polygon fill="#64748b" stroke="#64748b" stroke-width="1.5" points="570.65,-91.16 577.96,-89.89 571.45,-86.33 570.65,-91.16"/>
55
+ <text text-anchor="middle" x="523" y="-87" font-family="Arial" font-size="10.00" fill="#475569">same digest</text>
56
+ </g>
57
+ <!-- replica -->
58
+ <g id="node5" class="node">
59
+ <title>replica</title>
60
+ <path fill="#dcfce7" stroke="#dce3f1" stroke-width="1.1" d="M686,-48C686,-48 582,-48 582,-48 576,-48 570,-42 570,-36 570,-36 570,-12 570,-12 570,-6 576,0 582,0 582,0 686,0 686,0 692,0 698,-6 698,-12 698,-12 698,-36 698,-36 698,-42 692,-48 686,-48"/>
61
+ <text text-anchor="middle" x="634" y="-27.4" font-family="Arial" font-size="12.00" fill="#223047">Jenkins B</text>
62
+ <text text-anchor="middle" x="634" y="-14.4" font-family="Arial" font-size="12.00" fill="#223047">Secondary server</text>
63
+ </g>
64
+ <!-- ghcr&#45;&gt;replica -->
65
+ <g id="edge4" class="edge">
66
+ <title>ghcr&#45;&gt;replica</title>
67
+ <path fill="none" stroke="#64748b" stroke-width="1.5" d="M476.12,-49.29C503.72,-44.84 535.1,-39.78 562.51,-35.36"/>
68
+ <polygon fill="#64748b" stroke="#64748b" stroke-width="1.5" points="563.24,-37.73 569.76,-34.2 562.46,-32.89 563.24,-37.73"/>
69
+ <text text-anchor="middle" x="523" y="-48" font-family="Arial" font-size="10.00" fill="#475569">same digest</text>
70
+ </g>
71
+ </g>
72
+ </svg>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "indraq_cli",
3
- "version": "2.7.1",
3
+ "version": "2.7.3",
4
4
  "description": "IndraQ engineering CLI for simple web/mobile setup, Jenkins deployment, GitHub Packages, infrastructure and OTA updates",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -13,7 +13,7 @@
13
13
  "dev": "ts-node src/index.ts",
14
14
  "watch": "nodemon --exec ts-node src/index.ts",
15
15
  "build:cloud": "npm --prefix cloud-api install --no-audit --no-fund && npm --prefix cloud-api run build",
16
- "test": "npm run test:cloud-endpoint && npm run test:user-credentials && npm run test:infrastructure && npm run test:platform && npm run test:project-access && npm run test:project-create && npm run test:jenkins-crumb && npm run test:jenkins-port && npm run test:prebuild && npm run test:docker-context && npm run test:identity-security && npm run test:user-lifecycle-jenkins && npm run test:v2-lifecycle && npm run test:v21-scopes && npm run test:v22 && npm run test:v221 && npm run test:v222 && npm run test:v222-runtime && npm run test:v223 && npm run test:v224 && npm run test:v225 && npm run test:v226 && npm run test:v230 && npm run test:v240 && npm run test:v250 && npm run test:v260 && npm run test:v270 && npm run test:v271",
16
+ "test": "npm run test:cloud-endpoint && npm run test:user-credentials && npm run test:infrastructure && npm run test:platform && npm run test:project-access && npm run test:project-create && npm run test:jenkins-crumb && npm run test:jenkins-port && npm run test:prebuild && npm run test:docker-context && npm run test:identity-security && npm run test:user-lifecycle-jenkins && npm run test:v2-lifecycle && npm run test:v21-scopes && npm run test:v22 && npm run test:v221 && npm run test:v222 && npm run test:v222-runtime && npm run test:v223 && npm run test:v224 && npm run test:v225 && npm run test:v226 && npm run test:v230 && npm run test:v240 && npm run test:v250 && npm run test:v260 && npm run test:v270 && npm run test:v271 && npm run test:v272 && npm run test:v273",
17
17
  "test:user-credentials": "node tests/cloud-user-credential-regression.cjs",
18
18
  "test:prebuild": "node tests/prebuild-cloud-regression.cjs",
19
19
  "test:jenkins-port": "node tests/jenkins-port-regression.cjs",
@@ -41,7 +41,9 @@
41
41
  "test:v250": "node tests/v250-setup-reliability-regression.cjs && node tests/v250-jenkins-recovery-runtime.cjs",
42
42
  "test:v260": "node tests/v260-combined-cleanup-regression.cjs",
43
43
  "test:v270": "node tests/v270-scope-routing-regression.cjs",
44
- "test:v271": "node tests/v271-combined-jsonc-regression.cjs"
44
+ "test:v271": "node tests/v271-combined-jsonc-regression.cjs",
45
+ "test:v272": "node tests/v272-mobile-build-wizard-regression.cjs",
46
+ "test:v273": "node tests/v273-live-scope-ota-regression.cjs"
45
47
  },
46
48
  "keywords": [
47
49
  "indraq",
@@ -120,7 +122,10 @@
120
122
  "TEST_RESULTS_v2.6.0.txt",
121
123
  "CHANGELOG_v2.7.1.md",
122
124
  "TEST_RESULTS_v2.7.1.txt",
123
- "RELEASE_CHECKS_v2.7.1.md"
125
+ "RELEASE_CHECKS_v2.7.1.md",
126
+ "CHANGELOG_v2.7.2.md",
127
+ "RELEASE_CHECKS_v2.7.2.md",
128
+ "TEST_RESULTS_v2.7.2.txt"
124
129
  ],
125
130
  "publishConfig": {
126
131
  "access": "public",