@interopio/iocd-cli 0.0.39 → 0.0.41

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 (86) hide show
  1. package/README.md +782 -779
  2. package/dist/services/installer/electronForge.js +7 -5
  3. package/dist/services/installer/electronForge.js.map +1 -1
  4. package/dist/services/installer/installer.service.js +7 -0
  5. package/dist/services/installer/installer.service.js.map +1 -1
  6. package/dist/services/installer/macOS.helper.js +0 -1
  7. package/dist/services/installer/macOS.helper.js.map +1 -1
  8. package/dist/services/license.service.js +14 -14
  9. package/dist/templates/groups/apps/groups/.gitignore.template +23 -23
  10. package/dist/templates/groups/apps/groups/README.md +15 -15
  11. package/dist/templates/groups/apps/groups/config/web-group-dev.json +12 -12
  12. package/dist/templates/groups/apps/groups/index.html +17 -17
  13. package/dist/templates/groups/apps/groups/iocd.app.json +19 -19
  14. package/dist/templates/groups/apps/groups/package.json +25 -25
  15. package/dist/templates/groups/apps/groups/public/manifest.json +24 -24
  16. package/dist/templates/groups/apps/groups/public/robots.txt +3 -3
  17. package/dist/templates/groups/apps/groups/src/App.css +38 -38
  18. package/dist/templates/groups/apps/groups/src/App.tsx +11 -11
  19. package/dist/templates/groups/apps/groups/src/index.css +13 -13
  20. package/dist/templates/groups/apps/groups/src/index.tsx +19 -19
  21. package/dist/templates/groups/apps/groups/vite.config.ts +8 -8
  22. package/dist/templates/groups/template.json +12 -12
  23. package/dist/templates/ioconnect-desktop/.github/actions/setup-smctl/action.yml +121 -121
  24. package/dist/templates/ioconnect-desktop/.github/workflows/build.yml +395 -395
  25. package/dist/templates/ioconnect-desktop/.gitignore.template +15 -15
  26. package/dist/templates/ioconnect-desktop/README.md +782 -779
  27. package/dist/templates/ioconnect-desktop/assets/install.gif +0 -0
  28. package/dist/templates/ioconnect-desktop/config/forge.config.js +38 -59
  29. package/dist/templates/ioconnect-desktop/config/iocd.cli.config.json +16 -16
  30. package/dist/templates/ioconnect-desktop/config/mac-build/entitlements.mac.plist +44 -44
  31. package/dist/templates/ioconnect-desktop/config/win-build/template.nuspectemplate +32 -32
  32. package/dist/templates/ioconnect-desktop/modifications/base/iocd/config/system.json.merge +2 -2
  33. package/dist/templates/ioconnect-desktop/modifications/base/iocd/config/system.json.merge-autoUpdate +9 -9
  34. package/dist/templates/ioconnect-desktop/package.json +33 -33
  35. package/dist/templates/ioconnect-desktop/template.json +6 -6
  36. package/dist/templates/launchpad/apps/launchpad/.eslintrc.json +3 -3
  37. package/dist/templates/launchpad/apps/launchpad/.gitignore.template +1 -1
  38. package/dist/templates/launchpad/apps/launchpad/config/iocd.app.def.dev.json +56 -56
  39. package/dist/templates/launchpad/apps/launchpad/config/iocd.system.build.json +2 -2
  40. package/dist/templates/launchpad/apps/launchpad/config/iocd.system.dev.json +2 -2
  41. package/dist/templates/launchpad/apps/launchpad/index.html +16 -16
  42. package/dist/templates/launchpad/apps/launchpad/iocd.app.json +27 -27
  43. package/dist/templates/launchpad/apps/launchpad/package-lock.json +2778 -2778
  44. package/dist/templates/launchpad/apps/launchpad/package.json +21 -21
  45. package/dist/templates/launchpad/apps/launchpad/src/app/app.tsx +41 -41
  46. package/dist/templates/launchpad/apps/launchpad/src/app/constants.ts +27 -27
  47. package/dist/templates/launchpad/apps/launchpad/src/components/logo.tsx +11 -11
  48. package/dist/templates/launchpad/apps/launchpad/src/components/main-context-menu.tsx +161 -161
  49. package/dist/templates/launchpad/apps/launchpad/src/components/notifications-button.tsx +44 -44
  50. package/dist/templates/launchpad/apps/launchpad/src/main.tsx +6 -6
  51. package/dist/templates/launchpad/apps/launchpad/src/styles.css +16 -16
  52. package/dist/templates/launchpad/apps/launchpad/tsconfig.json +10 -10
  53. package/dist/templates/launchpad/apps/launchpad/vite.config.ts +13 -13
  54. package/dist/templates/launchpad/template.json +12 -12
  55. package/dist/templates/splash/apps/splash/assets/styles/style.css +39 -39
  56. package/dist/templates/splash/apps/splash/iocd.app.json +7 -7
  57. package/dist/templates/splash/apps/splash/script.js +53 -53
  58. package/dist/templates/splash/apps/splash/splash.html +25 -25
  59. package/dist/templates/splash/template.json +12 -12
  60. package/dist/templates/tests/template.json +8 -8
  61. package/dist/templates/tests/tests/package-lock.json +7289 -7289
  62. package/dist/templates/tests/tests/package.json +22 -22
  63. package/dist/templates/tests/tests/tests/sample.spec.ts +30 -30
  64. package/dist/templates/tests/tests/tsconfig.json +10 -10
  65. package/dist/templates/tests/tests/wdio.config.ts +32 -32
  66. package/dist/templates/workspaces/apps/workspaces/README.md +15 -15
  67. package/dist/templates/workspaces/apps/workspaces/config/workspaces-dev.json +20 -20
  68. package/dist/templates/workspaces/apps/workspaces/index.html +17 -17
  69. package/dist/templates/workspaces/apps/workspaces/iocd.app.json +19 -19
  70. package/dist/templates/workspaces/apps/workspaces/package.json +29 -29
  71. package/dist/templates/workspaces/apps/workspaces/public/manifest.json +25 -25
  72. package/dist/templates/workspaces/apps/workspaces/public/robots.txt +3 -3
  73. package/dist/templates/workspaces/apps/workspaces/src/App.css +38 -38
  74. package/dist/templates/workspaces/apps/workspaces/src/App.tsx +102 -102
  75. package/dist/templates/workspaces/apps/workspaces/src/index.css +3 -3
  76. package/dist/templates/workspaces/apps/workspaces/src/index.tsx +28 -28
  77. package/dist/templates/workspaces/apps/workspaces/src/logo.svg +7 -7
  78. package/dist/templates/workspaces/apps/workspaces/src/reportWebVitals.ts +15 -15
  79. package/dist/templates/workspaces/apps/workspaces/src/setupTests.ts +5 -5
  80. package/dist/templates/workspaces/apps/workspaces/vite.config.ts +8 -8
  81. package/dist/templates/workspaces/template.json +12 -12
  82. package/package.json +83 -83
  83. package/scripts/copy-assets.js +19 -19
  84. package/scripts/delete-dist.js +12 -12
  85. package/scripts/generate-schema.js +50 -50
  86. package/scripts/handle-gitignore-templates.js +157 -157
@@ -1,13 +1,13 @@
1
- body {
2
- margin: 0;
3
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
4
- 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
5
- sans-serif;
6
- -webkit-font-smoothing: antialiased;
7
- -moz-osx-font-smoothing: grayscale;
8
- }
9
-
10
- code {
11
- font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
12
- monospace;
13
- }
1
+ body {
2
+ margin: 0;
3
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
4
+ 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
5
+ sans-serif;
6
+ -webkit-font-smoothing: antialiased;
7
+ -moz-osx-font-smoothing: grayscale;
8
+ }
9
+
10
+ code {
11
+ font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
12
+ monospace;
13
+ }
@@ -1,19 +1,19 @@
1
- import React from 'react';
2
- import ReactDOM from 'react-dom/client';
3
- import App from './App';
4
- import { IOConnectProvider } from "@interopio/react-hooks";
5
- import IODesktop from '@interopio/desktop';
6
-
7
- ReactDOM.createRoot(document.getElementById('root')!).render(
8
- <React.StrictMode>
9
- <IOConnectProvider settings={{
10
- desktop: {
11
- factory: (config: any) => {
12
- return IODesktop();
13
- }
14
- }
15
- }}>
16
- <App />
17
- </IOConnectProvider>
18
- </React.StrictMode >
19
- );
1
+ import React from 'react';
2
+ import ReactDOM from 'react-dom/client';
3
+ import App from './App';
4
+ import { IOConnectProvider } from "@interopio/react-hooks";
5
+ import IODesktop from '@interopio/desktop';
6
+
7
+ ReactDOM.createRoot(document.getElementById('root')!).render(
8
+ <React.StrictMode>
9
+ <IOConnectProvider settings={{
10
+ desktop: {
11
+ factory: (config: any) => {
12
+ return IODesktop();
13
+ }
14
+ }
15
+ }}>
16
+ <App />
17
+ </IOConnectProvider>
18
+ </React.StrictMode >
19
+ );
@@ -1,8 +1,8 @@
1
- import { defineConfig } from 'vite'
2
- import react from '@vitejs/plugin-react'
3
-
4
- // https://vite.dev/config/
5
- export default defineConfig({
6
- plugins: [react()],
7
- base: './'
8
- })
1
+ import { defineConfig } from 'vite'
2
+ import react from '@vitejs/plugin-react'
3
+
4
+ // https://vite.dev/config/
5
+ export default defineConfig({
6
+ plugins: [react()],
7
+ base: './'
8
+ })
@@ -1,12 +1,12 @@
1
- {
2
- "name": "groups",
3
- "displayName": "Groups App",
4
- "description": "Adds custom groups application support to io.Connect Desktop",
5
- "version": "1.0.0",
6
- "type": "application",
7
- "setupUI": {
8
- "text": "Add a custom groups app",
9
- "separate": false,
10
- "selected": false
11
- }
12
- }
1
+ {
2
+ "name": "groups",
3
+ "displayName": "Groups App",
4
+ "description": "Adds custom groups application support to io.Connect Desktop",
5
+ "version": "1.0.0",
6
+ "type": "application",
7
+ "setupUI": {
8
+ "text": "Add a custom groups app",
9
+ "separate": false,
10
+ "selected": false
11
+ }
12
+ }
@@ -1,122 +1,122 @@
1
- name: 'Setup DigiCert SMCTL'
2
- description: 'Install and configure DigiCert SMCTL for code signing'
3
-
4
- inputs:
5
- api-key:
6
- description: 'DigiCert API Key'
7
- required: true
8
- client-cert-b64:
9
- description: 'Base64 encoded client certificate'
10
- required: true
11
- client-cert-password:
12
- description: 'Client certificate password'
13
- required: true
14
- keypair-name:
15
- description: 'Keypair alias name'
16
- required: true
17
- host:
18
- description: 'DigiCert host URL'
19
- required: false
20
- default: 'https://clientauth.one.digicert.com'
21
-
22
- outputs:
23
- cert-file-path:
24
- description: 'Path to the client certificate file'
25
- value: ${{ steps.write-file.outputs.filePath }}
26
-
27
- runs:
28
- using: "composite"
29
- steps:
30
- - name: Save p12 for authentication
31
- id: write-file
32
- uses: timheuer/base64-to-file@v1
33
- with:
34
- fileName: Certificate_pkcs12.p12
35
- encodedString: ${{ inputs.client-cert-b64 }}
36
-
37
- - name: Export certificate path as environment variable
38
- shell: cmd
39
- run: echo SM_CLIENT_CERT_FILE=${{ steps.write-file.outputs.filePath }} >> $GITHUB_ENV
40
-
41
- - name: Install SMCTL
42
- shell: cmd
43
- run: |
44
- echo Installing SMCTL...
45
- curl -X GET https://one.digicert.com/signingmanager/api-ui/v1/releases/Keylockertools-windows-x64.msi/download -H "x-api-key:${{ inputs.api-key }}" -o Keylockertools-windows-x64.msi
46
- msiexec /i Keylockertools-windows-x64.msi /quiet /qn /norestart
47
- if %errorlevel% neq 0 (
48
- echo ERROR: MSI installation failed with exit code %errorlevel%
49
- exit /b %errorlevel%
50
- )
51
- echo MSI installed successfully.
52
- echo.
53
- echo Checking installation directory...
54
- dir "C:\Program Files\DigiCert\" /b 2>nul || echo DigiCert directory not found in Program Files
55
-
56
- - name: Update environment variables and configure SMCTL
57
- shell: cmd
58
- env:
59
- SM_API_KEY: ${{ inputs.api-key }}
60
- SM_CLIENT_CERT_PASSWORD: ${{ inputs.client-cert-password }}
61
- SM_CLIENT_CERT_FILE: ${{ steps.write-file.outputs.filePath }}
62
- SM_CODE_SIGNING_CERT_SHA1_HASH: ${{ inputs.cert-sha1-hash }}
63
- SM_HOST: ${{ inputs.host }}
64
- SMCTL_PATH: C:\Program Files\DigiCert\DigiCert Keylocker Tools
65
- run: |
66
- echo Checking SMCTL installation...
67
- dir "C:\Program Files\DigiCert\" /s /b | findstr /i "smctl"
68
-
69
- echo.
70
- echo Adding SMCTL to PATH for this session...
71
- set "PATH=%SMCTL_PATH%;%PATH%"
72
-
73
- echo Current PATH: %PATH%
74
- echo.
75
-
76
- echo Testing smctl availability...
77
- where smctl
78
-
79
- echo.
80
- echo Saving SMCTL path to GITHUB_PATH for future steps...
81
- echo C:\Program Files\DigiCert\DigiCert Keylocker Tools>> %GITHUB_PATH%
82
- echo C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\x86>> %GITHUB_PATH%
83
-
84
- echo.
85
- echo Healthcheck
86
- smctl healthcheck
87
-
88
- echo.
89
- echo Saving credentials...
90
- smctl credentials save %SM_API_KEY% %SM_CLIENT_CERT_PASSWORD%
91
-
92
- echo Synchronizing certificate for keypair: ${{ inputs.keypair-name }}
93
- smctl windows certsync --keypair-alias=${{ inputs.keypair-name }}
94
-
95
- - name: Verify SMCTL setup
96
- shell: cmd
97
- env:
98
- SMCTL_PATH: C:\Program Files\DigiCert\DigiCert Keylocker Tools
99
- run: |
100
- set PATH=%SMCTL_PATH%;%PATH%
101
-
102
- if defined RUNNER_DEBUG (
103
- echo ::group:: List DigiCert KSP libraries
104
- smctl windows ksp list
105
- echo ::endgroup::
106
-
107
- echo ::group::List KSP registered
108
- smksp_registrar list
109
- echo ::endgroup::
110
-
111
- echo ::group::List keypairs in account
112
- smctl keypair ls
113
- echo ::endgroup::
114
-
115
- echo ::group::List keys stored under user profile
116
- certutil -csp "DigiCert Signing Manager KSP" -key -user
117
- echo ::endgroup::
118
-
119
- echo ::group::SMCTL Healthcheck
120
- smctl healthcheck
121
- echo ::endgroup::
1
+ name: 'Setup DigiCert SMCTL'
2
+ description: 'Install and configure DigiCert SMCTL for code signing'
3
+
4
+ inputs:
5
+ api-key:
6
+ description: 'DigiCert API Key'
7
+ required: true
8
+ client-cert-b64:
9
+ description: 'Base64 encoded client certificate'
10
+ required: true
11
+ client-cert-password:
12
+ description: 'Client certificate password'
13
+ required: true
14
+ keypair-name:
15
+ description: 'Keypair alias name'
16
+ required: true
17
+ host:
18
+ description: 'DigiCert host URL'
19
+ required: false
20
+ default: 'https://clientauth.one.digicert.com'
21
+
22
+ outputs:
23
+ cert-file-path:
24
+ description: 'Path to the client certificate file'
25
+ value: ${{ steps.write-file.outputs.filePath }}
26
+
27
+ runs:
28
+ using: "composite"
29
+ steps:
30
+ - name: Save p12 for authentication
31
+ id: write-file
32
+ uses: timheuer/base64-to-file@v1
33
+ with:
34
+ fileName: Certificate_pkcs12.p12
35
+ encodedString: ${{ inputs.client-cert-b64 }}
36
+
37
+ - name: Export certificate path as environment variable
38
+ shell: cmd
39
+ run: echo SM_CLIENT_CERT_FILE=${{ steps.write-file.outputs.filePath }} >> $GITHUB_ENV
40
+
41
+ - name: Install SMCTL
42
+ shell: cmd
43
+ run: |
44
+ echo Installing SMCTL...
45
+ curl -X GET https://one.digicert.com/signingmanager/api-ui/v1/releases/Keylockertools-windows-x64.msi/download -H "x-api-key:${{ inputs.api-key }}" -o Keylockertools-windows-x64.msi
46
+ msiexec /i Keylockertools-windows-x64.msi /quiet /qn /norestart
47
+ if %errorlevel% neq 0 (
48
+ echo ERROR: MSI installation failed with exit code %errorlevel%
49
+ exit /b %errorlevel%
50
+ )
51
+ echo MSI installed successfully.
52
+ echo.
53
+ echo Checking installation directory...
54
+ dir "C:\Program Files\DigiCert\" /b 2>nul || echo DigiCert directory not found in Program Files
55
+
56
+ - name: Update environment variables and configure SMCTL
57
+ shell: cmd
58
+ env:
59
+ SM_API_KEY: ${{ inputs.api-key }}
60
+ SM_CLIENT_CERT_PASSWORD: ${{ inputs.client-cert-password }}
61
+ SM_CLIENT_CERT_FILE: ${{ steps.write-file.outputs.filePath }}
62
+ SM_CODE_SIGNING_CERT_SHA1_HASH: ${{ inputs.cert-sha1-hash }}
63
+ SM_HOST: ${{ inputs.host }}
64
+ SMCTL_PATH: C:\Program Files\DigiCert\DigiCert Keylocker Tools
65
+ run: |
66
+ echo Checking SMCTL installation...
67
+ dir "C:\Program Files\DigiCert\" /s /b | findstr /i "smctl"
68
+
69
+ echo.
70
+ echo Adding SMCTL to PATH for this session...
71
+ set "PATH=%SMCTL_PATH%;%PATH%"
72
+
73
+ echo Current PATH: %PATH%
74
+ echo.
75
+
76
+ echo Testing smctl availability...
77
+ where smctl
78
+
79
+ echo.
80
+ echo Saving SMCTL path to GITHUB_PATH for future steps...
81
+ echo C:\Program Files\DigiCert\DigiCert Keylocker Tools>> %GITHUB_PATH%
82
+ echo C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\x86>> %GITHUB_PATH%
83
+
84
+ echo.
85
+ echo Healthcheck
86
+ smctl healthcheck
87
+
88
+ echo.
89
+ echo Saving credentials...
90
+ smctl credentials save %SM_API_KEY% %SM_CLIENT_CERT_PASSWORD%
91
+
92
+ echo Synchronizing certificate for keypair: ${{ inputs.keypair-name }}
93
+ smctl windows certsync --keypair-alias=${{ inputs.keypair-name }}
94
+
95
+ - name: Verify SMCTL setup
96
+ shell: cmd
97
+ env:
98
+ SMCTL_PATH: C:\Program Files\DigiCert\DigiCert Keylocker Tools
99
+ run: |
100
+ set PATH=%SMCTL_PATH%;%PATH%
101
+
102
+ if defined RUNNER_DEBUG (
103
+ echo ::group:: List DigiCert KSP libraries
104
+ smctl windows ksp list
105
+ echo ::endgroup::
106
+
107
+ echo ::group::List KSP registered
108
+ smksp_registrar list
109
+ echo ::endgroup::
110
+
111
+ echo ::group::List keypairs in account
112
+ smctl keypair ls
113
+ echo ::endgroup::
114
+
115
+ echo ::group::List keys stored under user profile
116
+ certutil -csp "DigiCert Signing Manager KSP" -key -user
117
+ echo ::endgroup::
118
+
119
+ echo ::group::SMCTL Healthcheck
120
+ smctl healthcheck
121
+ echo ::endgroup::
122
122
  )