@interopio/iocd-cli 0.0.59 → 0.0.61

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.
package/changelog.md ADDED
@@ -0,0 +1,453 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [Unreleased]
9
+
10
+ ## [0.0.61] - 2026-01-05
11
+
12
+ ### Added
13
+ - **Custom tests directory**: Support for specifying a custom tests directory in the CLI configuration
14
+
15
+ ## [0.0.60] - 2025-12-31
16
+
17
+ ### Added
18
+ - **Modifications reset**: Automatically reset all modifications before running `dev` or `build` commands to ensure a clean state
19
+ - **Version check**: Display notification when a newer version of the CLI is available
20
+
21
+ ### Changed
22
+ - Relaxed config schema validation to allow partial configuration files
23
+ - Updated `.gitignore` handling to only ignore the top-level `components` folder, not nested ones
24
+
25
+ ## [0.0.59] - 2025-12-12
26
+
27
+ ### Added
28
+ - **Extra launch arguments**: Support passing additional arguments to the Electron process in `dev` mode
29
+ - **Build output path**: New `--output` argument for the `build` command to specify a custom output directory
30
+ - **Programmatic API**: Export CLI commands for use as a library in other projects
31
+
32
+ ### Changed
33
+ - Automatically install dependencies when adding new apps to a project
34
+ - Updated Launchpad Vite configuration for improved build performance
35
+
36
+ ## [0.0.57] - 2025-12-09
37
+
38
+ ### Added
39
+ - Auto include tests when setting up a new project with `create` command
40
+
41
+ ## [0.0.56] - 2025-12-06
42
+
43
+ ### Fixed
44
+ - Improved error logging message
45
+
46
+ ## [0.0.55] - 2025-12-06
47
+
48
+ ### Fixed
49
+ - Fix for versions that contain a letter in the build timestamp
50
+
51
+ ## [0.0.54] - 2025-12-04
52
+
53
+ ### Added
54
+ - Added proxy support
55
+
56
+ ### Changed
57
+ - Clean up log messages
58
+
59
+ ## [0.0.53] - 2025-12-01
60
+
61
+ ### Added
62
+ - Add NodeJS and CLI versions at the beginning of the log file
63
+
64
+ ## [0.0.52] - 2025-11-30
65
+
66
+ ### Added
67
+ - Add BBG component
68
+
69
+ ## [0.0.51] - 2025-11-28
70
+
71
+ ### Added
72
+ - Add overwrite to component modifications
73
+
74
+ ## [0.0.50] - 2025-11-26
75
+
76
+ ### Changed
77
+ - Revert "lint fixes; docs update"
78
+
79
+ ## [0.0.49] - 2025-11-26
80
+
81
+ ### Changed
82
+ - Change configs to rely on package.json where possible
83
+ - Add UI version
84
+ - Lint fixes; docs update
85
+ - Audit fix
86
+
87
+ ### Fixed
88
+ - Updates in wdio.config for tests
89
+ - Fix for eslint setup
90
+
91
+ ## [0.0.48] - 2025-11-21
92
+
93
+ ### Changed
94
+ - Updates in wdio-iocd-service version and renames in wdio.config
95
+
96
+ ## [0.0.47] - 2025-11-21
97
+
98
+ ### Changed
99
+ - Remove components that are not available
100
+ - Copy license on tests
101
+
102
+ ## [0.0.46] - 2025-11-20
103
+
104
+ ### Changed
105
+ - Update forge config
106
+
107
+ ## [0.0.45] - 2025-11-20
108
+
109
+ ### Changed
110
+ - DMG naming improvements
111
+
112
+ ## [0.0.44] - 2025-11-20
113
+
114
+ ### Changed
115
+ - Clean up dist folder after completion
116
+
117
+ ## [0.0.43] - 2025-11-20
118
+
119
+ ### Added
120
+ - Add product slug and name support in the modifications
121
+
122
+ ## [0.0.42] - 2025-11-20
123
+
124
+ ### Added
125
+ - Add support for OS specific modifications
126
+ - Add version to setup exe
127
+
128
+ ### Removed
129
+ - Remove init command
130
+
131
+ ### Fixed
132
+ - Various fixes; fix build
133
+
134
+ ## [0.0.39] - 2025-11-17
135
+
136
+ ### Changed
137
+ - Updates
138
+
139
+ ## [0.0.38] - 2025-11-17
140
+
141
+ ### Changed
142
+ - Release update
143
+
144
+ ## [0.0.37] - 2025-11-17
145
+
146
+ ### Changed
147
+ - Change path to iocd-components
148
+ - Update .gitignore
149
+
150
+ ## [0.0.36] - 2025-11-16
151
+
152
+ ### Changed
153
+ - Tests to depend on wdio-service package
154
+
155
+ ## [0.0.35] - 2025-11-16
156
+
157
+ ### Changed
158
+ - Update Node.js requirement to 22.0.0
159
+
160
+ ### Fixed
161
+ - Minor fix
162
+
163
+ ## [0.0.34] - 2025-11-16
164
+
165
+ ### Changed
166
+ - Release update
167
+
168
+ ## [0.0.33] - 2025-11-16
169
+
170
+ ### Changed
171
+ - Updated README
172
+ - Apps start → apps dev
173
+ - README.md phase 1
174
+ - Simplify config
175
+ - Update GitHub workflows
176
+ - Changed pfx to signtool
177
+
178
+ ## [0.0.30] - 2025-11-13
179
+
180
+ ### Changed
181
+ - Revert shell:true
182
+
183
+ ## [0.0.29] - 2025-11-13
184
+
185
+ ### Added
186
+ - Add shell:true
187
+
188
+ ## [0.0.28] - 2025-11-13
189
+
190
+ ### Changed
191
+ - Using signtool for signing; remove explicit digicert support
192
+
193
+ ## [0.0.27] - 2025-11-10
194
+
195
+ ### Added
196
+ - license.copyLicenseToOutput option
197
+
198
+ ## [0.0.26] - 2025-11-06
199
+
200
+ ### Added
201
+ - Tests
202
+ - License files
203
+ - Schema for config
204
+
205
+ ## [0.0.25] - 2025-11-04
206
+
207
+ ### Changed
208
+ - Replace bbgv2 with ppt
209
+ - Add info about GitHub token
210
+ - Presentation update
211
+
212
+ ## [0.0.24] - 2025-10-30
213
+
214
+ ### Added
215
+ - Tests + small tweaks
216
+ - Simple tests
217
+ - Download all components
218
+
219
+ ### Changed
220
+ - Updates to Windows signing
221
+
222
+ ### Removed
223
+ - Removed all tests (refactoring)
224
+
225
+ ## [0.0.23] - 2025-10-15
226
+
227
+ ### Fixed
228
+ - Logger fix
229
+ - Setup Apple code-signing
230
+
231
+ ## [0.0.22] - 2025-10-13
232
+
233
+ ### Fixed
234
+ - Fix icons and ability to sign using certificate on Mac
235
+
236
+ ### Changed
237
+ - Logging improvements
238
+
239
+ ## [0.0.21] - 2025-10-13
240
+
241
+ ### Changed
242
+ - Include scripts into the package as well
243
+
244
+ ## [0.0.20] - 2025-10-12
245
+
246
+ ### Added
247
+ - Handle gitignores
248
+
249
+ ## [0.0.19] - 2025-10-12
250
+
251
+ ### Changed
252
+ - Rework current folder for create
253
+
254
+ ## [0.0.18] - 2025-10-12
255
+
256
+ ### Added
257
+ - Create in current folder if empty
258
+
259
+ ## [0.0.17] - 2025-10-12
260
+
261
+ ### Added
262
+ - Build templates
263
+
264
+ ### Changed
265
+ - start → dev
266
+
267
+ ## [0.0.16] - 2025-10-11
268
+
269
+ ### Changed
270
+ - Refactor: consolidate modifications structure and remove backward compatibility
271
+
272
+ ## [0.0.15] - 2025-10-11
273
+
274
+ ### Added
275
+ - Add skip components flag
276
+
277
+ ## [0.0.14] - 2025-10-11
278
+
279
+ ### Fixed
280
+ - Add GitHub token to the GitHub request
281
+
282
+ ## [0.0.13] - 2025-10-11
283
+
284
+ ### Changed
285
+ - Release update
286
+
287
+ ## [0.0.12] - 2025-10-11
288
+
289
+ ### Changed
290
+ - Cleanup
291
+ - GitHub store retries
292
+ - Latest splash app
293
+
294
+ ## [0.0.11] - 2025-10-10
295
+
296
+ ### Fixed
297
+ - Fix start mode
298
+
299
+ ### Added
300
+ - Some tests
301
+ - Update README header
302
+
303
+ ## [0.0.10] - 2025-10-09
304
+
305
+ ### Fixed
306
+ - Fix iocd cwd
307
+
308
+ ## [0.0.9] - 2025-10-09
309
+
310
+ ### Added
311
+ - Top level modifications support
312
+
313
+ ## [0.0.8] - 2025-10-08
314
+
315
+ ### Changed
316
+ - Small updates
317
+ - Renames
318
+
319
+ ## [0.0.7] - 2025-10-08
320
+
321
+ ### Changed
322
+ - Use prereleases for now
323
+ - PPT update
324
+
325
+ ## [0.0.6] - 2025-10-07
326
+
327
+ ### Added
328
+ - Sentry support
329
+ - Add presentation
330
+
331
+ ### Changed
332
+ - Rename templates and logging improvements
333
+ - installer → build
334
+
335
+ ## [0.0.5] - 2025-10-06
336
+
337
+ ### Changed
338
+ - Updated groups JSON
339
+ - Moved group apps
340
+ - Components updates
341
+ - Cleanup
342
+
343
+ ## [0.0.4] - 2025-10-04
344
+
345
+ ### Added
346
+ - Pinning of component version after setup
347
+ - Added support for modifications-xxx
348
+ - Add auto update config
349
+ - AutoUpdate support
350
+
351
+ ### Changed
352
+ - prod → installer in app config
353
+ - Use UI version
354
+
355
+ ### Added
356
+ - More docs
357
+
358
+ ## [0.0.3] - 2025-09-28
359
+
360
+ ### Added
361
+ - Added demos component support
362
+ - Add flag for prerelease
363
+ - Added doc about components storage
364
+
365
+ ### Changed
366
+ - Changes in components versioning
367
+ - Store settings refactoring
368
+ - License update
369
+
370
+ ## [0.0.2] - 2025-09-26
371
+
372
+ ### Added
373
+ - License checks
374
+ - Licensing
375
+
376
+ ## [0.0.1] - 2025-09-22
377
+
378
+ ### Added
379
+ - Initial release
380
+ - CLI project setup with create command
381
+ - Components selection in the create phase
382
+ - Ability to add apps
383
+ - S3 support for components storage
384
+ - Local storage support with same structure as S3
385
+ - Launchpad component
386
+ - Components remove functionality
387
+ - Installer/build command for Windows and macOS
388
+ - Code signing support for macOS and Windows
389
+ - Splash screen template
390
+ - Auto-update configuration support
391
+ - GitHub workflow for CI/CD
392
+
393
+ ### Changed
394
+ - Renamed to iocd-cli
395
+ - Various configuration improvements
396
+
397
+ [Unreleased]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.61...HEAD
398
+ [0.0.61]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.60...v0.0.61
399
+ [0.0.60]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.59...v0.0.60
400
+ [0.0.59]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.57...v0.0.59
401
+ [0.0.57]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.56...v0.0.57
402
+ [0.0.56]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.55...v0.0.56
403
+ [0.0.55]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.54...v0.0.55
404
+ [0.0.54]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.53...v0.0.54
405
+ [0.0.53]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.52...v0.0.53
406
+ [0.0.52]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.51...v0.0.52
407
+ [0.0.51]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.50...v0.0.51
408
+ [0.0.50]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.49...v0.0.50
409
+ [0.0.49]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.48...v0.0.49
410
+ [0.0.48]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.47...v0.0.48
411
+ [0.0.47]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.46...v0.0.47
412
+ [0.0.46]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.45...v0.0.46
413
+ [0.0.45]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.44...v0.0.45
414
+ [0.0.44]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.43...v0.0.44
415
+ [0.0.43]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.42...v0.0.43
416
+ [0.0.42]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.39...v0.0.42
417
+ [0.0.39]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.38...v0.0.39
418
+ [0.0.38]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.37...v0.0.38
419
+ [0.0.37]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.36...v0.0.37
420
+ [0.0.36]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.35...v0.0.36
421
+ [0.0.35]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.34...v0.0.35
422
+ [0.0.34]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.33...v0.0.34
423
+ [0.0.33]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.30...v0.0.33
424
+ [0.0.30]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.29...v0.0.30
425
+ [0.0.29]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.28...v0.0.29
426
+ [0.0.28]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.27...v0.0.28
427
+ [0.0.27]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.26...v0.0.27
428
+ [0.0.26]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.25...v0.0.26
429
+ [0.0.25]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.24...v0.0.25
430
+ [0.0.24]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.23...v0.0.24
431
+ [0.0.23]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.22...v0.0.23
432
+ [0.0.22]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.21...v0.0.22
433
+ [0.0.21]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.20...v0.0.21
434
+ [0.0.20]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.19...v0.0.20
435
+ [0.0.19]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.18...v0.0.19
436
+ [0.0.18]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.17...v0.0.18
437
+ [0.0.17]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.16...v0.0.17
438
+ [0.0.16]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.15...v0.0.16
439
+ [0.0.15]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.14...v0.0.15
440
+ [0.0.14]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.13...v0.0.14
441
+ [0.0.13]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.12...v0.0.13
442
+ [0.0.12]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.11...v0.0.12
443
+ [0.0.11]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.10...v0.0.11
444
+ [0.0.10]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.9...v0.0.10
445
+ [0.0.9]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.8...v0.0.9
446
+ [0.0.8]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.7...v0.0.8
447
+ [0.0.7]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.6...v0.0.7
448
+ [0.0.6]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.5...v0.0.6
449
+ [0.0.5]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.4...v0.0.5
450
+ [0.0.4]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.3...v0.0.4
451
+ [0.0.3]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.2...v0.0.3
452
+ [0.0.2]: https://github.com/InteropIO/iocd-seed-temp/compare/v0.0.1...v0.0.2
453
+ [0.0.1]: https://github.com/InteropIO/iocd-seed-temp/releases/tag/v0.0.1
package/dist/cli.js CHANGED
@@ -52,6 +52,7 @@ const colors_1 = require("./utils/colors");
52
52
  const pacakge_json_helper_1 = require("./utils/pacakge.json.helper");
53
53
  const config_service_1 = require("./services/config/config.service");
54
54
  const proxy_1 = require("./utils/proxy");
55
+ const version_check_1 = require("./utils/version-check");
55
56
  const program = new commander_1.Command();
56
57
  const logger = logger_1.Logger.getInstance("cli");
57
58
  clack.intro((0, colors_1.bgCyanBlack)(` io.Connect Desktop CLI ${pacakge_json_helper_1.PackageJSONHelper.getCliPackageJson().version} `));
@@ -117,6 +118,8 @@ process.on("unhandledRejection", (reason, promise) => {
117
118
  });
118
119
  // Parse command line arguments
119
120
  error_handler_1.ErrorHandler.wrap(async () => {
121
+ // Check for CLI updates (non-blocking, will not fail the CLI)
122
+ await (0, version_check_1.checkForUpdates)();
120
123
  await program.parseAsync(process.argv);
121
124
  });
122
125
  //# sourceMappingURL=cli.js.map
package/dist/cli.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[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CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,GAAG,GAAG,OAAO;QAC7C,CAAC,CAAC,OAAO,CAAC;IACZ,MAAM,CAAC,KAAK,CAAC,sBAAsB,QAAQ,EAAE,CAAC,CAAC;IAC/C,IAAI,8BAAa,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC;QAChC,MAAM,MAAM,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;QACvC,MAAM,CAAC,aAAa,CAAC;YACnB,QAAQ,EAAE,KAAK;YACf,OAAO,EAAE,qBAAqB,QAAQ,EAAE;YACxC,KAAK,EAAE,MAAM;SACd,CAAC,CAAC;IACL,CAAC;AACH,CAAC,CAAC,CAAC;AAEH,yBAAyB;AAEzB,OAAO,CAAC,EAAE,CAAC,mBAAmB,EAAE,KAAK,CAAC,EAAE;IACtC,MAAM,CAAC,KAAK,CAAC,qBAAqB,EAAE,KAAK,CAAC,CAAC;IAC3C,4BAAY,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AAC7B,CAAC,CAAC,CAAC;AAEH,OAAO,CAAC,EAAE,CAAC,oBAAoB,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,EAAE;IACnD,MAAM,CAAC,KAAK,CAAC,yBAAyB,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC;IACpE,4BAAY,CAAC,MAAM,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;AACjD,CAAC,CAAC,CAAC;AAEH,+BAA+B;AAC/B,4BAAY,CAAC,IAAI,CAAC,KAAK,IAAI,EAAE;IAC3B,8DAA8D;IAC9D,MAAM,IAAA,+BAAe,GAAE,CAAC;IAExB,MAAM,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;AACzC,CAAC,CAAC,CAAC"}
@@ -8,13 +8,15 @@ exports.modificationsCommand = new commander_1.Command("modifications").descript
8
8
  exports.modificationsCommand
9
9
  .command("apply [component]")
10
10
  .description("Apply all modifications or modifications for specific component")
11
- .action((component) => {
11
+ .option("--mode <mode>", "Mode to apply modifications for (dev or build)", "dev")
12
+ .action((component, options) => {
12
13
  try {
14
+ const mode = options.mode === "build" ? "build" : "dev";
13
15
  if (component) {
14
16
  console.log(`Applying modifications for ${component} - not implemented yet`);
15
17
  }
16
18
  else {
17
- (0, modifications_service_1.applyModifications)("dev");
19
+ (0, modifications_service_1.applyModifications)(mode);
18
20
  }
19
21
  }
20
22
  catch (error) {
@@ -1 +1 @@
1
- {"version":3,"file":"modifications.command.js","sourceRoot":"","sources":["../../src/commands/modifications.command.ts"],"names":[],"mappings":";;;AAAA,yCAAoC;AACpC,2FAAqF;AACrF,0DAAsD;AAEzC,QAAA,oBAAoB,GAAG,IAAI,mBAAO,CAAC,eAAe,CAAC,CAAC,WAAW,CAC1E,kCAAkC,CACnC,CAAC;AAEF,4BAAoB;KACjB,OAAO,CAAC,mBAAmB,CAAC;KAC5B,WAAW,CACV,iEAAiE,CAClE;KACA,MAAM,CAAC,CAAC,SAAkB,EAAE,EAAE;IAC7B,IAAI,CAAC;QACH,IAAI,SAAS,EAAE,CAAC;YACd,OAAO,CAAC,GAAG,CACT,8BAA8B,SAAS,wBAAwB,CAChE,CAAC;QACJ,CAAC;aAAM,CAAC;YACN,IAAA,0CAAkB,EAAC,KAAK,CAAC,CAAC;QAC5B,CAAC;IACH,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,4BAAY,CAAC,MAAM,CAAC,KAAc,CAAC,CAAC;IACtC,CAAC;AACH,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"modifications.command.js","sourceRoot":"","sources":["../../src/commands/modifications.command.ts"],"names":[],"mappings":";;;AAAA,yCAAoC;AACpC,2FAAqF;AACrF,0DAAsD;AAEzC,QAAA,oBAAoB,GAAG,IAAI,mBAAO,CAAC,eAAe,CAAC,CAAC,WAAW,CAC1E,kCAAkC,CACnC,CAAC;AAEF,4BAAoB;KACjB,OAAO,CAAC,mBAAmB,CAAC;KAC5B,WAAW,CACV,iEAAiE,CAClE;KACA,MAAM,CACL,eAAe,EACf,gDAAgD,EAChD,KAAK,CACN;KACA,MAAM,CACL,CAAC,SAA6B,EAAE,OAAkC,EAAE,EAAE;IACpE,IAAI,CAAC;QACH,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,KAAK,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC;QACxD,IAAI,SAAS,EAAE,CAAC;YACd,OAAO,CAAC,GAAG,CACT,8BAA8B,SAAS,wBAAwB,CAChE,CAAC;QACJ,CAAC;aAAM,CAAC;YACN,IAAA,0CAAkB,EAAC,IAAI,CAAC,CAAC;QAC3B,CAAC;IACH,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,4BAAY,CAAC,MAAM,CAAC,KAAc,CAAC,CAAC;IACtC,CAAC;AACH,CAAC,CACF,CAAC"}
@@ -2,7 +2,7 @@
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "$id": "https://unpkg.com/@interopio/iocd-cli/schemas/iocd.cli.config.schema.json",
4
4
  "title": "io.Connect Desktop CLI Configuration",
5
- "description": "Configuration schema for io.Connect Desktop CLI projects",
5
+ "description": "Configuration schema for io.Connect Desktop CLI projects. All properties are optional - the CLI provides sensible defaults.",
6
6
  "additionalProperties": false,
7
7
  "properties": {
8
8
  "company": {
@@ -44,9 +44,6 @@
44
44
  "type": "boolean"
45
45
  }
46
46
  },
47
- "required": [
48
- "repo"
49
- ],
50
47
  "type": "object"
51
48
  },
52
49
  "local": {
@@ -58,9 +55,6 @@
58
55
  "type": "string"
59
56
  }
60
57
  },
61
- "required": [
62
- "path"
63
- ],
64
58
  "type": "object"
65
59
  },
66
60
  "s3": {
@@ -88,20 +82,12 @@
88
82
  "type": "string"
89
83
  }
90
84
  },
91
- "required": [
92
- "bucketName",
93
- "region"
94
- ],
95
85
  "type": "object"
96
86
  }
97
87
  },
98
88
  "type": "object"
99
89
  }
100
90
  },
101
- "required": [
102
- "list",
103
- "store"
104
- ],
105
91
  "type": "object"
106
92
  },
107
93
  "copyright": {
@@ -166,9 +152,6 @@
166
152
  "type": "string"
167
153
  }
168
154
  },
169
- "required": [
170
- "type"
171
- ],
172
155
  "type": "object"
173
156
  },
174
157
  "notarization": {
@@ -201,17 +184,9 @@
201
184
  "type": "string"
202
185
  }
203
186
  },
204
- "required": [
205
- "type"
206
- ],
207
187
  "type": "object"
208
188
  }
209
189
  },
210
- "required": [
211
- "appBundleName",
212
- "codeSign",
213
- "notarization"
214
- ],
215
190
  "type": "object"
216
191
  },
217
192
  "productDescription": {
@@ -230,6 +205,10 @@
230
205
  "description": "Enable Sentry error reporting for production diagnostics (default: true).",
231
206
  "type": "boolean"
232
207
  },
208
+ "testsDirectory": {
209
+ "description": "The tests directory relative to your project root (e.g., \"my-iocd-tests\"), it is used by `iocd test`",
210
+ "type": "string"
211
+ },
233
212
  "version": {
234
213
  "description": "Version number of your application following semantic versioning (e.g., \"1.2.3\").\nDerived from package.json \"version\" if not set.",
235
214
  "type": "string"
@@ -272,9 +251,6 @@
272
251
  "type": "string"
273
252
  }
274
253
  },
275
- "required": [
276
- "type"
277
- ],
278
254
  "type": "object"
279
255
  },
280
256
  "exe": {
@@ -290,31 +266,11 @@
290
266
  "type": "string"
291
267
  }
292
268
  },
293
- "required": [
294
- "exeIconPath",
295
- "exeName"
296
- ],
297
269
  "type": "object"
298
270
  }
299
271
  },
300
- "required": [
301
- "codeSign",
302
- "exe"
303
- ],
304
272
  "type": "object"
305
273
  }
306
274
  },
307
- "required": [
308
- "company",
309
- "components",
310
- "copyright",
311
- "mac",
312
- "productDescription",
313
- "productName",
314
- "productSlug",
315
- "sentry",
316
- "version",
317
- "win"
318
- ],
319
275
  "type": "object"
320
276
  }
@@ -45,6 +45,7 @@ const path_1 = require("path");
45
45
  const component_config_1 = require("./component.config");
46
46
  const colors_1 = require("../../utils/colors");
47
47
  const clack = __importStar(require("@clack/prompts"));
48
+ const modifications_tracker_1 = require("../modifications/modifications.tracker");
48
49
  /**
49
50
  * Service for managing components
50
51
  */
@@ -149,6 +150,7 @@ class ComponentsService {
149
150
  }
150
151
  }
151
152
  }
153
+ modifications_tracker_1.ModificationsTracker.clearAll(); // Clear modification records after a new installation.
152
154
  this.logger.info(`Components installation completed successfully.`);
153
155
  }
154
156
  async installComponentsForBuild() {