@interopio/iocd-cli 0.0.38 → 0.0.40

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 (87) hide show
  1. package/README.md +780 -758
  2. package/dist/cli.js +0 -1
  3. package/dist/cli.js.map +1 -1
  4. package/dist/commands/setup.command.js +1 -7
  5. package/dist/commands/setup.command.js.map +1 -1
  6. package/dist/services/installer/electronForge.js +5 -3
  7. package/dist/services/installer/electronForge.js.map +1 -1
  8. package/dist/services/installer/macOS.helper.js +0 -1
  9. package/dist/services/installer/macOS.helper.js.map +1 -1
  10. package/dist/services/license.service.js +14 -14
  11. package/dist/templates/groups/apps/groups/.gitignore.template +23 -23
  12. package/dist/templates/groups/apps/groups/README.md +15 -15
  13. package/dist/templates/groups/apps/groups/config/web-group-dev.json +12 -12
  14. package/dist/templates/groups/apps/groups/index.html +17 -17
  15. package/dist/templates/groups/apps/groups/iocd.app.json +19 -19
  16. package/dist/templates/groups/apps/groups/package.json +25 -25
  17. package/dist/templates/groups/apps/groups/public/manifest.json +24 -24
  18. package/dist/templates/groups/apps/groups/public/robots.txt +3 -3
  19. package/dist/templates/groups/apps/groups/src/App.css +38 -38
  20. package/dist/templates/groups/apps/groups/src/App.tsx +11 -11
  21. package/dist/templates/groups/apps/groups/src/index.css +13 -13
  22. package/dist/templates/groups/apps/groups/src/index.tsx +19 -19
  23. package/dist/templates/groups/apps/groups/vite.config.ts +8 -8
  24. package/dist/templates/groups/template.json +12 -12
  25. package/dist/templates/ioconnect-desktop/.github/actions/setup-smctl/action.yml +121 -121
  26. package/dist/templates/ioconnect-desktop/.github/workflows/build.yml +395 -395
  27. package/dist/templates/ioconnect-desktop/.gitignore.template +15 -15
  28. package/dist/templates/ioconnect-desktop/README.md +780 -758
  29. package/dist/templates/ioconnect-desktop/config/forge.config.js +59 -59
  30. package/dist/templates/ioconnect-desktop/config/iocd.cli.config.json +16 -16
  31. package/dist/templates/ioconnect-desktop/config/mac-build/entitlements.mac.plist +44 -44
  32. package/dist/templates/ioconnect-desktop/config/win-build/template.nuspectemplate +32 -32
  33. package/dist/templates/ioconnect-desktop/modifications/base/iocd/config/system.json.merge +2 -2
  34. package/dist/templates/ioconnect-desktop/modifications/base/iocd/config/system.json.merge-autoUpdate +9 -9
  35. package/dist/templates/ioconnect-desktop/package.json +33 -32
  36. package/dist/templates/ioconnect-desktop/template.json +6 -6
  37. package/dist/templates/launchpad/apps/launchpad/.eslintrc.json +3 -3
  38. package/dist/templates/launchpad/apps/launchpad/.gitignore.template +1 -1
  39. package/dist/templates/launchpad/apps/launchpad/config/iocd.app.def.dev.json +56 -56
  40. package/dist/templates/launchpad/apps/launchpad/config/iocd.system.build.json +2 -2
  41. package/dist/templates/launchpad/apps/launchpad/config/iocd.system.dev.json +2 -2
  42. package/dist/templates/launchpad/apps/launchpad/index.html +16 -16
  43. package/dist/templates/launchpad/apps/launchpad/iocd.app.json +27 -27
  44. package/dist/templates/launchpad/apps/launchpad/package-lock.json +2778 -2778
  45. package/dist/templates/launchpad/apps/launchpad/package.json +21 -21
  46. package/dist/templates/launchpad/apps/launchpad/src/app/app.tsx +41 -41
  47. package/dist/templates/launchpad/apps/launchpad/src/app/constants.ts +27 -27
  48. package/dist/templates/launchpad/apps/launchpad/src/components/logo.tsx +11 -11
  49. package/dist/templates/launchpad/apps/launchpad/src/components/main-context-menu.tsx +161 -161
  50. package/dist/templates/launchpad/apps/launchpad/src/components/notifications-button.tsx +44 -44
  51. package/dist/templates/launchpad/apps/launchpad/src/main.tsx +6 -6
  52. package/dist/templates/launchpad/apps/launchpad/src/styles.css +16 -16
  53. package/dist/templates/launchpad/apps/launchpad/tsconfig.json +10 -10
  54. package/dist/templates/launchpad/apps/launchpad/vite.config.ts +13 -13
  55. package/dist/templates/launchpad/template.json +12 -12
  56. package/dist/templates/splash/apps/splash/assets/styles/style.css +39 -39
  57. package/dist/templates/splash/apps/splash/iocd.app.json +7 -7
  58. package/dist/templates/splash/apps/splash/script.js +53 -53
  59. package/dist/templates/splash/apps/splash/splash.html +25 -25
  60. package/dist/templates/splash/template.json +12 -12
  61. package/dist/templates/tests/template.json +8 -8
  62. package/dist/templates/tests/tests/package-lock.json +7289 -7289
  63. package/dist/templates/tests/tests/package.json +22 -22
  64. package/dist/templates/tests/tests/tests/sample.spec.ts +30 -30
  65. package/dist/templates/tests/tests/tsconfig.json +10 -10
  66. package/dist/templates/tests/tests/wdio.config.ts +32 -32
  67. package/dist/templates/workspaces/apps/workspaces/README.md +15 -15
  68. package/dist/templates/workspaces/apps/workspaces/config/workspaces-dev.json +20 -20
  69. package/dist/templates/workspaces/apps/workspaces/index.html +17 -17
  70. package/dist/templates/workspaces/apps/workspaces/iocd.app.json +19 -19
  71. package/dist/templates/workspaces/apps/workspaces/package.json +29 -29
  72. package/dist/templates/workspaces/apps/workspaces/public/manifest.json +25 -25
  73. package/dist/templates/workspaces/apps/workspaces/public/robots.txt +3 -3
  74. package/dist/templates/workspaces/apps/workspaces/src/App.css +38 -38
  75. package/dist/templates/workspaces/apps/workspaces/src/App.tsx +102 -102
  76. package/dist/templates/workspaces/apps/workspaces/src/index.css +3 -3
  77. package/dist/templates/workspaces/apps/workspaces/src/index.tsx +28 -28
  78. package/dist/templates/workspaces/apps/workspaces/src/logo.svg +7 -7
  79. package/dist/templates/workspaces/apps/workspaces/src/reportWebVitals.ts +15 -15
  80. package/dist/templates/workspaces/apps/workspaces/src/setupTests.ts +5 -5
  81. package/dist/templates/workspaces/apps/workspaces/vite.config.ts +8 -8
  82. package/dist/templates/workspaces/template.json +12 -12
  83. package/package.json +83 -83
  84. package/scripts/copy-assets.js +19 -19
  85. package/scripts/delete-dist.js +12 -12
  86. package/scripts/generate-schema.js +50 -50
  87. package/scripts/handle-gitignore-templates.js +157 -157
@@ -1,17 +1,17 @@
1
- /* You can add global styles to this file, and also import other style files */
2
- .launchpad-header-notifications-button {
3
- position: relative;
4
- }
5
-
6
- .launchpad-header-notifications-button .io-badge {
7
- position: absolute;
8
- top: 7px;
9
- right: -2px;
10
- display: flex;
11
- align-items: center;
12
- justify-content: center;
13
- min-width: var(--spacing-16);
14
- height: var(--spacing-16);
15
- margin: calc(var(--spacing-10) * -1) auto 0 calc(var(--spacing-4) * -1);
16
- font-size: var(--spacing-10);
1
+ /* You can add global styles to this file, and also import other style files */
2
+ .launchpad-header-notifications-button {
3
+ position: relative;
4
+ }
5
+
6
+ .launchpad-header-notifications-button .io-badge {
7
+ position: absolute;
8
+ top: 7px;
9
+ right: -2px;
10
+ display: flex;
11
+ align-items: center;
12
+ justify-content: center;
13
+ min-width: var(--spacing-16);
14
+ height: var(--spacing-16);
15
+ margin: calc(var(--spacing-10) * -1) auto 0 calc(var(--spacing-4) * -1);
16
+ font-size: var(--spacing-10);
17
17
  }
@@ -1,10 +1,10 @@
1
- {
2
- "compilerOptions": {
3
- "jsx": "react-jsx",
4
- "esModuleInterop": true,
5
- "resolveJsonModule": true,
6
- "allowJs": false,
7
- "allowSyntheticDefaultImports": true,
8
- "strict": true
9
- }
10
- }
1
+ {
2
+ "compilerOptions": {
3
+ "jsx": "react-jsx",
4
+ "esModuleInterop": true,
5
+ "resolveJsonModule": true,
6
+ "allowJs": false,
7
+ "allowSyntheticDefaultImports": true,
8
+ "strict": true
9
+ }
10
+ }
@@ -1,13 +1,13 @@
1
- import { defineConfig } from "vite";
2
- import react from "@vitejs/plugin-react";
3
- import EnvironmentPlugin from "vite-plugin-environment";
4
-
5
- export default defineConfig({
6
- server: {
7
- port: 5178,
8
- host: "localhost"
9
- },
10
- base: "./",
11
- plugins: [react(), EnvironmentPlugin("all")]
12
- });
13
-
1
+ import { defineConfig } from "vite";
2
+ import react from "@vitejs/plugin-react";
3
+ import EnvironmentPlugin from "vite-plugin-environment";
4
+
5
+ export default defineConfig({
6
+ server: {
7
+ port: 5178,
8
+ host: "localhost"
9
+ },
10
+ base: "./",
11
+ plugins: [react(), EnvironmentPlugin("all")]
12
+ });
13
+
@@ -1,12 +1,12 @@
1
- {
2
- "name": "launchpad",
3
- "displayName": "Launchpad",
4
- "description": "Adds custom application launchpad interface to io.Connect Desktop",
5
- "version": "1.0.0",
6
- "type": "application",
7
- "setupUI": {
8
- "text": "Add a custom launchpad",
9
- "separate": false,
10
- "selected": false
11
- }
12
- }
1
+ {
2
+ "name": "launchpad",
3
+ "displayName": "Launchpad",
4
+ "description": "Adds custom application launchpad interface to io.Connect Desktop",
5
+ "version": "1.0.0",
6
+ "type": "application",
7
+ "setupUI": {
8
+ "text": "Add a custom launchpad",
9
+ "separate": false,
10
+ "selected": false
11
+ }
12
+ }
@@ -1,39 +1,39 @@
1
- @font-face {
2
- font-weight: 400;
3
- font-family: "Inter";
4
- font-style: normal;
5
- src: url("../fonts/Inter-Regular.ttf") format("truetype");
6
- }
7
-
8
- body {
9
- font-size: 13px;
10
- color: #B0B2B5;
11
- margin: 0;
12
- padding: 0;
13
- clear: both;
14
- overflow: hidden;
15
- user-select: none;
16
- font-family: "Inter", "Poppins", Arial, Helvetica, sans-serif;
17
- }
18
-
19
- .splash-wrapper {
20
- width: 750px;
21
- height: 500px;
22
- box-sizing: border-box;
23
- display: flex;
24
- flex-direction: column;
25
- padding: 24px;
26
- background-color: #23272A; /* Fallback color */
27
- background: url("../images/splash-background.png") no-repeat center center;
28
- background-size: 100%;
29
- }
30
-
31
- .version {
32
- font-size: 14px;
33
- margin: 40px 0 0 84px;
34
- }
35
-
36
- .copyright {
37
- margin: auto 0 10px 0;
38
- }
39
-
1
+ @font-face {
2
+ font-weight: 400;
3
+ font-family: "Inter";
4
+ font-style: normal;
5
+ src: url("../fonts/Inter-Regular.ttf") format("truetype");
6
+ }
7
+
8
+ body {
9
+ font-size: 13px;
10
+ color: #B0B2B5;
11
+ margin: 0;
12
+ padding: 0;
13
+ clear: both;
14
+ overflow: hidden;
15
+ user-select: none;
16
+ font-family: "Inter", "Poppins", Arial, Helvetica, sans-serif;
17
+ }
18
+
19
+ .splash-wrapper {
20
+ width: 750px;
21
+ height: 500px;
22
+ box-sizing: border-box;
23
+ display: flex;
24
+ flex-direction: column;
25
+ padding: 24px;
26
+ background-color: #23272A; /* Fallback color */
27
+ background: url("../images/splash-background.png") no-repeat center center;
28
+ background-size: 100%;
29
+ }
30
+
31
+ .version {
32
+ font-size: 14px;
33
+ margin: 40px 0 0 84px;
34
+ }
35
+
36
+ .copyright {
37
+ margin: auto 0 10px 0;
38
+ }
39
+
@@ -1,8 +1,8 @@
1
- {
2
- "base": [
3
- {
4
- "source": "./",
5
- "destination": "/modifications/base/iocd/assets/splash"
6
- }
7
- ]
1
+ {
2
+ "base": [
3
+ {
4
+ "source": "./",
5
+ "destination": "/modifications/base/iocd/assets/splash"
6
+ }
7
+ ]
8
8
  }
@@ -1,53 +1,53 @@
1
- glue42splash.on("updateStatus", (arg) => {
2
- updateStatus(arg.text);
3
- });
4
-
5
- glue42splash.on("pingGW", (arg) => {
6
- const gwURL = arg.gwURL;
7
-
8
- const retry = () => {
9
- console.log(`testing connectivity to ${gwURL}`);
10
-
11
- const webSocket = new WebSocket(gwURL);
12
- console.log(webSocket);
13
-
14
- webSocket.onopen = () => {
15
- console.log(`received open from GW on ${gwURL} - resolving...`);
16
- webSocket.close();
17
- };
18
-
19
- webSocket.onerror = (err) => {
20
- console.log(`received error from GW on ${gwURL} - will retry`, err);
21
- setTimeout(() => {
22
- retry();
23
- }, 500);
24
- };
25
- };
26
-
27
- retry();
28
- });
29
-
30
- document.addEventListener("DOMContentLoaded", function (event) {
31
- // copyright
32
- const copyright = document.getElementById("copyright");
33
- const year = new Date().getFullYear();
34
- copyright.innerHTML = `© ${year} ${copyright.innerHTML}`;
35
-
36
- // parse url params - splash.html?message=Starting&env=DEMO&region=INTEROP.IO&version=9.0.0.25
37
- const urlParams = new URLSearchParams(window.location.search);
38
- const message = urlParams.get("message");
39
- updateStatus(message);
40
- const version = urlParams.get("version");
41
- if (version) {
42
- const env = urlParams.get("env");
43
- const region = urlParams.get("region");
44
- const status = document.getElementById("version");
45
- status.innerHTML = `${version} (${env}) - ${region}`;
46
- }
47
- });
48
-
49
- function updateStatus(message) {
50
- console.log(`updating status to ${message}`);
51
- var status = document.getElementById("status");
52
- status.innerHTML = message + "...";
53
- }
1
+ glue42splash.on("updateStatus", (arg) => {
2
+ updateStatus(arg.text);
3
+ });
4
+
5
+ glue42splash.on("pingGW", (arg) => {
6
+ const gwURL = arg.gwURL;
7
+
8
+ const retry = () => {
9
+ console.log(`testing connectivity to ${gwURL}`);
10
+
11
+ const webSocket = new WebSocket(gwURL);
12
+ console.log(webSocket);
13
+
14
+ webSocket.onopen = () => {
15
+ console.log(`received open from GW on ${gwURL} - resolving...`);
16
+ webSocket.close();
17
+ };
18
+
19
+ webSocket.onerror = (err) => {
20
+ console.log(`received error from GW on ${gwURL} - will retry`, err);
21
+ setTimeout(() => {
22
+ retry();
23
+ }, 500);
24
+ };
25
+ };
26
+
27
+ retry();
28
+ });
29
+
30
+ document.addEventListener("DOMContentLoaded", function (event) {
31
+ // copyright
32
+ const copyright = document.getElementById("copyright");
33
+ const year = new Date().getFullYear();
34
+ copyright.innerHTML = `© ${year} ${copyright.innerHTML}`;
35
+
36
+ // parse url params - splash.html?message=Starting&env=DEMO&region=INTEROP.IO&version=9.0.0.25
37
+ const urlParams = new URLSearchParams(window.location.search);
38
+ const message = urlParams.get("message");
39
+ updateStatus(message);
40
+ const version = urlParams.get("version");
41
+ if (version) {
42
+ const env = urlParams.get("env");
43
+ const region = urlParams.get("region");
44
+ const status = document.getElementById("version");
45
+ status.innerHTML = `${version} (${env}) - ${region}`;
46
+ }
47
+ });
48
+
49
+ function updateStatus(message) {
50
+ console.log(`updating status to ${message}`);
51
+ var status = document.getElementById("status");
52
+ status.innerHTML = message + "...";
53
+ }
@@ -1,25 +1,25 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8" http-equiv="CACHE-CONTROL" content="NO-CACHE" />
5
- <meta
6
- name="viewport"
7
- content="width=device-width, initial-scale=1,
8
- shrink-to-fit=no"
9
- />
10
- <script src="script.js"></script>
11
-
12
- <meta name="description" content="io.Connect Desktop" />
13
- <meta name="author" content="interop.io" />
14
- <link rel="stylesheet" href="./assets/styles/style.css" />
15
- <title>io.Connect Desktop</title>
16
- </head>
17
-
18
- <body style="-webkit-app-region: drag">
19
- <div class="splash-wrapper">
20
- <div class="version" id="version"><span> </span></div>
21
- <div class="copyright" id="copyright">Interop Inc All rights reserved.</div>
22
- <div class="status" id="status">...</div>
23
- </div>
24
- </body>
25
- </html>
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8" http-equiv="CACHE-CONTROL" content="NO-CACHE" />
5
+ <meta
6
+ name="viewport"
7
+ content="width=device-width, initial-scale=1,
8
+ shrink-to-fit=no"
9
+ />
10
+ <script src="script.js"></script>
11
+
12
+ <meta name="description" content="io.Connect Desktop" />
13
+ <meta name="author" content="interop.io" />
14
+ <link rel="stylesheet" href="./assets/styles/style.css" />
15
+ <title>io.Connect Desktop</title>
16
+ </head>
17
+
18
+ <body style="-webkit-app-region: drag">
19
+ <div class="splash-wrapper">
20
+ <div class="version" id="version"><span> </span></div>
21
+ <div class="copyright" id="copyright">Interop Inc All rights reserved.</div>
22
+ <div class="status" id="status">...</div>
23
+ </div>
24
+ </body>
25
+ </html>
@@ -1,12 +1,12 @@
1
- {
2
- "name": "splash",
3
- "displayName": "Splash Screen",
4
- "description": "Adds custom splash screen to io.Connect Desktop application startup",
5
- "version": "1.0.0",
6
- "type": "application",
7
- "setupUI": {
8
- "text": "Add a custom splash screen",
9
- "separate": false,
10
- "selected": false
11
- }
12
- }
1
+ {
2
+ "name": "splash",
3
+ "displayName": "Splash Screen",
4
+ "description": "Adds custom splash screen to io.Connect Desktop application startup",
5
+ "version": "1.0.0",
6
+ "type": "application",
7
+ "setupUI": {
8
+ "text": "Add a custom splash screen",
9
+ "separate": false,
10
+ "selected": false
11
+ }
12
+ }
@@ -1,8 +1,8 @@
1
- {
2
- "name": "tests",
3
- "displayName": "Auto Tests",
4
- "description": "Adds automated testing framework and test templates to io.Connect Desktop project",
5
- "version": "1.0.0",
6
- "type": "application",
7
- "autoInclude": true
8
- }
1
+ {
2
+ "name": "tests",
3
+ "displayName": "Auto Tests",
4
+ "description": "Adds automated testing framework and test templates to io.Connect Desktop project",
5
+ "version": "1.0.0",
6
+ "type": "application",
7
+ "autoInclude": true
8
+ }