@smoothbricks/nx-plugin 0.4.28 → 0.4.29

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 (124) hide show
  1. package/README.md +203 -83
  2. package/dist/bounded-test-policy.d.ts +10 -3
  3. package/dist/bounded-test-policy.d.ts.map +1 -1
  4. package/dist/bounded-test-policy.js +19 -25
  5. package/dist/cargo-closure-input.d.ts +12 -0
  6. package/dist/cargo-closure-input.d.ts.map +1 -1
  7. package/dist/cargo-closure-input.js +29 -7
  8. package/dist/cargo-source-hash.d.ts.map +1 -1
  9. package/dist/cargo-source-hash.js +42 -19
  10. package/dist/ensure-built-receipt.d.ts +34 -6
  11. package/dist/ensure-built-receipt.d.ts.map +1 -1
  12. package/dist/ensure-built-receipt.js +265 -159
  13. package/dist/ensure-built-witness.d.ts +27 -2
  14. package/dist/ensure-built-witness.d.ts.map +1 -1
  15. package/dist/ensure-built-witness.js +2176 -15
  16. package/dist/ensure-built.d.ts +99 -1
  17. package/dist/ensure-built.d.ts.map +1 -1
  18. package/dist/ensure-built.js +34 -53
  19. package/dist/executors/bounded-exec/cpu-pool.d.ts +16 -5
  20. package/dist/executors/bounded-exec/cpu-pool.d.ts.map +1 -1
  21. package/dist/executors/bounded-exec/cpu-pool.js +43 -19
  22. package/dist/executors/bounded-exec/executor.d.ts +11 -2
  23. package/dist/executors/bounded-exec/executor.d.ts.map +1 -1
  24. package/dist/executors/bounded-exec/executor.js +139 -39
  25. package/dist/executors/bounded-exec/ram-temp.d.ts +17 -11
  26. package/dist/executors/bounded-exec/ram-temp.d.ts.map +1 -1
  27. package/dist/executors/bounded-exec/ram-temp.js +27 -13
  28. package/dist/generators/bun-test-tracing/generator.js +2 -2
  29. package/dist/graph-input-contract.d.ts +98 -0
  30. package/dist/graph-input-contract.d.ts.map +1 -0
  31. package/dist/graph-input-contract.js +624 -0
  32. package/dist/index.d.ts +12 -5
  33. package/dist/index.d.ts.map +1 -1
  34. package/dist/index.js +17 -3
  35. package/dist/managed-files/ci-workflow.d.ts.map +1 -1
  36. package/dist/managed-files/ci-workflow.js +5 -2
  37. package/dist/managed-files/publish-workflow.d.ts +11 -1
  38. package/dist/managed-files/publish-workflow.d.ts.map +1 -1
  39. package/dist/producer-receipts.d.ts +19 -0
  40. package/dist/producer-receipts.d.ts.map +1 -0
  41. package/dist/producer-receipts.js +921 -0
  42. package/dist/testing.d.ts +8 -0
  43. package/dist/testing.d.ts.map +1 -1
  44. package/dist/testing.js +58 -0
  45. package/managed/raw/patches/nx@23.2.1.patch +328 -50
  46. package/managed/raw/tooling/direnv/developer-links.ts +147 -21
  47. package/managed/raw/tooling/direnv/devenv.smoo.nix +7 -7
  48. package/managed/raw/tooling/direnv/github-actions-bootstrap.sh +14 -5
  49. package/managed/raw/tooling/direnv/linked-snapshots.ts +206 -40
  50. package/managed/raw/tooling/direnv/repo-path +15 -2
  51. package/managed/raw/tooling/direnv/setup-environment.ts +179 -114
  52. package/managed/templates/github/actions/cache-node-modules/action.yml +9 -0
  53. package/managed/templates/github/actions/setup-devenv/action.yml +63 -7
  54. package/nextest.toml +1 -1
  55. package/package.json +11 -6
  56. package/src/__tests__/fixture-nx-env.ts +7 -0
  57. package/src/__tests__/owned-installation.ts +174 -0
  58. package/src/bin/smoo-nx-bound-failures.test.ts +1 -1
  59. package/src/bounded-test-policy.test.ts +36 -22
  60. package/src/bounded-test-policy.ts +19 -27
  61. package/src/bun-bootstrap.test.ts +1 -1
  62. package/src/cargo-closure-input.test.ts +60 -11
  63. package/src/cargo-closure-input.ts +28 -6
  64. package/src/cargo-resolve-cache.test.ts +140 -25
  65. package/src/cargo-source-hash.test.ts +78 -3
  66. package/src/cargo-source-hash.ts +48 -30
  67. package/src/cross-check-policy.test.ts +2 -2
  68. package/src/ensure-built-receipt.test.ts +111 -16
  69. package/src/ensure-built-receipt.ts +251 -149
  70. package/src/ensure-built-witness.test.ts +197 -13
  71. package/src/ensure-built-witness.ts +187 -15
  72. package/src/ensure-built.test.ts +156 -102
  73. package/src/ensure-built.ts +114 -64
  74. package/src/executors/bounded-exec/cpu-pool.test.ts +116 -32
  75. package/src/executors/bounded-exec/cpu-pool.ts +55 -17
  76. package/src/executors/bounded-exec/cpu-tokens.test.ts +2 -2
  77. package/src/executors/bounded-exec/executor-host.test.ts +51 -41
  78. package/src/executors/bounded-exec/executor.test.ts +155 -35
  79. package/src/executors/bounded-exec/executor.ts +156 -45
  80. package/src/executors/bounded-exec/progress.test.ts +1 -1
  81. package/src/executors/bounded-exec/ram-temp-host.test.ts +46 -17
  82. package/src/executors/bounded-exec/ram-temp.test.ts +65 -3
  83. package/src/executors/bounded-exec/ram-temp.ts +32 -16
  84. package/src/executors/bounded-exec/verdict.test.ts +17 -12
  85. package/src/generators/bounded-test-targets/generator.test.ts +1 -3
  86. package/src/generators/bun-test-tracing/generator.test.ts +2 -2
  87. package/src/generators/bun-test-tracing/generator.ts +2 -2
  88. package/src/graph-input-contract.test.ts +371 -0
  89. package/src/graph-input-contract.ts +605 -0
  90. package/src/index.test.ts +3 -3
  91. package/src/index.ts +24 -3
  92. package/src/linked-snapshots.nx.test.ts +112 -30
  93. package/src/managed-files/ci-workflow.ts +5 -2
  94. package/src/managed-files/publish-workflow.ts +12 -1
  95. package/src/managed-files/repo-path.test.ts +44 -1
  96. package/src/managed-files/setup-devenv-free-disk.test.ts +95 -0
  97. package/src/nextest-code-bound.test.ts +23 -17
  98. package/src/nextest-partitions.test.ts +7 -1
  99. package/src/nx-cache-restore-mtime.test.ts +2 -2
  100. package/src/nx-daemon-claim.test.ts +5 -5
  101. package/src/nx-daemon-idle-cpu.test.ts +0 -1
  102. package/src/nx-daemon-idle-policy.test.ts +56 -0
  103. package/src/nx-daemon-ignore-files.test.ts +2 -2
  104. package/src/nx-daemon-validity.test.ts +31 -9
  105. package/src/nx-dot-input-policy.test.ts +5 -5
  106. package/src/nx-files-archive-racy.test.ts +1 -1
  107. package/src/nx-incomplete-run-summary.test.ts +1 -1
  108. package/src/nx-plugin-load-errors.test.ts +2 -2
  109. package/src/nx-project-graph-errors.test.ts +70 -0
  110. package/src/nx-skipped-task-exit.test.ts +2 -2
  111. package/src/nx-store-resolution.test.ts +7 -25
  112. package/src/nx-task-output-lease.test.ts +3 -3
  113. package/src/nx-use-local.test.ts +7 -5
  114. package/src/producer-receipts.test.ts +164 -0
  115. package/src/producer-receipts.ts +631 -0
  116. package/src/runtime-input.test.ts +1 -1
  117. package/src/serial-group-wiring.test.ts +4 -4
  118. package/src/task-results.test.ts +18 -16
  119. package/src/test-timings.test.ts +2 -2
  120. package/src/testing.test.ts +5 -5
  121. package/src/testing.ts +59 -0
  122. package/src/typecheck-test-policy.test.ts +1 -1
  123. package/src/typescript-resolution.test.ts +76 -0
  124. package/test-timings.json +5 -0
@@ -1,6 +1,10 @@
1
+ import * as _assertGuard_1 from "typia/lib/internal/_assertGuard";
2
+ import * as _accessExpressionAsString_1 from "typia/lib/internal/_accessExpressionAsString";
3
+ const __typia_transform__accessExpressionAsString = _accessExpressionAsString_1._accessExpressionAsString;
1
4
  import { createHash, randomUUID } from 'node:crypto';
2
5
  import { closeSync, lstatSync, openSync, readdirSync, readFileSync, readSync, realpathSync, renameSync, rmSync, writeFileSync, } from 'node:fs';
3
- import { dirname, join } from 'node:path';
6
+ import { createRequire } from 'node:module';
7
+ import { dirname, isAbsolute, join, relative, resolve } from 'node:path';
4
8
  import typia from 'typia';
5
9
  /** Identity of a previously read node, not a timestamp freshness threshold. */
6
10
  export function nodeStamp(stats) {
@@ -275,6 +279,35 @@ export function nodesUnchanged(nodes) {
275
279
  }
276
280
  return true;
277
281
  }
282
+ /**
283
+ * The witnessed nodes whose stamp is no longer the one read, named for a refusal (the first eight in witness order, a
284
+ * gone one with its error code, and how many more), or null when none moved. A node whose device, inode, mode, size
285
+ * and mtime are unchanged and only its ctime moved (a same-mode chmod, which Bun's bin linking does to a shared store
286
+ * file on any checkout's install) asks for a comparison, not a verdict: `same` re-reads it, and one it finds as
287
+ * recorded has not changed. Without `same` every move counts.
288
+ */
289
+ export function movedNodes(nodes, same = () => false) {
290
+ const moved = [];
291
+ for (const node of nodes) {
292
+ try {
293
+ const stamp = nodeStamp(lstatSync(node.path, { bigint: true }));
294
+ if (stamp === node.stamp)
295
+ continue;
296
+ // nodeStamp ends with the ctime: everything before it is the identity a same-mode chmod keeps.
297
+ const kept = stamp.slice(0, stamp.lastIndexOf(':')) === node.stamp.slice(0, node.stamp.lastIndexOf(':'));
298
+ if (!kept || !same(node.path))
299
+ moved.push(node.path);
300
+ }
301
+ catch (error) {
302
+ if (!systemError(error))
303
+ throw error;
304
+ moved.push(`${node.path} (${error.code})`);
305
+ }
306
+ }
307
+ if (moved.length === 0)
308
+ return null;
309
+ return `${moved.slice(0, 8).join(', ')}${moved.length > 8 ? ` and ${moved.length - 8} more` : ''}`;
310
+ }
278
311
  /** Membership and content are exact. Outputs do not exempt manifests or
279
312
  * newly created/deleted files; this graph witness has no output exclusions.
280
313
  */
@@ -302,17 +335,50 @@ export function reusableGraph(witness, workspaceRoot, environment, installation,
302
335
  * bytes, including manifest metadata; pre/post node stamps still reject a
303
336
  * tree that moved while reading. A missing optional dependency is recorded too.
304
337
  */
305
- export function graphInstallationIdentity(workspaceRoot, nxJson, resolvePackage) {
338
+ export function graphInstallationIdentity(workspaceRoot, nxJson, resolvePackage, expand, localInputs, onUnproved) {
339
+ const census = graphInstallationCensus(workspaceRoot, nxJson, resolvePackage, expand, localInputs, onUnproved);
340
+ if (census === null)
341
+ return null;
342
+ try {
343
+ // A file whose ctime alone moved is re-hashed: Bun's bin linking on any checkout's install re-chmods a shared
344
+ // store file to the mode it already has (movedNodes).
345
+ const hashes = new Map(census.files.map(({ path, sha256 }) => [path, sha256]));
346
+ const moved = movedNodes(census.nodes, (path) => hashes.get(path) === createHash('sha256').update(readFileSync(path)).digest('hex'));
347
+ if (moved !== null) {
348
+ onUnproved?.(`Installed module node changed during inspection: ${moved}`);
349
+ return null;
350
+ }
351
+ }
352
+ catch (error) {
353
+ if (systemError(error) && ['EACCES', 'EPERM', 'EIO'].includes(error.code))
354
+ throw error;
355
+ if (error instanceof Error) {
356
+ onUnproved?.(error.message);
357
+ return null;
358
+ }
359
+ throw error;
360
+ }
361
+ return JSON.stringify({ ...census, localInputs: localInputs?.identity ?? null });
362
+ }
363
+ /** One read of the installation closure {@link graphInstallationIdentity} binds, without its final check that no node
364
+ * moved while it was read: what a caller that needs the closure, not a proof of it, reads. `null`, with `onUnproved`
365
+ * told why, for a closure that cannot be read.
366
+ */
367
+ export function graphInstallationCensus(workspaceRoot, nxJson, resolvePackage, expand, localInputs, onUnproved) {
306
368
  const plugins = (nxJson.plugins ?? []).map((plugin) => (typeof plugin === 'string' ? plugin : plugin.plugin));
307
- if (plugins.some((plugin) => plugin !== '@smoothbricks/nx-plugin'))
369
+ const unproved = plugins.filter((plugin) => plugin !== '@smoothbricks/nx-plugin' && !localInputs?.plugins.includes(plugin));
370
+ if (unproved.length > 0) {
371
+ onUnproved?.(`Unproved configured graph plugins: ${unproved.join(', ')}`);
308
372
  return null;
373
+ }
309
374
  const nodes = [];
310
375
  const files = [];
311
376
  const buffer = Buffer.allocUnsafe(64 * 1024);
312
377
  const resolutions = [];
313
378
  const visited = new Set();
314
379
  const declaredDirectoryLinks = new Set();
315
- function walk(path) {
380
+ const expandedRoots = new Set();
381
+ function walk(path, selected) {
316
382
  const stats = lstatSync(path, { bigint: true });
317
383
  nodes.push({ path, stamp: nodeStamp(stats) });
318
384
  if (stats.isSymbolicLink()) {
@@ -323,9 +389,14 @@ export function graphInstallationIdentity(workspaceRoot, nxJson, resolvePackage)
323
389
  walk(physical);
324
390
  }
325
391
  else if (stats.isDirectory()) {
392
+ const visible = expandedRoots.has(path) ? undefined : selected;
326
393
  for (const name of readdirSync(path).sort()) {
327
- if (name !== 'node_modules' && name !== '.git' && name !== '.nx')
328
- walk(join(path, name));
394
+ const child = join(path, name);
395
+ if (name !== 'node_modules' &&
396
+ name !== '.git' &&
397
+ name !== '.nx' &&
398
+ (visible === undefined || visible.has(child)))
399
+ walk(child, visible);
329
400
  }
330
401
  }
331
402
  else if (!stats.isFile()) {
@@ -345,10 +416,2040 @@ export function graphInstallationIdentity(workspaceRoot, nxJson, resolvePackage)
345
416
  files.push({ path, sha256: hash.digest('hex') });
346
417
  }
347
418
  }
419
+ function installedManifest(name, from) {
420
+ try {
421
+ return resolvePackage(name, [from]);
422
+ }
423
+ catch (original) {
424
+ if (systemError(original) && ['EACCES', 'EPERM', 'EIO'].includes(original.code))
425
+ throw original;
426
+ // A package may expose only subpaths: its dependency declaration still owns its installed manifest and files.
427
+ for (const directory of createRequire(join(from, 'package.json')).resolve.paths(name) ?? []) {
428
+ const path = join(directory, name, 'package.json');
429
+ try {
430
+ const packageJson = (() => {
431
+ const _ip0 = (input, _vctx = {}) => "string" === typeof input["name"];
432
+ const _ip1 = (input, _vctx = {}) => "string" === typeof input["version"];
433
+ const _ip2 = (input, _vctx = {}) => undefined === input["license"] || "string" === typeof input["license"];
434
+ const _ip3 = (input, _vctx = {}) => undefined === input["private"] || "boolean" === typeof input["private"];
435
+ const _ip4 = (input, _vctx = {}) => undefined === input["scripts"] || "object" === typeof input["scripts"] && null !== input["scripts"] && false === Array.isArray(input["scripts"]) && _io1(input["scripts"], _vctx);
436
+ const _ip5 = (input, _vctx = {}) => undefined === input["type"] || "commonjs" === input["type"] || "module" === input["type"];
437
+ const _ip6 = (input, _vctx = {}) => undefined === input["main"] || "string" === typeof input["main"];
438
+ const _ip7 = (input, _vctx = {}) => undefined === input["types"] || "string" === typeof input["types"];
439
+ const _ip8 = (input, _vctx = {}) => undefined === input["typings"] || "string" === typeof input["typings"];
440
+ const _ip9 = (input, _vctx = {}) => undefined === input["module"] || "string" === typeof input["module"];
441
+ const _ip10 = (input, _vctx = {}) => null !== input["exports"] && (undefined === input["exports"] || "string" === typeof input["exports"] || "object" === typeof input["exports"] && null !== input["exports"] && false === Array.isArray(input["exports"]) && _io2(input["exports"], _vctx));
442
+ const _ip11 = (input, _vctx = {}) => undefined === input["dependencies"] || "object" === typeof input["dependencies"] && null !== input["dependencies"] && false === Array.isArray(input["dependencies"]) && _io1(input["dependencies"], _vctx);
443
+ const _ip12 = (input, _vctx = {}) => undefined === input["devDependencies"] || "object" === typeof input["devDependencies"] && null !== input["devDependencies"] && false === Array.isArray(input["devDependencies"]) && _io1(input["devDependencies"], _vctx);
444
+ const _ip13 = (input, _vctx = {}) => undefined === input["optionalDependencies"] || "object" === typeof input["optionalDependencies"] && null !== input["optionalDependencies"] && false === Array.isArray(input["optionalDependencies"]) && _io1(input["optionalDependencies"], _vctx);
445
+ const _ip14 = (input, _vctx = {}) => undefined === input["peerDependencies"] || "object" === typeof input["peerDependencies"] && null !== input["peerDependencies"] && false === Array.isArray(input["peerDependencies"]) && _io1(input["peerDependencies"], _vctx);
446
+ const _ip15 = (input, _vctx = {}) => undefined === input["peerDependenciesMeta"] || "object" === typeof input["peerDependenciesMeta"] && null !== input["peerDependenciesMeta"] && false === Array.isArray(input["peerDependenciesMeta"]) && _io4(input["peerDependenciesMeta"], _vctx);
447
+ const _ip16 = (input, _vctx = {}) => undefined === input["resolutions"] || "object" === typeof input["resolutions"] && null !== input["resolutions"] && false === Array.isArray(input["resolutions"]) && _io1(input["resolutions"], _vctx);
448
+ const _ip17 = (input, _vctx = {}) => undefined === input["pnpm"] || "object" === typeof input["pnpm"] && null !== input["pnpm"] && false === Array.isArray(input["pnpm"]) && _io6(input["pnpm"], _vctx);
449
+ const _ip18 = (input, _vctx = {}) => undefined === input["overrides"] || "object" === typeof input["overrides"] && null !== input["overrides"] && false === Array.isArray(input["overrides"]) && _io7(input["overrides"], _vctx);
450
+ const _ip19 = (input, _vctx = {}) => undefined === input["allowScripts"] || "object" === typeof input["allowScripts"] && null !== input["allowScripts"] && false === Array.isArray(input["allowScripts"]) && _io8(input["allowScripts"], _vctx);
451
+ const _ip20 = (input, _vctx = {}) => null !== input["bin"] && (undefined === input["bin"] || "string" === typeof input["bin"] || "object" === typeof input["bin"] && null !== input["bin"] && false === Array.isArray(input["bin"]) && _io1(input["bin"], _vctx));
452
+ const _ip21 = (input, _vctx = {}) => null !== input["workspaces"] && (undefined === input["workspaces"] || (Array.isArray(input["workspaces"]) && input["workspaces"].every(elem => "string" === typeof elem) || "object" === typeof input["workspaces"] && null !== input["workspaces"] && _io11(input["workspaces"], _vctx)));
453
+ const _ip22 = (input, _vctx = {}) => undefined === input["publishConfig"] || "object" === typeof input["publishConfig"] && null !== input["publishConfig"] && false === Array.isArray(input["publishConfig"]) && _io1(input["publishConfig"], _vctx);
454
+ const _ip23 = (input, _vctx = {}) => undefined === input["files"] || Array.isArray(input["files"]) && input["files"].every(elem => "string" === typeof elem);
455
+ const _ip24 = (input, _vctx = {}) => undefined === input["nx"] || "object" === typeof input["nx"] && null !== input["nx"] && false === Array.isArray(input["nx"]) && _io12(input["nx"], _vctx);
456
+ const _ip25 = (input, _vctx = {}) => undefined === input["generators"] || "string" === typeof input["generators"];
457
+ const _ip26 = (input, _vctx = {}) => undefined === input["schematics"] || "string" === typeof input["schematics"];
458
+ const _ip27 = (input, _vctx = {}) => undefined === input["builders"] || "string" === typeof input["builders"];
459
+ const _ip28 = (input, _vctx = {}) => undefined === input["executors"] || "string" === typeof input["executors"];
460
+ const _ip29 = (input, _vctx = {}) => null !== input["nx-migrations"] && (undefined === input["nx-migrations"] || "string" === typeof input["nx-migrations"] || "object" === typeof input["nx-migrations"] && null !== input["nx-migrations"] && false === Array.isArray(input["nx-migrations"]) && _io46(input["nx-migrations"], _vctx));
461
+ const _ip30 = (input, _vctx = {}) => null !== input["ng-update"] && (undefined === input["ng-update"] || "string" === typeof input["ng-update"] || "object" === typeof input["ng-update"] && null !== input["ng-update"] && false === Array.isArray(input["ng-update"]) && _io46(input["ng-update"], _vctx));
462
+ const _ip31 = (input, _vctx = {}) => undefined === input["packageManager"] || "string" === typeof input["packageManager"];
463
+ const _ip32 = (input, _vctx = {}) => undefined === input["description"] || "string" === typeof input["description"];
464
+ const _ip33 = (input, _vctx = {}) => undefined === input["keywords"] || Array.isArray(input["keywords"]) && input["keywords"].every(elem => "string" === typeof elem);
465
+ const _ip34 = (input, _vctx = {}) => "string" === typeof input["input"];
466
+ const _ip35 = (input, _vctx = {}) => true === input["dependencies"];
467
+ const _ip36 = (input, _vctx = {}) => "string" === typeof input["fileset"];
468
+ const _ip37 = (input, _vctx = {}) => undefined === input["technologies"] || Array.isArray(input["technologies"]) && input["technologies"].every(elem => "string" === typeof elem);
469
+ const _ip40 = (input, _vctx = {}) => "string" === typeof input["package"];
470
+ const _ap0 = (input, _path, _exceptionable = true, _vctx = {}) => "string" === typeof input["name"] || _assertGuard_1._assertGuard(_exceptionable, {
471
+ method: "typia.json.assertParse",
472
+ path: _path + ".name",
473
+ expected: "string",
474
+ value: input["name"]
475
+ }, _errorFactory);
476
+ const _ap1 = (input, _path, _exceptionable = true, _vctx = {}) => "string" === typeof input["version"] || _assertGuard_1._assertGuard(_exceptionable, {
477
+ method: "typia.json.assertParse",
478
+ path: _path + ".version",
479
+ expected: "string",
480
+ value: input["version"]
481
+ }, _errorFactory);
482
+ const _ap2 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["license"] || "string" === typeof input["license"] || _assertGuard_1._assertGuard(_exceptionable, {
483
+ method: "typia.json.assertParse",
484
+ path: _path + ".license",
485
+ expected: "(string | undefined)",
486
+ value: input["license"]
487
+ }, _errorFactory);
488
+ const _ap3 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["private"] || "boolean" === typeof input["private"] || _assertGuard_1._assertGuard(_exceptionable, {
489
+ method: "typia.json.assertParse",
490
+ path: _path + "[\"private\"]",
491
+ expected: "(boolean | undefined)",
492
+ value: input["private"]
493
+ }, _errorFactory);
494
+ const _ap4 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["scripts"] || ("object" === typeof input["scripts"] && null !== input["scripts"] && false === Array.isArray(input["scripts"]) || _assertGuard_1._assertGuard(_exceptionable, {
495
+ method: "typia.json.assertParse",
496
+ path: _path + ".scripts",
497
+ expected: "(Record<string, string> | undefined)",
498
+ value: input["scripts"]
499
+ }, _errorFactory)) && _ao1(input["scripts"], _path + ".scripts", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
500
+ method: "typia.json.assertParse",
501
+ path: _path + ".scripts",
502
+ expected: "(Record<string, string> | undefined)",
503
+ value: input["scripts"]
504
+ }, _errorFactory);
505
+ const _ap5 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["type"] || "commonjs" === input["type"] || "module" === input["type"] || _assertGuard_1._assertGuard(_exceptionable, {
506
+ method: "typia.json.assertParse",
507
+ path: _path + ".type",
508
+ expected: "(\"commonjs\" | \"module\" | undefined)",
509
+ value: input["type"]
510
+ }, _errorFactory);
511
+ const _ap6 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["main"] || "string" === typeof input["main"] || _assertGuard_1._assertGuard(_exceptionable, {
512
+ method: "typia.json.assertParse",
513
+ path: _path + ".main",
514
+ expected: "(string | undefined)",
515
+ value: input["main"]
516
+ }, _errorFactory);
517
+ const _ap7 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["types"] || "string" === typeof input["types"] || _assertGuard_1._assertGuard(_exceptionable, {
518
+ method: "typia.json.assertParse",
519
+ path: _path + ".types",
520
+ expected: "(string | undefined)",
521
+ value: input["types"]
522
+ }, _errorFactory);
523
+ const _ap8 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["typings"] || "string" === typeof input["typings"] || _assertGuard_1._assertGuard(_exceptionable, {
524
+ method: "typia.json.assertParse",
525
+ path: _path + ".typings",
526
+ expected: "(string | undefined)",
527
+ value: input["typings"]
528
+ }, _errorFactory);
529
+ const _ap9 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["module"] || "string" === typeof input["module"] || _assertGuard_1._assertGuard(_exceptionable, {
530
+ method: "typia.json.assertParse",
531
+ path: _path + "[\"module\"]",
532
+ expected: "(string | undefined)",
533
+ value: input["module"]
534
+ }, _errorFactory);
535
+ const _ap10 = (input, _path, _exceptionable = true, _vctx = {}) => (null !== input["exports"] || _assertGuard_1._assertGuard(_exceptionable, {
536
+ method: "typia.json.assertParse",
537
+ path: _path + ".exports",
538
+ expected: _ae0,
539
+ value: input["exports"]
540
+ }, _errorFactory)) && (undefined === input["exports"] || "string" === typeof input["exports"] || ("object" === typeof input["exports"] && null !== input["exports"] && false === Array.isArray(input["exports"]) || _assertGuard_1._assertGuard(_exceptionable, {
541
+ method: "typia.json.assertParse",
542
+ path: _path + ".exports",
543
+ expected: _ae0,
544
+ value: input["exports"]
545
+ }, _errorFactory)) && _ao2(input["exports"], _path + ".exports", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
546
+ method: "typia.json.assertParse",
547
+ path: _path + ".exports",
548
+ expected: _ae0,
549
+ value: input["exports"]
550
+ }, _errorFactory));
551
+ const _ae0 = "(Record<string, string | { types?: string | undefined; require?: string | undefined; import?: string | undefined; development?: string | undefined; default?: string | undefined; }> | string | undefined)";
552
+ const _ap11 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["dependencies"] || ("object" === typeof input["dependencies"] && null !== input["dependencies"] && false === Array.isArray(input["dependencies"]) || _assertGuard_1._assertGuard(_exceptionable, {
553
+ method: "typia.json.assertParse",
554
+ path: _path + ".dependencies",
555
+ expected: "(Record<string, string> | undefined)",
556
+ value: input["dependencies"]
557
+ }, _errorFactory)) && _ao1(input["dependencies"], _path + ".dependencies", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
558
+ method: "typia.json.assertParse",
559
+ path: _path + ".dependencies",
560
+ expected: "(Record<string, string> | undefined)",
561
+ value: input["dependencies"]
562
+ }, _errorFactory);
563
+ const _ap12 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["devDependencies"] || ("object" === typeof input["devDependencies"] && null !== input["devDependencies"] && false === Array.isArray(input["devDependencies"]) || _assertGuard_1._assertGuard(_exceptionable, {
564
+ method: "typia.json.assertParse",
565
+ path: _path + ".devDependencies",
566
+ expected: "(Record<string, string> | undefined)",
567
+ value: input["devDependencies"]
568
+ }, _errorFactory)) && _ao1(input["devDependencies"], _path + ".devDependencies", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
569
+ method: "typia.json.assertParse",
570
+ path: _path + ".devDependencies",
571
+ expected: "(Record<string, string> | undefined)",
572
+ value: input["devDependencies"]
573
+ }, _errorFactory);
574
+ const _ap13 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["optionalDependencies"] || ("object" === typeof input["optionalDependencies"] && null !== input["optionalDependencies"] && false === Array.isArray(input["optionalDependencies"]) || _assertGuard_1._assertGuard(_exceptionable, {
575
+ method: "typia.json.assertParse",
576
+ path: _path + ".optionalDependencies",
577
+ expected: "(Record<string, string> | undefined)",
578
+ value: input["optionalDependencies"]
579
+ }, _errorFactory)) && _ao1(input["optionalDependencies"], _path + ".optionalDependencies", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
580
+ method: "typia.json.assertParse",
581
+ path: _path + ".optionalDependencies",
582
+ expected: "(Record<string, string> | undefined)",
583
+ value: input["optionalDependencies"]
584
+ }, _errorFactory);
585
+ const _ap14 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["peerDependencies"] || ("object" === typeof input["peerDependencies"] && null !== input["peerDependencies"] && false === Array.isArray(input["peerDependencies"]) || _assertGuard_1._assertGuard(_exceptionable, {
586
+ method: "typia.json.assertParse",
587
+ path: _path + ".peerDependencies",
588
+ expected: "(Record<string, string> | undefined)",
589
+ value: input["peerDependencies"]
590
+ }, _errorFactory)) && _ao1(input["peerDependencies"], _path + ".peerDependencies", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
591
+ method: "typia.json.assertParse",
592
+ path: _path + ".peerDependencies",
593
+ expected: "(Record<string, string> | undefined)",
594
+ value: input["peerDependencies"]
595
+ }, _errorFactory);
596
+ const _ap15 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["peerDependenciesMeta"] || ("object" === typeof input["peerDependenciesMeta"] && null !== input["peerDependenciesMeta"] && false === Array.isArray(input["peerDependenciesMeta"]) || _assertGuard_1._assertGuard(_exceptionable, {
597
+ method: "typia.json.assertParse",
598
+ path: _path + ".peerDependenciesMeta",
599
+ expected: "(Record<string, { optional: boolean; }> | undefined)",
600
+ value: input["peerDependenciesMeta"]
601
+ }, _errorFactory)) && _ao4(input["peerDependenciesMeta"], _path + ".peerDependenciesMeta", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
602
+ method: "typia.json.assertParse",
603
+ path: _path + ".peerDependenciesMeta",
604
+ expected: "(Record<string, { optional: boolean; }> | undefined)",
605
+ value: input["peerDependenciesMeta"]
606
+ }, _errorFactory);
607
+ const _ap16 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["resolutions"] || ("object" === typeof input["resolutions"] && null !== input["resolutions"] && false === Array.isArray(input["resolutions"]) || _assertGuard_1._assertGuard(_exceptionable, {
608
+ method: "typia.json.assertParse",
609
+ path: _path + ".resolutions",
610
+ expected: "(Record<string, string> | undefined)",
611
+ value: input["resolutions"]
612
+ }, _errorFactory)) && _ao1(input["resolutions"], _path + ".resolutions", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
613
+ method: "typia.json.assertParse",
614
+ path: _path + ".resolutions",
615
+ expected: "(Record<string, string> | undefined)",
616
+ value: input["resolutions"]
617
+ }, _errorFactory);
618
+ const _ap17 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["pnpm"] || ("object" === typeof input["pnpm"] && null !== input["pnpm"] && false === Array.isArray(input["pnpm"]) || _assertGuard_1._assertGuard(_exceptionable, {
619
+ method: "typia.json.assertParse",
620
+ path: _path + ".pnpm",
621
+ expected: _ae1,
622
+ value: input["pnpm"]
623
+ }, _errorFactory)) && _ao6(input["pnpm"], _path + ".pnpm", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
624
+ method: "typia.json.assertParse",
625
+ path: _path + ".pnpm",
626
+ expected: _ae1,
627
+ value: input["pnpm"]
628
+ }, _errorFactory);
629
+ const _ae1 = "(undefined | { overrides?: PackageOverride | undefined; onlyBuiltDependencies?: string[] | undefined; neverBuiltDependencies?: string[] | undefined; allowBuilds?: Record<string, boolean> | undefined; supportedArchitectures?: { ...; } | undefined; ignoredOptionalDependencies?: string[] | undefined; packageExtensions?: Record<...>...)";
630
+ const _ap18 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["overrides"] || ("object" === typeof input["overrides"] && null !== input["overrides"] && false === Array.isArray(input["overrides"]) || _assertGuard_1._assertGuard(_exceptionable, {
631
+ method: "typia.json.assertParse",
632
+ path: _path + ".overrides",
633
+ expected: "(PackageOverride | undefined)",
634
+ value: input["overrides"]
635
+ }, _errorFactory)) && _ao7(input["overrides"], _path + ".overrides", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
636
+ method: "typia.json.assertParse",
637
+ path: _path + ".overrides",
638
+ expected: "(PackageOverride | undefined)",
639
+ value: input["overrides"]
640
+ }, _errorFactory);
641
+ const _ap19 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["allowScripts"] || ("object" === typeof input["allowScripts"] && null !== input["allowScripts"] && false === Array.isArray(input["allowScripts"]) || _assertGuard_1._assertGuard(_exceptionable, {
642
+ method: "typia.json.assertParse",
643
+ path: _path + ".allowScripts",
644
+ expected: "(Record<string, boolean> | undefined)",
645
+ value: input["allowScripts"]
646
+ }, _errorFactory)) && _ao8(input["allowScripts"], _path + ".allowScripts", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
647
+ method: "typia.json.assertParse",
648
+ path: _path + ".allowScripts",
649
+ expected: "(Record<string, boolean> | undefined)",
650
+ value: input["allowScripts"]
651
+ }, _errorFactory);
652
+ const _ap20 = (input, _path, _exceptionable = true, _vctx = {}) => (null !== input["bin"] || _assertGuard_1._assertGuard(_exceptionable, {
653
+ method: "typia.json.assertParse",
654
+ path: _path + ".bin",
655
+ expected: "(Record<string, string> | string | undefined)",
656
+ value: input["bin"]
657
+ }, _errorFactory)) && (undefined === input["bin"] || "string" === typeof input["bin"] || ("object" === typeof input["bin"] && null !== input["bin"] && false === Array.isArray(input["bin"]) || _assertGuard_1._assertGuard(_exceptionable, {
658
+ method: "typia.json.assertParse",
659
+ path: _path + ".bin",
660
+ expected: "(Record<string, string> | string | undefined)",
661
+ value: input["bin"]
662
+ }, _errorFactory)) && _ao1(input["bin"], _path + ".bin", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
663
+ method: "typia.json.assertParse",
664
+ path: _path + ".bin",
665
+ expected: "(Record<string, string> | string | undefined)",
666
+ value: input["bin"]
667
+ }, _errorFactory));
668
+ const _ap21 = (input, _path, _exceptionable = true, _vctx = {}) => (null !== input["workspaces"] || _assertGuard_1._assertGuard(_exceptionable, {
669
+ method: "typia.json.assertParse",
670
+ path: _path + ".workspaces",
671
+ expected: "(Array<string> | undefined | { packages: string[]; })",
672
+ value: input["workspaces"]
673
+ }, _errorFactory)) && (undefined === input["workspaces"] || (Array.isArray(input["workspaces"]) && input["workspaces"].every((elem, _index33) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
674
+ method: "typia.json.assertParse",
675
+ path: _path + ".workspaces[" + _index33 + "]",
676
+ expected: "string",
677
+ value: elem
678
+ }, _errorFactory)) || "object" === typeof input["workspaces"] && null !== input["workspaces"] && _ao11(input["workspaces"], _path + ".workspaces", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
679
+ method: "typia.json.assertParse",
680
+ path: _path + ".workspaces",
681
+ expected: "(Array<string> | undefined | { packages: string[]; })",
682
+ value: input["workspaces"]
683
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
684
+ method: "typia.json.assertParse",
685
+ path: _path + ".workspaces",
686
+ expected: "(Array<string> | undefined | { packages: string[]; })",
687
+ value: input["workspaces"]
688
+ }, _errorFactory));
689
+ const _ap22 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["publishConfig"] || ("object" === typeof input["publishConfig"] && null !== input["publishConfig"] && false === Array.isArray(input["publishConfig"]) || _assertGuard_1._assertGuard(_exceptionable, {
690
+ method: "typia.json.assertParse",
691
+ path: _path + ".publishConfig",
692
+ expected: "(Record<string, string> | undefined)",
693
+ value: input["publishConfig"]
694
+ }, _errorFactory)) && _ao1(input["publishConfig"], _path + ".publishConfig", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
695
+ method: "typia.json.assertParse",
696
+ path: _path + ".publishConfig",
697
+ expected: "(Record<string, string> | undefined)",
698
+ value: input["publishConfig"]
699
+ }, _errorFactory);
700
+ const _ap23 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["files"] || (Array.isArray(input["files"]) || _assertGuard_1._assertGuard(_exceptionable, {
701
+ method: "typia.json.assertParse",
702
+ path: _path + ".files",
703
+ expected: "(Array<string> | undefined)",
704
+ value: input["files"]
705
+ }, _errorFactory)) && input["files"].every((elem, _index34) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
706
+ method: "typia.json.assertParse",
707
+ path: _path + ".files[" + _index34 + "]",
708
+ expected: "string",
709
+ value: elem
710
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
711
+ method: "typia.json.assertParse",
712
+ path: _path + ".files",
713
+ expected: "(Array<string> | undefined)",
714
+ value: input["files"]
715
+ }, _errorFactory);
716
+ const _ap24 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["nx"] || ("object" === typeof input["nx"] && null !== input["nx"] && false === Array.isArray(input["nx"]) || _assertGuard_1._assertGuard(_exceptionable, {
717
+ method: "typia.json.assertParse",
718
+ path: _path + ".nx",
719
+ expected: "(NxProjectPackageJsonConfiguration | undefined)",
720
+ value: input["nx"]
721
+ }, _errorFactory)) && _ao12(input["nx"], _path + ".nx", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
722
+ method: "typia.json.assertParse",
723
+ path: _path + ".nx",
724
+ expected: "(NxProjectPackageJsonConfiguration | undefined)",
725
+ value: input["nx"]
726
+ }, _errorFactory);
727
+ const _ap25 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["generators"] || "string" === typeof input["generators"] || _assertGuard_1._assertGuard(_exceptionable, {
728
+ method: "typia.json.assertParse",
729
+ path: _path + ".generators",
730
+ expected: "(string | undefined)",
731
+ value: input["generators"]
732
+ }, _errorFactory);
733
+ const _ap26 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["schematics"] || "string" === typeof input["schematics"] || _assertGuard_1._assertGuard(_exceptionable, {
734
+ method: "typia.json.assertParse",
735
+ path: _path + ".schematics",
736
+ expected: "(string | undefined)",
737
+ value: input["schematics"]
738
+ }, _errorFactory);
739
+ const _ap27 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["builders"] || "string" === typeof input["builders"] || _assertGuard_1._assertGuard(_exceptionable, {
740
+ method: "typia.json.assertParse",
741
+ path: _path + ".builders",
742
+ expected: "(string | undefined)",
743
+ value: input["builders"]
744
+ }, _errorFactory);
745
+ const _ap28 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["executors"] || "string" === typeof input["executors"] || _assertGuard_1._assertGuard(_exceptionable, {
746
+ method: "typia.json.assertParse",
747
+ path: _path + ".executors",
748
+ expected: "(string | undefined)",
749
+ value: input["executors"]
750
+ }, _errorFactory);
751
+ const _ap29 = (input, _path, _exceptionable = true, _vctx = {}) => (null !== input["nx-migrations"] || _assertGuard_1._assertGuard(_exceptionable, {
752
+ method: "typia.json.assertParse",
753
+ path: _path + "[\"nx-migrations\"]",
754
+ expected: "(NxMigrationsConfiguration | string | undefined)",
755
+ value: input["nx-migrations"]
756
+ }, _errorFactory)) && (undefined === input["nx-migrations"] || "string" === typeof input["nx-migrations"] || ("object" === typeof input["nx-migrations"] && null !== input["nx-migrations"] && false === Array.isArray(input["nx-migrations"]) || _assertGuard_1._assertGuard(_exceptionable, {
757
+ method: "typia.json.assertParse",
758
+ path: _path + "[\"nx-migrations\"]",
759
+ expected: "(NxMigrationsConfiguration | string | undefined)",
760
+ value: input["nx-migrations"]
761
+ }, _errorFactory)) && _ao46(input["nx-migrations"], _path + "[\"nx-migrations\"]", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
762
+ method: "typia.json.assertParse",
763
+ path: _path + "[\"nx-migrations\"]",
764
+ expected: "(NxMigrationsConfiguration | string | undefined)",
765
+ value: input["nx-migrations"]
766
+ }, _errorFactory));
767
+ const _ap30 = (input, _path, _exceptionable = true, _vctx = {}) => (null !== input["ng-update"] || _assertGuard_1._assertGuard(_exceptionable, {
768
+ method: "typia.json.assertParse",
769
+ path: _path + "[\"ng-update\"]",
770
+ expected: "(NxMigrationsConfiguration | string | undefined)",
771
+ value: input["ng-update"]
772
+ }, _errorFactory)) && (undefined === input["ng-update"] || "string" === typeof input["ng-update"] || ("object" === typeof input["ng-update"] && null !== input["ng-update"] && false === Array.isArray(input["ng-update"]) || _assertGuard_1._assertGuard(_exceptionable, {
773
+ method: "typia.json.assertParse",
774
+ path: _path + "[\"ng-update\"]",
775
+ expected: "(NxMigrationsConfiguration | string | undefined)",
776
+ value: input["ng-update"]
777
+ }, _errorFactory)) && _ao46(input["ng-update"], _path + "[\"ng-update\"]", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
778
+ method: "typia.json.assertParse",
779
+ path: _path + "[\"ng-update\"]",
780
+ expected: "(NxMigrationsConfiguration | string | undefined)",
781
+ value: input["ng-update"]
782
+ }, _errorFactory));
783
+ const _ap31 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["packageManager"] || "string" === typeof input["packageManager"] || _assertGuard_1._assertGuard(_exceptionable, {
784
+ method: "typia.json.assertParse",
785
+ path: _path + ".packageManager",
786
+ expected: "(string | undefined)",
787
+ value: input["packageManager"]
788
+ }, _errorFactory);
789
+ const _ap32 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["description"] || "string" === typeof input["description"] || _assertGuard_1._assertGuard(_exceptionable, {
790
+ method: "typia.json.assertParse",
791
+ path: _path + ".description",
792
+ expected: "(string | undefined)",
793
+ value: input["description"]
794
+ }, _errorFactory);
795
+ const _ap33 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["keywords"] || (Array.isArray(input["keywords"]) || _assertGuard_1._assertGuard(_exceptionable, {
796
+ method: "typia.json.assertParse",
797
+ path: _path + ".keywords",
798
+ expected: "(Array<string> | undefined)",
799
+ value: input["keywords"]
800
+ }, _errorFactory)) && input["keywords"].every((elem, _index35) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
801
+ method: "typia.json.assertParse",
802
+ path: _path + ".keywords[" + _index35 + "]",
803
+ expected: "string",
804
+ value: elem
805
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
806
+ method: "typia.json.assertParse",
807
+ path: _path + ".keywords",
808
+ expected: "(Array<string> | undefined)",
809
+ value: input["keywords"]
810
+ }, _errorFactory);
811
+ const _ae2 = "(string | { types?: string | undefined; require?: string | undefined; import?: string | undefined; development?: string | undefined; default?: string | undefined; })";
812
+ const _ae3 = "(undefined | { version?: Pick<NxReleaseVersionConfiguration, \"currentVersionResolver\" | \"currentVersionResolverMetadata\" | \"fallbackCurrentVersionResolver\" | ... 5 more ... | \"versionPrefix\"> | undefined; docker?: true | ... 1 more ... | undefined; })";
813
+ const _ae4 = "(JsonInput | string | { dependentTasksOutputFiles: string; transitive?: boolean | undefined; } | { env: string; } | { externalDependencies: string[]; } | { fileset: string; dependencies: true; } | { fileset: string; } | { input: string; dependencies: true; } | { input: string; projects: string | string[]; } | { input: string; } | { runtime: string; } | { workingDirectory: \"absolute\" | \"relative\"; })";
814
+ const _ap34 = (input, _path, _exceptionable = true, _vctx = {}) => "string" === typeof input["input"] || _assertGuard_1._assertGuard(_exceptionable, {
815
+ method: "typia.json.assertParse",
816
+ path: _path + ".input",
817
+ expected: "string",
818
+ value: input["input"]
819
+ }, _errorFactory);
820
+ const _ap35 = (input, _path, _exceptionable = true, _vctx = {}) => true === input["dependencies"] || _assertGuard_1._assertGuard(_exceptionable, {
821
+ method: "typia.json.assertParse",
822
+ path: _path + ".dependencies",
823
+ expected: "true",
824
+ value: input["dependencies"]
825
+ }, _errorFactory);
826
+ const _ap36 = (input, _path, _exceptionable = true, _vctx = {}) => "string" === typeof input["fileset"] || _assertGuard_1._assertGuard(_exceptionable, {
827
+ method: "typia.json.assertParse",
828
+ path: _path + ".fileset",
829
+ expected: "string",
830
+ value: input["fileset"]
831
+ }, _errorFactory);
832
+ const _ap37 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["technologies"] || (Array.isArray(input["technologies"]) || _assertGuard_1._assertGuard(_exceptionable, {
833
+ method: "typia.json.assertParse",
834
+ path: _path + ".technologies",
835
+ expected: "(Array<string> | undefined)",
836
+ value: input["technologies"]
837
+ }, _errorFactory)) && input["technologies"].every((elem, _index55) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
838
+ method: "typia.json.assertParse",
839
+ path: _path + ".technologies[" + _index55 + "]",
840
+ expected: "string",
841
+ value: elem
842
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
843
+ method: "typia.json.assertParse",
844
+ path: _path + ".technologies",
845
+ expected: "(Array<string> | undefined)",
846
+ value: input["technologies"]
847
+ }, _errorFactory);
848
+ const _ae5 = "(Pick<NxReleaseVersionConfiguration, \"currentVersionResolver\" | \"currentVersionResolverMetadata\" | \"fallbackCurrentVersionResolver\" | \"manifestRootsToUpdate\" | ... 4 more ... | \"versionPrefix\"> | undefined)";
849
+ const _ae6 = "(undefined | { [ownerId: string]: { ownedFiles: { files: string[] | [\"*\"]; fromConfig?: { filePath: string; location: { startLine: number; endLine: number; }; } | undefined; }[]; }; })";
850
+ const _ae7 = "(undefined | { packageName: string; packageVersion?: string | undefined; packageExports?: string | Record<string, string | { types?: string | undefined; require?: string | undefined; import?: string | undefined; development?: string | undefined; default?: string | undefined; }> | undefined; packageMain?: string | undefined; isIn...)";
851
+ const _ae8 = "{ ownedFiles: { files: string[] | [\"*\"]; fromConfig?: { filePath: string; location: { startLine: number; endLine: number; }; } | undefined; }[]; }";
852
+ const _ae9 = "{ files: string[] | [\"*\"]; fromConfig?: { filePath: string; location: { startLine: number; endLine: number; }; } | undefined; }[]";
853
+ const _ap40 = (input, _path, _exceptionable = true, _vctx = {}) => "string" === typeof input["package"] || _assertGuard_1._assertGuard(_exceptionable, {
854
+ method: "typia.json.assertParse",
855
+ path: _path + "[\"package\"]",
856
+ expected: "string",
857
+ value: input["package"]
858
+ }, _errorFactory);
859
+ const _ip38 = (input, _vctx = {}) => {
860
+ const array = input;
861
+ const tuplePredicators = [
862
+ [
863
+ top => top.length === 1 && "*" === top[0],
864
+ entire => entire.length === 1 && "*" === entire[0]
865
+ ]
866
+ ];
867
+ for (const pred of tuplePredicators)
868
+ if (pred[0](array))
869
+ return pred[1](array);
870
+ const top = input[0];
871
+ if (0 === input.length)
872
+ return true;
873
+ const arrayPredicators = [
874
+ [
875
+ top => "string" === typeof top,
876
+ entire => entire.every(elem => "string" === typeof elem)
877
+ ]
878
+ ];
879
+ const passed = arrayPredicators.filter(pred => pred[0](top));
880
+ if (1 === passed.length)
881
+ return passed[0][1](array);
882
+ else if (1 < passed.length)
883
+ for (const pred of passed)
884
+ if (array.every(value => true === pred[0](value)))
885
+ return pred[1](array);
886
+ return false;
887
+ };
888
+ const _ip39 = (input, _vctx = {}) => {
889
+ const array = input;
890
+ const top = input[0];
891
+ if (0 === input.length)
892
+ return true;
893
+ const arrayPredicators = [
894
+ [
895
+ top => null !== top && undefined !== top && ("string" === typeof top || "object" === typeof top && null !== top && _io47(top, _vctx)),
896
+ entire => entire.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && _io47(elem, _vctx)))
897
+ ],
898
+ [
899
+ top => "object" === typeof top && null !== top && _io48(top, _vctx),
900
+ entire => entire.every(elem => "object" === typeof elem && null !== elem && _io48(elem, _vctx))
901
+ ]
902
+ ];
903
+ const passed = arrayPredicators.filter(pred => pred[0](top));
904
+ if (1 === passed.length)
905
+ return passed[0][1](array);
906
+ else if (1 < passed.length)
907
+ for (const pred of passed)
908
+ if (array.every(value => true === pred[0](value)))
909
+ return pred[1](array);
910
+ return false;
911
+ };
912
+ const _ap38 = (input, _path, _exceptionable = true, _vctx = {}) => {
913
+ const array = input;
914
+ const tuplePredicators = [
915
+ [
916
+ top => top.length === 1 && "*" === top[0],
917
+ entire => (entire.length === 1 || _assertGuard_1._assertGuard(_exceptionable, {
918
+ method: "typia.json.assertParse",
919
+ path: _path,
920
+ expected: "[\"*\"]",
921
+ value: entire
922
+ }, _errorFactory)) && ("*" === entire[0] || _assertGuard_1._assertGuard(_exceptionable, {
923
+ method: "typia.json.assertParse",
924
+ path: _path + "[0]",
925
+ expected: "\"*\"",
926
+ value: entire[0]
927
+ }, _errorFactory))
928
+ ]
929
+ ];
930
+ for (const pred of tuplePredicators)
931
+ if (pred[0](array))
932
+ return pred[1](array);
933
+ const top = input[0];
934
+ if (0 === input.length)
935
+ return true;
936
+ const arrayPredicators = [
937
+ [
938
+ top => "string" === typeof top,
939
+ entire => entire.every((elem, _index62) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
940
+ method: "typia.json.assertParse",
941
+ path: _path + "[" + _index62 + "]",
942
+ expected: "string",
943
+ value: elem
944
+ }, _errorFactory))
945
+ ]
946
+ ];
947
+ const passed = arrayPredicators.filter(pred => pred[0](top));
948
+ if (1 === passed.length)
949
+ return passed[0][1](array);
950
+ else if (1 < passed.length)
951
+ for (const pred of passed)
952
+ if (array.every(value => true === pred[0](value)))
953
+ return pred[1](array);
954
+ return _assertGuard_1._assertGuard(_exceptionable, {
955
+ method: "typia.json.assertParse",
956
+ path: _path,
957
+ expected: "([\"*\"] | Array<string>)",
958
+ value: input
959
+ }, _errorFactory);
960
+ };
961
+ const _ap39 = (input, _path, _exceptionable = true, _vctx = {}) => {
962
+ const array = input;
963
+ const top = input[0];
964
+ if (0 === input.length)
965
+ return true;
966
+ const arrayPredicators = [
967
+ [
968
+ top => null !== top && undefined !== top && ("string" === typeof top || "object" === typeof top && null !== top && _ao47(top, _path, false && _exceptionable, _vctx)),
969
+ entire => entire.every((elem, _index63) => (null !== elem || _assertGuard_1._assertGuard(_exceptionable, {
970
+ method: "typia.json.assertParse",
971
+ path: _path + "[" + _index63 + "]",
972
+ expected: "(string | { package: string; version: string; })",
973
+ value: elem
974
+ }, _errorFactory)) && (undefined !== elem || _assertGuard_1._assertGuard(_exceptionable, {
975
+ method: "typia.json.assertParse",
976
+ path: _path + "[" + _index63 + "]",
977
+ expected: "(string | { package: string; version: string; })",
978
+ value: elem
979
+ }, _errorFactory)) && ("string" === typeof elem || ("object" === typeof elem && null !== elem || _assertGuard_1._assertGuard(_exceptionable, {
980
+ method: "typia.json.assertParse",
981
+ path: _path + "[" + _index63 + "]",
982
+ expected: "(string | { package: string; version: string; })",
983
+ value: elem
984
+ }, _errorFactory)) && _ao47(elem, _path + "[" + _index63 + "]", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
985
+ method: "typia.json.assertParse",
986
+ path: _path + "[" + _index63 + "]",
987
+ expected: "(string | { package: string; version: string; })",
988
+ value: elem
989
+ }, _errorFactory)))
990
+ ],
991
+ [
992
+ top => "object" === typeof top && null !== top && _ao48(top, _path, false && _exceptionable, _vctx),
993
+ entire => entire.every((elem, _index64) => ("object" === typeof elem && null !== elem || _assertGuard_1._assertGuard(_exceptionable, {
994
+ method: "typia.json.assertParse",
995
+ path: _path + "[" + _index64 + "]",
996
+ expected: "{ package: string; version: string; }",
997
+ value: elem
998
+ }, _errorFactory)) && _ao48(elem, _path + "[" + _index64 + "]", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
999
+ method: "typia.json.assertParse",
1000
+ path: _path + "[" + _index64 + "]",
1001
+ expected: "{ package: string; version: string; }",
1002
+ value: elem
1003
+ }, _errorFactory))
1004
+ ]
1005
+ ];
1006
+ const passed = arrayPredicators.filter(pred => pred[0](top));
1007
+ if (1 === passed.length)
1008
+ return passed[0][1](array);
1009
+ else if (1 < passed.length)
1010
+ for (const pred of passed)
1011
+ if (array.every(value => true === pred[0](value)))
1012
+ return pred[1](array);
1013
+ return _assertGuard_1._assertGuard(_exceptionable, {
1014
+ method: "typia.json.assertParse",
1015
+ path: _path,
1016
+ expected: "((string | { package: string; version: string; })[] | ArrayPackageGroup)",
1017
+ value: input
1018
+ }, _errorFactory);
1019
+ };
1020
+ const _ao0 = (input, _path, _exceptionable = true, _vctx = {}) => _ap0(input, _path, true && _exceptionable, _vctx) && _ap1(input, _path, true && _exceptionable, _vctx) && _ap2(input, _path, true && _exceptionable, _vctx) && _ap3(input, _path, true && _exceptionable, _vctx) && _ap4(input, _path, true && _exceptionable, _vctx) && _ap5(input, _path, true && _exceptionable, _vctx) && _ap6(input, _path, true && _exceptionable, _vctx) && _ap7(input, _path, true && _exceptionable, _vctx) && _ap8(input, _path, true && _exceptionable, _vctx) && _ap9(input, _path, true && _exceptionable, _vctx) && _ap10(input, _path, true && _exceptionable, _vctx) && _ap11(input, _path, true && _exceptionable, _vctx) && _ap12(input, _path, true && _exceptionable, _vctx) && _ap13(input, _path, true && _exceptionable, _vctx) && _ap14(input, _path, true && _exceptionable, _vctx) && _ap15(input, _path, true && _exceptionable, _vctx) && _ap16(input, _path, true && _exceptionable, _vctx) && _ap17(input, _path, true && _exceptionable, _vctx) && _ap18(input, _path, true && _exceptionable, _vctx) && _ap19(input, _path, true && _exceptionable, _vctx) && _ap20(input, _path, true && _exceptionable, _vctx) && _ap21(input, _path, true && _exceptionable, _vctx) && _ap22(input, _path, true && _exceptionable, _vctx) && _ap23(input, _path, true && _exceptionable, _vctx) && _ap24(input, _path, true && _exceptionable, _vctx) && _ap25(input, _path, true && _exceptionable, _vctx) && _ap26(input, _path, true && _exceptionable, _vctx) && _ap27(input, _path, true && _exceptionable, _vctx) && _ap28(input, _path, true && _exceptionable, _vctx) && _ap29(input, _path, true && _exceptionable, _vctx) && _ap30(input, _path, true && _exceptionable, _vctx) && _ap31(input, _path, true && _exceptionable, _vctx) && _ap32(input, _path, true && _exceptionable, _vctx) && _ap33(input, _path, true && _exceptionable, _vctx);
1021
+ const _ao1 = (input, _path, _exceptionable = true, _vctx = {}) => false === _exceptionable || Object.keys(input).every(key => {
1022
+ const value = input[key];
1023
+ if (undefined === value)
1024
+ return true;
1025
+ return "string" === typeof value || _assertGuard_1._assertGuard(_exceptionable, {
1026
+ method: "typia.json.assertParse",
1027
+ path: _path + __typia_transform__accessExpressionAsString(key),
1028
+ expected: "string",
1029
+ value: value
1030
+ }, _errorFactory);
1031
+ });
1032
+ const _ao10 = (input, _path, _exceptionable = true, _vctx = {}) => false === _exceptionable || Object.keys(input).every(key => {
1033
+ const value = input[key];
1034
+ if (undefined === value)
1035
+ return true;
1036
+ return true;
1037
+ });
1038
+ const _ao11 = (input, _path, _exceptionable = true, _vctx = {}) => (Array.isArray(input.packages) || _assertGuard_1._assertGuard(_exceptionable, {
1039
+ method: "typia.json.assertParse",
1040
+ path: _path + ".packages",
1041
+ expected: "Array<string>",
1042
+ value: input.packages
1043
+ }, _errorFactory)) && input.packages.every((elem, _index42) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
1044
+ method: "typia.json.assertParse",
1045
+ path: _path + ".packages[" + _index42 + "]",
1046
+ expected: "string",
1047
+ value: elem
1048
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
1049
+ method: "typia.json.assertParse",
1050
+ path: _path + ".packages",
1051
+ expected: "Array<string>",
1052
+ value: input.packages
1053
+ }, _errorFactory);
1054
+ const _ao12 = (input, _path, _exceptionable = true, _vctx = {}) => (undefined === input.includedScripts || (Array.isArray(input.includedScripts) || _assertGuard_1._assertGuard(_exceptionable, {
1055
+ method: "typia.json.assertParse",
1056
+ path: _path + ".includedScripts",
1057
+ expected: "(Array<string> | undefined)",
1058
+ value: input.includedScripts
1059
+ }, _errorFactory)) && input.includedScripts.every((elem, _index43) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
1060
+ method: "typia.json.assertParse",
1061
+ path: _path + ".includedScripts[" + _index43 + "]",
1062
+ expected: "string",
1063
+ value: elem
1064
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
1065
+ method: "typia.json.assertParse",
1066
+ path: _path + ".includedScripts",
1067
+ expected: "(Array<string> | undefined)",
1068
+ value: input.includedScripts
1069
+ }, _errorFactory)) && (undefined === input.name || "string" === typeof input.name || _assertGuard_1._assertGuard(_exceptionable, {
1070
+ method: "typia.json.assertParse",
1071
+ path: _path + ".name",
1072
+ expected: "(string | undefined)",
1073
+ value: input.name
1074
+ }, _errorFactory)) && (undefined === input.targets || ("object" === typeof input.targets && null !== input.targets && false === Array.isArray(input.targets) || _assertGuard_1._assertGuard(_exceptionable, {
1075
+ method: "typia.json.assertParse",
1076
+ path: _path + ".targets",
1077
+ expected: "(undefined | { [targetName: string]: TargetConfiguration<any>; })",
1078
+ value: input.targets
1079
+ }, _errorFactory)) && _ao13(input.targets, _path + ".targets", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1080
+ method: "typia.json.assertParse",
1081
+ path: _path + ".targets",
1082
+ expected: "(undefined | { [targetName: string]: TargetConfiguration<any>; })",
1083
+ value: input.targets
1084
+ }, _errorFactory)) && (undefined === input.root || "string" === typeof input.root || _assertGuard_1._assertGuard(_exceptionable, {
1085
+ method: "typia.json.assertParse",
1086
+ path: _path + ".root",
1087
+ expected: "(string | undefined)",
1088
+ value: input.root
1089
+ }, _errorFactory)) && (undefined === input.sourceRoot || "string" === typeof input.sourceRoot || _assertGuard_1._assertGuard(_exceptionable, {
1090
+ method: "typia.json.assertParse",
1091
+ path: _path + ".sourceRoot",
1092
+ expected: "(string | undefined)",
1093
+ value: input.sourceRoot
1094
+ }, _errorFactory)) && (undefined === input.projectType || "application" === input.projectType || "library" === input.projectType || _assertGuard_1._assertGuard(_exceptionable, {
1095
+ method: "typia.json.assertParse",
1096
+ path: _path + ".projectType",
1097
+ expected: "(\"application\" | \"library\" | undefined)",
1098
+ value: input.projectType
1099
+ }, _errorFactory)) && (undefined === input.generators || ("object" === typeof input.generators && null !== input.generators && false === Array.isArray(input.generators) || _assertGuard_1._assertGuard(_exceptionable, {
1100
+ method: "typia.json.assertParse",
1101
+ path: _path + ".generators",
1102
+ expected: "(undefined | { [collectionName: string]: { [generatorName: string]: any; }; })",
1103
+ value: input.generators
1104
+ }, _errorFactory)) && _ao31(input.generators, _path + ".generators", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1105
+ method: "typia.json.assertParse",
1106
+ path: _path + ".generators",
1107
+ expected: "(undefined | { [collectionName: string]: { [generatorName: string]: any; }; })",
1108
+ value: input.generators
1109
+ }, _errorFactory)) && (undefined === input.implicitDependencies || (Array.isArray(input.implicitDependencies) || _assertGuard_1._assertGuard(_exceptionable, {
1110
+ method: "typia.json.assertParse",
1111
+ path: _path + ".implicitDependencies",
1112
+ expected: "(Array<string> | undefined)",
1113
+ value: input.implicitDependencies
1114
+ }, _errorFactory)) && input.implicitDependencies.every((elem, _index44) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
1115
+ method: "typia.json.assertParse",
1116
+ path: _path + ".implicitDependencies[" + _index44 + "]",
1117
+ expected: "string",
1118
+ value: elem
1119
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
1120
+ method: "typia.json.assertParse",
1121
+ path: _path + ".implicitDependencies",
1122
+ expected: "(Array<string> | undefined)",
1123
+ value: input.implicitDependencies
1124
+ }, _errorFactory)) && (undefined === input.namedInputs || ("object" === typeof input.namedInputs && null !== input.namedInputs && false === Array.isArray(input.namedInputs) || _assertGuard_1._assertGuard(_exceptionable, {
1125
+ method: "typia.json.assertParse",
1126
+ path: _path + ".namedInputs",
1127
+ expected: "(undefined | { [inputName: string]: (string | InputDefinition)[]; })",
1128
+ value: input.namedInputs
1129
+ }, _errorFactory)) && _ao33(input.namedInputs, _path + ".namedInputs", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1130
+ method: "typia.json.assertParse",
1131
+ path: _path + ".namedInputs",
1132
+ expected: "(undefined | { [inputName: string]: (string | InputDefinition)[]; })",
1133
+ value: input.namedInputs
1134
+ }, _errorFactory)) && (undefined === input.tags || (Array.isArray(input.tags) || _assertGuard_1._assertGuard(_exceptionable, {
1135
+ method: "typia.json.assertParse",
1136
+ path: _path + ".tags",
1137
+ expected: "(Array<string> | undefined)",
1138
+ value: input.tags
1139
+ }, _errorFactory)) && input.tags.every((elem, _index45) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
1140
+ method: "typia.json.assertParse",
1141
+ path: _path + ".tags[" + _index45 + "]",
1142
+ expected: "string",
1143
+ value: elem
1144
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
1145
+ method: "typia.json.assertParse",
1146
+ path: _path + ".tags",
1147
+ expected: "(Array<string> | undefined)",
1148
+ value: input.tags
1149
+ }, _errorFactory)) && (undefined === input.release || ("object" === typeof input.release && null !== input.release && false === Array.isArray(input.release) || _assertGuard_1._assertGuard(_exceptionable, {
1150
+ method: "typia.json.assertParse",
1151
+ path: _path + ".release",
1152
+ expected: _ae3,
1153
+ value: input.release
1154
+ }, _errorFactory)) && _ao34(input.release, _path + ".release", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1155
+ method: "typia.json.assertParse",
1156
+ path: _path + ".release",
1157
+ expected: _ae3,
1158
+ value: input.release
1159
+ }, _errorFactory)) && (undefined === input.metadata || ("object" === typeof input.metadata && null !== input.metadata && false === Array.isArray(input.metadata) || _assertGuard_1._assertGuard(_exceptionable, {
1160
+ method: "typia.json.assertParse",
1161
+ path: _path + ".metadata",
1162
+ expected: "(ProjectMetadata | undefined)",
1163
+ value: input.metadata
1164
+ }, _errorFactory)) && _ao38(input.metadata, _path + ".metadata", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1165
+ method: "typia.json.assertParse",
1166
+ path: _path + ".metadata",
1167
+ expected: "(ProjectMetadata | undefined)",
1168
+ value: input.metadata
1169
+ }, _errorFactory));
1170
+ const _ao13 = (input, _path, _exceptionable = true, _vctx = {}) => false === _exceptionable || Object.keys(input).every(key => {
1171
+ const value = input[key];
1172
+ if (undefined === value)
1173
+ return true;
1174
+ return ("object" === typeof value && null !== value && false === Array.isArray(value) || _assertGuard_1._assertGuard(_exceptionable, {
1175
+ method: "typia.json.assertParse",
1176
+ path: _path + __typia_transform__accessExpressionAsString(key),
1177
+ expected: "TargetConfiguration<any>",
1178
+ value: value
1179
+ }, _errorFactory)) && _ao14(value, _path + __typia_transform__accessExpressionAsString(key), true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1180
+ method: "typia.json.assertParse",
1181
+ path: _path + __typia_transform__accessExpressionAsString(key),
1182
+ expected: "TargetConfiguration<any>",
1183
+ value: value
1184
+ }, _errorFactory);
1185
+ });
1186
+ const _ao14 = (input, _path, _exceptionable = true, _vctx = {}) => (undefined === input.executor || "string" === typeof input.executor || _assertGuard_1._assertGuard(_exceptionable, {
1187
+ method: "typia.json.assertParse",
1188
+ path: _path + ".executor",
1189
+ expected: "(string | undefined)",
1190
+ value: input.executor
1191
+ }, _errorFactory)) && (undefined === input.command || "string" === typeof input.command || _assertGuard_1._assertGuard(_exceptionable, {
1192
+ method: "typia.json.assertParse",
1193
+ path: _path + ".command",
1194
+ expected: "(string | undefined)",
1195
+ value: input.command
1196
+ }, _errorFactory)) && (undefined === input.outputs || (Array.isArray(input.outputs) || _assertGuard_1._assertGuard(_exceptionable, {
1197
+ method: "typia.json.assertParse",
1198
+ path: _path + ".outputs",
1199
+ expected: "(Array<string> | undefined)",
1200
+ value: input.outputs
1201
+ }, _errorFactory)) && input.outputs.every((elem, _index46) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
1202
+ method: "typia.json.assertParse",
1203
+ path: _path + ".outputs[" + _index46 + "]",
1204
+ expected: "string",
1205
+ value: elem
1206
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
1207
+ method: "typia.json.assertParse",
1208
+ path: _path + ".outputs",
1209
+ expected: "(Array<string> | undefined)",
1210
+ value: input.outputs
1211
+ }, _errorFactory)) && (undefined === input.dependsOn || (Array.isArray(input.dependsOn) || _assertGuard_1._assertGuard(_exceptionable, {
1212
+ method: "typia.json.assertParse",
1213
+ path: _path + ".dependsOn",
1214
+ expected: "(Array<string | TargetDependencyConfig> | undefined)",
1215
+ value: input.dependsOn
1216
+ }, _errorFactory)) && input.dependsOn.every((elem, _index47) => (null !== elem || _assertGuard_1._assertGuard(_exceptionable, {
1217
+ method: "typia.json.assertParse",
1218
+ path: _path + ".dependsOn[" + _index47 + "]",
1219
+ expected: "(TargetDependencyConfig | string)",
1220
+ value: elem
1221
+ }, _errorFactory)) && (undefined !== elem || _assertGuard_1._assertGuard(_exceptionable, {
1222
+ method: "typia.json.assertParse",
1223
+ path: _path + ".dependsOn[" + _index47 + "]",
1224
+ expected: "(TargetDependencyConfig | string)",
1225
+ value: elem
1226
+ }, _errorFactory)) && ("string" === typeof elem || ("object" === typeof elem && null !== elem || _assertGuard_1._assertGuard(_exceptionable, {
1227
+ method: "typia.json.assertParse",
1228
+ path: _path + ".dependsOn[" + _index47 + "]",
1229
+ expected: "(TargetDependencyConfig | string)",
1230
+ value: elem
1231
+ }, _errorFactory)) && _ao15(elem, _path + ".dependsOn[" + _index47 + "]", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1232
+ method: "typia.json.assertParse",
1233
+ path: _path + ".dependsOn[" + _index47 + "]",
1234
+ expected: "(TargetDependencyConfig | string)",
1235
+ value: elem
1236
+ }, _errorFactory))) || _assertGuard_1._assertGuard(_exceptionable, {
1237
+ method: "typia.json.assertParse",
1238
+ path: _path + ".dependsOn",
1239
+ expected: "(Array<string | TargetDependencyConfig> | undefined)",
1240
+ value: input.dependsOn
1241
+ }, _errorFactory)) && (undefined === input.inputs || (Array.isArray(input.inputs) || _assertGuard_1._assertGuard(_exceptionable, {
1242
+ method: "typia.json.assertParse",
1243
+ path: _path + ".inputs",
1244
+ expected: "((string | InputDefinition)[] | undefined)",
1245
+ value: input.inputs
1246
+ }, _errorFactory)) && input.inputs.every((elem, _index48) => (null !== elem || _assertGuard_1._assertGuard(_exceptionable, {
1247
+ method: "typia.json.assertParse",
1248
+ path: _path + ".inputs[" + _index48 + "]",
1249
+ expected: _ae4,
1250
+ value: elem
1251
+ }, _errorFactory)) && (undefined !== elem || _assertGuard_1._assertGuard(_exceptionable, {
1252
+ method: "typia.json.assertParse",
1253
+ path: _path + ".inputs[" + _index48 + "]",
1254
+ expected: _ae4,
1255
+ value: elem
1256
+ }, _errorFactory)) && ("string" === typeof elem || ("object" === typeof elem && null !== elem || _assertGuard_1._assertGuard(_exceptionable, {
1257
+ method: "typia.json.assertParse",
1258
+ path: _path + ".inputs[" + _index48 + "]",
1259
+ expected: _ae4,
1260
+ value: elem
1261
+ }, _errorFactory)) && _au0(elem, _path + ".inputs[" + _index48 + "]", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1262
+ method: "typia.json.assertParse",
1263
+ path: _path + ".inputs[" + _index48 + "]",
1264
+ expected: _ae4,
1265
+ value: elem
1266
+ }, _errorFactory))) || _assertGuard_1._assertGuard(_exceptionable, {
1267
+ method: "typia.json.assertParse",
1268
+ path: _path + ".inputs",
1269
+ expected: "((string | InputDefinition)[] | undefined)",
1270
+ value: input.inputs
1271
+ }, _errorFactory)) && true && (undefined === input.configurations || ("object" === typeof input.configurations && null !== input.configurations && false === Array.isArray(input.configurations) || _assertGuard_1._assertGuard(_exceptionable, {
1272
+ method: "typia.json.assertParse",
1273
+ path: _path + ".configurations",
1274
+ expected: "(undefined | { [config: string]: any; })",
1275
+ value: input.configurations
1276
+ }, _errorFactory)) && _ao27(input.configurations, _path + ".configurations", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1277
+ method: "typia.json.assertParse",
1278
+ path: _path + ".configurations",
1279
+ expected: "(undefined | { [config: string]: any; })",
1280
+ value: input.configurations
1281
+ }, _errorFactory)) && (undefined === input.defaultConfiguration || "string" === typeof input.defaultConfiguration || _assertGuard_1._assertGuard(_exceptionable, {
1282
+ method: "typia.json.assertParse",
1283
+ path: _path + ".defaultConfiguration",
1284
+ expected: "(string | undefined)",
1285
+ value: input.defaultConfiguration
1286
+ }, _errorFactory)) && (undefined === input.cache || "boolean" === typeof input.cache || _assertGuard_1._assertGuard(_exceptionable, {
1287
+ method: "typia.json.assertParse",
1288
+ path: _path + ".cache",
1289
+ expected: "(boolean | undefined)",
1290
+ value: input.cache
1291
+ }, _errorFactory)) && (undefined === input.metadata || ("object" === typeof input.metadata && null !== input.metadata && false === Array.isArray(input.metadata) || _assertGuard_1._assertGuard(_exceptionable, {
1292
+ method: "typia.json.assertParse",
1293
+ path: _path + ".metadata",
1294
+ expected: "(TargetMetadata | undefined)",
1295
+ value: input.metadata
1296
+ }, _errorFactory)) && _ao28(input.metadata, _path + ".metadata", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1297
+ method: "typia.json.assertParse",
1298
+ path: _path + ".metadata",
1299
+ expected: "(TargetMetadata | undefined)",
1300
+ value: input.metadata
1301
+ }, _errorFactory)) && (undefined === input.parallelism || "boolean" === typeof input.parallelism || _assertGuard_1._assertGuard(_exceptionable, {
1302
+ method: "typia.json.assertParse",
1303
+ path: _path + ".parallelism",
1304
+ expected: "(boolean | undefined)",
1305
+ value: input.parallelism
1306
+ }, _errorFactory)) && (undefined === input.continuous || "boolean" === typeof input.continuous || _assertGuard_1._assertGuard(_exceptionable, {
1307
+ method: "typia.json.assertParse",
1308
+ path: _path + ".continuous",
1309
+ expected: "(boolean | undefined)",
1310
+ value: input.continuous
1311
+ }, _errorFactory)) && (undefined === input.syncGenerators || (Array.isArray(input.syncGenerators) || _assertGuard_1._assertGuard(_exceptionable, {
1312
+ method: "typia.json.assertParse",
1313
+ path: _path + ".syncGenerators",
1314
+ expected: "(Array<string> | undefined)",
1315
+ value: input.syncGenerators
1316
+ }, _errorFactory)) && input.syncGenerators.every((elem, _index49) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
1317
+ method: "typia.json.assertParse",
1318
+ path: _path + ".syncGenerators[" + _index49 + "]",
1319
+ expected: "string",
1320
+ value: elem
1321
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
1322
+ method: "typia.json.assertParse",
1323
+ path: _path + ".syncGenerators",
1324
+ expected: "(Array<string> | undefined)",
1325
+ value: input.syncGenerators
1326
+ }, _errorFactory)) && (undefined === input["..."] || true === input["..."] || _assertGuard_1._assertGuard(_exceptionable, {
1327
+ method: "typia.json.assertParse",
1328
+ path: _path + "[\"...\"]",
1329
+ expected: "(true | undefined)",
1330
+ value: input["..."]
1331
+ }, _errorFactory));
1332
+ const _ao15 = (input, _path, _exceptionable = true, _vctx = {}) => (null !== input.projects || _assertGuard_1._assertGuard(_exceptionable, {
1333
+ method: "typia.json.assertParse",
1334
+ path: _path + ".projects",
1335
+ expected: "(Array<string> | string | undefined)",
1336
+ value: input.projects
1337
+ }, _errorFactory)) && (undefined === input.projects || "string" === typeof input.projects || (Array.isArray(input.projects) || _assertGuard_1._assertGuard(_exceptionable, {
1338
+ method: "typia.json.assertParse",
1339
+ path: _path + ".projects",
1340
+ expected: "(Array<string> | string | undefined)",
1341
+ value: input.projects
1342
+ }, _errorFactory)) && input.projects.every((elem, _index50) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
1343
+ method: "typia.json.assertParse",
1344
+ path: _path + ".projects[" + _index50 + "]",
1345
+ expected: "string",
1346
+ value: elem
1347
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
1348
+ method: "typia.json.assertParse",
1349
+ path: _path + ".projects",
1350
+ expected: "(Array<string> | string | undefined)",
1351
+ value: input.projects
1352
+ }, _errorFactory)) && (undefined === input.dependencies || "boolean" === typeof input.dependencies || _assertGuard_1._assertGuard(_exceptionable, {
1353
+ method: "typia.json.assertParse",
1354
+ path: _path + ".dependencies",
1355
+ expected: "(boolean | undefined)",
1356
+ value: input.dependencies
1357
+ }, _errorFactory)) && ("string" === typeof input.target || _assertGuard_1._assertGuard(_exceptionable, {
1358
+ method: "typia.json.assertParse",
1359
+ path: _path + ".target",
1360
+ expected: "string",
1361
+ value: input.target
1362
+ }, _errorFactory)) && (undefined === input.params || "forward" === input.params || "ignore" === input.params || _assertGuard_1._assertGuard(_exceptionable, {
1363
+ method: "typia.json.assertParse",
1364
+ path: _path + ".params",
1365
+ expected: "(\"forward\" | \"ignore\" | undefined)",
1366
+ value: input.params
1367
+ }, _errorFactory)) && (undefined === input.options || "forward" === input.options || "ignore" === input.options || _assertGuard_1._assertGuard(_exceptionable, {
1368
+ method: "typia.json.assertParse",
1369
+ path: _path + ".options",
1370
+ expected: "(\"forward\" | \"ignore\" | undefined)",
1371
+ value: input.options
1372
+ }, _errorFactory));
1373
+ const _ao16 = (input, _path, _exceptionable = true, _vctx = {}) => ("string" === typeof input.json || _assertGuard_1._assertGuard(_exceptionable, {
1374
+ method: "typia.json.assertParse",
1375
+ path: _path + ".json",
1376
+ expected: "string",
1377
+ value: input.json
1378
+ }, _errorFactory)) && (undefined === input.fields || (Array.isArray(input.fields) || _assertGuard_1._assertGuard(_exceptionable, {
1379
+ method: "typia.json.assertParse",
1380
+ path: _path + ".fields",
1381
+ expected: "(Array<string> | undefined)",
1382
+ value: input.fields
1383
+ }, _errorFactory)) && input.fields.every((elem, _index51) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
1384
+ method: "typia.json.assertParse",
1385
+ path: _path + ".fields[" + _index51 + "]",
1386
+ expected: "string",
1387
+ value: elem
1388
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
1389
+ method: "typia.json.assertParse",
1390
+ path: _path + ".fields",
1391
+ expected: "(Array<string> | undefined)",
1392
+ value: input.fields
1393
+ }, _errorFactory)) && (undefined === input.excludeFields || (Array.isArray(input.excludeFields) || _assertGuard_1._assertGuard(_exceptionable, {
1394
+ method: "typia.json.assertParse",
1395
+ path: _path + ".excludeFields",
1396
+ expected: "(Array<string> | undefined)",
1397
+ value: input.excludeFields
1398
+ }, _errorFactory)) && input.excludeFields.every((elem, _index52) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
1399
+ method: "typia.json.assertParse",
1400
+ path: _path + ".excludeFields[" + _index52 + "]",
1401
+ expected: "string",
1402
+ value: elem
1403
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
1404
+ method: "typia.json.assertParse",
1405
+ path: _path + ".excludeFields",
1406
+ expected: "(Array<string> | undefined)",
1407
+ value: input.excludeFields
1408
+ }, _errorFactory));
1409
+ const _ao17 = (input, _path, _exceptionable = true, _vctx = {}) => _ap34(input, _path, true && _exceptionable, _vctx) && ((null !== input.projects || _assertGuard_1._assertGuard(_exceptionable, {
1410
+ method: "typia.json.assertParse",
1411
+ path: _path + ".projects",
1412
+ expected: "(Array<string> | string)",
1413
+ value: input.projects
1414
+ }, _errorFactory)) && (undefined !== input.projects || _assertGuard_1._assertGuard(_exceptionable, {
1415
+ method: "typia.json.assertParse",
1416
+ path: _path + ".projects",
1417
+ expected: "(Array<string> | string)",
1418
+ value: input.projects
1419
+ }, _errorFactory)) && ("string" === typeof input.projects || (Array.isArray(input.projects) || _assertGuard_1._assertGuard(_exceptionable, {
1420
+ method: "typia.json.assertParse",
1421
+ path: _path + ".projects",
1422
+ expected: "(Array<string> | string)",
1423
+ value: input.projects
1424
+ }, _errorFactory)) && input.projects.every((elem, _index53) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
1425
+ method: "typia.json.assertParse",
1426
+ path: _path + ".projects[" + _index53 + "]",
1427
+ expected: "string",
1428
+ value: elem
1429
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
1430
+ method: "typia.json.assertParse",
1431
+ path: _path + ".projects",
1432
+ expected: "(Array<string> | string)",
1433
+ value: input.projects
1434
+ }, _errorFactory)));
1435
+ const _ao18 = (input, _path, _exceptionable = true, _vctx = {}) => _ap34(input, _path, true && _exceptionable, _vctx) && _ap35(input, _path, true && _exceptionable, _vctx);
1436
+ const _ao19 = (input, _path, _exceptionable = true, _vctx = {}) => _ap34(input, _path, true && _exceptionable, _vctx);
1437
+ const _ao2 = (input, _path, _exceptionable = true, _vctx = {}) => false === _exceptionable || Object.keys(input).every(key => {
1438
+ const value = input[key];
1439
+ if (undefined === value)
1440
+ return true;
1441
+ return (null !== value || _assertGuard_1._assertGuard(_exceptionable, {
1442
+ method: "typia.json.assertParse",
1443
+ path: _path + __typia_transform__accessExpressionAsString(key),
1444
+ expected: _ae2,
1445
+ value: value
1446
+ }, _errorFactory)) && (undefined !== value || _assertGuard_1._assertGuard(_exceptionable, {
1447
+ method: "typia.json.assertParse",
1448
+ path: _path + __typia_transform__accessExpressionAsString(key),
1449
+ expected: _ae2,
1450
+ value: value
1451
+ }, _errorFactory)) && ("string" === typeof value || ("object" === typeof value && null !== value && false === Array.isArray(value) || _assertGuard_1._assertGuard(_exceptionable, {
1452
+ method: "typia.json.assertParse",
1453
+ path: _path + __typia_transform__accessExpressionAsString(key),
1454
+ expected: _ae2,
1455
+ value: value
1456
+ }, _errorFactory)) && _ao3(value, _path + __typia_transform__accessExpressionAsString(key), true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1457
+ method: "typia.json.assertParse",
1458
+ path: _path + __typia_transform__accessExpressionAsString(key),
1459
+ expected: _ae2,
1460
+ value: value
1461
+ }, _errorFactory));
1462
+ });
1463
+ const _ao20 = (input, _path, _exceptionable = true, _vctx = {}) => _ap36(input, _path, true && _exceptionable, _vctx);
1464
+ const _ao21 = (input, _path, _exceptionable = true, _vctx = {}) => _ap36(input, _path, true && _exceptionable, _vctx) && _ap35(input, _path, true && _exceptionable, _vctx);
1465
+ const _ao22 = (input, _path, _exceptionable = true, _vctx = {}) => "string" === typeof input.runtime || _assertGuard_1._assertGuard(_exceptionable, {
1466
+ method: "typia.json.assertParse",
1467
+ path: _path + ".runtime",
1468
+ expected: "string",
1469
+ value: input.runtime
1470
+ }, _errorFactory);
1471
+ const _ao23 = (input, _path, _exceptionable = true, _vctx = {}) => (Array.isArray(input.externalDependencies) || _assertGuard_1._assertGuard(_exceptionable, {
1472
+ method: "typia.json.assertParse",
1473
+ path: _path + ".externalDependencies",
1474
+ expected: "Array<string>",
1475
+ value: input.externalDependencies
1476
+ }, _errorFactory)) && input.externalDependencies.every((elem, _index54) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
1477
+ method: "typia.json.assertParse",
1478
+ path: _path + ".externalDependencies[" + _index54 + "]",
1479
+ expected: "string",
1480
+ value: elem
1481
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
1482
+ method: "typia.json.assertParse",
1483
+ path: _path + ".externalDependencies",
1484
+ expected: "Array<string>",
1485
+ value: input.externalDependencies
1486
+ }, _errorFactory);
1487
+ const _ao24 = (input, _path, _exceptionable = true, _vctx = {}) => ("string" === typeof input.dependentTasksOutputFiles || _assertGuard_1._assertGuard(_exceptionable, {
1488
+ method: "typia.json.assertParse",
1489
+ path: _path + ".dependentTasksOutputFiles",
1490
+ expected: "string",
1491
+ value: input.dependentTasksOutputFiles
1492
+ }, _errorFactory)) && (undefined === input.transitive || "boolean" === typeof input.transitive || _assertGuard_1._assertGuard(_exceptionable, {
1493
+ method: "typia.json.assertParse",
1494
+ path: _path + ".transitive",
1495
+ expected: "(boolean | undefined)",
1496
+ value: input.transitive
1497
+ }, _errorFactory));
1498
+ const _ao25 = (input, _path, _exceptionable = true, _vctx = {}) => "string" === typeof input.env || _assertGuard_1._assertGuard(_exceptionable, {
1499
+ method: "typia.json.assertParse",
1500
+ path: _path + ".env",
1501
+ expected: "string",
1502
+ value: input.env
1503
+ }, _errorFactory);
1504
+ const _ao26 = (input, _path, _exceptionable = true, _vctx = {}) => "absolute" === input.workingDirectory || "relative" === input.workingDirectory || _assertGuard_1._assertGuard(_exceptionable, {
1505
+ method: "typia.json.assertParse",
1506
+ path: _path + ".workingDirectory",
1507
+ expected: "(\"absolute\" | \"relative\")",
1508
+ value: input.workingDirectory
1509
+ }, _errorFactory);
1510
+ const _ao27 = (input, _path, _exceptionable = true, _vctx = {}) => false === _exceptionable || Object.keys(input).every(key => {
1511
+ const value = input[key];
1512
+ if (undefined === value)
1513
+ return true;
1514
+ return true;
1515
+ });
1516
+ const _ao28 = (input, _path, _exceptionable = true, _vctx = {}) => _ap32(input, _path, true && _exceptionable, _vctx) && _ap37(input, _path, true && _exceptionable, _vctx) && (undefined === input.nonAtomizedTarget || "string" === typeof input.nonAtomizedTarget || _assertGuard_1._assertGuard(_exceptionable, {
1517
+ method: "typia.json.assertParse",
1518
+ path: _path + ".nonAtomizedTarget",
1519
+ expected: "(string | undefined)",
1520
+ value: input.nonAtomizedTarget
1521
+ }, _errorFactory)) && (undefined === input.help || ("object" === typeof input.help && null !== input.help || _assertGuard_1._assertGuard(_exceptionable, {
1522
+ method: "typia.json.assertParse",
1523
+ path: _path + ".help",
1524
+ expected: "(undefined | { command: string; example: { options?: Record<string, unknown> | undefined; args?: string[] | undefined; }; })",
1525
+ value: input.help
1526
+ }, _errorFactory)) && _ao29(input.help, _path + ".help", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1527
+ method: "typia.json.assertParse",
1528
+ path: _path + ".help",
1529
+ expected: "(undefined | { command: string; example: { options?: Record<string, unknown> | undefined; args?: string[] | undefined; }; })",
1530
+ value: input.help
1531
+ }, _errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
1532
+ if (["description", "technologies", "nonAtomizedTarget", "help"].some(prop => key === prop))
1533
+ return true;
1534
+ const value = input[key];
1535
+ if (undefined === value)
1536
+ return true;
1537
+ return true;
1538
+ }));
1539
+ const _ao29 = (input, _path, _exceptionable = true, _vctx = {}) => ("string" === typeof input.command || _assertGuard_1._assertGuard(_exceptionable, {
1540
+ method: "typia.json.assertParse",
1541
+ path: _path + ".command",
1542
+ expected: "string",
1543
+ value: input.command
1544
+ }, _errorFactory)) && (("object" === typeof input.example && null !== input.example && false === Array.isArray(input.example) || _assertGuard_1._assertGuard(_exceptionable, {
1545
+ method: "typia.json.assertParse",
1546
+ path: _path + ".example",
1547
+ expected: "{ options?: Record<string, unknown> | undefined; args?: string[] | undefined; }",
1548
+ value: input.example
1549
+ }, _errorFactory)) && _ao30(input.example, _path + ".example", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1550
+ method: "typia.json.assertParse",
1551
+ path: _path + ".example",
1552
+ expected: "{ options?: Record<string, unknown> | undefined; args?: string[] | undefined; }",
1553
+ value: input.example
1554
+ }, _errorFactory));
1555
+ const _ao3 = (input, _path, _exceptionable = true, _vctx = {}) => _ap7(input, _path, true && _exceptionable, _vctx) && (undefined === input.require || "string" === typeof input.require || _assertGuard_1._assertGuard(_exceptionable, {
1556
+ method: "typia.json.assertParse",
1557
+ path: _path + ".require",
1558
+ expected: "(string | undefined)",
1559
+ value: input.require
1560
+ }, _errorFactory)) && (undefined === input["import"] || "string" === typeof input["import"] || _assertGuard_1._assertGuard(_exceptionable, {
1561
+ method: "typia.json.assertParse",
1562
+ path: _path + "[\"import\"]",
1563
+ expected: "(string | undefined)",
1564
+ value: input["import"]
1565
+ }, _errorFactory)) && (undefined === input.development || "string" === typeof input.development || _assertGuard_1._assertGuard(_exceptionable, {
1566
+ method: "typia.json.assertParse",
1567
+ path: _path + ".development",
1568
+ expected: "(string | undefined)",
1569
+ value: input.development
1570
+ }, _errorFactory)) && (undefined === input["default"] || "string" === typeof input["default"] || _assertGuard_1._assertGuard(_exceptionable, {
1571
+ method: "typia.json.assertParse",
1572
+ path: _path + "[\"default\"]",
1573
+ expected: "(string | undefined)",
1574
+ value: input["default"]
1575
+ }, _errorFactory));
1576
+ const _ao30 = (input, _path, _exceptionable = true, _vctx = {}) => (undefined === input.options || ("object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) || _assertGuard_1._assertGuard(_exceptionable, {
1577
+ method: "typia.json.assertParse",
1578
+ path: _path + ".options",
1579
+ expected: "(Record<string, unknown> | undefined)",
1580
+ value: input.options
1581
+ }, _errorFactory)) && _ao10(input.options, _path + ".options", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1582
+ method: "typia.json.assertParse",
1583
+ path: _path + ".options",
1584
+ expected: "(Record<string, unknown> | undefined)",
1585
+ value: input.options
1586
+ }, _errorFactory)) && (undefined === input.args || (Array.isArray(input.args) || _assertGuard_1._assertGuard(_exceptionable, {
1587
+ method: "typia.json.assertParse",
1588
+ path: _path + ".args",
1589
+ expected: "(Array<string> | undefined)",
1590
+ value: input.args
1591
+ }, _errorFactory)) && input.args.every((elem, _index56) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
1592
+ method: "typia.json.assertParse",
1593
+ path: _path + ".args[" + _index56 + "]",
1594
+ expected: "string",
1595
+ value: elem
1596
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
1597
+ method: "typia.json.assertParse",
1598
+ path: _path + ".args",
1599
+ expected: "(Array<string> | undefined)",
1600
+ value: input.args
1601
+ }, _errorFactory));
1602
+ const _ao31 = (input, _path, _exceptionable = true, _vctx = {}) => false === _exceptionable || Object.keys(input).every(key => {
1603
+ const value = input[key];
1604
+ if (undefined === value)
1605
+ return true;
1606
+ return ("object" === typeof value && null !== value && false === Array.isArray(value) || _assertGuard_1._assertGuard(_exceptionable, {
1607
+ method: "typia.json.assertParse",
1608
+ path: _path + __typia_transform__accessExpressionAsString(key),
1609
+ expected: "{ [generatorName: string]: any; }",
1610
+ value: value
1611
+ }, _errorFactory)) && _ao32(value, _path + __typia_transform__accessExpressionAsString(key), true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1612
+ method: "typia.json.assertParse",
1613
+ path: _path + __typia_transform__accessExpressionAsString(key),
1614
+ expected: "{ [generatorName: string]: any; }",
1615
+ value: value
1616
+ }, _errorFactory);
1617
+ });
1618
+ const _ao32 = (input, _path, _exceptionable = true, _vctx = {}) => false === _exceptionable || Object.keys(input).every(key => {
1619
+ const value = input[key];
1620
+ if (undefined === value)
1621
+ return true;
1622
+ return true;
1623
+ });
1624
+ const _ao33 = (input, _path, _exceptionable = true, _vctx = {}) => false === _exceptionable || Object.keys(input).every(key => {
1625
+ const value = input[key];
1626
+ if (undefined === value)
1627
+ return true;
1628
+ return (Array.isArray(value) || _assertGuard_1._assertGuard(_exceptionable, {
1629
+ method: "typia.json.assertParse",
1630
+ path: _path + __typia_transform__accessExpressionAsString(key),
1631
+ expected: "(string | InputDefinition)[]",
1632
+ value: value
1633
+ }, _errorFactory)) && value.every((elem, _index57) => (null !== elem || _assertGuard_1._assertGuard(_exceptionable, {
1634
+ method: "typia.json.assertParse",
1635
+ path: _path + __typia_transform__accessExpressionAsString(key) + "[" + _index57 + "]",
1636
+ expected: _ae4,
1637
+ value: elem
1638
+ }, _errorFactory)) && (undefined !== elem || _assertGuard_1._assertGuard(_exceptionable, {
1639
+ method: "typia.json.assertParse",
1640
+ path: _path + __typia_transform__accessExpressionAsString(key) + "[" + _index57 + "]",
1641
+ expected: _ae4,
1642
+ value: elem
1643
+ }, _errorFactory)) && ("string" === typeof elem || ("object" === typeof elem && null !== elem || _assertGuard_1._assertGuard(_exceptionable, {
1644
+ method: "typia.json.assertParse",
1645
+ path: _path + __typia_transform__accessExpressionAsString(key) + "[" + _index57 + "]",
1646
+ expected: _ae4,
1647
+ value: elem
1648
+ }, _errorFactory)) && _au0(elem, _path + __typia_transform__accessExpressionAsString(key) + "[" + _index57 + "]", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1649
+ method: "typia.json.assertParse",
1650
+ path: _path + __typia_transform__accessExpressionAsString(key) + "[" + _index57 + "]",
1651
+ expected: _ae4,
1652
+ value: elem
1653
+ }, _errorFactory))) || _assertGuard_1._assertGuard(_exceptionable, {
1654
+ method: "typia.json.assertParse",
1655
+ path: _path + __typia_transform__accessExpressionAsString(key),
1656
+ expected: "(string | InputDefinition)[]",
1657
+ value: value
1658
+ }, _errorFactory);
1659
+ });
1660
+ const _ao34 = (input, _path, _exceptionable = true, _vctx = {}) => (undefined === input.version || ("object" === typeof input.version && null !== input.version && false === Array.isArray(input.version) || _assertGuard_1._assertGuard(_exceptionable, {
1661
+ method: "typia.json.assertParse",
1662
+ path: _path + ".version",
1663
+ expected: _ae5,
1664
+ value: input.version
1665
+ }, _errorFactory)) && _ao35(input.version, _path + ".version", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1666
+ method: "typia.json.assertParse",
1667
+ path: _path + ".version",
1668
+ expected: _ae5,
1669
+ value: input.version
1670
+ }, _errorFactory)) && ((null !== input.docker || _assertGuard_1._assertGuard(_exceptionable, {
1671
+ method: "typia.json.assertParse",
1672
+ path: _path + ".docker",
1673
+ expected: "(NxReleaseDockerConfiguration | true | undefined)",
1674
+ value: input.docker
1675
+ }, _errorFactory)) && (undefined === input.docker || true === input.docker || ("object" === typeof input.docker && null !== input.docker && false === Array.isArray(input.docker) || _assertGuard_1._assertGuard(_exceptionable, {
1676
+ method: "typia.json.assertParse",
1677
+ path: _path + ".docker",
1678
+ expected: "(NxReleaseDockerConfiguration | true | undefined)",
1679
+ value: input.docker
1680
+ }, _errorFactory)) && _ao37(input.docker, _path + ".docker", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1681
+ method: "typia.json.assertParse",
1682
+ path: _path + ".docker",
1683
+ expected: "(NxReleaseDockerConfiguration | true | undefined)",
1684
+ value: input.docker
1685
+ }, _errorFactory)));
1686
+ const _ao35 = (input, _path, _exceptionable = true, _vctx = {}) => (undefined === input.manifestRootsToUpdate || (Array.isArray(input.manifestRootsToUpdate) || _assertGuard_1._assertGuard(_exceptionable, {
1687
+ method: "typia.json.assertParse",
1688
+ path: _path + ".manifestRootsToUpdate",
1689
+ expected: "(Array<ManifestRootToUpdate> | undefined)",
1690
+ value: input.manifestRootsToUpdate
1691
+ }, _errorFactory)) && input.manifestRootsToUpdate.every((elem, _index58) => (null !== elem || _assertGuard_1._assertGuard(_exceptionable, {
1692
+ method: "typia.json.assertParse",
1693
+ path: _path + ".manifestRootsToUpdate[" + _index58 + "]",
1694
+ expected: "(string | { path: string; preserveLocalDependencyProtocols: boolean; })",
1695
+ value: elem
1696
+ }, _errorFactory)) && (undefined !== elem || _assertGuard_1._assertGuard(_exceptionable, {
1697
+ method: "typia.json.assertParse",
1698
+ path: _path + ".manifestRootsToUpdate[" + _index58 + "]",
1699
+ expected: "(string | { path: string; preserveLocalDependencyProtocols: boolean; })",
1700
+ value: elem
1701
+ }, _errorFactory)) && ("string" === typeof elem || ("object" === typeof elem && null !== elem || _assertGuard_1._assertGuard(_exceptionable, {
1702
+ method: "typia.json.assertParse",
1703
+ path: _path + ".manifestRootsToUpdate[" + _index58 + "]",
1704
+ expected: "(string | { path: string; preserveLocalDependencyProtocols: boolean; })",
1705
+ value: elem
1706
+ }, _errorFactory)) && _ao36(elem, _path + ".manifestRootsToUpdate[" + _index58 + "]", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1707
+ method: "typia.json.assertParse",
1708
+ path: _path + ".manifestRootsToUpdate[" + _index58 + "]",
1709
+ expected: "(string | { path: string; preserveLocalDependencyProtocols: boolean; })",
1710
+ value: elem
1711
+ }, _errorFactory))) || _assertGuard_1._assertGuard(_exceptionable, {
1712
+ method: "typia.json.assertParse",
1713
+ path: _path + ".manifestRootsToUpdate",
1714
+ expected: "(Array<ManifestRootToUpdate> | undefined)",
1715
+ value: input.manifestRootsToUpdate
1716
+ }, _errorFactory)) && (undefined === input.currentVersionResolver || "disk" === input.currentVersionResolver || "git-tag" === input.currentVersionResolver || "none" === input.currentVersionResolver || "registry" === input.currentVersionResolver || _assertGuard_1._assertGuard(_exceptionable, {
1717
+ method: "typia.json.assertParse",
1718
+ path: _path + ".currentVersionResolver",
1719
+ expected: "(\"disk\" | \"git-tag\" | \"none\" | \"registry\" | undefined)",
1720
+ value: input.currentVersionResolver
1721
+ }, _errorFactory)) && (undefined === input.currentVersionResolverMetadata || ("object" === typeof input.currentVersionResolverMetadata && null !== input.currentVersionResolverMetadata && false === Array.isArray(input.currentVersionResolverMetadata) || _assertGuard_1._assertGuard(_exceptionable, {
1722
+ method: "typia.json.assertParse",
1723
+ path: _path + ".currentVersionResolverMetadata",
1724
+ expected: "(Record<string, unknown> | undefined)",
1725
+ value: input.currentVersionResolverMetadata
1726
+ }, _errorFactory)) && _ao10(input.currentVersionResolverMetadata, _path + ".currentVersionResolverMetadata", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1727
+ method: "typia.json.assertParse",
1728
+ path: _path + ".currentVersionResolverMetadata",
1729
+ expected: "(Record<string, unknown> | undefined)",
1730
+ value: input.currentVersionResolverMetadata
1731
+ }, _errorFactory)) && (undefined === input.fallbackCurrentVersionResolver || "disk" === input.fallbackCurrentVersionResolver || _assertGuard_1._assertGuard(_exceptionable, {
1732
+ method: "typia.json.assertParse",
1733
+ path: _path + ".fallbackCurrentVersionResolver",
1734
+ expected: "(\"disk\" | undefined)",
1735
+ value: input.fallbackCurrentVersionResolver
1736
+ }, _errorFactory)) && (undefined === input.versionPrefix || "" === input.versionPrefix || "=" === input.versionPrefix || "^" === input.versionPrefix || "auto" === input.versionPrefix || "~" === input.versionPrefix || _assertGuard_1._assertGuard(_exceptionable, {
1737
+ method: "typia.json.assertParse",
1738
+ path: _path + ".versionPrefix",
1739
+ expected: "(\"\" | \"=\" | \"^\" | \"auto\" | \"~\" | undefined)",
1740
+ value: input.versionPrefix
1741
+ }, _errorFactory)) && (undefined === input.versionActions || "string" === typeof input.versionActions || _assertGuard_1._assertGuard(_exceptionable, {
1742
+ method: "typia.json.assertParse",
1743
+ path: _path + ".versionActions",
1744
+ expected: "(string | undefined)",
1745
+ value: input.versionActions
1746
+ }, _errorFactory)) && (undefined === input.versionActionsOptions || ("object" === typeof input.versionActionsOptions && null !== input.versionActionsOptions && false === Array.isArray(input.versionActionsOptions) || _assertGuard_1._assertGuard(_exceptionable, {
1747
+ method: "typia.json.assertParse",
1748
+ path: _path + ".versionActionsOptions",
1749
+ expected: "(Record<string, unknown> | undefined)",
1750
+ value: input.versionActionsOptions
1751
+ }, _errorFactory)) && _ao10(input.versionActionsOptions, _path + ".versionActionsOptions", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1752
+ method: "typia.json.assertParse",
1753
+ path: _path + ".versionActionsOptions",
1754
+ expected: "(Record<string, unknown> | undefined)",
1755
+ value: input.versionActionsOptions
1756
+ }, _errorFactory)) && (undefined === input.preserveLocalDependencyProtocols || "boolean" === typeof input.preserveLocalDependencyProtocols || _assertGuard_1._assertGuard(_exceptionable, {
1757
+ method: "typia.json.assertParse",
1758
+ path: _path + ".preserveLocalDependencyProtocols",
1759
+ expected: "(boolean | undefined)",
1760
+ value: input.preserveLocalDependencyProtocols
1761
+ }, _errorFactory));
1762
+ const _ao36 = (input, _path, _exceptionable = true, _vctx = {}) => ("string" === typeof input.path || _assertGuard_1._assertGuard(_exceptionable, {
1763
+ method: "typia.json.assertParse",
1764
+ path: _path + ".path",
1765
+ expected: "string",
1766
+ value: input.path
1767
+ }, _errorFactory)) && ("boolean" === typeof input.preserveLocalDependencyProtocols || _assertGuard_1._assertGuard(_exceptionable, {
1768
+ method: "typia.json.assertParse",
1769
+ path: _path + ".preserveLocalDependencyProtocols",
1770
+ expected: "boolean",
1771
+ value: input.preserveLocalDependencyProtocols
1772
+ }, _errorFactory));
1773
+ const _ao37 = (input, _path, _exceptionable = true, _vctx = {}) => (undefined === input.preVersionCommand || "string" === typeof input.preVersionCommand || _assertGuard_1._assertGuard(_exceptionable, {
1774
+ method: "typia.json.assertParse",
1775
+ path: _path + ".preVersionCommand",
1776
+ expected: "(string | undefined)",
1777
+ value: input.preVersionCommand
1778
+ }, _errorFactory)) && ((null !== input.skipVersionActions || _assertGuard_1._assertGuard(_exceptionable, {
1779
+ method: "typia.json.assertParse",
1780
+ path: _path + ".skipVersionActions",
1781
+ expected: "(Array<string> | boolean | undefined)",
1782
+ value: input.skipVersionActions
1783
+ }, _errorFactory)) && (undefined === input.skipVersionActions || "boolean" === typeof input.skipVersionActions || (Array.isArray(input.skipVersionActions) || _assertGuard_1._assertGuard(_exceptionable, {
1784
+ method: "typia.json.assertParse",
1785
+ path: _path + ".skipVersionActions",
1786
+ expected: "(Array<string> | boolean | undefined)",
1787
+ value: input.skipVersionActions
1788
+ }, _errorFactory)) && input.skipVersionActions.every((elem, _index59) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
1789
+ method: "typia.json.assertParse",
1790
+ path: _path + ".skipVersionActions[" + _index59 + "]",
1791
+ expected: "string",
1792
+ value: elem
1793
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
1794
+ method: "typia.json.assertParse",
1795
+ path: _path + ".skipVersionActions",
1796
+ expected: "(Array<string> | boolean | undefined)",
1797
+ value: input.skipVersionActions
1798
+ }, _errorFactory))) && (undefined === input.versionSchemes || ("object" === typeof input.versionSchemes && null !== input.versionSchemes && false === Array.isArray(input.versionSchemes) || _assertGuard_1._assertGuard(_exceptionable, {
1799
+ method: "typia.json.assertParse",
1800
+ path: _path + ".versionSchemes",
1801
+ expected: "(Record<string, string> | undefined)",
1802
+ value: input.versionSchemes
1803
+ }, _errorFactory)) && _ao1(input.versionSchemes, _path + ".versionSchemes", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1804
+ method: "typia.json.assertParse",
1805
+ path: _path + ".versionSchemes",
1806
+ expected: "(Record<string, string> | undefined)",
1807
+ value: input.versionSchemes
1808
+ }, _errorFactory)) && (undefined === input.repositoryName || "string" === typeof input.repositoryName || _assertGuard_1._assertGuard(_exceptionable, {
1809
+ method: "typia.json.assertParse",
1810
+ path: _path + ".repositoryName",
1811
+ expected: "(string | undefined)",
1812
+ value: input.repositoryName
1813
+ }, _errorFactory)) && (undefined === input.registryUrl || "string" === typeof input.registryUrl || _assertGuard_1._assertGuard(_exceptionable, {
1814
+ method: "typia.json.assertParse",
1815
+ path: _path + ".registryUrl",
1816
+ expected: "(string | undefined)",
1817
+ value: input.registryUrl
1818
+ }, _errorFactory));
1819
+ const _ao38 = (input, _path, _exceptionable = true, _vctx = {}) => _ap32(input, _path, true && _exceptionable, _vctx) && _ap37(input, _path, true && _exceptionable, _vctx) && (undefined === input.targetGroups || ("object" === typeof input.targetGroups && null !== input.targetGroups && false === Array.isArray(input.targetGroups) || _assertGuard_1._assertGuard(_exceptionable, {
1820
+ method: "typia.json.assertParse",
1821
+ path: _path + ".targetGroups",
1822
+ expected: "(Record<string, string[]> | undefined)",
1823
+ value: input.targetGroups
1824
+ }, _errorFactory)) && _ao39(input.targetGroups, _path + ".targetGroups", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1825
+ method: "typia.json.assertParse",
1826
+ path: _path + ".targetGroups",
1827
+ expected: "(Record<string, string[]> | undefined)",
1828
+ value: input.targetGroups
1829
+ }, _errorFactory)) && (undefined === input.owners || ("object" === typeof input.owners && null !== input.owners && false === Array.isArray(input.owners) || _assertGuard_1._assertGuard(_exceptionable, {
1830
+ method: "typia.json.assertParse",
1831
+ path: _path + ".owners",
1832
+ expected: _ae6,
1833
+ value: input.owners
1834
+ }, _errorFactory)) && _ao40(input.owners, _path + ".owners", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1835
+ method: "typia.json.assertParse",
1836
+ path: _path + ".owners",
1837
+ expected: _ae6,
1838
+ value: input.owners
1839
+ }, _errorFactory)) && (undefined === input.js || ("object" === typeof input.js && null !== input.js || _assertGuard_1._assertGuard(_exceptionable, {
1840
+ method: "typia.json.assertParse",
1841
+ path: _path + ".js",
1842
+ expected: _ae7,
1843
+ value: input.js
1844
+ }, _errorFactory)) && _ao45(input.js, _path + ".js", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1845
+ method: "typia.json.assertParse",
1846
+ path: _path + ".js",
1847
+ expected: _ae7,
1848
+ value: input.js
1849
+ }, _errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
1850
+ if (["description", "technologies", "targetGroups", "owners", "js"].some(prop => key === prop))
1851
+ return true;
1852
+ const value = input[key];
1853
+ if (undefined === value)
1854
+ return true;
1855
+ return true;
1856
+ }));
1857
+ const _ao39 = (input, _path, _exceptionable = true, _vctx = {}) => false === _exceptionable || Object.keys(input).every(key => {
1858
+ const value = input[key];
1859
+ if (undefined === value)
1860
+ return true;
1861
+ return (Array.isArray(value) || _assertGuard_1._assertGuard(_exceptionable, {
1862
+ method: "typia.json.assertParse",
1863
+ path: _path + __typia_transform__accessExpressionAsString(key),
1864
+ expected: "Array<string>",
1865
+ value: value
1866
+ }, _errorFactory)) && value.every((elem, _index60) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
1867
+ method: "typia.json.assertParse",
1868
+ path: _path + __typia_transform__accessExpressionAsString(key) + "[" + _index60 + "]",
1869
+ expected: "string",
1870
+ value: elem
1871
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
1872
+ method: "typia.json.assertParse",
1873
+ path: _path + __typia_transform__accessExpressionAsString(key),
1874
+ expected: "Array<string>",
1875
+ value: value
1876
+ }, _errorFactory);
1877
+ });
1878
+ const _ao4 = (input, _path, _exceptionable = true, _vctx = {}) => false === _exceptionable || Object.keys(input).every(key => {
1879
+ const value = input[key];
1880
+ if (undefined === value)
1881
+ return true;
1882
+ return ("object" === typeof value && null !== value || _assertGuard_1._assertGuard(_exceptionable, {
1883
+ method: "typia.json.assertParse",
1884
+ path: _path + __typia_transform__accessExpressionAsString(key),
1885
+ expected: "{ optional: boolean; }",
1886
+ value: value
1887
+ }, _errorFactory)) && _ao5(value, _path + __typia_transform__accessExpressionAsString(key), true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1888
+ method: "typia.json.assertParse",
1889
+ path: _path + __typia_transform__accessExpressionAsString(key),
1890
+ expected: "{ optional: boolean; }",
1891
+ value: value
1892
+ }, _errorFactory);
1893
+ });
1894
+ const _ao40 = (input, _path, _exceptionable = true, _vctx = {}) => false === _exceptionable || Object.keys(input).every(key => {
1895
+ const value = input[key];
1896
+ if (undefined === value)
1897
+ return true;
1898
+ return ("object" === typeof value && null !== value || _assertGuard_1._assertGuard(_exceptionable, {
1899
+ method: "typia.json.assertParse",
1900
+ path: _path + __typia_transform__accessExpressionAsString(key),
1901
+ expected: _ae8,
1902
+ value: value
1903
+ }, _errorFactory)) && _ao41(value, _path + __typia_transform__accessExpressionAsString(key), true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1904
+ method: "typia.json.assertParse",
1905
+ path: _path + __typia_transform__accessExpressionAsString(key),
1906
+ expected: _ae8,
1907
+ value: value
1908
+ }, _errorFactory);
1909
+ });
1910
+ const _ao41 = (input, _path, _exceptionable = true, _vctx = {}) => (Array.isArray(input.ownedFiles) || _assertGuard_1._assertGuard(_exceptionable, {
1911
+ method: "typia.json.assertParse",
1912
+ path: _path + ".ownedFiles",
1913
+ expected: _ae9,
1914
+ value: input.ownedFiles
1915
+ }, _errorFactory)) && input.ownedFiles.every((elem, _index61) => ("object" === typeof elem && null !== elem || _assertGuard_1._assertGuard(_exceptionable, {
1916
+ method: "typia.json.assertParse",
1917
+ path: _path + ".ownedFiles[" + _index61 + "]",
1918
+ expected: "{ files: string[] | [\"*\"]; fromConfig?: { filePath: string; location: { startLine: number; endLine: number; }; } | undefined; }",
1919
+ value: elem
1920
+ }, _errorFactory)) && _ao42(elem, _path + ".ownedFiles[" + _index61 + "]", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1921
+ method: "typia.json.assertParse",
1922
+ path: _path + ".ownedFiles[" + _index61 + "]",
1923
+ expected: "{ files: string[] | [\"*\"]; fromConfig?: { filePath: string; location: { startLine: number; endLine: number; }; } | undefined; }",
1924
+ value: elem
1925
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
1926
+ method: "typia.json.assertParse",
1927
+ path: _path + ".ownedFiles",
1928
+ expected: _ae9,
1929
+ value: input.ownedFiles
1930
+ }, _errorFactory);
1931
+ const _ao42 = (input, _path, _exceptionable = true, _vctx = {}) => (null !== input.files || _assertGuard_1._assertGuard(_exceptionable, {
1932
+ method: "typia.json.assertParse",
1933
+ path: _path + ".files",
1934
+ expected: "(Array<string> | [\"*\"])",
1935
+ value: input.files
1936
+ }, _errorFactory)) && (undefined !== input.files || _assertGuard_1._assertGuard(_exceptionable, {
1937
+ method: "typia.json.assertParse",
1938
+ path: _path + ".files",
1939
+ expected: "(Array<string> | [\"*\"])",
1940
+ value: input.files
1941
+ }, _errorFactory)) && ((Array.isArray(input.files) || _assertGuard_1._assertGuard(_exceptionable, {
1942
+ method: "typia.json.assertParse",
1943
+ path: _path + ".files",
1944
+ expected: "(Array<string> | [\"*\"])",
1945
+ value: input.files
1946
+ }, _errorFactory)) && (_ap38(input.files, _path + ".files", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1947
+ method: "typia.json.assertParse",
1948
+ path: _path + ".files",
1949
+ expected: "[\"*\"] | Array<string>",
1950
+ value: input.files
1951
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
1952
+ method: "typia.json.assertParse",
1953
+ path: _path + ".files",
1954
+ expected: "(Array<string> | [\"*\"])",
1955
+ value: input.files
1956
+ }, _errorFactory)) && (undefined === input.fromConfig || ("object" === typeof input.fromConfig && null !== input.fromConfig || _assertGuard_1._assertGuard(_exceptionable, {
1957
+ method: "typia.json.assertParse",
1958
+ path: _path + ".fromConfig",
1959
+ expected: "(undefined | { filePath: string; location: { startLine: number; endLine: number; }; })",
1960
+ value: input.fromConfig
1961
+ }, _errorFactory)) && _ao43(input.fromConfig, _path + ".fromConfig", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1962
+ method: "typia.json.assertParse",
1963
+ path: _path + ".fromConfig",
1964
+ expected: "(undefined | { filePath: string; location: { startLine: number; endLine: number; }; })",
1965
+ value: input.fromConfig
1966
+ }, _errorFactory));
1967
+ const _ao43 = (input, _path, _exceptionable = true, _vctx = {}) => ("string" === typeof input.filePath || _assertGuard_1._assertGuard(_exceptionable, {
1968
+ method: "typia.json.assertParse",
1969
+ path: _path + ".filePath",
1970
+ expected: "string",
1971
+ value: input.filePath
1972
+ }, _errorFactory)) && (("object" === typeof input.location && null !== input.location || _assertGuard_1._assertGuard(_exceptionable, {
1973
+ method: "typia.json.assertParse",
1974
+ path: _path + ".location",
1975
+ expected: "{ startLine: number; endLine: number; }",
1976
+ value: input.location
1977
+ }, _errorFactory)) && _ao44(input.location, _path + ".location", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1978
+ method: "typia.json.assertParse",
1979
+ path: _path + ".location",
1980
+ expected: "{ startLine: number; endLine: number; }",
1981
+ value: input.location
1982
+ }, _errorFactory));
1983
+ const _ao44 = (input, _path, _exceptionable = true, _vctx = {}) => ("number" === typeof input.startLine || _assertGuard_1._assertGuard(_exceptionable, {
1984
+ method: "typia.json.assertParse",
1985
+ path: _path + ".startLine",
1986
+ expected: "number",
1987
+ value: input.startLine
1988
+ }, _errorFactory)) && ("number" === typeof input.endLine || _assertGuard_1._assertGuard(_exceptionable, {
1989
+ method: "typia.json.assertParse",
1990
+ path: _path + ".endLine",
1991
+ expected: "number",
1992
+ value: input.endLine
1993
+ }, _errorFactory));
1994
+ const _ao45 = (input, _path, _exceptionable = true, _vctx = {}) => ("string" === typeof input.packageName || _assertGuard_1._assertGuard(_exceptionable, {
1995
+ method: "typia.json.assertParse",
1996
+ path: _path + ".packageName",
1997
+ expected: "string",
1998
+ value: input.packageName
1999
+ }, _errorFactory)) && (undefined === input.packageVersion || "string" === typeof input.packageVersion || _assertGuard_1._assertGuard(_exceptionable, {
2000
+ method: "typia.json.assertParse",
2001
+ path: _path + ".packageVersion",
2002
+ expected: "(string | undefined)",
2003
+ value: input.packageVersion
2004
+ }, _errorFactory)) && ((null !== input.packageExports || _assertGuard_1._assertGuard(_exceptionable, {
2005
+ method: "typia.json.assertParse",
2006
+ path: _path + ".packageExports",
2007
+ expected: _ae0,
2008
+ value: input.packageExports
2009
+ }, _errorFactory)) && (undefined === input.packageExports || "string" === typeof input.packageExports || ("object" === typeof input.packageExports && null !== input.packageExports && false === Array.isArray(input.packageExports) || _assertGuard_1._assertGuard(_exceptionable, {
2010
+ method: "typia.json.assertParse",
2011
+ path: _path + ".packageExports",
2012
+ expected: _ae0,
2013
+ value: input.packageExports
2014
+ }, _errorFactory)) && _ao2(input.packageExports, _path + ".packageExports", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
2015
+ method: "typia.json.assertParse",
2016
+ path: _path + ".packageExports",
2017
+ expected: _ae0,
2018
+ value: input.packageExports
2019
+ }, _errorFactory))) && (undefined === input.packageMain || "string" === typeof input.packageMain || _assertGuard_1._assertGuard(_exceptionable, {
2020
+ method: "typia.json.assertParse",
2021
+ path: _path + ".packageMain",
2022
+ expected: "(string | undefined)",
2023
+ value: input.packageMain
2024
+ }, _errorFactory)) && (undefined === input.isInPackageManagerWorkspaces || "boolean" === typeof input.isInPackageManagerWorkspaces || _assertGuard_1._assertGuard(_exceptionable, {
2025
+ method: "typia.json.assertParse",
2026
+ path: _path + ".isInPackageManagerWorkspaces",
2027
+ expected: "(boolean | undefined)",
2028
+ value: input.isInPackageManagerWorkspaces
2029
+ }, _errorFactory));
2030
+ const _ao46 = (input, _path, _exceptionable = true, _vctx = {}) => (undefined === input.migrations || "string" === typeof input.migrations || _assertGuard_1._assertGuard(_exceptionable, {
2031
+ method: "typia.json.assertParse",
2032
+ path: _path + ".migrations",
2033
+ expected: "(string | undefined)",
2034
+ value: input.migrations
2035
+ }, _errorFactory)) && ((null !== input.packageGroup || _assertGuard_1._assertGuard(_exceptionable, {
2036
+ method: "typia.json.assertParse",
2037
+ path: _path + ".packageGroup",
2038
+ expected: "((string | { package: string; version: string; })[] | ArrayPackageGroup | Record<string, string> | undefined)",
2039
+ value: input.packageGroup
2040
+ }, _errorFactory)) && (undefined === input.packageGroup || (Array.isArray(input.packageGroup) && (_ap39(input.packageGroup, _path + ".packageGroup", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
2041
+ method: "typia.json.assertParse",
2042
+ path: _path + ".packageGroup",
2043
+ expected: "(string | { package: string; version: string; })[] | ArrayPackageGroup",
2044
+ value: input.packageGroup
2045
+ }, _errorFactory)) || "object" === typeof input.packageGroup && null !== input.packageGroup && false === Array.isArray(input.packageGroup) && _ao1(input.packageGroup, _path + ".packageGroup", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
2046
+ method: "typia.json.assertParse",
2047
+ path: _path + ".packageGroup",
2048
+ expected: "((string | { package: string; version: string; })[] | ArrayPackageGroup | Record<string, string> | undefined)",
2049
+ value: input.packageGroup
2050
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
2051
+ method: "typia.json.assertParse",
2052
+ path: _path + ".packageGroup",
2053
+ expected: "((string | { package: string; version: string; })[] | ArrayPackageGroup | Record<string, string> | undefined)",
2054
+ value: input.packageGroup
2055
+ }, _errorFactory))) && (undefined === input.supportsOptionalMigrations || "boolean" === typeof input.supportsOptionalMigrations || _assertGuard_1._assertGuard(_exceptionable, {
2056
+ method: "typia.json.assertParse",
2057
+ path: _path + ".supportsOptionalMigrations",
2058
+ expected: "(boolean | undefined)",
2059
+ value: input.supportsOptionalMigrations
2060
+ }, _errorFactory));
2061
+ const _ao47 = (input, _path, _exceptionable = true, _vctx = {}) => _ap40(input, _path, true && _exceptionable, _vctx) && _ap1(input, _path, true && _exceptionable, _vctx);
2062
+ const _ao48 = (input, _path, _exceptionable = true, _vctx = {}) => _ap40(input, _path, true && _exceptionable, _vctx) && _ap1(input, _path, true && _exceptionable, _vctx);
2063
+ const _ao5 = (input, _path, _exceptionable = true, _vctx = {}) => "boolean" === typeof input.optional || _assertGuard_1._assertGuard(_exceptionable, {
2064
+ method: "typia.json.assertParse",
2065
+ path: _path + ".optional",
2066
+ expected: "boolean",
2067
+ value: input.optional
2068
+ }, _errorFactory);
2069
+ const _ao6 = (input, _path, _exceptionable = true, _vctx = {}) => _ap18(input, _path, true && _exceptionable, _vctx) && (undefined === input.onlyBuiltDependencies || (Array.isArray(input.onlyBuiltDependencies) || _assertGuard_1._assertGuard(_exceptionable, {
2070
+ method: "typia.json.assertParse",
2071
+ path: _path + ".onlyBuiltDependencies",
2072
+ expected: "(Array<string> | undefined)",
2073
+ value: input.onlyBuiltDependencies
2074
+ }, _errorFactory)) && input.onlyBuiltDependencies.every((elem, _index36) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
2075
+ method: "typia.json.assertParse",
2076
+ path: _path + ".onlyBuiltDependencies[" + _index36 + "]",
2077
+ expected: "string",
2078
+ value: elem
2079
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
2080
+ method: "typia.json.assertParse",
2081
+ path: _path + ".onlyBuiltDependencies",
2082
+ expected: "(Array<string> | undefined)",
2083
+ value: input.onlyBuiltDependencies
2084
+ }, _errorFactory)) && (undefined === input.neverBuiltDependencies || (Array.isArray(input.neverBuiltDependencies) || _assertGuard_1._assertGuard(_exceptionable, {
2085
+ method: "typia.json.assertParse",
2086
+ path: _path + ".neverBuiltDependencies",
2087
+ expected: "(Array<string> | undefined)",
2088
+ value: input.neverBuiltDependencies
2089
+ }, _errorFactory)) && input.neverBuiltDependencies.every((elem, _index37) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
2090
+ method: "typia.json.assertParse",
2091
+ path: _path + ".neverBuiltDependencies[" + _index37 + "]",
2092
+ expected: "string",
2093
+ value: elem
2094
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
2095
+ method: "typia.json.assertParse",
2096
+ path: _path + ".neverBuiltDependencies",
2097
+ expected: "(Array<string> | undefined)",
2098
+ value: input.neverBuiltDependencies
2099
+ }, _errorFactory)) && (undefined === input.allowBuilds || ("object" === typeof input.allowBuilds && null !== input.allowBuilds && false === Array.isArray(input.allowBuilds) || _assertGuard_1._assertGuard(_exceptionable, {
2100
+ method: "typia.json.assertParse",
2101
+ path: _path + ".allowBuilds",
2102
+ expected: "(Record<string, boolean> | undefined)",
2103
+ value: input.allowBuilds
2104
+ }, _errorFactory)) && _ao8(input.allowBuilds, _path + ".allowBuilds", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
2105
+ method: "typia.json.assertParse",
2106
+ path: _path + ".allowBuilds",
2107
+ expected: "(Record<string, boolean> | undefined)",
2108
+ value: input.allowBuilds
2109
+ }, _errorFactory)) && (undefined === input.supportedArchitectures || ("object" === typeof input.supportedArchitectures && null !== input.supportedArchitectures && false === Array.isArray(input.supportedArchitectures) || _assertGuard_1._assertGuard(_exceptionable, {
2110
+ method: "typia.json.assertParse",
2111
+ path: _path + ".supportedArchitectures",
2112
+ expected: "(undefined | { os?: string[] | undefined; cpu?: string[] | undefined; libc?: string[] | undefined; })",
2113
+ value: input.supportedArchitectures
2114
+ }, _errorFactory)) && _ao9(input.supportedArchitectures, _path + ".supportedArchitectures", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
2115
+ method: "typia.json.assertParse",
2116
+ path: _path + ".supportedArchitectures",
2117
+ expected: "(undefined | { os?: string[] | undefined; cpu?: string[] | undefined; libc?: string[] | undefined; })",
2118
+ value: input.supportedArchitectures
2119
+ }, _errorFactory)) && (undefined === input.ignoredOptionalDependencies || (Array.isArray(input.ignoredOptionalDependencies) || _assertGuard_1._assertGuard(_exceptionable, {
2120
+ method: "typia.json.assertParse",
2121
+ path: _path + ".ignoredOptionalDependencies",
2122
+ expected: "(Array<string> | undefined)",
2123
+ value: input.ignoredOptionalDependencies
2124
+ }, _errorFactory)) && input.ignoredOptionalDependencies.every((elem, _index38) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
2125
+ method: "typia.json.assertParse",
2126
+ path: _path + ".ignoredOptionalDependencies[" + _index38 + "]",
2127
+ expected: "string",
2128
+ value: elem
2129
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
2130
+ method: "typia.json.assertParse",
2131
+ path: _path + ".ignoredOptionalDependencies",
2132
+ expected: "(Array<string> | undefined)",
2133
+ value: input.ignoredOptionalDependencies
2134
+ }, _errorFactory)) && (undefined === input.packageExtensions || ("object" === typeof input.packageExtensions && null !== input.packageExtensions && false === Array.isArray(input.packageExtensions) || _assertGuard_1._assertGuard(_exceptionable, {
2135
+ method: "typia.json.assertParse",
2136
+ path: _path + ".packageExtensions",
2137
+ expected: "(Record<string, unknown> | undefined)",
2138
+ value: input.packageExtensions
2139
+ }, _errorFactory)) && _ao10(input.packageExtensions, _path + ".packageExtensions", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
2140
+ method: "typia.json.assertParse",
2141
+ path: _path + ".packageExtensions",
2142
+ expected: "(Record<string, unknown> | undefined)",
2143
+ value: input.packageExtensions
2144
+ }, _errorFactory)) && (undefined === input.patchedDependencies || ("object" === typeof input.patchedDependencies && null !== input.patchedDependencies && false === Array.isArray(input.patchedDependencies) || _assertGuard_1._assertGuard(_exceptionable, {
2145
+ method: "typia.json.assertParse",
2146
+ path: _path + ".patchedDependencies",
2147
+ expected: "(Record<string, string> | undefined)",
2148
+ value: input.patchedDependencies
2149
+ }, _errorFactory)) && _ao1(input.patchedDependencies, _path + ".patchedDependencies", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
2150
+ method: "typia.json.assertParse",
2151
+ path: _path + ".patchedDependencies",
2152
+ expected: "(Record<string, string> | undefined)",
2153
+ value: input.patchedDependencies
2154
+ }, _errorFactory));
2155
+ const _ao7 = (input, _path, _exceptionable = true, _vctx = {}) => (_vctx.ao7 || (_vctx.ao7 = new WeakSet())).has(input) ? true : (_vctx.ao7.add(input), (false === _exceptionable || Object.keys(input).every(key => {
2156
+ const value = input[key];
2157
+ if (undefined === value)
2158
+ return true;
2159
+ return (null !== value || _assertGuard_1._assertGuard(_exceptionable, {
2160
+ method: "typia.json.assertParse",
2161
+ path: _path + __typia_transform__accessExpressionAsString(key),
2162
+ expected: "(PackageOverride | string)",
2163
+ value: value
2164
+ }, _errorFactory)) && (undefined !== value || _assertGuard_1._assertGuard(_exceptionable, {
2165
+ method: "typia.json.assertParse",
2166
+ path: _path + __typia_transform__accessExpressionAsString(key),
2167
+ expected: "(PackageOverride | string)",
2168
+ value: value
2169
+ }, _errorFactory)) && ("string" === typeof value || ("object" === typeof value && null !== value && false === Array.isArray(value) || _assertGuard_1._assertGuard(_exceptionable, {
2170
+ method: "typia.json.assertParse",
2171
+ path: _path + __typia_transform__accessExpressionAsString(key),
2172
+ expected: "(PackageOverride | string)",
2173
+ value: value
2174
+ }, _errorFactory)) && _ao7(value, _path + __typia_transform__accessExpressionAsString(key), true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
2175
+ method: "typia.json.assertParse",
2176
+ path: _path + __typia_transform__accessExpressionAsString(key),
2177
+ expected: "(PackageOverride | string)",
2178
+ value: value
2179
+ }, _errorFactory));
2180
+ })) || (_vctx.ao7.delete(input), false));
2181
+ const _ao8 = (input, _path, _exceptionable = true, _vctx = {}) => false === _exceptionable || Object.keys(input).every(key => {
2182
+ const value = input[key];
2183
+ if (undefined === value)
2184
+ return true;
2185
+ return "boolean" === typeof value || _assertGuard_1._assertGuard(_exceptionable, {
2186
+ method: "typia.json.assertParse",
2187
+ path: _path + __typia_transform__accessExpressionAsString(key),
2188
+ expected: "boolean",
2189
+ value: value
2190
+ }, _errorFactory);
2191
+ });
2192
+ const _ao9 = (input, _path, _exceptionable = true, _vctx = {}) => (undefined === input.os || (Array.isArray(input.os) || _assertGuard_1._assertGuard(_exceptionable, {
2193
+ method: "typia.json.assertParse",
2194
+ path: _path + ".os",
2195
+ expected: "(Array<string> | undefined)",
2196
+ value: input.os
2197
+ }, _errorFactory)) && input.os.every((elem, _index39) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
2198
+ method: "typia.json.assertParse",
2199
+ path: _path + ".os[" + _index39 + "]",
2200
+ expected: "string",
2201
+ value: elem
2202
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
2203
+ method: "typia.json.assertParse",
2204
+ path: _path + ".os",
2205
+ expected: "(Array<string> | undefined)",
2206
+ value: input.os
2207
+ }, _errorFactory)) && (undefined === input.cpu || (Array.isArray(input.cpu) || _assertGuard_1._assertGuard(_exceptionable, {
2208
+ method: "typia.json.assertParse",
2209
+ path: _path + ".cpu",
2210
+ expected: "(Array<string> | undefined)",
2211
+ value: input.cpu
2212
+ }, _errorFactory)) && input.cpu.every((elem, _index40) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
2213
+ method: "typia.json.assertParse",
2214
+ path: _path + ".cpu[" + _index40 + "]",
2215
+ expected: "string",
2216
+ value: elem
2217
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
2218
+ method: "typia.json.assertParse",
2219
+ path: _path + ".cpu",
2220
+ expected: "(Array<string> | undefined)",
2221
+ value: input.cpu
2222
+ }, _errorFactory)) && (undefined === input.libc || (Array.isArray(input.libc) || _assertGuard_1._assertGuard(_exceptionable, {
2223
+ method: "typia.json.assertParse",
2224
+ path: _path + ".libc",
2225
+ expected: "(Array<string> | undefined)",
2226
+ value: input.libc
2227
+ }, _errorFactory)) && input.libc.every((elem, _index41) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
2228
+ method: "typia.json.assertParse",
2229
+ path: _path + ".libc[" + _index41 + "]",
2230
+ expected: "string",
2231
+ value: elem
2232
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
2233
+ method: "typia.json.assertParse",
2234
+ path: _path + ".libc",
2235
+ expected: "(Array<string> | undefined)",
2236
+ value: input.libc
2237
+ }, _errorFactory));
2238
+ const _au0 = (input, _path, _exceptionable = true, _vctx = {}) => (() => {
2239
+ if (undefined !== input.json)
2240
+ return _ao16(input, _path, true && _exceptionable, _vctx);
2241
+ else if (undefined !== input.projects)
2242
+ return _ao17(input, _path, true && _exceptionable, _vctx);
2243
+ else if (undefined !== input.runtime)
2244
+ return _ao22(input, _path, true && _exceptionable, _vctx);
2245
+ else if (undefined !== input.externalDependencies)
2246
+ return _ao23(input, _path, true && _exceptionable, _vctx);
2247
+ else if (undefined !== input.dependentTasksOutputFiles)
2248
+ return _ao24(input, _path, true && _exceptionable, _vctx);
2249
+ else if (undefined !== input.env)
2250
+ return _ao25(input, _path, true && _exceptionable, _vctx);
2251
+ else if (undefined !== input.workingDirectory)
2252
+ return _ao26(input, _path, true && _exceptionable, _vctx);
2253
+ else
2254
+ return _ao18(input, _path, false && _exceptionable, _vctx) || _ao19(input, _path, false && _exceptionable, _vctx) || _ao20(input, _path, false && _exceptionable, _vctx) || _ao21(input, _path, false && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
2255
+ method: "typia.json.assertParse",
2256
+ path: _path,
2257
+ expected: "({ input: string; dependencies: true; } | { input: string; } | { fileset: string; } | { fileset: string; dependencies: true; })",
2258
+ value: input
2259
+ }, _errorFactory);
2260
+ })();
2261
+ const _io0 = (input, _vctx = {}) => _ip0(input, _vctx) && _ip1(input, _vctx) && _ip2(input, _vctx) && _ip3(input, _vctx) && _ip4(input, _vctx) && _ip5(input, _vctx) && _ip6(input, _vctx) && _ip7(input, _vctx) && _ip8(input, _vctx) && _ip9(input, _vctx) && _ip10(input, _vctx) && _ip11(input, _vctx) && _ip12(input, _vctx) && _ip13(input, _vctx) && _ip14(input, _vctx) && _ip15(input, _vctx) && _ip16(input, _vctx) && _ip17(input, _vctx) && _ip18(input, _vctx) && _ip19(input, _vctx) && _ip20(input, _vctx) && _ip21(input, _vctx) && _ip22(input, _vctx) && _ip23(input, _vctx) && _ip24(input, _vctx) && _ip25(input, _vctx) && _ip26(input, _vctx) && _ip27(input, _vctx) && _ip28(input, _vctx) && _ip29(input, _vctx) && _ip30(input, _vctx) && _ip31(input, _vctx) && _ip32(input, _vctx) && _ip33(input, _vctx);
2262
+ const _io1 = (input, _vctx = {}) => Object.keys(input).every(key => {
2263
+ const value = input[key];
2264
+ if (undefined === value)
2265
+ return true;
2266
+ return "string" === typeof value;
2267
+ });
2268
+ const _io10 = (input, _vctx = {}) => Object.keys(input).every(key => {
2269
+ const value = input[key];
2270
+ if (undefined === value)
2271
+ return true;
2272
+ return true;
2273
+ });
2274
+ const _io11 = (input, _vctx = {}) => Array.isArray(input.packages) && input.packages.every(elem => "string" === typeof elem);
2275
+ const _io12 = (input, _vctx = {}) => (undefined === input.includedScripts || Array.isArray(input.includedScripts) && input.includedScripts.every(elem => "string" === typeof elem)) && (undefined === input.name || "string" === typeof input.name) && (undefined === input.targets || "object" === typeof input.targets && null !== input.targets && false === Array.isArray(input.targets) && _io13(input.targets, _vctx)) && (undefined === input.root || "string" === typeof input.root) && (undefined === input.sourceRoot || "string" === typeof input.sourceRoot) && (undefined === input.projectType || "application" === input.projectType || "library" === input.projectType) && (undefined === input.generators || "object" === typeof input.generators && null !== input.generators && false === Array.isArray(input.generators) && _io31(input.generators, _vctx)) && (undefined === input.implicitDependencies || Array.isArray(input.implicitDependencies) && input.implicitDependencies.every(elem => "string" === typeof elem)) && (undefined === input.namedInputs || "object" === typeof input.namedInputs && null !== input.namedInputs && false === Array.isArray(input.namedInputs) && _io33(input.namedInputs, _vctx)) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.release || "object" === typeof input.release && null !== input.release && false === Array.isArray(input.release) && _io34(input.release, _vctx)) && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && false === Array.isArray(input.metadata) && _io38(input.metadata, _vctx));
2276
+ const _io13 = (input, _vctx = {}) => Object.keys(input).every(key => {
2277
+ const value = input[key];
2278
+ if (undefined === value)
2279
+ return true;
2280
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io14(value, _vctx);
2281
+ });
2282
+ const _io14 = (input, _vctx = {}) => (undefined === input.executor || "string" === typeof input.executor) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.outputs || Array.isArray(input.outputs) && input.outputs.every(elem => "string" === typeof elem)) && (undefined === input.dependsOn || Array.isArray(input.dependsOn) && input.dependsOn.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && _io15(elem, _vctx)))) && (undefined === input.inputs || Array.isArray(input.inputs) && input.inputs.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && _iu0(elem, _vctx)))) && true && (undefined === input.configurations || "object" === typeof input.configurations && null !== input.configurations && false === Array.isArray(input.configurations) && _io27(input.configurations, _vctx)) && (undefined === input.defaultConfiguration || "string" === typeof input.defaultConfiguration) && (undefined === input.cache || "boolean" === typeof input.cache) && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && false === Array.isArray(input.metadata) && _io28(input.metadata, _vctx)) && (undefined === input.parallelism || "boolean" === typeof input.parallelism) && (undefined === input.continuous || "boolean" === typeof input.continuous) && (undefined === input.syncGenerators || Array.isArray(input.syncGenerators) && input.syncGenerators.every(elem => "string" === typeof elem)) && (undefined === input["..."] || true === input["..."]);
2283
+ const _io15 = (input, _vctx = {}) => null !== input.projects && (undefined === input.projects || "string" === typeof input.projects || Array.isArray(input.projects) && input.projects.every(elem => "string" === typeof elem)) && (undefined === input.dependencies || "boolean" === typeof input.dependencies) && "string" === typeof input.target && (undefined === input.params || "forward" === input.params || "ignore" === input.params) && (undefined === input.options || "forward" === input.options || "ignore" === input.options);
2284
+ const _io16 = (input, _vctx = {}) => "string" === typeof input.json && (undefined === input.fields || Array.isArray(input.fields) && input.fields.every(elem => "string" === typeof elem)) && (undefined === input.excludeFields || Array.isArray(input.excludeFields) && input.excludeFields.every(elem => "string" === typeof elem));
2285
+ const _io17 = (input, _vctx = {}) => _ip34(input, _vctx) && (null !== input.projects && undefined !== input.projects && ("string" === typeof input.projects || Array.isArray(input.projects) && input.projects.every(elem => "string" === typeof elem)));
2286
+ const _io18 = (input, _vctx = {}) => _ip34(input, _vctx) && _ip35(input, _vctx);
2287
+ const _io19 = (input, _vctx = {}) => _ip34(input, _vctx);
2288
+ const _io2 = (input, _vctx = {}) => Object.keys(input).every(key => {
2289
+ const value = input[key];
2290
+ if (undefined === value)
2291
+ return true;
2292
+ return null !== value && undefined !== value && ("string" === typeof value || "object" === typeof value && null !== value && false === Array.isArray(value) && _io3(value, _vctx));
2293
+ });
2294
+ const _io20 = (input, _vctx = {}) => _ip36(input, _vctx);
2295
+ const _io21 = (input, _vctx = {}) => _ip36(input, _vctx) && _ip35(input, _vctx);
2296
+ const _io22 = (input, _vctx = {}) => "string" === typeof input.runtime;
2297
+ const _io23 = (input, _vctx = {}) => Array.isArray(input.externalDependencies) && input.externalDependencies.every(elem => "string" === typeof elem);
2298
+ const _io24 = (input, _vctx = {}) => "string" === typeof input.dependentTasksOutputFiles && (undefined === input.transitive || "boolean" === typeof input.transitive);
2299
+ const _io25 = (input, _vctx = {}) => "string" === typeof input.env;
2300
+ const _io26 = (input, _vctx = {}) => "absolute" === input.workingDirectory || "relative" === input.workingDirectory;
2301
+ const _io27 = (input, _vctx = {}) => Object.keys(input).every(key => {
2302
+ const value = input[key];
2303
+ if (undefined === value)
2304
+ return true;
2305
+ return true;
2306
+ });
2307
+ const _io28 = (input, _vctx = {}) => _ip32(input, _vctx) && _ip37(input, _vctx) && (undefined === input.nonAtomizedTarget || "string" === typeof input.nonAtomizedTarget) && (undefined === input.help || "object" === typeof input.help && null !== input.help && _io29(input.help, _vctx)) && Object.keys(input).every(key => {
2308
+ if (["description", "technologies", "nonAtomizedTarget", "help"].some(prop => key === prop))
2309
+ return true;
2310
+ const value = input[key];
2311
+ if (undefined === value)
2312
+ return true;
2313
+ return true;
2314
+ });
2315
+ const _io29 = (input, _vctx = {}) => "string" === typeof input.command && ("object" === typeof input.example && null !== input.example && false === Array.isArray(input.example) && _io30(input.example, _vctx));
2316
+ const _io3 = (input, _vctx = {}) => _ip7(input, _vctx) && (undefined === input.require || "string" === typeof input.require) && (undefined === input["import"] || "string" === typeof input["import"]) && (undefined === input.development || "string" === typeof input.development) && (undefined === input["default"] || "string" === typeof input["default"]);
2317
+ const _io30 = (input, _vctx = {}) => (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io10(input.options, _vctx)) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem));
2318
+ const _io31 = (input, _vctx = {}) => Object.keys(input).every(key => {
2319
+ const value = input[key];
2320
+ if (undefined === value)
2321
+ return true;
2322
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io32(value, _vctx);
2323
+ });
2324
+ const _io32 = (input, _vctx = {}) => Object.keys(input).every(key => {
2325
+ const value = input[key];
2326
+ if (undefined === value)
2327
+ return true;
2328
+ return true;
2329
+ });
2330
+ const _io33 = (input, _vctx = {}) => Object.keys(input).every(key => {
2331
+ const value = input[key];
2332
+ if (undefined === value)
2333
+ return true;
2334
+ return Array.isArray(value) && value.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && _iu0(elem, _vctx)));
2335
+ });
2336
+ const _io34 = (input, _vctx = {}) => (undefined === input.version || "object" === typeof input.version && null !== input.version && false === Array.isArray(input.version) && _io35(input.version, _vctx)) && (null !== input.docker && (undefined === input.docker || true === input.docker || "object" === typeof input.docker && null !== input.docker && false === Array.isArray(input.docker) && _io37(input.docker, _vctx)));
2337
+ const _io35 = (input, _vctx = {}) => (undefined === input.manifestRootsToUpdate || Array.isArray(input.manifestRootsToUpdate) && input.manifestRootsToUpdate.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && _io36(elem, _vctx)))) && (undefined === input.currentVersionResolver || "disk" === input.currentVersionResolver || "git-tag" === input.currentVersionResolver || "none" === input.currentVersionResolver || "registry" === input.currentVersionResolver) && (undefined === input.currentVersionResolverMetadata || "object" === typeof input.currentVersionResolverMetadata && null !== input.currentVersionResolverMetadata && false === Array.isArray(input.currentVersionResolverMetadata) && _io10(input.currentVersionResolverMetadata, _vctx)) && (undefined === input.fallbackCurrentVersionResolver || "disk" === input.fallbackCurrentVersionResolver) && (undefined === input.versionPrefix || "" === input.versionPrefix || "=" === input.versionPrefix || "^" === input.versionPrefix || "auto" === input.versionPrefix || "~" === input.versionPrefix) && (undefined === input.versionActions || "string" === typeof input.versionActions) && (undefined === input.versionActionsOptions || "object" === typeof input.versionActionsOptions && null !== input.versionActionsOptions && false === Array.isArray(input.versionActionsOptions) && _io10(input.versionActionsOptions, _vctx)) && (undefined === input.preserveLocalDependencyProtocols || "boolean" === typeof input.preserveLocalDependencyProtocols);
2338
+ const _io36 = (input, _vctx = {}) => "string" === typeof input.path && "boolean" === typeof input.preserveLocalDependencyProtocols;
2339
+ const _io37 = (input, _vctx = {}) => (undefined === input.preVersionCommand || "string" === typeof input.preVersionCommand) && (null !== input.skipVersionActions && (undefined === input.skipVersionActions || "boolean" === typeof input.skipVersionActions || Array.isArray(input.skipVersionActions) && input.skipVersionActions.every(elem => "string" === typeof elem))) && (undefined === input.versionSchemes || "object" === typeof input.versionSchemes && null !== input.versionSchemes && false === Array.isArray(input.versionSchemes) && _io1(input.versionSchemes, _vctx)) && (undefined === input.repositoryName || "string" === typeof input.repositoryName) && (undefined === input.registryUrl || "string" === typeof input.registryUrl);
2340
+ const _io38 = (input, _vctx = {}) => _ip32(input, _vctx) && _ip37(input, _vctx) && (undefined === input.targetGroups || "object" === typeof input.targetGroups && null !== input.targetGroups && false === Array.isArray(input.targetGroups) && _io39(input.targetGroups, _vctx)) && (undefined === input.owners || "object" === typeof input.owners && null !== input.owners && false === Array.isArray(input.owners) && _io40(input.owners, _vctx)) && (undefined === input.js || "object" === typeof input.js && null !== input.js && _io45(input.js, _vctx)) && Object.keys(input).every(key => {
2341
+ if (["description", "technologies", "targetGroups", "owners", "js"].some(prop => key === prop))
2342
+ return true;
2343
+ const value = input[key];
2344
+ if (undefined === value)
2345
+ return true;
2346
+ return true;
2347
+ });
2348
+ const _io39 = (input, _vctx = {}) => Object.keys(input).every(key => {
2349
+ const value = input[key];
2350
+ if (undefined === value)
2351
+ return true;
2352
+ return Array.isArray(value) && value.every(elem => "string" === typeof elem);
2353
+ });
2354
+ const _io4 = (input, _vctx = {}) => Object.keys(input).every(key => {
2355
+ const value = input[key];
2356
+ if (undefined === value)
2357
+ return true;
2358
+ return "object" === typeof value && null !== value && _io5(value, _vctx);
2359
+ });
2360
+ const _io40 = (input, _vctx = {}) => Object.keys(input).every(key => {
2361
+ const value = input[key];
2362
+ if (undefined === value)
2363
+ return true;
2364
+ return "object" === typeof value && null !== value && _io41(value, _vctx);
2365
+ });
2366
+ const _io41 = (input, _vctx = {}) => Array.isArray(input.ownedFiles) && input.ownedFiles.every(elem => "object" === typeof elem && null !== elem && _io42(elem, _vctx));
2367
+ const _io42 = (input, _vctx = {}) => null !== input.files && undefined !== input.files && (Array.isArray(input.files) && (_ip38(input.files, _vctx) || false)) && (undefined === input.fromConfig || "object" === typeof input.fromConfig && null !== input.fromConfig && _io43(input.fromConfig, _vctx));
2368
+ const _io43 = (input, _vctx = {}) => "string" === typeof input.filePath && ("object" === typeof input.location && null !== input.location && _io44(input.location, _vctx));
2369
+ const _io44 = (input, _vctx = {}) => "number" === typeof input.startLine && "number" === typeof input.endLine;
2370
+ const _io45 = (input, _vctx = {}) => "string" === typeof input.packageName && (undefined === input.packageVersion || "string" === typeof input.packageVersion) && (null !== input.packageExports && (undefined === input.packageExports || "string" === typeof input.packageExports || "object" === typeof input.packageExports && null !== input.packageExports && false === Array.isArray(input.packageExports) && _io2(input.packageExports, _vctx))) && (undefined === input.packageMain || "string" === typeof input.packageMain) && (undefined === input.isInPackageManagerWorkspaces || "boolean" === typeof input.isInPackageManagerWorkspaces);
2371
+ const _io46 = (input, _vctx = {}) => (undefined === input.migrations || "string" === typeof input.migrations) && (null !== input.packageGroup && (undefined === input.packageGroup || (Array.isArray(input.packageGroup) && (_ip39(input.packageGroup, _vctx) || false) || "object" === typeof input.packageGroup && null !== input.packageGroup && false === Array.isArray(input.packageGroup) && _io1(input.packageGroup, _vctx)))) && (undefined === input.supportsOptionalMigrations || "boolean" === typeof input.supportsOptionalMigrations);
2372
+ const _io47 = (input, _vctx = {}) => _ip40(input, _vctx) && _ip1(input, _vctx);
2373
+ const _io48 = (input, _vctx = {}) => _ip40(input, _vctx) && _ip1(input, _vctx);
2374
+ const _io5 = (input, _vctx = {}) => "boolean" === typeof input.optional;
2375
+ const _io6 = (input, _vctx = {}) => _ip18(input, _vctx) && (undefined === input.onlyBuiltDependencies || Array.isArray(input.onlyBuiltDependencies) && input.onlyBuiltDependencies.every(elem => "string" === typeof elem)) && (undefined === input.neverBuiltDependencies || Array.isArray(input.neverBuiltDependencies) && input.neverBuiltDependencies.every(elem => "string" === typeof elem)) && (undefined === input.allowBuilds || "object" === typeof input.allowBuilds && null !== input.allowBuilds && false === Array.isArray(input.allowBuilds) && _io8(input.allowBuilds, _vctx)) && (undefined === input.supportedArchitectures || "object" === typeof input.supportedArchitectures && null !== input.supportedArchitectures && false === Array.isArray(input.supportedArchitectures) && _io9(input.supportedArchitectures, _vctx)) && (undefined === input.ignoredOptionalDependencies || Array.isArray(input.ignoredOptionalDependencies) && input.ignoredOptionalDependencies.every(elem => "string" === typeof elem)) && (undefined === input.packageExtensions || "object" === typeof input.packageExtensions && null !== input.packageExtensions && false === Array.isArray(input.packageExtensions) && _io10(input.packageExtensions, _vctx)) && (undefined === input.patchedDependencies || "object" === typeof input.patchedDependencies && null !== input.patchedDependencies && false === Array.isArray(input.patchedDependencies) && _io1(input.patchedDependencies, _vctx));
2376
+ const _io7 = (input, _vctx = {}) => (_vctx.io7 || (_vctx.io7 = new WeakSet())).has(input) ? true : (_vctx.io7.add(input), (Object.keys(input).every(key => {
2377
+ const value = input[key];
2378
+ if (undefined === value)
2379
+ return true;
2380
+ return null !== value && undefined !== value && ("string" === typeof value || "object" === typeof value && null !== value && false === Array.isArray(value) && _io7(value, _vctx));
2381
+ })) || (_vctx.io7.delete(input), false));
2382
+ const _io8 = (input, _vctx = {}) => Object.keys(input).every(key => {
2383
+ const value = input[key];
2384
+ if (undefined === value)
2385
+ return true;
2386
+ return "boolean" === typeof value;
2387
+ });
2388
+ const _io9 = (input, _vctx = {}) => (undefined === input.os || Array.isArray(input.os) && input.os.every(elem => "string" === typeof elem)) && (undefined === input.cpu || Array.isArray(input.cpu) && input.cpu.every(elem => "string" === typeof elem)) && (undefined === input.libc || Array.isArray(input.libc) && input.libc.every(elem => "string" === typeof elem));
2389
+ const _iu0 = (input, _vctx = {}) => (() => {
2390
+ if (undefined !== input.json)
2391
+ return _io16(input, _vctx);
2392
+ else if (undefined !== input.projects)
2393
+ return _io17(input, _vctx);
2394
+ else if (undefined !== input.runtime)
2395
+ return _io22(input, _vctx);
2396
+ else if (undefined !== input.externalDependencies)
2397
+ return _io23(input, _vctx);
2398
+ else if (undefined !== input.dependentTasksOutputFiles)
2399
+ return _io24(input, _vctx);
2400
+ else if (undefined !== input.env)
2401
+ return _io25(input, _vctx);
2402
+ else if (undefined !== input.workingDirectory)
2403
+ return _io26(input, _vctx);
2404
+ else
2405
+ return (() => {
2406
+ if (_io18(input, _vctx))
2407
+ return _io18(input, _vctx);
2408
+ if (_io19(input, _vctx))
2409
+ return _io19(input, _vctx);
2410
+ if (_io20(input, _vctx))
2411
+ return _io20(input, _vctx);
2412
+ if (_io21(input, _vctx))
2413
+ return _io21(input, _vctx);
2414
+ return false;
2415
+ })();
2416
+ })();
2417
+ const __is = (input, _vctx = {}) => "object" === typeof input && null !== input && _io0(input, _vctx);
2418
+ let _errorFactory;
2419
+ const __assert = (input, errorFactory) => {
2420
+ if (false === __is(input)) {
2421
+ _errorFactory = errorFactory;
2422
+ ((input, _path, _exceptionable = true, _vctx = {}) => ("object" === typeof input && null !== input || _assertGuard_1._assertGuard(true, {
2423
+ method: "typia.json.assertParse",
2424
+ path: _path + "",
2425
+ expected: "PackageJson",
2426
+ value: input
2427
+ }, _errorFactory)) && _ao0(input, _path + "", true, _vctx) || _assertGuard_1._assertGuard(true, {
2428
+ method: "typia.json.assertParse",
2429
+ path: _path + "",
2430
+ expected: "PackageJson",
2431
+ value: input
2432
+ }, _errorFactory))(input, "$input", true);
2433
+ }
2434
+ return input;
2435
+ };
2436
+ return (input, errorFactory) => __assert(JSON.parse(input), errorFactory);
2437
+ })()(readFileSync(path, 'utf8'));
2438
+ return { path, packageJson };
2439
+ }
2440
+ catch (error) {
2441
+ if (systemError(error) && ['ENOENT', 'ENOTDIR'].includes(error.code))
2442
+ continue;
2443
+ throw error;
2444
+ }
2445
+ }
2446
+ throw original;
2447
+ }
2448
+ }
348
2449
  function visit(name, from, optional) {
349
2450
  let resolved;
350
2451
  try {
351
- resolved = resolvePackage(name, [from]);
2452
+ resolved = installedManifest(name, from);
352
2453
  }
353
2454
  catch (error) {
354
2455
  if (optional && systemError(error) && error.code === 'MODULE_NOT_FOUND') {
@@ -364,11 +2465,67 @@ export function graphInstallationIdentity(workspaceRoot, nxJson, resolvePackage)
364
2465
  visited.add(physical);
365
2466
  const packageRoot = dirname(physical);
366
2467
  const manifest = resolved.packageJson;
367
- // A package-owned published dist lane may live on its build volume. Its
368
- // link node and every physical target node remain part of this proof.
369
- if (manifest.files?.includes('dist'))
370
- declaredDirectoryLinks.add(join(packageRoot, 'dist'));
371
- walk(packageRoot);
2468
+ // Explicit publication owns this tree; unknown declarations keep the conservative full census.
2469
+ if (manifest.files !== undefined && manifest.files.length > 0) {
2470
+ const patterns = manifest.files.map((pattern) => {
2471
+ const negative = pattern.startsWith('!');
2472
+ const relativePattern = (negative ? pattern.slice(1) : pattern).replace(/^\/+/u, '') || '.';
2473
+ return negative ? `!${relativePattern}` : relativePattern;
2474
+ });
2475
+ const declared = new Set();
2476
+ const literal = (pattern) => !/[*?[\]{}]/u.test(pattern);
2477
+ const validate = (entry) => {
2478
+ if (isAbsolute(entry) || entry.split(/[\\/]/u).includes('..'))
2479
+ throw new Error(`Published graph package path escapes its owner: ${entry}`);
2480
+ };
2481
+ const addDeclaration = (entry) => {
2482
+ validate(entry);
2483
+ if (literal(entry)) {
2484
+ const absolute = resolve(packageRoot, entry);
2485
+ declared.add(absolute);
2486
+ declaredDirectoryLinks.add(absolute);
2487
+ }
2488
+ };
2489
+ for (const pattern of patterns) {
2490
+ validate(pattern.startsWith('!') ? pattern.slice(1) : pattern);
2491
+ if (!pattern.startsWith('!'))
2492
+ addDeclaration(pattern);
2493
+ }
2494
+ const exported = (value) => {
2495
+ if (typeof value === 'string') {
2496
+ if (value.startsWith('./')) {
2497
+ patterns.push(value);
2498
+ addDeclaration(value);
2499
+ }
2500
+ }
2501
+ else if (Array.isArray(value)) {
2502
+ for (const entry of value)
2503
+ exported(entry);
2504
+ }
2505
+ else if (typeof value === 'object' && value !== null) {
2506
+ for (const entry of Object.values(value))
2507
+ exported(entry);
2508
+ }
2509
+ };
2510
+ exported(manifest.exports);
2511
+ const selected = new Set([packageRoot]);
2512
+ const select = (entry) => {
2513
+ validate(entry);
2514
+ for (let path = resolve(packageRoot, entry); path !== packageRoot; path = dirname(path))
2515
+ selected.add(path);
2516
+ };
2517
+ select('package.json');
2518
+ for (const path of declared)
2519
+ select(relative(packageRoot, path));
2520
+ for (const path of expand(packageRoot, patterns)) {
2521
+ select(path);
2522
+ expandedRoots.add(resolve(packageRoot, path));
2523
+ }
2524
+ walk(packageRoot, selected);
2525
+ }
2526
+ else {
2527
+ walk(packageRoot);
2528
+ }
372
2529
  const dependencies = { ...manifest.peerDependencies, ...manifest.dependencies, ...manifest.optionalDependencies };
373
2530
  for (const dependency of Object.keys(dependencies).sort()) {
374
2531
  visit(dependency, packageRoot, manifest.optionalDependencies?.[dependency] !== undefined ||
@@ -376,18 +2533,22 @@ export function graphInstallationIdentity(workspaceRoot, nxJson, resolvePackage)
376
2533
  }
377
2534
  }
378
2535
  try {
379
- for (const name of ['nx', ...plugins])
2536
+ for (const name of ['nx', ...plugins.filter((plugin) => plugin === '@smoothbricks/nx-plugin')])
380
2537
  visit(name, workspaceRoot, false);
2538
+ for (const input of localInputs?.packages ?? [])
2539
+ visit(input.name, input.from, false);
381
2540
  visit('typescript', workspaceRoot, true);
382
- return nodesUnchanged(nodes) ? JSON.stringify({ resolutions, nodes, files }) : null;
2541
+ return { resolutions, nodes, files };
383
2542
  }
384
2543
  catch (error) {
385
2544
  if (systemError(error) && ['EACCES', 'EPERM', 'EIO'].includes(error.code))
386
2545
  throw error;
387
2546
  // Installation uncertainty disables only graph reuse. Nx's authoritative
388
2547
  // RPC remains responsible for diagnosing invalid plugin installations.
389
- if (error instanceof Error)
2548
+ if (error instanceof Error) {
2549
+ onUnproved?.(error.message);
390
2550
  return null;
2551
+ }
391
2552
  throw error;
392
2553
  }
393
2554
  }