@ariestools/toolchain 8.7.27 → 8.7.28

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 (199) hide show
  1. package/dist/actions/analyze.d.ts +27 -9
  2. package/dist/actions/analyze.d.ts.map +1 -1
  3. package/dist/actions/api-exposure/analyzer/analyzePackage.d.ts +6 -2
  4. package/dist/actions/api-exposure/analyzer/analyzePackage.d.ts.map +1 -1
  5. package/dist/actions/api-exposure/analyzer/couplingWalk.d.ts.map +1 -1
  6. package/dist/actions/api-exposure/analyzer/depSignals.d.ts +12 -4
  7. package/dist/actions/api-exposure/analyzer/depSignals.d.ts.map +1 -1
  8. package/dist/actions/api-exposure/analyzer/exposureWalk.d.ts +9 -3
  9. package/dist/actions/api-exposure/analyzer/exposureWalk.d.ts.map +1 -1
  10. package/dist/actions/api-exposure/analyzer/importedPackages.d.ts +6 -2
  11. package/dist/actions/api-exposure/analyzer/importedPackages.d.ts.map +1 -1
  12. package/dist/actions/api-exposure/apiExposure.d.ts +9 -3
  13. package/dist/actions/api-exposure/apiExposure.d.ts.map +1 -1
  14. package/dist/actions/api-exposure/config.d.ts +12 -4
  15. package/dist/actions/api-exposure/config.d.ts.map +1 -1
  16. package/dist/actions/api-exposure/installStrategy.d.ts +6 -2
  17. package/dist/actions/api-exposure/installStrategy.d.ts.map +1 -1
  18. package/dist/actions/api-exposure/reporters.d.ts +3 -1
  19. package/dist/actions/api-exposure/reporters.d.ts.map +1 -1
  20. package/dist/actions/api-exposure/scoring.d.ts +3 -1
  21. package/dist/actions/api-exposure/scoring.d.ts.map +1 -1
  22. package/dist/actions/api-exposure/types.d.ts +48 -16
  23. package/dist/actions/api-exposure/types.d.ts.map +1 -1
  24. package/dist/actions/barrel/index.d.ts +0 -1
  25. package/dist/actions/barrel/index.d.ts.map +1 -1
  26. package/dist/actions/barrel/restrictionHelpers.d.ts +0 -19
  27. package/dist/actions/barrel/restrictionHelpers.d.ts.map +1 -1
  28. package/dist/actions/compile.d.ts +9 -3
  29. package/dist/actions/compile.d.ts.map +1 -1
  30. package/dist/actions/dead/analyzePackage.d.ts +18 -6
  31. package/dist/actions/dead/analyzePackage.d.ts.map +1 -1
  32. package/dist/actions/dead/collectSymbols.d.ts +12 -4
  33. package/dist/actions/dead/collectSymbols.d.ts.map +1 -1
  34. package/dist/actions/dead/evaluateRules.d.ts +3 -1
  35. package/dist/actions/dead/evaluateRules.d.ts.map +1 -1
  36. package/dist/actions/dead/findWorkspaceFile.d.ts +3 -1
  37. package/dist/actions/dead/findWorkspaceFile.d.ts.map +1 -1
  38. package/dist/actions/dead/ruleNames.d.ts +3 -1
  39. package/dist/actions/dead/ruleNames.d.ts.map +1 -1
  40. package/dist/actions/dead/runDeadAnalysis.d.ts +3 -1
  41. package/dist/actions/dead/runDeadAnalysis.d.ts.map +1 -1
  42. package/dist/actions/dead/sourceEdits.d.ts +3 -1
  43. package/dist/actions/dead/sourceEdits.d.ts.map +1 -1
  44. package/dist/actions/deplint/checkPackage/checkPackage.d.ts +3 -1
  45. package/dist/actions/deplint/checkPackage/checkPackage.d.ts.map +1 -1
  46. package/dist/actions/deplint/checkPackage/getUnsatisfiedPeerDependencies.d.ts +6 -2
  47. package/dist/actions/deplint/checkPackage/getUnsatisfiedPeerDependencies.d.ts.map +1 -1
  48. package/dist/actions/deplint/collectPickRows.d.ts +24 -8
  49. package/dist/actions/deplint/collectPickRows.d.ts.map +1 -1
  50. package/dist/actions/deplint/deplint.d.ts +9 -3
  51. package/dist/actions/deplint/deplint.d.ts.map +1 -1
  52. package/dist/actions/deplint/deplintPick.d.ts +3 -1
  53. package/dist/actions/deplint/deplintPick.d.ts.map +1 -1
  54. package/dist/actions/deplint/editXyConfigPackages.d.ts +9 -3
  55. package/dist/actions/deplint/editXyConfigPackages.d.ts.map +1 -1
  56. package/dist/actions/deplint/fetchPackageManifest.d.ts +6 -2
  57. package/dist/actions/deplint/fetchPackageManifest.d.ts.map +1 -1
  58. package/dist/actions/deplint/findFiles.d.ts +6 -2
  59. package/dist/actions/deplint/findFiles.d.ts.map +1 -1
  60. package/dist/actions/deplint/getExternalImportsFromFiles.d.ts.map +1 -1
  61. package/dist/actions/deplint/interactivePick.d.ts +3 -1
  62. package/dist/actions/deplint/interactivePick.d.ts.map +1 -1
  63. package/dist/actions/deplint/isTerminalPackage.d.ts +12 -4
  64. package/dist/actions/deplint/isTerminalPackage.d.ts.map +1 -1
  65. package/dist/actions/deplint/resolvePeerBumpFixes.d.ts +3 -1
  66. package/dist/actions/deplint/resolvePeerBumpFixes.d.ts.map +1 -1
  67. package/dist/actions/deplint/snapshot.d.ts +24 -8
  68. package/dist/actions/deplint/snapshot.d.ts.map +1 -1
  69. package/dist/actions/deplint/sourceFileCache.d.ts +3 -1
  70. package/dist/actions/deplint/sourceFileCache.d.ts.map +1 -1
  71. package/dist/actions/deplint/types.d.ts +66 -22
  72. package/dist/actions/deplint/types.d.ts.map +1 -1
  73. package/dist/actions/gitignore.d.ts +3 -1
  74. package/dist/actions/gitignore.d.ts.map +1 -1
  75. package/dist/actions/lint.d.ts +15 -5
  76. package/dist/actions/lint.d.ts.map +1 -1
  77. package/dist/actions/lintNext.d.ts +6 -2
  78. package/dist/actions/lintNext.d.ts.map +1 -1
  79. package/dist/actions/lintNextWorker.d.ts +36 -12
  80. package/dist/actions/lintNextWorker.d.ts.map +1 -1
  81. package/dist/actions/lintPackageFilter.d.ts +15 -5
  82. package/dist/actions/lintPackageFilter.d.ts.map +1 -1
  83. package/dist/actions/package/clean-outputs.d.ts +3 -1
  84. package/dist/actions/package/clean-outputs.d.ts.map +1 -1
  85. package/dist/actions/package/clean-typescript.d.ts +3 -1
  86. package/dist/actions/package/clean-typescript.d.ts.map +1 -1
  87. package/dist/actions/package/cleanGitignore.d.ts +6 -2
  88. package/dist/actions/package/cleanGitignore.d.ts.map +1 -1
  89. package/dist/actions/package/cleanPlan.d.ts +6 -2
  90. package/dist/actions/package/cleanPlan.d.ts.map +1 -1
  91. package/dist/actions/package/cleanRules.d.ts +15 -5
  92. package/dist/actions/package/cleanRules.d.ts.map +1 -1
  93. package/dist/actions/package/compile/ApiExposureConfig.d.ts +24 -8
  94. package/dist/actions/package/compile/ApiExposureConfig.d.ts.map +1 -1
  95. package/dist/actions/package/compile/CleanConfig.d.ts +3 -1
  96. package/dist/actions/package/compile/CleanConfig.d.ts.map +1 -1
  97. package/dist/actions/package/compile/MonolithConfig.d.ts +39 -13
  98. package/dist/actions/package/compile/MonolithConfig.d.ts.map +1 -1
  99. package/dist/actions/package/compile/PublintConfig.d.ts +6 -2
  100. package/dist/actions/package/compile/PublintConfig.d.ts.map +1 -1
  101. package/dist/actions/package/compile/XyConfig.d.ts +162 -54
  102. package/dist/actions/package/compile/XyConfig.d.ts.map +1 -1
  103. package/dist/actions/package/compile/createProgramFromConfig.d.ts +18 -6
  104. package/dist/actions/package/compile/createProgramFromConfig.d.ts.map +1 -1
  105. package/dist/actions/package/compile/inputs.d.ts.map +1 -1
  106. package/dist/actions/package/compile/monolithCompileDeclarations.d.ts +3 -1
  107. package/dist/actions/package/compile/monolithCompileDeclarations.d.ts.map +1 -1
  108. package/dist/actions/package/compile/monolithCompileEntries.d.ts.map +1 -1
  109. package/dist/actions/package/compile/monolithCompileLayout.d.ts +15 -5
  110. package/dist/actions/package/compile/monolithCompileLayout.d.ts.map +1 -1
  111. package/dist/actions/package/compile/monolithCopyEntries.d.ts +6 -2
  112. package/dist/actions/package/compile/monolithCopyEntries.d.ts.map +1 -1
  113. package/dist/actions/package/compile/monolithReexport.d.ts +12 -4
  114. package/dist/actions/package/compile/monolithReexport.d.ts.map +1 -1
  115. package/dist/actions/package/compile/packageCompileMonolith.d.ts.map +1 -1
  116. package/dist/actions/recompile.d.ts +3 -1
  117. package/dist/actions/recompile.d.ts.map +1 -1
  118. package/dist/actions/skills/defaults.d.ts +14 -6
  119. package/dist/actions/skills/defaults.d.ts.map +1 -1
  120. package/dist/actions/skills/skillRules.d.ts +4 -2
  121. package/dist/actions/skills/skillRules.d.ts.map +1 -1
  122. package/dist/actions/tsc-validate/sharedValidate.d.ts +6 -2
  123. package/dist/actions/tsc-validate/sharedValidate.d.ts.map +1 -1
  124. package/dist/actions/tsc-validate/tscValidate.d.ts.map +1 -1
  125. package/dist/actions/work/github.d.ts +9 -3
  126. package/dist/actions/work/github.d.ts.map +1 -1
  127. package/dist/actions/work/helpers.d.ts +3 -1
  128. package/dist/actions/work/helpers.d.ts.map +1 -1
  129. package/dist/actions/work/index.d.ts +6 -2
  130. package/dist/actions/work/index.d.ts.map +1 -1
  131. package/dist/actions/work/list.d.ts +6 -2
  132. package/dist/actions/work/list.d.ts.map +1 -1
  133. package/dist/actions/work/move.d.ts +3 -1
  134. package/dist/actions/work/move.d.ts.map +1 -1
  135. package/dist/actions/work/store.d.ts +3 -1
  136. package/dist/actions/work/store.d.ts.map +1 -1
  137. package/dist/actions/work/sync.d.ts +15 -5
  138. package/dist/actions/work/sync.d.ts.map +1 -1
  139. package/dist/actions/work/workspace.d.ts +15 -5
  140. package/dist/actions/work/workspace.d.ts.map +1 -1
  141. package/dist/bin/package/build.mjs +269 -185
  142. package/dist/bin/package/build.mjs.map +1 -1
  143. package/dist/bin/package/clean.mjs +137 -96
  144. package/dist/bin/package/clean.mjs.map +1 -1
  145. package/dist/bin/package/compile.mjs +149 -100
  146. package/dist/bin/package/compile.mjs.map +1 -1
  147. package/dist/bin/package/copy-assets-cjs.mjs +16 -14
  148. package/dist/bin/package/copy-assets-cjs.mjs.map +1 -1
  149. package/dist/bin/package/copy-assets-esm.mjs +16 -14
  150. package/dist/bin/package/copy-assets-esm.mjs.map +1 -1
  151. package/dist/bin/package/fix.mjs +4 -3
  152. package/dist/bin/package/fix.mjs.map +1 -1
  153. package/dist/bin/package/lint-verbose.mjs +4 -3
  154. package/dist/bin/package/lint-verbose.mjs.map +1 -1
  155. package/dist/bin/package/lint.mjs +4 -3
  156. package/dist/bin/package/lint.mjs.map +1 -1
  157. package/dist/bin/package/publint.mjs +220 -165
  158. package/dist/bin/package/publint.mjs.map +1 -1
  159. package/dist/bin/package/recompile.mjs +173 -108
  160. package/dist/bin/package/recompile.mjs.map +1 -1
  161. package/dist/bin/package/relint.mjs +4 -3
  162. package/dist/bin/package/relint.mjs.map +1 -1
  163. package/dist/bin/package/sync-layout.mjs +97 -71
  164. package/dist/bin/package/sync-layout.mjs.map +1 -1
  165. package/dist/bin/run-or-exec.mjs +8 -4
  166. package/dist/bin/run-or-exec.mjs.map +1 -1
  167. package/dist/bin/skills.mjs +494 -222
  168. package/dist/bin/skills.mjs.map +1 -1
  169. package/dist/bin/xy.mjs +2029 -1992
  170. package/dist/bin/xy.mjs.map +1 -1
  171. package/dist/lib/copyAssetFiles.d.ts +3 -1
  172. package/dist/lib/copyAssetFiles.d.ts.map +1 -1
  173. package/dist/lib/licenseCheck/checkLicenses.d.ts +18 -6
  174. package/dist/lib/licenseCheck/checkLicenses.d.ts.map +1 -1
  175. package/dist/lib/licenseCheck/collectProductionLicenses.d.ts +9 -3
  176. package/dist/lib/licenseCheck/collectProductionLicenses.d.ts.map +1 -1
  177. package/dist/lib/licenseCheck/readPackageLicense.d.ts +6 -2
  178. package/dist/lib/licenseCheck/readPackageLicense.d.ts.map +1 -1
  179. package/dist/lib/loadConfig.d.ts.map +1 -1
  180. package/dist/lib/match.d.ts +6 -2
  181. package/dist/lib/match.d.ts.map +1 -1
  182. package/dist/lib/pnpmConfig/readMinReleaseAge.d.ts +12 -4
  183. package/dist/lib/pnpmConfig/readMinReleaseAge.d.ts.map +1 -1
  184. package/dist/lib/safeExit.d.ts +3 -1
  185. package/dist/lib/safeExit.d.ts.map +1 -1
  186. package/dist/lib/updo/fetchRegistryInfo.d.ts.map +1 -1
  187. package/dist/lib/updo/interactiveSelect.d.ts +6 -2
  188. package/dist/lib/updo/interactiveSelect.d.ts.map +1 -1
  189. package/dist/lib/updo/interfaces.d.ts +15 -5
  190. package/dist/lib/updo/interfaces.d.ts.map +1 -1
  191. package/dist/lib/updo/resolveVersions.d.ts +15 -5
  192. package/dist/lib/updo/resolveVersions.d.ts.map +1 -1
  193. package/dist/lib/updo/runUpdo.d.ts +12 -4
  194. package/dist/lib/updo/runUpdo.d.ts.map +1 -1
  195. package/dist/pm/PackageManager.d.ts +45 -15
  196. package/dist/pm/PackageManager.d.ts.map +1 -1
  197. package/dist/xy/common/work/options.d.ts +3 -1
  198. package/dist/xy/common/work/options.d.ts.map +1 -1
  199. package/package.json +18 -18
@@ -1237,8 +1237,10 @@ var require_omap = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1237
1237
  let pairHasKey = false;
1238
1238
  if (_toString.call(pair) !== "[object Object]") return false;
1239
1239
  let pairKey;
1240
- for (pairKey in pair) if (_hasOwnProperty.call(pair, pairKey)) if (!pairHasKey) pairHasKey = true;
1241
- else return false;
1240
+ for (pairKey in pair) if (_hasOwnProperty.call(pair, pairKey)) {
1241
+ if (!pairHasKey) pairHasKey = true;
1242
+ else return false;
1243
+ }
1242
1244
  if (!pairHasKey) return false;
1243
1245
  if (objectKeys.indexOf(pairKey) === -1) objectKeys.push(pairKey);
1244
1246
  else return false;
@@ -1578,9 +1580,10 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1578
1580
  if (typeof keyNode === "object" && _class(keyNode) === "[object Object]") keyNode = "[object Object]";
1579
1581
  keyNode = String(keyNode);
1580
1582
  if (_result === null) _result = {};
1581
- if (keyTag === "tag:yaml.org,2002:merge") if (Array.isArray(valueNode)) for (let index = 0, quantity = valueNode.length; index < quantity; index += 1) mergeMappings(state, _result, valueNode[index], overridableKeys);
1582
- else mergeMappings(state, _result, valueNode, overridableKeys);
1583
- else {
1583
+ if (keyTag === "tag:yaml.org,2002:merge") {
1584
+ if (Array.isArray(valueNode)) for (let index = 0, quantity = valueNode.length; index < quantity; index += 1) mergeMappings(state, _result, valueNode[index], overridableKeys);
1585
+ else mergeMappings(state, _result, valueNode, overridableKeys);
1586
+ } else {
1584
1587
  if (!state.json && !_hasOwnProperty.call(overridableKeys, keyNode) && _hasOwnProperty.call(_result, keyNode)) {
1585
1588
  state.line = startLine || state.line;
1586
1589
  state.lineStart = startLineStart || state.lineStart;
@@ -1865,14 +1868,16 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1865
1868
  state.result = "";
1866
1869
  while (ch !== 0) {
1867
1870
  ch = state.input.charCodeAt(++state.position);
1868
- if (ch === 43 || ch === 45) if (CHOMPING_CLIP === chomping) chomping = ch === 43 ? CHOMPING_KEEP : CHOMPING_STRIP;
1869
- else throwError(state, "repeat of a chomping mode identifier");
1870
- else if ((tmp = fromDecimalCode(ch)) >= 0) if (tmp === 0) throwError(state, "bad explicit indentation width of a block scalar; it cannot be less than one");
1871
- else if (!detectedIndent) {
1872
- textIndent = nodeIndent + tmp - 1;
1873
- detectedIndent = true;
1874
- } else throwError(state, "repeat of an indentation width identifier");
1875
- else break;
1871
+ if (ch === 43 || ch === 45) {
1872
+ if (CHOMPING_CLIP === chomping) chomping = ch === 43 ? CHOMPING_KEEP : CHOMPING_STRIP;
1873
+ else throwError(state, "repeat of a chomping mode identifier");
1874
+ } else if ((tmp = fromDecimalCode(ch)) >= 0) {
1875
+ if (tmp === 0) throwError(state, "bad explicit indentation width of a block scalar; it cannot be less than one");
1876
+ else if (!detectedIndent) {
1877
+ textIndent = nodeIndent + tmp - 1;
1878
+ detectedIndent = true;
1879
+ } else throwError(state, "repeat of an indentation width identifier");
1880
+ } else break;
1876
1881
  }
1877
1882
  if (isWhiteSpace(ch)) {
1878
1883
  do
@@ -1903,16 +1908,17 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1903
1908
  }
1904
1909
  break;
1905
1910
  }
1906
- if (folding) if (isWhiteSpace(ch)) {
1907
- atMoreIndented = true;
1908
- state.result += common.repeat("\n", didReadContent ? 1 + emptyLines : emptyLines);
1909
- } else if (atMoreIndented) {
1910
- atMoreIndented = false;
1911
- state.result += common.repeat("\n", emptyLines + 1);
1912
- } else if (emptyLines === 0) {
1913
- if (didReadContent) state.result += " ";
1914
- } else state.result += common.repeat("\n", emptyLines);
1915
- else state.result += common.repeat("\n", didReadContent ? 1 + emptyLines : emptyLines);
1911
+ if (folding) {
1912
+ if (isWhiteSpace(ch)) {
1913
+ atMoreIndented = true;
1914
+ state.result += common.repeat("\n", didReadContent ? 1 + emptyLines : emptyLines);
1915
+ } else if (atMoreIndented) {
1916
+ atMoreIndented = false;
1917
+ state.result += common.repeat("\n", emptyLines + 1);
1918
+ } else if (emptyLines === 0) {
1919
+ if (didReadContent) state.result += " ";
1920
+ } else state.result += common.repeat("\n", emptyLines);
1921
+ } else state.result += common.repeat("\n", didReadContent ? 1 + emptyLines : emptyLines);
1916
1922
  didReadContent = true;
1917
1923
  detectedIndent = true;
1918
1924
  emptyLines = 0;
@@ -2041,8 +2047,10 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2041
2047
  _keyLineStart = state.lineStart;
2042
2048
  _keyPos = state.position;
2043
2049
  }
2044
- if (composeNode(state, nodeIndent, CONTEXT_BLOCK_OUT, true, allowCompact)) if (atExplicitKey) keyNode = state.result;
2045
- else valueNode = state.result;
2050
+ if (composeNode(state, nodeIndent, CONTEXT_BLOCK_OUT, true, allowCompact)) {
2051
+ if (atExplicitKey) keyNode = state.result;
2052
+ else valueNode = state.result;
2053
+ }
2046
2054
  if (!atExplicitKey) {
2047
2055
  storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, _keyLine, _keyLineStart, _keyPos);
2048
2056
  keyTag = keyNode = valueNode = null;
@@ -2090,12 +2098,14 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2090
2098
  } else throwError(state, "unexpected end of the stream within a verbatim tag");
2091
2099
  } else {
2092
2100
  while (ch !== 0 && !isWsOrEol(ch)) {
2093
- if (ch === 33) if (!isNamed) {
2094
- tagHandle = state.input.slice(_position - 1, state.position + 1);
2095
- if (!PATTERN_TAG_HANDLE.test(tagHandle)) throwError(state, "named tag handle cannot contain such characters");
2096
- isNamed = true;
2097
- _position = state.position + 1;
2098
- } else throwError(state, "tag suffix cannot contain exclamation marks");
2101
+ if (ch === 33) {
2102
+ if (!isNamed) {
2103
+ tagHandle = state.input.slice(_position - 1, state.position + 1);
2104
+ if (!PATTERN_TAG_HANDLE.test(tagHandle)) throwError(state, "named tag handle cannot contain such characters");
2105
+ isNamed = true;
2106
+ _position = state.position + 1;
2107
+ } else throwError(state, "tag suffix cannot contain exclamation marks");
2108
+ }
2099
2109
  ch = state.input.charCodeAt(++state.position);
2100
2110
  }
2101
2111
  tagName = state.input.slice(_position, state.position);
@@ -2199,21 +2209,22 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2199
2209
  if (CONTEXT_FLOW_IN === nodeContext || CONTEXT_FLOW_OUT === nodeContext) flowIndent = parentIndent;
2200
2210
  else flowIndent = parentIndent + 1;
2201
2211
  blockIndent = state.position - state.lineStart;
2202
- if (indentStatus === 1) if (allowBlockCollections && (readBlockSequence(state, blockIndent) || readBlockMapping(state, blockIndent, flowIndent)) || readFlowCollection(state, flowIndent)) hasContent = true;
2203
- else {
2204
- const ch = state.input.charCodeAt(state.position);
2205
- if (propertyStart !== null && allowBlockStyles && !allowBlockCollections && ch !== 124 && ch !== 62 && tryReadBlockMappingFromProperty(state, propertyStart, propertyStart.position - propertyStart.lineStart, flowIndent)) hasContent = true;
2206
- else if (allowBlockScalars && readBlockScalar(state, flowIndent) || readSingleQuotedScalar(state, flowIndent) || readDoubleQuotedScalar(state, flowIndent)) hasContent = true;
2207
- else if (readAlias(state)) {
2208
- hasContent = true;
2209
- if (state.tag !== null || state.anchor !== null) throwError(state, "alias node should not have any properties");
2210
- } else if (readPlainScalar(state, flowIndent, CONTEXT_FLOW_IN === nodeContext)) {
2211
- hasContent = true;
2212
- if (state.tag === null) state.tag = "?";
2212
+ if (indentStatus === 1) {
2213
+ if (allowBlockCollections && (readBlockSequence(state, blockIndent) || readBlockMapping(state, blockIndent, flowIndent)) || readFlowCollection(state, flowIndent)) hasContent = true;
2214
+ else {
2215
+ const ch = state.input.charCodeAt(state.position);
2216
+ if (propertyStart !== null && allowBlockStyles && !allowBlockCollections && ch !== 124 && ch !== 62 && tryReadBlockMappingFromProperty(state, propertyStart, propertyStart.position - propertyStart.lineStart, flowIndent)) hasContent = true;
2217
+ else if (allowBlockScalars && readBlockScalar(state, flowIndent) || readSingleQuotedScalar(state, flowIndent) || readDoubleQuotedScalar(state, flowIndent)) hasContent = true;
2218
+ else if (readAlias(state)) {
2219
+ hasContent = true;
2220
+ if (state.tag !== null || state.anchor !== null) throwError(state, "alias node should not have any properties");
2221
+ } else if (readPlainScalar(state, flowIndent, CONTEXT_FLOW_IN === nodeContext)) {
2222
+ hasContent = true;
2223
+ if (state.tag === null) state.tag = "?";
2224
+ }
2225
+ if (state.anchor !== null) storeAnchor(state, state.anchor, state.result);
2213
2226
  }
2214
- if (state.anchor !== null) storeAnchor(state, state.anchor, state.result);
2215
- }
2216
- else if (indentStatus === 0) hasContent = allowBlockCollections && readBlockSequence(state, blockIndent);
2227
+ } else if (indentStatus === 0) hasContent = allowBlockCollections && readBlockSequence(state, blockIndent);
2217
2228
  }
2218
2229
  if (state.tag === null) {
2219
2230
  if (state.anchor !== null) storeAnchor(state, state.anchor, state.result);
@@ -2719,8 +2730,10 @@ var require_dumper = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2719
2730
  if (state.replacer) objectValue = state.replacer.call(object, objectKey, objectValue);
2720
2731
  if (!writeNode(state, level + 1, objectKey, true, true, true)) continue;
2721
2732
  const explicitPair = state.tag !== null && state.tag !== "?" || state.dump && state.dump.length > 1024;
2722
- if (explicitPair) if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) pairBuffer += "?";
2723
- else pairBuffer += "? ";
2733
+ if (explicitPair) {
2734
+ if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) pairBuffer += "?";
2735
+ else pairBuffer += "? ";
2736
+ }
2724
2737
  pairBuffer += state.dump;
2725
2738
  if (explicitPair) pairBuffer += generateNextLine(state, level);
2726
2739
  if (!writeNode(state, level + 1, objectValue, true, explicitPair)) continue;
@@ -2737,9 +2750,10 @@ var require_dumper = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2737
2750
  for (let index = 0, length = typeList.length; index < length; index += 1) {
2738
2751
  const type = typeList[index];
2739
2752
  if ((type.instanceOf || type.predicate) && (!type.instanceOf || typeof object === "object" && object instanceof type.instanceOf) && (!type.predicate || type.predicate(object))) {
2740
- if (explicit) if (type.multi && type.representName) state.tag = type.representName(object);
2741
- else state.tag = type.tag;
2742
- else state.tag = "?";
2753
+ if (explicit) {
2754
+ if (type.multi && type.representName) state.tag = type.representName(object);
2755
+ else state.tag = type.tag;
2756
+ } else state.tag = "?";
2743
2757
  if (type.represent) {
2744
2758
  const style = state.styleMap[type.tag] || type.defaultStyle;
2745
2759
  let _result;
@@ -2771,22 +2785,24 @@ var require_dumper = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2771
2785
  if (duplicate && state.usedDuplicates[duplicateIndex]) state.dump = "*ref_" + duplicateIndex;
2772
2786
  else {
2773
2787
  if (objectOrArray && duplicate && !state.usedDuplicates[duplicateIndex]) state.usedDuplicates[duplicateIndex] = true;
2774
- if (type === "[object Object]") if (block && Object.keys(state.dump).length !== 0) {
2775
- writeBlockMapping(state, level, state.dump, compact);
2776
- if (duplicate) state.dump = "&ref_" + duplicateIndex + state.dump;
2777
- } else {
2778
- writeFlowMapping(state, level, state.dump);
2779
- if (duplicate) state.dump = "&ref_" + duplicateIndex + " " + state.dump;
2780
- }
2781
- else if (type === "[object Array]") if (block && state.dump.length !== 0) {
2782
- if (state.noArrayIndent && !isblockseq && level > 0) writeBlockSequence(state, level - 1, state.dump, compact);
2783
- else writeBlockSequence(state, level, state.dump, compact);
2784
- if (duplicate) state.dump = "&ref_" + duplicateIndex + state.dump;
2785
- } else {
2786
- writeFlowSequence(state, level, state.dump);
2787
- if (duplicate) state.dump = "&ref_" + duplicateIndex + " " + state.dump;
2788
- }
2789
- else if (type === "[object String]") {
2788
+ if (type === "[object Object]") {
2789
+ if (block && Object.keys(state.dump).length !== 0) {
2790
+ writeBlockMapping(state, level, state.dump, compact);
2791
+ if (duplicate) state.dump = "&ref_" + duplicateIndex + state.dump;
2792
+ } else {
2793
+ writeFlowMapping(state, level, state.dump);
2794
+ if (duplicate) state.dump = "&ref_" + duplicateIndex + " " + state.dump;
2795
+ }
2796
+ } else if (type === "[object Array]") {
2797
+ if (block && state.dump.length !== 0) {
2798
+ if (state.noArrayIndent && !isblockseq && level > 0) writeBlockSequence(state, level - 1, state.dump, compact);
2799
+ else writeBlockSequence(state, level, state.dump, compact);
2800
+ if (duplicate) state.dump = "&ref_" + duplicateIndex + state.dump;
2801
+ } else {
2802
+ writeFlowSequence(state, level, state.dump);
2803
+ if (duplicate) state.dump = "&ref_" + duplicateIndex + " " + state.dump;
2804
+ }
2805
+ } else if (type === "[object String]") {
2790
2806
  if (state.tag !== "?") writeScalar(state, state.dump, level, iskey, inblock);
2791
2807
  } else if (type === "[object Undefined]") return false;
2792
2808
  else {
@@ -3780,7 +3796,9 @@ var import_dist = (/* @__PURE__ */ __commonJSMin(((exports) => {
3780
3796
  })))();
3781
3797
  const configState = {
3782
3798
  config: void 0,
3783
- /** In-flight root load so concurrent callers share one cosmiconfig search. */
3799
+ /**
3800
+ In-flight root load so concurrent callers share one cosmiconfig search.
3801
+ */
3784
3802
  loadPromise: void 0,
3785
3803
  rootConfigPath: void 0
3786
3804
  };
@@ -3824,7 +3842,9 @@ function normalizeReexportTargets(value) {
3824
3842
  if (value === void 0) return [];
3825
3843
  return Array.isArray(value) ? value : [value];
3826
3844
  }
3827
- /** Configured `reexport` targets for a module, if any. */
3845
+ /**
3846
+ Configured `reexport` targets for a module, if any.
3847
+ */
3828
3848
  function moduleReexportTargets(mod) {
3829
3849
  return normalizeReexportTargets(mod.reexport);
3830
3850
  }
@@ -3853,7 +3873,9 @@ function moduleShimTargets(mod) {
3853
3873
  if (fromReexport.length > 0) return fromReexport;
3854
3874
  return [`#${mod.name}`];
3855
3875
  }
3856
- /** Builds a pure star-reexport TypeScript (or mjs) source body (no header). */
3876
+ /**
3877
+ Builds a pure star-reexport TypeScript (or mjs) source body (no header).
3878
+ */
3857
3879
  function buildStarReexportLines(targets, options = {}) {
3858
3880
  const semi = options.semi === false ? "" : ";";
3859
3881
  return `${targets.map((target) => `export * from '${target}'${semi}`).join("\n")}\n`;
@@ -3936,7 +3958,9 @@ function buildModelTs(modules) {
3936
3958
  function buildModuleShim(mod) {
3937
3959
  return `${GENERATED_HEADER}${buildStarReexportLines(moduleShimTargets(mod), { semi: false })}`;
3938
3960
  }
3939
- /** Generated module body for facade modules with `reexport` targets. */
3961
+ /**
3962
+ Generated module body for facade modules with `reexport` targets.
3963
+ */
3940
3964
  function buildModuleReexportIndex(mod) {
3941
3965
  return `${GENERATED_HEADER}${buildStarReexportLines(moduleReexportTargets(mod), { semi: false })}`;
3942
3966
  }
@@ -3952,7 +3976,9 @@ function buildPlatformShim(target) {
3952
3976
  return `${GENERATED_HEADER}export * from '${target}'
3953
3977
  `;
3954
3978
  }
3955
- /** True when the package publishes a type-only model barrel (`src/model.ts`). */
3979
+ /**
3980
+ True when the package publishes a type-only model barrel (`src/model.ts`).
3981
+ */
3956
3982
  function monolithHasModelBarrel(config) {
3957
3983
  return config.modules.some((mod) => mod.model ?? false);
3958
3984
  }