@rushstack/rush-sdk 5.90.2-pr3954.0 → 5.90.2-pr3964.0

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 (361) hide show
  1. package/README.md +11 -46
  2. package/dist/rush-lib.d.ts +0 -18
  3. package/lib/index.d.ts +1 -51
  4. package/lib/index.d.ts.map +1 -0
  5. package/lib/index.js +190 -1
  6. package/lib/index.js.map +1 -0
  7. package/package.json +3 -3
  8. package/lib/api/ApprovedPackagesConfiguration.d.ts +0 -74
  9. package/lib/api/ApprovedPackagesConfiguration.js +0 -1
  10. package/lib/api/ApprovedPackagesPolicy.d.ts +0 -54
  11. package/lib/api/ApprovedPackagesPolicy.js +0 -1
  12. package/lib/api/BuildCacheConfiguration.d.ts +0 -77
  13. package/lib/api/BuildCacheConfiguration.js +0 -1
  14. package/lib/api/ChangeFile.d.ts +0 -42
  15. package/lib/api/ChangeFile.js +0 -1
  16. package/lib/api/ChangeManagement.d.ts +0 -85
  17. package/lib/api/ChangeManagement.js +0 -1
  18. package/lib/api/ChangeManager.d.ts +0 -16
  19. package/lib/api/ChangeManager.js +0 -1
  20. package/lib/api/Changelog.d.ts +0 -74
  21. package/lib/api/Changelog.js +0 -1
  22. package/lib/api/CommandLineConfiguration.d.ts +0 -161
  23. package/lib/api/CommandLineConfiguration.js +0 -1
  24. package/lib/api/CommandLineJson.d.ts +0 -251
  25. package/lib/api/CommandLineJson.js +0 -1
  26. package/lib/api/CommonVersionsConfiguration.d.ts +0 -96
  27. package/lib/api/CommonVersionsConfiguration.js +0 -1
  28. package/lib/api/EnvironmentConfiguration.d.ts +0 -258
  29. package/lib/api/EnvironmentConfiguration.js +0 -1
  30. package/lib/api/EventHooks.d.ts +0 -42
  31. package/lib/api/EventHooks.js +0 -1
  32. package/lib/api/ExperimentsConfiguration.d.ts +0 -62
  33. package/lib/api/ExperimentsConfiguration.js +0 -1
  34. package/lib/api/LastInstallFlag.d.ts +0 -73
  35. package/lib/api/LastInstallFlag.js +0 -1
  36. package/lib/api/LastLinkFlag.d.ts +0 -41
  37. package/lib/api/LastLinkFlag.js +0 -1
  38. package/lib/api/PackageJsonEditor.d.ts +0 -79
  39. package/lib/api/PackageJsonEditor.js +0 -1
  40. package/lib/api/PackageNameParsers.d.ts +0 -18
  41. package/lib/api/PackageNameParsers.js +0 -1
  42. package/lib/api/Rush.d.ts +0 -91
  43. package/lib/api/Rush.js +0 -1
  44. package/lib/api/RushConfiguration.d.ts +0 -595
  45. package/lib/api/RushConfiguration.js +0 -1
  46. package/lib/api/RushConfigurationProject.d.ts +0 -217
  47. package/lib/api/RushConfigurationProject.js +0 -1
  48. package/lib/api/RushGlobalFolder.d.ts +0 -32
  49. package/lib/api/RushGlobalFolder.js +0 -1
  50. package/lib/api/RushInternals.d.ts +0 -15
  51. package/lib/api/RushInternals.js +0 -1
  52. package/lib/api/RushPluginsConfiguration.d.ts +0 -21
  53. package/lib/api/RushPluginsConfiguration.js +0 -1
  54. package/lib/api/RushProjectConfiguration.d.ts +0 -117
  55. package/lib/api/RushProjectConfiguration.js +0 -1
  56. package/lib/api/RushUserConfiguration.d.ts +0 -16
  57. package/lib/api/RushUserConfiguration.js +0 -1
  58. package/lib/api/SaveCallbackPackageJsonEditor.d.ts +0 -14
  59. package/lib/api/SaveCallbackPackageJsonEditor.js +0 -1
  60. package/lib/api/Variants.d.ts +0 -11
  61. package/lib/api/Variants.js +0 -1
  62. package/lib/api/VersionPolicy.d.ts +0 -203
  63. package/lib/api/VersionPolicy.js +0 -1
  64. package/lib/api/VersionPolicyConfiguration.d.ts +0 -75
  65. package/lib/api/VersionPolicyConfiguration.js +0 -1
  66. package/lib/api/packageManager/NpmPackageManager.d.ts +0 -9
  67. package/lib/api/packageManager/NpmPackageManager.js +0 -1
  68. package/lib/api/packageManager/PackageManager.d.ts +0 -29
  69. package/lib/api/packageManager/PackageManager.js +0 -1
  70. package/lib/api/packageManager/PnpmPackageManager.d.ts +0 -17
  71. package/lib/api/packageManager/PnpmPackageManager.js +0 -1
  72. package/lib/api/packageManager/YarnPackageManager.d.ts +0 -9
  73. package/lib/api/packageManager/YarnPackageManager.js +0 -1
  74. package/lib/cli/CommandLineMigrationAdvisor.d.ts +0 -5
  75. package/lib/cli/CommandLineMigrationAdvisor.js +0 -1
  76. package/lib/cli/RushCommandLineParser.d.ts +0 -49
  77. package/lib/cli/RushCommandLineParser.js +0 -1
  78. package/lib/cli/RushPnpmCommandLine.d.ts +0 -7
  79. package/lib/cli/RushPnpmCommandLine.js +0 -1
  80. package/lib/cli/RushPnpmCommandLineParser.d.ts +0 -26
  81. package/lib/cli/RushPnpmCommandLineParser.js +0 -1
  82. package/lib/cli/RushStartupBanner.d.ts +0 -7
  83. package/lib/cli/RushStartupBanner.js +0 -1
  84. package/lib/cli/RushXCommandLine.d.ts +0 -17
  85. package/lib/cli/RushXCommandLine.js +0 -1
  86. package/lib/cli/actions/AddAction.d.ts +0 -15
  87. package/lib/cli/actions/AddAction.js +0 -1
  88. package/lib/cli/actions/BaseAddAndRemoveAction.d.ts +0 -36
  89. package/lib/cli/actions/BaseAddAndRemoveAction.js +0 -1
  90. package/lib/cli/actions/BaseInstallAction.d.ts +0 -23
  91. package/lib/cli/actions/BaseInstallAction.js +0 -1
  92. package/lib/cli/actions/BaseRushAction.d.ts +0 -55
  93. package/lib/cli/actions/BaseRushAction.js +0 -1
  94. package/lib/cli/actions/ChangeAction.d.ts +0 -65
  95. package/lib/cli/actions/ChangeAction.js +0 -1
  96. package/lib/cli/actions/CheckAction.d.ts +0 -10
  97. package/lib/cli/actions/CheckAction.js +0 -1
  98. package/lib/cli/actions/DeployAction.d.ts +0 -12
  99. package/lib/cli/actions/DeployAction.js +0 -1
  100. package/lib/cli/actions/InitAction.d.ts +0 -16
  101. package/lib/cli/actions/InitAction.js +0 -1
  102. package/lib/cli/actions/InitAutoinstallerAction.d.ts +0 -8
  103. package/lib/cli/actions/InitAutoinstallerAction.js +0 -1
  104. package/lib/cli/actions/InitDeployAction.d.ts +0 -9
  105. package/lib/cli/actions/InitDeployAction.js +0 -1
  106. package/lib/cli/actions/InstallAction.d.ts +0 -9
  107. package/lib/cli/actions/InstallAction.js +0 -1
  108. package/lib/cli/actions/LinkAction.d.ts +0 -8
  109. package/lib/cli/actions/LinkAction.js +0 -1
  110. package/lib/cli/actions/ListAction.d.ts +0 -54
  111. package/lib/cli/actions/ListAction.js +0 -1
  112. package/lib/cli/actions/PublishAction.d.ts +0 -49
  113. package/lib/cli/actions/PublishAction.js +0 -1
  114. package/lib/cli/actions/PurgeAction.d.ts +0 -8
  115. package/lib/cli/actions/PurgeAction.js +0 -1
  116. package/lib/cli/actions/RemoveAction.d.ts +0 -13
  117. package/lib/cli/actions/RemoveAction.js +0 -1
  118. package/lib/cli/actions/ScanAction.d.ts +0 -23
  119. package/lib/cli/actions/ScanAction.js +0 -1
  120. package/lib/cli/actions/SetupAction.d.ts +0 -7
  121. package/lib/cli/actions/SetupAction.js +0 -1
  122. package/lib/cli/actions/UnlinkAction.d.ts +0 -7
  123. package/lib/cli/actions/UnlinkAction.js +0 -1
  124. package/lib/cli/actions/UpdateAction.d.ts +0 -11
  125. package/lib/cli/actions/UpdateAction.js +0 -1
  126. package/lib/cli/actions/UpdateAutoinstallerAction.d.ts +0 -8
  127. package/lib/cli/actions/UpdateAutoinstallerAction.js +0 -1
  128. package/lib/cli/actions/UpdateCloudCredentialsAction.d.ts +0 -10
  129. package/lib/cli/actions/UpdateCloudCredentialsAction.js +0 -1
  130. package/lib/cli/actions/UpgradeInteractiveAction.d.ts +0 -9
  131. package/lib/cli/actions/UpgradeInteractiveAction.js +0 -1
  132. package/lib/cli/actions/VersionAction.d.ts +0 -22
  133. package/lib/cli/actions/VersionAction.js +0 -1
  134. package/lib/cli/parsing/ParseParallelism.d.ts +0 -6
  135. package/lib/cli/parsing/ParseParallelism.js +0 -1
  136. package/lib/cli/parsing/SelectionParameterSet.d.ts +0 -51
  137. package/lib/cli/parsing/SelectionParameterSet.js +0 -1
  138. package/lib/cli/scriptActions/BaseScriptAction.d.ts +0 -28
  139. package/lib/cli/scriptActions/BaseScriptAction.js +0 -1
  140. package/lib/cli/scriptActions/GlobalScriptAction.d.ts +0 -30
  141. package/lib/cli/scriptActions/GlobalScriptAction.js +0 -1
  142. package/lib/cli/scriptActions/PhasedScriptAction.d.ts +0 -65
  143. package/lib/cli/scriptActions/PhasedScriptAction.js +0 -1
  144. package/lib/logic/Autoinstaller.d.ts +0 -21
  145. package/lib/logic/Autoinstaller.js +0 -1
  146. package/lib/logic/ChangeFiles.d.ts +0 -33
  147. package/lib/logic/ChangeFiles.js +0 -1
  148. package/lib/logic/ChangeManager.d.ts +0 -39
  149. package/lib/logic/ChangeManager.js +0 -1
  150. package/lib/logic/ChangelogGenerator.d.ts +0 -46
  151. package/lib/logic/ChangelogGenerator.js +0 -1
  152. package/lib/logic/CredentialCache.d.ts +0 -36
  153. package/lib/logic/CredentialCache.js +0 -1
  154. package/lib/logic/DependencyAnalyzer.d.ts +0 -34
  155. package/lib/logic/DependencyAnalyzer.js +0 -1
  156. package/lib/logic/DependencySpecifier.d.ts +0 -70
  157. package/lib/logic/DependencySpecifier.js +0 -1
  158. package/lib/logic/EventHooksManager.d.ts +0 -10
  159. package/lib/logic/EventHooksManager.js +0 -1
  160. package/lib/logic/Git.d.ts +0 -103
  161. package/lib/logic/Git.js +0 -1
  162. package/lib/logic/GitStatusParser.d.ts +0 -42
  163. package/lib/logic/GitStatusParser.js +0 -1
  164. package/lib/logic/JsonSchemaUrls.d.ts +0 -8
  165. package/lib/logic/JsonSchemaUrls.js +0 -1
  166. package/lib/logic/LookupByPath.d.ts +0 -86
  167. package/lib/logic/LookupByPath.js +0 -1
  168. package/lib/logic/NodeJsCompatibility.d.ts +0 -42
  169. package/lib/logic/NodeJsCompatibility.js +0 -1
  170. package/lib/logic/PackageJsonUpdaterTypes.d.ts +0 -75
  171. package/lib/logic/PackageJsonUpdaterTypes.js +0 -1
  172. package/lib/logic/PrereleaseToken.d.ts +0 -12
  173. package/lib/logic/PrereleaseToken.js +0 -1
  174. package/lib/logic/ProjectChangeAnalyzer.d.ts +0 -81
  175. package/lib/logic/ProjectChangeAnalyzer.js +0 -1
  176. package/lib/logic/ProjectCommandSet.d.ts +0 -13
  177. package/lib/logic/ProjectCommandSet.js +0 -1
  178. package/lib/logic/PublishGit.d.ts +0 -19
  179. package/lib/logic/PublishGit.js +0 -1
  180. package/lib/logic/PublishUtilities.d.ts +0 -71
  181. package/lib/logic/PublishUtilities.js +0 -1
  182. package/lib/logic/PurgeManager.d.ts +0 -29
  183. package/lib/logic/PurgeManager.js +0 -1
  184. package/lib/logic/RepoStateFile.d.ts +0 -55
  185. package/lib/logic/RepoStateFile.js +0 -1
  186. package/lib/logic/RushConstants.d.ts +0 -219
  187. package/lib/logic/RushConstants.js +0 -1
  188. package/lib/logic/Selection.d.ts +0 -39
  189. package/lib/logic/Selection.js +0 -1
  190. package/lib/logic/SetupChecks.d.ts +0 -22
  191. package/lib/logic/SetupChecks.js +0 -1
  192. package/lib/logic/ShrinkwrapFileFactory.d.ts +0 -8
  193. package/lib/logic/ShrinkwrapFileFactory.js +0 -1
  194. package/lib/logic/StandardScriptUpdater.d.ts +0 -26
  195. package/lib/logic/StandardScriptUpdater.js +0 -1
  196. package/lib/logic/Telemetry.d.ts +0 -123
  197. package/lib/logic/Telemetry.js +0 -1
  198. package/lib/logic/UnlinkManager.d.ts +0 -24
  199. package/lib/logic/UnlinkManager.js +0 -1
  200. package/lib/logic/base/BaseInstallManagerTypes.d.ts +0 -65
  201. package/lib/logic/base/BaseInstallManagerTypes.js +0 -1
  202. package/lib/logic/base/BasePackageManagerOptionsConfiguration.d.ts +0 -50
  203. package/lib/logic/base/BasePackageManagerOptionsConfiguration.js +0 -1
  204. package/lib/logic/base/BaseProjectShrinkwrapFile.d.ts +0 -36
  205. package/lib/logic/base/BaseProjectShrinkwrapFile.js +0 -1
  206. package/lib/logic/base/BaseShrinkwrapFile.d.ts +0 -92
  207. package/lib/logic/base/BaseShrinkwrapFile.js +0 -1
  208. package/lib/logic/buildCache/CacheEntryId.d.ts +0 -28
  209. package/lib/logic/buildCache/CacheEntryId.js +0 -1
  210. package/lib/logic/buildCache/FileSystemBuildCacheProvider.d.ts +0 -40
  211. package/lib/logic/buildCache/FileSystemBuildCacheProvider.js +0 -1
  212. package/lib/logic/buildCache/ICloudBuildCacheProvider.d.ts +0 -14
  213. package/lib/logic/buildCache/ICloudBuildCacheProvider.js +0 -1
  214. package/lib/logic/buildCache/ProjectBuildCache.d.ts +0 -46
  215. package/lib/logic/buildCache/ProjectBuildCache.js +0 -1
  216. package/lib/logic/buildCache/getHashesForGlobsAsync.d.ts +0 -3
  217. package/lib/logic/buildCache/getHashesForGlobsAsync.js +0 -1
  218. package/lib/logic/deploy/DeployScenarioConfiguration.d.ts +0 -39
  219. package/lib/logic/deploy/DeployScenarioConfiguration.js +0 -1
  220. package/lib/logic/installManager/InstallHelpers.d.ts +0 -16
  221. package/lib/logic/installManager/InstallHelpers.js +0 -1
  222. package/lib/logic/npm/NpmOptionsConfiguration.d.ts +0 -21
  223. package/lib/logic/npm/NpmOptionsConfiguration.js +0 -1
  224. package/lib/logic/npm/NpmShrinkwrapFile.d.ts +0 -29
  225. package/lib/logic/npm/NpmShrinkwrapFile.js +0 -1
  226. package/lib/logic/operations/AsyncOperationQueue.d.ts +0 -47
  227. package/lib/logic/operations/AsyncOperationQueue.js +0 -1
  228. package/lib/logic/operations/IOperationExecutionResult.d.ts +0 -49
  229. package/lib/logic/operations/IOperationExecutionResult.js +0 -1
  230. package/lib/logic/operations/IOperationRunner.d.ts +0 -77
  231. package/lib/logic/operations/IOperationRunner.js +0 -1
  232. package/lib/logic/operations/NullOperationRunner.d.ts +0 -35
  233. package/lib/logic/operations/NullOperationRunner.js +0 -1
  234. package/lib/logic/operations/Operation.d.ts +0 -80
  235. package/lib/logic/operations/Operation.js +0 -1
  236. package/lib/logic/operations/OperationError.d.ts +0 -11
  237. package/lib/logic/operations/OperationError.js +0 -1
  238. package/lib/logic/operations/OperationExecutionManager.d.ts +0 -42
  239. package/lib/logic/operations/OperationExecutionManager.js +0 -1
  240. package/lib/logic/operations/OperationExecutionRecord.d.ts +0 -82
  241. package/lib/logic/operations/OperationExecutionRecord.js +0 -1
  242. package/lib/logic/operations/OperationMetadataManager.d.ts +0 -48
  243. package/lib/logic/operations/OperationMetadataManager.js +0 -1
  244. package/lib/logic/operations/OperationResultSummarizerPlugin.d.ts +0 -17
  245. package/lib/logic/operations/OperationResultSummarizerPlugin.js +0 -1
  246. package/lib/logic/operations/OperationStateFile.d.ts +0 -39
  247. package/lib/logic/operations/OperationStateFile.js +0 -1
  248. package/lib/logic/operations/OperationStatus.d.ts +0 -43
  249. package/lib/logic/operations/OperationStatus.js +0 -1
  250. package/lib/logic/operations/PhasedOperationPlugin.d.ts +0 -9
  251. package/lib/logic/operations/PhasedOperationPlugin.js +0 -1
  252. package/lib/logic/operations/ProjectLogWritable.d.ts +0 -17
  253. package/lib/logic/operations/ProjectLogWritable.js +0 -1
  254. package/lib/logic/operations/ShellOperationRunner.d.ts +0 -87
  255. package/lib/logic/operations/ShellOperationRunner.js +0 -1
  256. package/lib/logic/operations/ShellOperationRunnerPlugin.d.ts +0 -8
  257. package/lib/logic/operations/ShellOperationRunnerPlugin.js +0 -1
  258. package/lib/logic/pnpm/IPnpmfile.d.ts +0 -54
  259. package/lib/logic/pnpm/IPnpmfile.js +0 -1
  260. package/lib/logic/pnpm/PnpmOptionsConfiguration.d.ts +0 -242
  261. package/lib/logic/pnpm/PnpmOptionsConfiguration.js +0 -1
  262. package/lib/logic/pnpm/PnpmProjectShrinkwrapFile.d.ts +0 -26
  263. package/lib/logic/pnpm/PnpmProjectShrinkwrapFile.js +0 -1
  264. package/lib/logic/pnpm/PnpmShrinkwrapFile.d.ts +0 -207
  265. package/lib/logic/pnpm/PnpmShrinkwrapFile.js +0 -1
  266. package/lib/logic/pnpm/PnpmYamlCommon.d.ts +0 -8
  267. package/lib/logic/pnpm/PnpmYamlCommon.js +0 -1
  268. package/lib/logic/pnpm/PnpmfileConfiguration.d.ts +0 -28
  269. package/lib/logic/pnpm/PnpmfileConfiguration.js +0 -1
  270. package/lib/logic/pnpm/PnpmfileShim.d.ts +0 -3
  271. package/lib/logic/pnpm/PnpmfileShim.js +0 -1
  272. package/lib/logic/policy/GitEmailPolicy.d.ts +0 -6
  273. package/lib/logic/policy/GitEmailPolicy.js +0 -1
  274. package/lib/logic/policy/PolicyValidator.d.ts +0 -10
  275. package/lib/logic/policy/PolicyValidator.js +0 -1
  276. package/lib/logic/policy/ShrinkwrapFilePolicy.d.ts +0 -13
  277. package/lib/logic/policy/ShrinkwrapFilePolicy.js +0 -1
  278. package/lib/logic/selectors/GitChangedProjectSelectorParser.d.ts +0 -23
  279. package/lib/logic/selectors/GitChangedProjectSelectorParser.js +0 -1
  280. package/lib/logic/selectors/ISelectorParser.d.ts +0 -11
  281. package/lib/logic/selectors/ISelectorParser.js +0 -1
  282. package/lib/logic/selectors/NamedProjectSelectorParser.d.ts +0 -10
  283. package/lib/logic/selectors/NamedProjectSelectorParser.js +0 -1
  284. package/lib/logic/selectors/TagProjectSelectorParser.d.ts +0 -10
  285. package/lib/logic/selectors/TagProjectSelectorParser.js +0 -1
  286. package/lib/logic/selectors/VersionPolicyProjectSelectorParser.d.ts +0 -10
  287. package/lib/logic/selectors/VersionPolicyProjectSelectorParser.js +0 -1
  288. package/lib/logic/setup/ArtifactoryConfiguration.d.ts +0 -38
  289. package/lib/logic/setup/ArtifactoryConfiguration.js +0 -1
  290. package/lib/logic/setup/KeyboardLoop.d.ts +0 -27
  291. package/lib/logic/setup/KeyboardLoop.js +0 -1
  292. package/lib/logic/setup/SetupPackageRegistry.d.ts +0 -72
  293. package/lib/logic/setup/SetupPackageRegistry.js +0 -1
  294. package/lib/logic/setup/TerminalInput.d.ts +0 -22
  295. package/lib/logic/setup/TerminalInput.js +0 -1
  296. package/lib/logic/versionMismatch/VersionMismatchFinder.d.ts +0 -49
  297. package/lib/logic/versionMismatch/VersionMismatchFinder.js +0 -1
  298. package/lib/logic/versionMismatch/VersionMismatchFinderCommonVersions.d.ts +0 -16
  299. package/lib/logic/versionMismatch/VersionMismatchFinderCommonVersions.js +0 -1
  300. package/lib/logic/versionMismatch/VersionMismatchFinderEntity.d.ts +0 -20
  301. package/lib/logic/versionMismatch/VersionMismatchFinderEntity.js +0 -1
  302. package/lib/logic/versionMismatch/VersionMismatchFinderProject.d.ts +0 -16
  303. package/lib/logic/versionMismatch/VersionMismatchFinderProject.js +0 -1
  304. package/lib/logic/yarn/YarnOptionsConfiguration.d.ts +0 -37
  305. package/lib/logic/yarn/YarnOptionsConfiguration.js +0 -1
  306. package/lib/logic/yarn/YarnShrinkwrapFile.d.ts +0 -55
  307. package/lib/logic/yarn/YarnShrinkwrapFile.js +0 -1
  308. package/lib/pluginFramework/IRushPlugin.d.ts +0 -9
  309. package/lib/pluginFramework/IRushPlugin.js +0 -1
  310. package/lib/pluginFramework/PhasedCommandHooks.d.ts +0 -93
  311. package/lib/pluginFramework/PhasedCommandHooks.js +0 -1
  312. package/lib/pluginFramework/PluginLoader/AutoinstallerPluginLoader.d.ts +0 -27
  313. package/lib/pluginFramework/PluginLoader/AutoinstallerPluginLoader.js +0 -1
  314. package/lib/pluginFramework/PluginLoader/BuiltInPluginLoader.d.ts +0 -17
  315. package/lib/pluginFramework/PluginLoader/BuiltInPluginLoader.js +0 -1
  316. package/lib/pluginFramework/PluginLoader/PluginLoaderBase.d.ts +0 -47
  317. package/lib/pluginFramework/PluginLoader/PluginLoaderBase.js +0 -1
  318. package/lib/pluginFramework/PluginLoader/RushSdk.d.ts +0 -5
  319. package/lib/pluginFramework/PluginLoader/RushSdk.js +0 -1
  320. package/lib/pluginFramework/PluginManager.d.ts +0 -47
  321. package/lib/pluginFramework/PluginManager.js +0 -1
  322. package/lib/pluginFramework/RushLifeCycle.d.ts +0 -66
  323. package/lib/pluginFramework/RushLifeCycle.js +0 -1
  324. package/lib/pluginFramework/RushSession.d.ts +0 -30
  325. package/lib/pluginFramework/RushSession.js +0 -1
  326. package/lib/pluginFramework/logging/Logger.d.ts +0 -40
  327. package/lib/pluginFramework/logging/Logger.js +0 -1
  328. package/lib/start-pnpm.d.ts +0 -2
  329. package/lib/start-pnpm.js +0 -1
  330. package/lib/start.d.ts +0 -2
  331. package/lib/start.js +0 -1
  332. package/lib/startx.d.ts +0 -2
  333. package/lib/startx.js +0 -1
  334. package/lib/utilities/AsyncRecycler.d.ts +0 -38
  335. package/lib/utilities/AsyncRecycler.js +0 -1
  336. package/lib/utilities/CollatedTerminalProvider.d.ts +0 -18
  337. package/lib/utilities/CollatedTerminalProvider.js +0 -1
  338. package/lib/utilities/Npm.d.ts +0 -6
  339. package/lib/utilities/Npm.js +0 -1
  340. package/lib/utilities/OverlappingPathAnalyzer.d.ts +0 -9
  341. package/lib/utilities/OverlappingPathAnalyzer.js +0 -1
  342. package/lib/utilities/PathConstants.d.ts +0 -23
  343. package/lib/utilities/PathConstants.js +0 -1
  344. package/lib/utilities/Stopwatch.d.ts +0 -75
  345. package/lib/utilities/Stopwatch.js +0 -1
  346. package/lib/utilities/TarExecutable.d.ts +0 -32
  347. package/lib/utilities/TarExecutable.js +0 -1
  348. package/lib/utilities/Utilities.d.ts +0 -189
  349. package/lib/utilities/Utilities.js +0 -1
  350. package/lib/utilities/WebClient.d.ts +0 -49
  351. package/lib/utilities/WebClient.js +0 -1
  352. package/lib/utilities/npmrcUtilities.d.ts +0 -15
  353. package/lib/utilities/npmrcUtilities.js +0 -1
  354. package/lib-shim/generate-stubs.d.ts +0 -2
  355. package/lib-shim/generate-stubs.d.ts.map +0 -1
  356. package/lib-shim/generate-stubs.js +0 -82
  357. package/lib-shim/generate-stubs.js.map +0 -1
  358. package/lib-shim/index.d.ts +0 -5
  359. package/lib-shim/index.d.ts.map +0 -1
  360. package/lib-shim/index.js +0 -201
  361. package/lib-shim/index.js.map +0 -1
@@ -1,28 +0,0 @@
1
- import { IPackageJson } from '@rushstack/node-core-library';
2
- import { RushConfiguration } from '../../api/RushConfiguration';
3
- /**
4
- * Options used when generating the pnpmfile shim settings file.
5
- */
6
- export interface IPnpmfileShimOptions {
7
- /**
8
- * The variant that the client pnpmfile will be sourced from.
9
- */
10
- variant?: string;
11
- }
12
- /**
13
- * Loads PNPM's pnpmfile.js configuration, and invokes it to preprocess package.json files,
14
- * optionally utilizing a pnpmfile shim to inject preferred versions.
15
- */
16
- export declare class PnpmfileConfiguration {
17
- private _context;
18
- private constructor();
19
- static initializeAsync(rushConfiguration: RushConfiguration, pnpmfileShimOptions?: IPnpmfileShimOptions): Promise<PnpmfileConfiguration>;
20
- static writeCommonTempPnpmfileShimAsync(rushConfiguration: RushConfiguration, options?: IPnpmfileShimOptions): Promise<void>;
21
- private static _getPnpmfileShimSettingsAsync;
22
- /**
23
- * Transform a package.json file using the pnpmfile.js hook.
24
- * @returns the transformed object, or the original input if pnpmfile.js was not found.
25
- */
26
- transform(packageJson: IPackageJson): IPackageJson;
27
- }
28
- //# sourceMappingURL=PnpmfileConfiguration.d.ts.map
@@ -1 +0,0 @@
1
- module.exports = require("../../../lib-shim/index")._rushSdk_loadInternalModule("logic/pnpm/PnpmfileConfiguration");
@@ -1,3 +0,0 @@
1
- import type { IPnpmfileHooks } from './IPnpmfile';
2
- export declare const hooks: IPnpmfileHooks;
3
- //# sourceMappingURL=PnpmfileShim.d.ts.map
@@ -1 +0,0 @@
1
- module.exports = require("../../../lib-shim/index")._rushSdk_loadInternalModule("logic/pnpm/PnpmfileShim");
@@ -1,6 +0,0 @@
1
- import { RushConfiguration } from '../../api/RushConfiguration';
2
- export declare class GitEmailPolicy {
3
- static validate(rushConfiguration: RushConfiguration): void;
4
- static getEmailExampleLines(rushConfiguration: RushConfiguration): string[];
5
- }
6
- //# sourceMappingURL=GitEmailPolicy.d.ts.map
@@ -1 +0,0 @@
1
- module.exports = require("../../../lib-shim/index")._rushSdk_loadInternalModule("logic/policy/GitEmailPolicy");
@@ -1,10 +0,0 @@
1
- import { RushConfiguration } from '../../api/RushConfiguration';
2
- export interface IPolicyValidatorOptions {
3
- bypassPolicy?: boolean;
4
- allowShrinkwrapUpdates?: boolean;
5
- shrinkwrapVariant?: string;
6
- }
7
- export declare class PolicyValidator {
8
- static validatePolicy(rushConfiguration: RushConfiguration, options: IPolicyValidatorOptions): void;
9
- }
10
- //# sourceMappingURL=PolicyValidator.d.ts.map
@@ -1 +0,0 @@
1
- module.exports = require("../../../lib-shim/index")._rushSdk_loadInternalModule("logic/policy/PolicyValidator");
@@ -1,13 +0,0 @@
1
- import { RushConfiguration } from '../../api/RushConfiguration';
2
- import { IPolicyValidatorOptions } from './PolicyValidator';
3
- import { RepoStateFile } from '../RepoStateFile';
4
- export interface IShrinkwrapFilePolicyValidatorOptions extends IPolicyValidatorOptions {
5
- repoState: RepoStateFile;
6
- }
7
- /**
8
- * A policy that validates shrinkwrap files used by package managers.
9
- */
10
- export declare class ShrinkwrapFilePolicy {
11
- static validate(rushConfiguration: RushConfiguration, options: IPolicyValidatorOptions): void;
12
- }
13
- //# sourceMappingURL=ShrinkwrapFilePolicy.d.ts.map
@@ -1 +0,0 @@
1
- module.exports = require("../../../lib-shim/index")._rushSdk_loadInternalModule("logic/policy/ShrinkwrapFilePolicy");
@@ -1,23 +0,0 @@
1
- import type { RushConfiguration } from '../../api/RushConfiguration';
2
- import type { RushConfigurationProject } from '../../api/RushConfigurationProject';
3
- import { IEvaluateSelectorOptions, ISelectorParser } from './ISelectorParser';
4
- export interface IGitSelectorParserOptions {
5
- /**
6
- * If set to `true`, consider a project's external dependency installation layout as defined in the
7
- * package manager lockfile when determining if it has changed.
8
- */
9
- includeExternalDependencies: boolean;
10
- /**
11
- * If set to `true` apply the `incrementalBuildIgnoredGlobs` property in a project's `rush-project.json`
12
- * and exclude matched files from change detection.
13
- */
14
- enableFiltering: boolean;
15
- }
16
- export declare class GitChangedProjectSelectorParser implements ISelectorParser<RushConfigurationProject> {
17
- private readonly _rushConfiguration;
18
- private readonly _options;
19
- constructor(rushConfiguration: RushConfiguration, options: IGitSelectorParserOptions);
20
- evaluateSelectorAsync({ unscopedSelector, terminal }: IEvaluateSelectorOptions): Promise<Iterable<RushConfigurationProject>>;
21
- getCompletions(): Iterable<string>;
22
- }
23
- //# sourceMappingURL=GitChangedProjectSelectorParser.d.ts.map
@@ -1 +0,0 @@
1
- module.exports = require("../../../lib-shim/index")._rushSdk_loadInternalModule("logic/selectors/GitChangedProjectSelectorParser");
@@ -1,11 +0,0 @@
1
- import type { ITerminal } from '@rushstack/node-core-library';
2
- export interface IEvaluateSelectorOptions {
3
- unscopedSelector: string;
4
- terminal: ITerminal;
5
- parameterName: string;
6
- }
7
- export interface ISelectorParser<T> {
8
- evaluateSelectorAsync(options: IEvaluateSelectorOptions): Promise<Iterable<T>>;
9
- getCompletions(): Iterable<string>;
10
- }
11
- //# sourceMappingURL=ISelectorParser.d.ts.map
@@ -1 +0,0 @@
1
- module.exports = require("../../../lib-shim/index")._rushSdk_loadInternalModule("logic/selectors/ISelectorParser");
@@ -1,10 +0,0 @@
1
- import type { RushConfiguration } from '../../api/RushConfiguration';
2
- import type { RushConfigurationProject } from '../../api/RushConfigurationProject';
3
- import type { IEvaluateSelectorOptions, ISelectorParser } from './ISelectorParser';
4
- export declare class NamedProjectSelectorParser implements ISelectorParser<RushConfigurationProject> {
5
- private readonly _rushConfiguration;
6
- constructor(rushConfiguration: RushConfiguration);
7
- evaluateSelectorAsync({ unscopedSelector, terminal, parameterName }: IEvaluateSelectorOptions): Promise<Iterable<RushConfigurationProject>>;
8
- getCompletions(): Iterable<string>;
9
- }
10
- //# sourceMappingURL=NamedProjectSelectorParser.d.ts.map
@@ -1 +0,0 @@
1
- module.exports = require("../../../lib-shim/index")._rushSdk_loadInternalModule("logic/selectors/NamedProjectSelectorParser");
@@ -1,10 +0,0 @@
1
- import type { RushConfiguration } from '../../api/RushConfiguration';
2
- import type { RushConfigurationProject } from '../../api/RushConfigurationProject';
3
- import type { IEvaluateSelectorOptions, ISelectorParser } from './ISelectorParser';
4
- export declare class TagProjectSelectorParser implements ISelectorParser<RushConfigurationProject> {
5
- private readonly _rushConfiguration;
6
- constructor(rushConfiguration: RushConfiguration);
7
- evaluateSelectorAsync({ unscopedSelector, terminal, parameterName }: IEvaluateSelectorOptions): Promise<Iterable<RushConfigurationProject>>;
8
- getCompletions(): Iterable<string>;
9
- }
10
- //# sourceMappingURL=TagProjectSelectorParser.d.ts.map
@@ -1 +0,0 @@
1
- module.exports = require("../../../lib-shim/index")._rushSdk_loadInternalModule("logic/selectors/TagProjectSelectorParser");
@@ -1,10 +0,0 @@
1
- import type { RushConfiguration } from '../../api/RushConfiguration';
2
- import type { RushConfigurationProject } from '../../api/RushConfigurationProject';
3
- import type { IEvaluateSelectorOptions, ISelectorParser } from './ISelectorParser';
4
- export declare class VersionPolicyProjectSelectorParser implements ISelectorParser<RushConfigurationProject> {
5
- private readonly _rushConfiguration;
6
- constructor(rushConfiguration: RushConfiguration);
7
- evaluateSelectorAsync({ unscopedSelector, terminal, parameterName }: IEvaluateSelectorOptions): Promise<Iterable<RushConfigurationProject>>;
8
- getCompletions(): Iterable<string>;
9
- }
10
- //# sourceMappingURL=VersionPolicyProjectSelectorParser.d.ts.map
@@ -1 +0,0 @@
1
- module.exports = require("../../../lib-shim/index")._rushSdk_loadInternalModule("logic/selectors/VersionPolicyProjectSelectorParser");
@@ -1,38 +0,0 @@
1
- export interface IArtifactoryPackageRegistryJson {
2
- enabled: boolean;
3
- userNpmrcLinesToAdd?: string[];
4
- registryUrl: string;
5
- artifactoryWebsiteUrl: string;
6
- credentialType?: 'password' | 'authToken';
7
- messageOverrides?: {
8
- introduction?: string;
9
- obtainAnAccount?: string;
10
- visitWebsite?: string;
11
- locateUserName?: string;
12
- locateApiKey?: string;
13
- };
14
- }
15
- /**
16
- * This interface represents the raw artifactory.json file.
17
- * @beta
18
- */
19
- export interface IArtifactoryJson {
20
- packageRegistry: IArtifactoryPackageRegistryJson;
21
- }
22
- /**
23
- * Use this class to load the "common/config/rush/artifactory.json" config file.
24
- * It configures the "rush setup" command.
25
- */
26
- export declare class ArtifactoryConfiguration {
27
- private static _jsonSchema;
28
- private readonly _jsonFileName;
29
- /**
30
- * Get the artifactory configuration.
31
- */
32
- readonly configuration: Readonly<IArtifactoryJson>;
33
- /**
34
- * @internal
35
- */
36
- constructor(jsonFileName: string);
37
- }
38
- //# sourceMappingURL=ArtifactoryConfiguration.d.ts.map
@@ -1 +0,0 @@
1
- module.exports = require("../../../lib-shim/index")._rushSdk_loadInternalModule("logic/setup/ArtifactoryConfiguration");
@@ -1,27 +0,0 @@
1
- /// <reference types="node" />
2
- /// <reference types="node" />
3
- import * as readline from 'readline';
4
- export declare class KeyboardLoop {
5
- protected stdin: NodeJS.ReadStream;
6
- protected stderr: NodeJS.WriteStream;
7
- private _readlineInterface;
8
- private _resolvePromise;
9
- private _rejectPromise;
10
- private _cursorHidden;
11
- constructor();
12
- get capturedInput(): boolean;
13
- private _captureInput;
14
- private _checkForTTY;
15
- private _uncaptureInput;
16
- protected hideCursor(): void;
17
- protected unhideCursor(): void;
18
- startAsync(): Promise<void>;
19
- protected resolveAsync(): void;
20
- protected rejectAsync(error: Error): void;
21
- /** @virtual */
22
- protected onStart(): void;
23
- /** @virtual */
24
- protected onKeypress(character: string, key: readline.Key): void;
25
- private _onKeypress;
26
- }
27
- //# sourceMappingURL=KeyboardLoop.d.ts.map
@@ -1 +0,0 @@
1
- module.exports = require("../../../lib-shim/index")._rushSdk_loadInternalModule("logic/setup/KeyboardLoop");
@@ -1,72 +0,0 @@
1
- import { RushConfiguration } from '../../api/RushConfiguration';
2
- export interface ISetupPackageRegistryOptions {
3
- rushConfiguration: RushConfiguration;
4
- isDebug: boolean;
5
- /**
6
- * Whether Utilities.syncNpmrc() has already been called.
7
- */
8
- syncNpmrcAlreadyCalled: boolean;
9
- }
10
- export declare class SetupPackageRegistry {
11
- private readonly _options;
12
- readonly rushConfiguration: RushConfiguration;
13
- private readonly _terminal;
14
- private readonly _artifactoryConfiguration;
15
- private readonly _messages;
16
- constructor(options: ISetupPackageRegistryOptions);
17
- private _writeInstructionBlock;
18
- /**
19
- * Test whether the NPM token is valid.
20
- *
21
- * @returns - `true` if valid, `false` if not valid
22
- */
23
- checkOnly(): Promise<boolean>;
24
- /**
25
- * Test whether the NPM token is valid. If not, prompt to update it.
26
- */
27
- checkAndSetup(): Promise<void>;
28
- /**
29
- * Fetch a valid NPM token from the Artifactory service and add it to the `~/.npmrc` file,
30
- * preserving other settings in that file.
31
- */
32
- private _fetchTokenAndUpdateNpmrc;
33
- /**
34
- * Update the `~/.npmrc` file by adding `linesToAdd` to it.
35
- * @remarks
36
- *
37
- * If the `.npmrc` file has existing content, it gets merged as follows:
38
- * - If `linesToAdd` contains key/value pairs and the key already appears in .npmrc,
39
- * that line will be overwritten in place
40
- * - If `linesToAdd` contains non-key lines (e.g. a comment) and it exactly matches a
41
- * line in .npmrc, then that line will be kept where it is
42
- * - The remaining `linesToAdd` that weren't handled by one of the two rules above
43
- * are simply appended to the end of the file
44
- * - Under no circumstances is a duplicate key/value added to the file; in the case of
45
- * duplicates, the earliest line in `linesToAdd` takes precedence
46
- */
47
- private _mergeLinesIntoNpmrc;
48
- private static _getNpmrcKey;
49
- private static _isCommentLine;
50
- /**
51
- * This is a workaround for https://github.com/npm/cli/issues/2740 where the NPM tool sometimes
52
- * mixes together JSON and terminal messages in a single STDERR stream.
53
- *
54
- * @remarks
55
- * Given an input like this:
56
- * ```
57
- * npm ERR! 404 Note that you can also install from a
58
- * npm ERR! 404 tarball, folder, http url, or git url.
59
- * {
60
- * "error": {
61
- * "code": "E404",
62
- * "summary": "Not Found - GET https://registry.npmjs.org/@rushstack%2fnonexistent-package - Not found"
63
- * }
64
- * }
65
- * npm ERR! A complete log of this run can be found in:
66
- * ```
67
- *
68
- * @returns the JSON section, or `undefined` if a JSON object could not be detected
69
- */
70
- private static _tryFindJson;
71
- }
72
- //# sourceMappingURL=SetupPackageRegistry.d.ts.map
@@ -1 +0,0 @@
1
- module.exports = require("../../../lib-shim/index")._rushSdk_loadInternalModule("logic/setup/SetupPackageRegistry");
@@ -1,22 +0,0 @@
1
- export interface IBasePromptOptions {
2
- message: string;
3
- }
4
- export interface IPromptYesNoOptions extends IBasePromptOptions {
5
- defaultValue?: boolean | undefined;
6
- }
7
- export interface IPromptPasswordOptions extends IBasePromptOptions {
8
- /**
9
- * The string length must not be longer than 1. An empty string means to show the input text.
10
- * @defaultValue `*`
11
- */
12
- passwordCharacter?: string;
13
- }
14
- export interface IPromptLineOptions extends IBasePromptOptions {
15
- }
16
- export declare class TerminalInput {
17
- private static _readLine;
18
- static promptYesNo(options: IPromptYesNoOptions): Promise<boolean>;
19
- static promptLine(options: IPromptLineOptions): Promise<string>;
20
- static promptPasswordLine(options: IPromptLineOptions): Promise<string>;
21
- }
22
- //# sourceMappingURL=TerminalInput.d.ts.map
@@ -1 +0,0 @@
1
- module.exports = require("../../../lib-shim/index")._rushSdk_loadInternalModule("logic/setup/TerminalInput");
@@ -1,49 +0,0 @@
1
- import { RushConfiguration } from '../../api/RushConfiguration';
2
- import { VersionMismatchFinderEntity } from './VersionMismatchFinderEntity';
3
- export interface IVersionMismatchFinderOptions {
4
- variant?: string | undefined;
5
- }
6
- export interface IVersionMismatchFinderRushCheckOptions extends IVersionMismatchFinderOptions {
7
- printAsJson?: boolean | undefined;
8
- truncateLongPackageNameLists?: boolean | undefined;
9
- }
10
- export interface IVersionMismatchFinderEnsureConsistentVersionsOptions extends IVersionMismatchFinderOptions {
11
- }
12
- export interface IVersionMismatchFinderGetMismatchesOptions extends IVersionMismatchFinderOptions {
13
- }
14
- export interface IMismatchDependency {
15
- dependencyName: string;
16
- versions: IMismatchDependencyVersion[];
17
- }
18
- export interface IMismatchDependencyVersion {
19
- version: string;
20
- projects: string[];
21
- }
22
- export interface IMismatchDependencies {
23
- mismatchedVersions: IMismatchDependency[];
24
- }
25
- export declare class VersionMismatchFinder {
26
- private _allowedAlternativeVersion;
27
- private _mismatches;
28
- private _projects;
29
- constructor(projects: VersionMismatchFinderEntity[], allowedAlternativeVersions?: Map<string, ReadonlyArray<string>>);
30
- static rushCheck(rushConfiguration: RushConfiguration, options?: IVersionMismatchFinderRushCheckOptions): void;
31
- static ensureConsistentVersions(rushConfiguration: RushConfiguration, options?: IVersionMismatchFinderEnsureConsistentVersionsOptions): void;
32
- /**
33
- * Populates a version mismatch finder object given a Rush Configuration.
34
- * Intentionally considers preferred versions.
35
- */
36
- static getMismatches(rushConfiguration: RushConfiguration, options?: IVersionMismatchFinderOptions): VersionMismatchFinder;
37
- private static _checkForInconsistentVersions;
38
- get mismatches(): ReadonlyMap<string, ReadonlyMap<string, readonly VersionMismatchFinderEntity[]>>;
39
- get numberOfMismatches(): number;
40
- getMismatches(): string[];
41
- getVersionsOfMismatch(mismatch: string): string[] | undefined;
42
- getConsumersOfMismatch(mismatch: string, version: string): VersionMismatchFinderEntity[] | undefined;
43
- printAsJson(): void;
44
- print(truncateLongPackageNameLists?: boolean): void;
45
- private _analyze;
46
- private _isVersionAllowedAlternative;
47
- private _getKeys;
48
- }
49
- //# sourceMappingURL=VersionMismatchFinder.d.ts.map
@@ -1 +0,0 @@
1
- module.exports = require("../../../lib-shim/index")._rushSdk_loadInternalModule("logic/versionMismatch/VersionMismatchFinder");
@@ -1,16 +0,0 @@
1
- import { PackageJsonDependency, DependencyType } from '../../api/PackageJsonEditor';
2
- import { CommonVersionsConfiguration } from '../../api/CommonVersionsConfiguration';
3
- import { VersionMismatchFinderEntity } from './VersionMismatchFinderEntity';
4
- export declare class VersionMismatchFinderCommonVersions extends VersionMismatchFinderEntity {
5
- private _fileManager;
6
- constructor(commonVersionsConfiguration: CommonVersionsConfiguration);
7
- get filePath(): string;
8
- get allDependencies(): ReadonlyArray<PackageJsonDependency>;
9
- tryGetDependency(packageName: string): PackageJsonDependency | undefined;
10
- tryGetDevDependency(packageName: string): PackageJsonDependency | undefined;
11
- addOrUpdateDependency(packageName: string, newVersion: string, dependencyType: DependencyType): void;
12
- removeDependency(packageName: string): void;
13
- saveIfModified(): boolean;
14
- private _getPackageJsonDependency;
15
- }
16
- //# sourceMappingURL=VersionMismatchFinderCommonVersions.d.ts.map
@@ -1 +0,0 @@
1
- module.exports = require("../../../lib-shim/index")._rushSdk_loadInternalModule("logic/versionMismatch/VersionMismatchFinderCommonVersions");
@@ -1,20 +0,0 @@
1
- import { PackageJsonDependency, DependencyType } from '../../api/PackageJsonEditor';
2
- export interface IVersionMismatchFinderEntityOptions {
3
- friendlyName: string;
4
- decoupledLocalDependencies: Set<string>;
5
- skipRushCheck?: boolean;
6
- }
7
- export declare abstract class VersionMismatchFinderEntity {
8
- readonly friendlyName: string;
9
- readonly decoupledLocalDependencies: Set<string>;
10
- readonly skipRushCheck: boolean | undefined;
11
- constructor(options: IVersionMismatchFinderEntityOptions);
12
- abstract get filePath(): string;
13
- abstract get allDependencies(): ReadonlyArray<PackageJsonDependency>;
14
- abstract tryGetDependency(packageName: string): PackageJsonDependency | undefined;
15
- abstract tryGetDevDependency(packageName: string): PackageJsonDependency | undefined;
16
- abstract addOrUpdateDependency(packageName: string, newVersion: string, dependencyType: DependencyType): void;
17
- abstract removeDependency(packageName: string, dependencyType: DependencyType): void;
18
- abstract saveIfModified(): boolean;
19
- }
20
- //# sourceMappingURL=VersionMismatchFinderEntity.d.ts.map
@@ -1 +0,0 @@
1
- module.exports = require("../../../lib-shim/index")._rushSdk_loadInternalModule("logic/versionMismatch/VersionMismatchFinderEntity");
@@ -1,16 +0,0 @@
1
- import { VersionMismatchFinderEntity } from './VersionMismatchFinderEntity';
2
- import { PackageJsonDependency, DependencyType } from '../../api/PackageJsonEditor';
3
- import { RushConfigurationProject } from '../../api/RushConfigurationProject';
4
- export declare class VersionMismatchFinderProject extends VersionMismatchFinderEntity {
5
- packageName: string;
6
- private _fileManager;
7
- constructor(project: RushConfigurationProject);
8
- get filePath(): string;
9
- get allDependencies(): ReadonlyArray<PackageJsonDependency>;
10
- tryGetDependency(packageName: string): PackageJsonDependency | undefined;
11
- tryGetDevDependency(packageName: string): PackageJsonDependency | undefined;
12
- addOrUpdateDependency(packageName: string, newVersion: string, dependencyType: DependencyType): void;
13
- removeDependency(packageName: string, dependencyType: DependencyType): void;
14
- saveIfModified(): boolean;
15
- }
16
- //# sourceMappingURL=VersionMismatchFinderProject.d.ts.map
@@ -1 +0,0 @@
1
- module.exports = require("../../../lib-shim/index")._rushSdk_loadInternalModule("logic/versionMismatch/VersionMismatchFinderProject");
@@ -1,37 +0,0 @@
1
- import { IPackageManagerOptionsJsonBase, PackageManagerOptionsConfigurationBase } from '../base/BasePackageManagerOptionsConfiguration';
2
- /**
3
- * Part of IRushConfigurationJson.
4
- * @internal
5
- */
6
- export interface IYarnOptionsJson extends IPackageManagerOptionsJsonBase {
7
- /**
8
- * If true, then Rush will add the "--ignore-engines" option when invoking Yarn.
9
- * This allows "rush install" to succeed if there are dependencies with engines defined in
10
- * package.json which do not match the current environment.
11
- *
12
- * The default value is false.
13
- */
14
- ignoreEngines?: boolean;
15
- }
16
- /**
17
- * Options that are only used when the yarn package manager is selected.
18
- *
19
- * @remarks
20
- * It is valid to define these options in rush.json even if the yarn package manager
21
- * is not being used.
22
- *
23
- * @public
24
- */
25
- export declare class YarnOptionsConfiguration extends PackageManagerOptionsConfigurationBase {
26
- /**
27
- * If true, then Rush will add the "--ignore-engines" option when invoking Yarn.
28
- * This allows "rush install" to succeed if there are dependencies with engines defined in
29
- * package.json which do not match the current environment.
30
- *
31
- * The default value is false.
32
- */
33
- readonly ignoreEngines: boolean;
34
- /** @internal */
35
- constructor(json: IYarnOptionsJson);
36
- }
37
- //# sourceMappingURL=YarnOptionsConfiguration.d.ts.map
@@ -1 +0,0 @@
1
- module.exports = require("../../../lib-shim/index")._rushSdk_loadInternalModule("logic/yarn/YarnOptionsConfiguration");
@@ -1,55 +0,0 @@
1
- import { BaseShrinkwrapFile } from '../base/BaseShrinkwrapFile';
2
- import { DependencySpecifier } from '../DependencySpecifier';
3
- import { RushConfigurationProject } from '../../api/RushConfigurationProject';
4
- import { BaseProjectShrinkwrapFile } from '../base/BaseProjectShrinkwrapFile';
5
- /**
6
- * Support for consuming the "yarn.lock" file.
7
- *
8
- * Yarn refers to its shrinkwrap file as a "lock file", even though it has nothing to do
9
- * with file locking. Apparently this was based on a convention of the Ruby bundler.
10
- * Since Rush has to work interchangeably with 3 different package managers, here we refer
11
- * generically to yarn.lock as a "shrinkwrap file".
12
- *
13
- * If Rush's Yarn support gains popularity, we will try to improve the wording of
14
- * logging messages to use terminology more consistent with Yarn's own documentation.
15
- */
16
- export declare class YarnShrinkwrapFile extends BaseShrinkwrapFile {
17
- readonly isWorkspaceCompatible: boolean;
18
- private static _packageNameAndSemVerRegExp;
19
- private _shrinkwrapJson;
20
- private _tempProjectNames;
21
- private constructor();
22
- static loadFromFile(shrinkwrapFilename: string): YarnShrinkwrapFile | undefined;
23
- static loadFromString(shrinkwrapContent: string): YarnShrinkwrapFile;
24
- /**
25
- * The `@yarnpkg/lockfile` API only partially deserializes its data, and expects the caller
26
- * to parse the yarn.lock lookup keys (sometimes called a "pattern").
27
- *
28
- * Example input: "js-tokens@^3.0.0 || ^4.0.0"
29
- * Example output: { packageName: "js-tokens", semVerRange: "^3.0.0 || ^4.0.0" }
30
- */
31
- private static _decodePackageNameAndSemVer;
32
- /**
33
- * This is the inverse of _decodePackageNameAndSemVer():
34
- * Given an IPackageNameAndSemVer object, recreate the yarn.lock lookup key
35
- * (sometimes called a "pattern").
36
- */
37
- private static _encodePackageNameAndSemVer;
38
- /** @override */
39
- getTempProjectNames(): ReadonlyArray<string>;
40
- /** @override */
41
- hasCompatibleTopLevelDependency(dependencySpecifier: DependencySpecifier): boolean;
42
- /** @override */
43
- tryEnsureCompatibleDependency(dependencySpecifier: DependencySpecifier, tempProjectName: string): boolean;
44
- /** @override */
45
- protected serialize(): string;
46
- /** @override */
47
- protected getTopLevelDependencyVersion(dependencyName: string): DependencySpecifier | undefined;
48
- /** @override */
49
- protected tryEnsureDependencyVersion(dependencySpecifier: DependencySpecifier, tempProjectName: string): DependencySpecifier | undefined;
50
- /** @override */
51
- getProjectShrinkwrap(project: RushConfigurationProject): BaseProjectShrinkwrapFile<YarnShrinkwrapFile> | undefined;
52
- /** @override */
53
- isWorkspaceProjectModifiedAsync(project: RushConfigurationProject, variant?: string): Promise<boolean>;
54
- }
55
- //# sourceMappingURL=YarnShrinkwrapFile.d.ts.map
@@ -1 +0,0 @@
1
- module.exports = require("../../../lib-shim/index")._rushSdk_loadInternalModule("logic/yarn/YarnShrinkwrapFile");
@@ -1,9 +0,0 @@
1
- import type { RushConfiguration } from '../api/RushConfiguration';
2
- import type { RushSession } from './RushSession';
3
- /**
4
- * @beta
5
- */
6
- export interface IRushPlugin {
7
- apply(rushSession: RushSession, rushConfiguration: RushConfiguration): void;
8
- }
9
- //# sourceMappingURL=IRushPlugin.d.ts.map
@@ -1 +0,0 @@
1
- module.exports = require("../../lib-shim/index")._rushSdk_loadInternalModule("pluginFramework/IRushPlugin");