@rushstack/rush-sdk 5.90.2 → 5.92.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.
- package/README.md +46 -11
- package/dist/rush-lib.d.ts +77 -11
- package/lib/api/ApprovedPackagesConfiguration.d.ts +74 -0
- package/lib/api/ApprovedPackagesConfiguration.js +1 -0
- package/lib/api/ApprovedPackagesPolicy.d.ts +54 -0
- package/lib/api/ApprovedPackagesPolicy.js +1 -0
- package/lib/api/BuildCacheConfiguration.d.ts +77 -0
- package/lib/api/BuildCacheConfiguration.js +1 -0
- package/lib/api/ChangeFile.d.ts +42 -0
- package/lib/api/ChangeFile.js +1 -0
- package/lib/api/ChangeManagement.d.ts +85 -0
- package/lib/api/ChangeManagement.js +1 -0
- package/lib/api/ChangeManager.d.ts +16 -0
- package/lib/api/ChangeManager.js +1 -0
- package/lib/api/Changelog.d.ts +74 -0
- package/lib/api/Changelog.js +1 -0
- package/lib/api/CommandLineConfiguration.d.ts +161 -0
- package/lib/api/CommandLineConfiguration.js +1 -0
- package/lib/api/CommandLineJson.d.ts +251 -0
- package/lib/api/CommandLineJson.js +1 -0
- package/lib/api/CommonVersionsConfiguration.d.ts +96 -0
- package/lib/api/CommonVersionsConfiguration.js +1 -0
- package/lib/api/EnvironmentConfiguration.d.ts +258 -0
- package/lib/api/EnvironmentConfiguration.js +1 -0
- package/lib/api/EventHooks.d.ts +42 -0
- package/lib/api/EventHooks.js +1 -0
- package/lib/api/ExperimentsConfiguration.d.ts +62 -0
- package/lib/api/ExperimentsConfiguration.js +1 -0
- package/lib/api/LastInstallFlag.d.ts +73 -0
- package/lib/api/LastInstallFlag.js +1 -0
- package/lib/api/LastLinkFlag.d.ts +41 -0
- package/lib/api/LastLinkFlag.js +1 -0
- package/lib/api/PackageJsonEditor.d.ts +79 -0
- package/lib/api/PackageJsonEditor.js +1 -0
- package/lib/api/PackageNameParsers.d.ts +18 -0
- package/lib/api/PackageNameParsers.js +1 -0
- package/lib/api/Rush.d.ts +91 -0
- package/lib/api/Rush.js +1 -0
- package/lib/api/RushConfiguration.d.ts +595 -0
- package/lib/api/RushConfiguration.js +1 -0
- package/lib/api/RushConfigurationProject.d.ts +217 -0
- package/lib/api/RushConfigurationProject.js +1 -0
- package/lib/api/RushGlobalFolder.d.ts +32 -0
- package/lib/api/RushGlobalFolder.js +1 -0
- package/lib/api/RushInternals.d.ts +15 -0
- package/lib/api/RushInternals.js +1 -0
- package/lib/api/RushPluginsConfiguration.d.ts +21 -0
- package/lib/api/RushPluginsConfiguration.js +1 -0
- package/lib/api/RushProjectConfiguration.d.ts +117 -0
- package/lib/api/RushProjectConfiguration.js +1 -0
- package/lib/api/RushUserConfiguration.d.ts +16 -0
- package/lib/api/RushUserConfiguration.js +1 -0
- package/lib/api/SaveCallbackPackageJsonEditor.d.ts +14 -0
- package/lib/api/SaveCallbackPackageJsonEditor.js +1 -0
- package/lib/api/Variants.d.ts +11 -0
- package/lib/api/Variants.js +1 -0
- package/lib/api/VersionPolicy.d.ts +203 -0
- package/lib/api/VersionPolicy.js +1 -0
- package/lib/api/VersionPolicyConfiguration.d.ts +75 -0
- package/lib/api/VersionPolicyConfiguration.js +1 -0
- package/lib/api/packageManager/NpmPackageManager.d.ts +9 -0
- package/lib/api/packageManager/NpmPackageManager.js +1 -0
- package/lib/api/packageManager/PackageManager.d.ts +29 -0
- package/lib/api/packageManager/PackageManager.js +1 -0
- package/lib/api/packageManager/PnpmPackageManager.d.ts +17 -0
- package/lib/api/packageManager/PnpmPackageManager.js +1 -0
- package/lib/api/packageManager/YarnPackageManager.d.ts +9 -0
- package/lib/api/packageManager/YarnPackageManager.js +1 -0
- package/lib/cli/CommandLineMigrationAdvisor.d.ts +5 -0
- package/lib/cli/CommandLineMigrationAdvisor.js +1 -0
- package/lib/cli/RushCommandLineParser.d.ts +49 -0
- package/lib/cli/RushCommandLineParser.js +1 -0
- package/lib/cli/RushPnpmCommandLine.d.ts +7 -0
- package/lib/cli/RushPnpmCommandLine.js +1 -0
- package/lib/cli/RushPnpmCommandLineParser.d.ts +26 -0
- package/lib/cli/RushPnpmCommandLineParser.js +1 -0
- package/lib/cli/RushStartupBanner.d.ts +7 -0
- package/lib/cli/RushStartupBanner.js +1 -0
- package/lib/cli/RushXCommandLine.d.ts +17 -0
- package/lib/cli/RushXCommandLine.js +1 -0
- package/lib/cli/actions/AddAction.d.ts +15 -0
- package/lib/cli/actions/AddAction.js +1 -0
- package/lib/cli/actions/BaseAddAndRemoveAction.d.ts +36 -0
- package/lib/cli/actions/BaseAddAndRemoveAction.js +1 -0
- package/lib/cli/actions/BaseInstallAction.d.ts +23 -0
- package/lib/cli/actions/BaseInstallAction.js +1 -0
- package/lib/cli/actions/BaseRushAction.d.ts +55 -0
- package/lib/cli/actions/BaseRushAction.js +1 -0
- package/lib/cli/actions/ChangeAction.d.ts +65 -0
- package/lib/cli/actions/ChangeAction.js +1 -0
- package/lib/cli/actions/CheckAction.d.ts +10 -0
- package/lib/cli/actions/CheckAction.js +1 -0
- package/lib/cli/actions/DeployAction.d.ts +12 -0
- package/lib/cli/actions/DeployAction.js +1 -0
- package/lib/cli/actions/InitAction.d.ts +16 -0
- package/lib/cli/actions/InitAction.js +1 -0
- package/lib/cli/actions/InitAutoinstallerAction.d.ts +8 -0
- package/lib/cli/actions/InitAutoinstallerAction.js +1 -0
- package/lib/cli/actions/InitDeployAction.d.ts +9 -0
- package/lib/cli/actions/InitDeployAction.js +1 -0
- package/lib/cli/actions/InstallAction.d.ts +9 -0
- package/lib/cli/actions/InstallAction.js +1 -0
- package/lib/cli/actions/LinkAction.d.ts +8 -0
- package/lib/cli/actions/LinkAction.js +1 -0
- package/lib/cli/actions/ListAction.d.ts +54 -0
- package/lib/cli/actions/ListAction.js +1 -0
- package/lib/cli/actions/PublishAction.d.ts +49 -0
- package/lib/cli/actions/PublishAction.js +1 -0
- package/lib/cli/actions/PurgeAction.d.ts +8 -0
- package/lib/cli/actions/PurgeAction.js +1 -0
- package/lib/cli/actions/RemoveAction.d.ts +13 -0
- package/lib/cli/actions/RemoveAction.js +1 -0
- package/lib/cli/actions/ScanAction.d.ts +23 -0
- package/lib/cli/actions/ScanAction.js +1 -0
- package/lib/cli/actions/SetupAction.d.ts +7 -0
- package/lib/cli/actions/SetupAction.js +1 -0
- package/lib/cli/actions/UnlinkAction.d.ts +7 -0
- package/lib/cli/actions/UnlinkAction.js +1 -0
- package/lib/cli/actions/UpdateAction.d.ts +11 -0
- package/lib/cli/actions/UpdateAction.js +1 -0
- package/lib/cli/actions/UpdateAutoinstallerAction.d.ts +8 -0
- package/lib/cli/actions/UpdateAutoinstallerAction.js +1 -0
- package/lib/cli/actions/UpdateCloudCredentialsAction.d.ts +10 -0
- package/lib/cli/actions/UpdateCloudCredentialsAction.js +1 -0
- package/lib/cli/actions/UpgradeInteractiveAction.d.ts +9 -0
- package/lib/cli/actions/UpgradeInteractiveAction.js +1 -0
- package/lib/cli/actions/VersionAction.d.ts +22 -0
- package/lib/cli/actions/VersionAction.js +1 -0
- package/lib/cli/parsing/ParseParallelism.d.ts +6 -0
- package/lib/cli/parsing/ParseParallelism.js +1 -0
- package/lib/cli/parsing/SelectionParameterSet.d.ts +51 -0
- package/lib/cli/parsing/SelectionParameterSet.js +1 -0
- package/lib/cli/scriptActions/BaseScriptAction.d.ts +28 -0
- package/lib/cli/scriptActions/BaseScriptAction.js +1 -0
- package/lib/cli/scriptActions/GlobalScriptAction.d.ts +30 -0
- package/lib/cli/scriptActions/GlobalScriptAction.js +1 -0
- package/lib/cli/scriptActions/PhasedScriptAction.d.ts +65 -0
- package/lib/cli/scriptActions/PhasedScriptAction.js +1 -0
- package/lib/index.d.ts +51 -1
- package/lib/index.js +1 -190
- package/lib/logic/Autoinstaller.d.ts +21 -0
- package/lib/logic/Autoinstaller.js +1 -0
- package/lib/logic/ChangeFiles.d.ts +33 -0
- package/lib/logic/ChangeFiles.js +1 -0
- package/lib/logic/ChangeManager.d.ts +39 -0
- package/lib/logic/ChangeManager.js +1 -0
- package/lib/logic/ChangelogGenerator.d.ts +46 -0
- package/lib/logic/ChangelogGenerator.js +1 -0
- package/lib/logic/CredentialCache.d.ts +36 -0
- package/lib/logic/CredentialCache.js +1 -0
- package/lib/logic/DependencyAnalyzer.d.ts +34 -0
- package/lib/logic/DependencyAnalyzer.js +1 -0
- package/lib/logic/DependencySpecifier.d.ts +70 -0
- package/lib/logic/DependencySpecifier.js +1 -0
- package/lib/logic/EventHooksManager.d.ts +10 -0
- package/lib/logic/EventHooksManager.js +1 -0
- package/lib/logic/Git.d.ts +103 -0
- package/lib/logic/Git.js +1 -0
- package/lib/logic/GitStatusParser.d.ts +42 -0
- package/lib/logic/GitStatusParser.js +1 -0
- package/lib/logic/JsonSchemaUrls.d.ts +8 -0
- package/lib/logic/JsonSchemaUrls.js +1 -0
- package/lib/logic/LookupByPath.d.ts +86 -0
- package/lib/logic/LookupByPath.js +1 -0
- package/lib/logic/NodeJsCompatibility.d.ts +42 -0
- package/lib/logic/NodeJsCompatibility.js +1 -0
- package/lib/logic/PackageJsonUpdaterTypes.d.ts +75 -0
- package/lib/logic/PackageJsonUpdaterTypes.js +1 -0
- package/lib/logic/PrereleaseToken.d.ts +12 -0
- package/lib/logic/PrereleaseToken.js +1 -0
- package/lib/logic/ProjectChangeAnalyzer.d.ts +81 -0
- package/lib/logic/ProjectChangeAnalyzer.js +1 -0
- package/lib/logic/ProjectCommandSet.d.ts +13 -0
- package/lib/logic/ProjectCommandSet.js +1 -0
- package/lib/logic/PublishGit.d.ts +19 -0
- package/lib/logic/PublishGit.js +1 -0
- package/lib/logic/PublishUtilities.d.ts +71 -0
- package/lib/logic/PublishUtilities.js +1 -0
- package/lib/logic/PurgeManager.d.ts +29 -0
- package/lib/logic/PurgeManager.js +1 -0
- package/lib/logic/RepoStateFile.d.ts +55 -0
- package/lib/logic/RepoStateFile.js +1 -0
- package/lib/logic/RushConstants.d.ts +219 -0
- package/lib/logic/RushConstants.js +1 -0
- package/lib/logic/Selection.d.ts +39 -0
- package/lib/logic/Selection.js +1 -0
- package/lib/logic/SetupChecks.d.ts +22 -0
- package/lib/logic/SetupChecks.js +1 -0
- package/lib/logic/ShrinkwrapFileFactory.d.ts +8 -0
- package/lib/logic/ShrinkwrapFileFactory.js +1 -0
- package/lib/logic/StandardScriptUpdater.d.ts +26 -0
- package/lib/logic/StandardScriptUpdater.js +1 -0
- package/lib/logic/Telemetry.d.ts +123 -0
- package/lib/logic/Telemetry.js +1 -0
- package/lib/logic/UnlinkManager.d.ts +24 -0
- package/lib/logic/UnlinkManager.js +1 -0
- package/lib/logic/base/BaseInstallManagerTypes.d.ts +65 -0
- package/lib/logic/base/BaseInstallManagerTypes.js +1 -0
- package/lib/logic/base/BasePackageManagerOptionsConfiguration.d.ts +50 -0
- package/lib/logic/base/BasePackageManagerOptionsConfiguration.js +1 -0
- package/lib/logic/base/BaseProjectShrinkwrapFile.d.ts +36 -0
- package/lib/logic/base/BaseProjectShrinkwrapFile.js +1 -0
- package/lib/logic/base/BaseShrinkwrapFile.d.ts +92 -0
- package/lib/logic/base/BaseShrinkwrapFile.js +1 -0
- package/lib/logic/buildCache/CacheEntryId.d.ts +28 -0
- package/lib/logic/buildCache/CacheEntryId.js +1 -0
- package/lib/logic/buildCache/FileSystemBuildCacheProvider.d.ts +40 -0
- package/lib/logic/buildCache/FileSystemBuildCacheProvider.js +1 -0
- package/lib/logic/buildCache/ICloudBuildCacheProvider.d.ts +14 -0
- package/lib/logic/buildCache/ICloudBuildCacheProvider.js +1 -0
- package/lib/logic/buildCache/ProjectBuildCache.d.ts +46 -0
- package/lib/logic/buildCache/ProjectBuildCache.js +1 -0
- package/lib/logic/buildCache/getHashesForGlobsAsync.d.ts +3 -0
- package/lib/logic/buildCache/getHashesForGlobsAsync.js +1 -0
- package/lib/logic/deploy/DeployScenarioConfiguration.d.ts +39 -0
- package/lib/logic/deploy/DeployScenarioConfiguration.js +1 -0
- package/lib/logic/installManager/InstallHelpers.d.ts +16 -0
- package/lib/logic/installManager/InstallHelpers.js +1 -0
- package/lib/logic/npm/NpmOptionsConfiguration.d.ts +21 -0
- package/lib/logic/npm/NpmOptionsConfiguration.js +1 -0
- package/lib/logic/npm/NpmShrinkwrapFile.d.ts +29 -0
- package/lib/logic/npm/NpmShrinkwrapFile.js +1 -0
- package/lib/logic/operations/AsyncOperationQueue.d.ts +47 -0
- package/lib/logic/operations/AsyncOperationQueue.js +1 -0
- package/lib/logic/operations/IOperationExecutionResult.d.ts +49 -0
- package/lib/logic/operations/IOperationExecutionResult.js +1 -0
- package/lib/logic/operations/IOperationRunner.d.ts +77 -0
- package/lib/logic/operations/IOperationRunner.js +1 -0
- package/lib/logic/operations/NullOperationRunner.d.ts +35 -0
- package/lib/logic/operations/NullOperationRunner.js +1 -0
- package/lib/logic/operations/Operation.d.ts +80 -0
- package/lib/logic/operations/Operation.js +1 -0
- package/lib/logic/operations/OperationError.d.ts +11 -0
- package/lib/logic/operations/OperationError.js +1 -0
- package/lib/logic/operations/OperationExecutionManager.d.ts +42 -0
- package/lib/logic/operations/OperationExecutionManager.js +1 -0
- package/lib/logic/operations/OperationExecutionRecord.d.ts +82 -0
- package/lib/logic/operations/OperationExecutionRecord.js +1 -0
- package/lib/logic/operations/OperationMetadataManager.d.ts +48 -0
- package/lib/logic/operations/OperationMetadataManager.js +1 -0
- package/lib/logic/operations/OperationResultSummarizerPlugin.d.ts +17 -0
- package/lib/logic/operations/OperationResultSummarizerPlugin.js +1 -0
- package/lib/logic/operations/OperationStateFile.d.ts +39 -0
- package/lib/logic/operations/OperationStateFile.js +1 -0
- package/lib/logic/operations/OperationStatus.d.ts +43 -0
- package/lib/logic/operations/OperationStatus.js +1 -0
- package/lib/logic/operations/PhasedOperationPlugin.d.ts +9 -0
- package/lib/logic/operations/PhasedOperationPlugin.js +1 -0
- package/lib/logic/operations/ProjectLogWritable.d.ts +17 -0
- package/lib/logic/operations/ProjectLogWritable.js +1 -0
- package/lib/logic/operations/ShellOperationRunner.d.ts +87 -0
- package/lib/logic/operations/ShellOperationRunner.js +1 -0
- package/lib/logic/operations/ShellOperationRunnerPlugin.d.ts +8 -0
- package/lib/logic/operations/ShellOperationRunnerPlugin.js +1 -0
- package/lib/logic/pnpm/IPnpmfile.d.ts +54 -0
- package/lib/logic/pnpm/IPnpmfile.js +1 -0
- package/lib/logic/pnpm/PnpmOptionsConfiguration.d.ts +242 -0
- package/lib/logic/pnpm/PnpmOptionsConfiguration.js +1 -0
- package/lib/logic/pnpm/PnpmProjectShrinkwrapFile.d.ts +26 -0
- package/lib/logic/pnpm/PnpmProjectShrinkwrapFile.js +1 -0
- package/lib/logic/pnpm/PnpmShrinkwrapFile.d.ts +207 -0
- package/lib/logic/pnpm/PnpmShrinkwrapFile.js +1 -0
- package/lib/logic/pnpm/PnpmYamlCommon.d.ts +8 -0
- package/lib/logic/pnpm/PnpmYamlCommon.js +1 -0
- package/lib/logic/pnpm/PnpmfileConfiguration.d.ts +28 -0
- package/lib/logic/pnpm/PnpmfileConfiguration.js +1 -0
- package/lib/logic/pnpm/PnpmfileShim.d.ts +3 -0
- package/lib/logic/pnpm/PnpmfileShim.js +1 -0
- package/lib/logic/policy/GitEmailPolicy.d.ts +6 -0
- package/lib/logic/policy/GitEmailPolicy.js +1 -0
- package/lib/logic/policy/PolicyValidator.d.ts +10 -0
- package/lib/logic/policy/PolicyValidator.js +1 -0
- package/lib/logic/policy/ShrinkwrapFilePolicy.d.ts +13 -0
- package/lib/logic/policy/ShrinkwrapFilePolicy.js +1 -0
- package/lib/logic/selectors/GitChangedProjectSelectorParser.d.ts +23 -0
- package/lib/logic/selectors/GitChangedProjectSelectorParser.js +1 -0
- package/lib/logic/selectors/ISelectorParser.d.ts +11 -0
- package/lib/logic/selectors/ISelectorParser.js +1 -0
- package/lib/logic/selectors/NamedProjectSelectorParser.d.ts +10 -0
- package/lib/logic/selectors/NamedProjectSelectorParser.js +1 -0
- package/lib/logic/selectors/TagProjectSelectorParser.d.ts +10 -0
- package/lib/logic/selectors/TagProjectSelectorParser.js +1 -0
- package/lib/logic/selectors/VersionPolicyProjectSelectorParser.d.ts +10 -0
- package/lib/logic/selectors/VersionPolicyProjectSelectorParser.js +1 -0
- package/lib/logic/setup/ArtifactoryConfiguration.d.ts +38 -0
- package/lib/logic/setup/ArtifactoryConfiguration.js +1 -0
- package/lib/logic/setup/KeyboardLoop.d.ts +27 -0
- package/lib/logic/setup/KeyboardLoop.js +1 -0
- package/lib/logic/setup/SetupPackageRegistry.d.ts +72 -0
- package/lib/logic/setup/SetupPackageRegistry.js +1 -0
- package/lib/logic/setup/TerminalInput.d.ts +22 -0
- package/lib/logic/setup/TerminalInput.js +1 -0
- package/lib/logic/versionMismatch/VersionMismatchFinder.d.ts +49 -0
- package/lib/logic/versionMismatch/VersionMismatchFinder.js +1 -0
- package/lib/logic/versionMismatch/VersionMismatchFinderCommonVersions.d.ts +16 -0
- package/lib/logic/versionMismatch/VersionMismatchFinderCommonVersions.js +1 -0
- package/lib/logic/versionMismatch/VersionMismatchFinderEntity.d.ts +20 -0
- package/lib/logic/versionMismatch/VersionMismatchFinderEntity.js +1 -0
- package/lib/logic/versionMismatch/VersionMismatchFinderProject.d.ts +16 -0
- package/lib/logic/versionMismatch/VersionMismatchFinderProject.js +1 -0
- package/lib/logic/yarn/YarnOptionsConfiguration.d.ts +37 -0
- package/lib/logic/yarn/YarnOptionsConfiguration.js +1 -0
- package/lib/logic/yarn/YarnShrinkwrapFile.d.ts +55 -0
- package/lib/logic/yarn/YarnShrinkwrapFile.js +1 -0
- package/lib/pluginFramework/IRushPlugin.d.ts +9 -0
- package/lib/pluginFramework/IRushPlugin.js +1 -0
- package/lib/pluginFramework/PhasedCommandHooks.d.ts +93 -0
- package/lib/pluginFramework/PhasedCommandHooks.js +1 -0
- package/lib/pluginFramework/PluginLoader/AutoinstallerPluginLoader.d.ts +27 -0
- package/lib/pluginFramework/PluginLoader/AutoinstallerPluginLoader.js +1 -0
- package/lib/pluginFramework/PluginLoader/BuiltInPluginLoader.d.ts +17 -0
- package/lib/pluginFramework/PluginLoader/BuiltInPluginLoader.js +1 -0
- package/lib/pluginFramework/PluginLoader/PluginLoaderBase.d.ts +47 -0
- package/lib/pluginFramework/PluginLoader/PluginLoaderBase.js +1 -0
- package/lib/pluginFramework/PluginLoader/RushSdk.d.ts +5 -0
- package/lib/pluginFramework/PluginLoader/RushSdk.js +1 -0
- package/lib/pluginFramework/PluginManager.d.ts +47 -0
- package/lib/pluginFramework/PluginManager.js +1 -0
- package/lib/pluginFramework/RushLifeCycle.d.ts +66 -0
- package/lib/pluginFramework/RushLifeCycle.js +1 -0
- package/lib/pluginFramework/RushSession.d.ts +30 -0
- package/lib/pluginFramework/RushSession.js +1 -0
- package/lib/pluginFramework/logging/Logger.d.ts +40 -0
- package/lib/pluginFramework/logging/Logger.js +1 -0
- package/lib/start-pnpm.d.ts +2 -0
- package/lib/start-pnpm.js +1 -0
- package/lib/start.d.ts +2 -0
- package/lib/start.js +1 -0
- package/lib/startx.d.ts +2 -0
- package/lib/startx.js +1 -0
- package/lib/utilities/AsyncRecycler.d.ts +38 -0
- package/lib/utilities/AsyncRecycler.js +1 -0
- package/lib/utilities/CollatedTerminalProvider.d.ts +18 -0
- package/lib/utilities/CollatedTerminalProvider.js +1 -0
- package/lib/utilities/Npm.d.ts +6 -0
- package/lib/utilities/Npm.js +1 -0
- package/lib/utilities/OverlappingPathAnalyzer.d.ts +9 -0
- package/lib/utilities/OverlappingPathAnalyzer.js +1 -0
- package/lib/utilities/PathConstants.d.ts +23 -0
- package/lib/utilities/PathConstants.js +1 -0
- package/lib/utilities/Stopwatch.d.ts +75 -0
- package/lib/utilities/Stopwatch.js +1 -0
- package/lib/utilities/TarExecutable.d.ts +32 -0
- package/lib/utilities/TarExecutable.js +1 -0
- package/lib/utilities/Utilities.d.ts +189 -0
- package/lib/utilities/Utilities.js +1 -0
- package/lib/utilities/WebClient.d.ts +49 -0
- package/lib/utilities/WebClient.js +1 -0
- package/lib/utilities/npmrcUtilities.d.ts +15 -0
- package/lib/utilities/npmrcUtilities.js +1 -0
- package/lib-shim/generate-stubs.d.ts +2 -0
- package/lib-shim/generate-stubs.d.ts.map +1 -0
- package/lib-shim/generate-stubs.js +82 -0
- package/lib-shim/generate-stubs.js.map +1 -0
- package/lib-shim/index.d.ts +5 -0
- package/lib-shim/index.d.ts.map +1 -0
- package/lib-shim/index.js +201 -0
- package/lib-shim/index.js.map +1 -0
- package/package.json +10 -10
- package/lib/index.d.ts.map +0 -1
- package/lib/index.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../lib-shim/index")._rushSdk_loadInternalModule("api/VersionPolicy");
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { VersionPolicy, BumpType } from './VersionPolicy';
|
|
2
|
+
import { RushConfigurationProject } from './RushConfigurationProject';
|
|
3
|
+
export interface IVersionPolicyJson {
|
|
4
|
+
policyName: string;
|
|
5
|
+
definitionName: string;
|
|
6
|
+
dependencies?: IVersionPolicyDependencyJson;
|
|
7
|
+
exemptFromRushChange?: boolean;
|
|
8
|
+
includeEmailInChangeFile?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export interface ILockStepVersionJson extends IVersionPolicyJson {
|
|
11
|
+
version: string;
|
|
12
|
+
nextBump?: string;
|
|
13
|
+
mainProject?: string;
|
|
14
|
+
}
|
|
15
|
+
export interface IIndividualVersionJson extends IVersionPolicyJson {
|
|
16
|
+
lockedMajor?: number;
|
|
17
|
+
}
|
|
18
|
+
export declare enum VersionFormatForPublish {
|
|
19
|
+
original = "original",
|
|
20
|
+
exact = "exact"
|
|
21
|
+
}
|
|
22
|
+
export declare enum VersionFormatForCommit {
|
|
23
|
+
wildcard = "wildcard",
|
|
24
|
+
original = "original"
|
|
25
|
+
}
|
|
26
|
+
export interface IVersionPolicyDependencyJson {
|
|
27
|
+
versionFormatForPublish?: VersionFormatForPublish;
|
|
28
|
+
versionFormatForCommit?: VersionFormatForCommit;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Use this class to load and save the "common/config/rush/version-policies.json" config file.
|
|
32
|
+
* This config file configures how different groups of projects will be published by Rush,
|
|
33
|
+
* and how their version numbers will be determined.
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
export declare class VersionPolicyConfiguration {
|
|
37
|
+
private static _jsonSchema;
|
|
38
|
+
private _jsonFileName;
|
|
39
|
+
/**
|
|
40
|
+
* Gets all the version policies
|
|
41
|
+
*/
|
|
42
|
+
readonly versionPolicies: Map<string, VersionPolicy>;
|
|
43
|
+
/**
|
|
44
|
+
* @internal
|
|
45
|
+
*/
|
|
46
|
+
constructor(jsonFileName: string);
|
|
47
|
+
/**
|
|
48
|
+
* Validate the version policy configuration against the rush config
|
|
49
|
+
*/
|
|
50
|
+
validate(projectsByName: Map<string, RushConfigurationProject>): void;
|
|
51
|
+
/**
|
|
52
|
+
* Gets the version policy by its name.
|
|
53
|
+
* Throws error if the version policy is not found.
|
|
54
|
+
* @param policyName - Name of the version policy
|
|
55
|
+
*/
|
|
56
|
+
getVersionPolicy(policyName: string): VersionPolicy;
|
|
57
|
+
/**
|
|
58
|
+
* Bumps up versions for the specified version policy or all version policies
|
|
59
|
+
*
|
|
60
|
+
* @param versionPolicyName - version policy name
|
|
61
|
+
* @param bumpType - bump type to override what policy has defined.
|
|
62
|
+
* @param identifier - prerelease identifier to override what policy has defined.
|
|
63
|
+
* @param shouldCommit - should save to disk
|
|
64
|
+
*/
|
|
65
|
+
bump(versionPolicyName?: string, bumpType?: BumpType, identifier?: string, shouldCommit?: boolean): void;
|
|
66
|
+
/**
|
|
67
|
+
* Updates the version directly for the specified version policy
|
|
68
|
+
* @param versionPolicyName - version policy name
|
|
69
|
+
* @param newVersion - new version
|
|
70
|
+
*/
|
|
71
|
+
update(versionPolicyName: string, newVersion: string, shouldCommit?: boolean): void;
|
|
72
|
+
private _loadFile;
|
|
73
|
+
private _saveFile;
|
|
74
|
+
}
|
|
75
|
+
//# sourceMappingURL=VersionPolicyConfiguration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../lib-shim/index")._rushSdk_loadInternalModule("api/VersionPolicyConfiguration");
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PackageManager } from './PackageManager';
|
|
2
|
+
/**
|
|
3
|
+
* Support for interacting with the NPM package manager.
|
|
4
|
+
*/
|
|
5
|
+
export declare class NpmPackageManager extends PackageManager {
|
|
6
|
+
/** @internal */
|
|
7
|
+
constructor(version: string);
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=NpmPackageManager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../../lib-shim/index")._rushSdk_loadInternalModule("api/packageManager/NpmPackageManager");
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This represents the available Package Manager tools as a string
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export declare type PackageManagerName = 'pnpm' | 'npm' | 'yarn';
|
|
6
|
+
/**
|
|
7
|
+
* An abstraction for controlling the supported package managers: PNPM, NPM, and Yarn.
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
export declare abstract class PackageManager {
|
|
11
|
+
/**
|
|
12
|
+
* The package manager.
|
|
13
|
+
*/
|
|
14
|
+
readonly packageManager: PackageManagerName;
|
|
15
|
+
/**
|
|
16
|
+
* The SemVer version of the package manager.
|
|
17
|
+
*/
|
|
18
|
+
readonly version: string;
|
|
19
|
+
/**
|
|
20
|
+
* The filename of the shrinkwrap file that is used by the package manager.
|
|
21
|
+
*
|
|
22
|
+
* @remarks
|
|
23
|
+
* Example: `npm-shrinkwrap.json` or `pnpm-lock.yaml`
|
|
24
|
+
*/
|
|
25
|
+
readonly shrinkwrapFilename: string;
|
|
26
|
+
/** @internal */
|
|
27
|
+
protected constructor(version: string, packageManager: PackageManagerName, shrinkwrapFilename: string);
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=PackageManager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../../lib-shim/index")._rushSdk_loadInternalModule("api/packageManager/PackageManager");
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { PackageManager } from './PackageManager';
|
|
2
|
+
/**
|
|
3
|
+
* Support for interacting with the PNPM package manager.
|
|
4
|
+
*/
|
|
5
|
+
export declare class PnpmPackageManager extends PackageManager {
|
|
6
|
+
readonly internalShrinkwrapRelativePath: string;
|
|
7
|
+
/**
|
|
8
|
+
* The filename of the shrinkwrap file that is used by the package manager.
|
|
9
|
+
*
|
|
10
|
+
* @remarks
|
|
11
|
+
* Example: `pnpmfile.js` or `.pnpmfile.cjs`
|
|
12
|
+
*/
|
|
13
|
+
readonly pnpmfileFilename: string;
|
|
14
|
+
/** @internal */
|
|
15
|
+
constructor(version: string);
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=PnpmPackageManager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../../lib-shim/index")._rushSdk_loadInternalModule("api/packageManager/PnpmPackageManager");
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PackageManager } from './PackageManager';
|
|
2
|
+
/**
|
|
3
|
+
* Support for interacting with the Yarn package manager.
|
|
4
|
+
*/
|
|
5
|
+
export declare class YarnPackageManager extends PackageManager {
|
|
6
|
+
/** @internal */
|
|
7
|
+
constructor(version: string);
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=YarnPackageManager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../../lib-shim/index")._rushSdk_loadInternalModule("api/packageManager/YarnPackageManager");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../lib-shim/index")._rushSdk_loadInternalModule("cli/CommandLineMigrationAdvisor");
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { CommandLineParser } from '@rushstack/ts-command-line';
|
|
2
|
+
import { RushConfiguration } from '../api/RushConfiguration';
|
|
3
|
+
import { Telemetry } from '../logic/Telemetry';
|
|
4
|
+
import { RushGlobalFolder } from '../api/RushGlobalFolder';
|
|
5
|
+
import { PluginManager } from '../pluginFramework/PluginManager';
|
|
6
|
+
import { RushSession } from '../pluginFramework/RushSession';
|
|
7
|
+
import { IBuiltInPluginConfiguration } from '../pluginFramework/PluginLoader/BuiltInPluginLoader';
|
|
8
|
+
/**
|
|
9
|
+
* Options for `RushCommandLineParser`.
|
|
10
|
+
*/
|
|
11
|
+
export interface IRushCommandLineParserOptions {
|
|
12
|
+
cwd: string;
|
|
13
|
+
alreadyReportedNodeTooNewError: boolean;
|
|
14
|
+
builtInPluginConfigurations: IBuiltInPluginConfiguration[];
|
|
15
|
+
}
|
|
16
|
+
export declare class RushCommandLineParser extends CommandLineParser {
|
|
17
|
+
telemetry: Telemetry | undefined;
|
|
18
|
+
rushGlobalFolder: RushGlobalFolder;
|
|
19
|
+
readonly rushConfiguration: RushConfiguration;
|
|
20
|
+
readonly rushSession: RushSession;
|
|
21
|
+
readonly pluginManager: PluginManager;
|
|
22
|
+
private readonly _debugParameter;
|
|
23
|
+
private readonly _quietParameter;
|
|
24
|
+
private readonly _restrictConsoleOutput;
|
|
25
|
+
private readonly _rushOptions;
|
|
26
|
+
private readonly _terminalProvider;
|
|
27
|
+
private readonly _terminal;
|
|
28
|
+
constructor(options?: Partial<IRushCommandLineParserOptions>);
|
|
29
|
+
get isDebug(): boolean;
|
|
30
|
+
get isQuiet(): boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Utility to determine if the app should restrict writing to the console.
|
|
33
|
+
*/
|
|
34
|
+
static shouldRestrictConsoleOutput(): boolean;
|
|
35
|
+
flushTelemetry(): void;
|
|
36
|
+
execute(args?: string[]): Promise<boolean>;
|
|
37
|
+
protected onExecute(): Promise<void>;
|
|
38
|
+
private _normalizeOptions;
|
|
39
|
+
private _wrapOnExecuteAsync;
|
|
40
|
+
private _populateActions;
|
|
41
|
+
private _populateScriptActions;
|
|
42
|
+
private _addCommandLineConfigActions;
|
|
43
|
+
private _addCommandLineConfigAction;
|
|
44
|
+
private _getSharedCommandActionOptions;
|
|
45
|
+
private _addGlobalScriptAction;
|
|
46
|
+
private _addPhasedCommandLineConfigAction;
|
|
47
|
+
private _reportErrorAndSetExitCode;
|
|
48
|
+
}
|
|
49
|
+
//# sourceMappingURL=RushCommandLineParser.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../lib-shim/index")._rushSdk_loadInternalModule("cli/RushCommandLineParser");
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ILaunchOptions } from '../api/Rush';
|
|
2
|
+
export interface ILaunchRushPnpmInternalOptions extends ILaunchOptions {
|
|
3
|
+
}
|
|
4
|
+
export declare class RushPnpmCommandLine {
|
|
5
|
+
static launch(launcherVersion: string, options: ILaunchRushPnpmInternalOptions): void;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=RushPnpmCommandLine.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../lib-shim/index")._rushSdk_loadInternalModule("cli/RushPnpmCommandLine");
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ITerminalProvider } from '@rushstack/node-core-library';
|
|
2
|
+
import type { IBuiltInPluginConfiguration } from '../pluginFramework/PluginLoader/BuiltInPluginLoader';
|
|
3
|
+
/**
|
|
4
|
+
* Options for RushPnpmCommandLineParser
|
|
5
|
+
*/
|
|
6
|
+
export interface IRushPnpmCommandLineParserOptions {
|
|
7
|
+
alreadyReportedNodeTooNewError?: boolean;
|
|
8
|
+
builtInPluginConfigurations?: IBuiltInPluginConfiguration[];
|
|
9
|
+
terminalProvider?: ITerminalProvider;
|
|
10
|
+
}
|
|
11
|
+
export declare class RushPnpmCommandLineParser {
|
|
12
|
+
private _terminal;
|
|
13
|
+
private _rushConfiguration;
|
|
14
|
+
private _pnpmArgs;
|
|
15
|
+
private _commandName;
|
|
16
|
+
private _debugEnabled;
|
|
17
|
+
private _verboseEnabled;
|
|
18
|
+
constructor(options: IRushPnpmCommandLineParserOptions);
|
|
19
|
+
executeAsync(): Promise<void>;
|
|
20
|
+
private _validatePnpmUsage;
|
|
21
|
+
private _execute;
|
|
22
|
+
private _postExecuteAsync;
|
|
23
|
+
private _doRushUpdateAsync;
|
|
24
|
+
private _reportErrorAndSetExitCode;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=RushPnpmCommandLineParser.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../lib-shim/index")._rushSdk_loadInternalModule("cli/RushPnpmCommandLineParser");
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare class RushStartupBanner {
|
|
2
|
+
static logBanner(rushVersion: string, isManaged: boolean): void;
|
|
3
|
+
static logStreamlinedBanner(rushVersion: string, isManaged: boolean): void;
|
|
4
|
+
private static _formatNodeVersion;
|
|
5
|
+
private static _formatRushVersion;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=RushStartupBanner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../lib-shim/index")._rushSdk_loadInternalModule("cli/RushStartupBanner");
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @internal
|
|
3
|
+
*/
|
|
4
|
+
export interface ILaunchRushXInternalOptions {
|
|
5
|
+
isManaged: boolean;
|
|
6
|
+
alreadyReportedNodeTooNewError?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare class RushXCommandLine {
|
|
9
|
+
static launchRushX(launcherVersion: string, isManaged: boolean): void;
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
static _launchRushXInternal(launcherVersion: string, options: ILaunchRushXInternalOptions): void;
|
|
14
|
+
private static _getCommandLineArguments;
|
|
15
|
+
private static _showUsage;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=RushXCommandLine.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../lib-shim/index")._rushSdk_loadInternalModule("cli/RushXCommandLine");
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { CommandLineFlagParameter, CommandLineStringListParameter } from '@rushstack/ts-command-line';
|
|
2
|
+
import { BaseAddAndRemoveAction } from './BaseAddAndRemoveAction';
|
|
3
|
+
import { RushCommandLineParser } from '../RushCommandLineParser';
|
|
4
|
+
import { type IPackageJsonUpdaterRushAddOptions } from '../../logic/PackageJsonUpdaterTypes';
|
|
5
|
+
export declare class AddAction extends BaseAddAndRemoveAction {
|
|
6
|
+
protected readonly _allFlag: CommandLineFlagParameter;
|
|
7
|
+
protected readonly _packageNameList: CommandLineStringListParameter;
|
|
8
|
+
private readonly _exactFlag;
|
|
9
|
+
private readonly _caretFlag;
|
|
10
|
+
private readonly _devDependencyFlag;
|
|
11
|
+
private readonly _makeConsistentFlag;
|
|
12
|
+
constructor(parser: RushCommandLineParser);
|
|
13
|
+
getUpdateOptions(): IPackageJsonUpdaterRushAddOptions;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=AddAction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../../lib-shim/index")._rushSdk_loadInternalModule("cli/actions/AddAction");
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { CommandLineFlagParameter, CommandLineStringListParameter } from '@rushstack/ts-command-line';
|
|
2
|
+
import { BaseRushAction, type IBaseRushActionOptions } from './BaseRushAction';
|
|
3
|
+
import { RushConfigurationProject } from '../../api/RushConfigurationProject';
|
|
4
|
+
import type { IPackageForRushUpdate, IPackageJsonUpdaterRushBaseUpdateOptions } from '../../logic/PackageJsonUpdaterTypes';
|
|
5
|
+
export interface IBasePackageJsonUpdaterRushOptions {
|
|
6
|
+
/**
|
|
7
|
+
* The projects whose package.jsons should get updated
|
|
8
|
+
*/
|
|
9
|
+
projects: RushConfigurationProject[];
|
|
10
|
+
/**
|
|
11
|
+
* The dependencies to be added.
|
|
12
|
+
*/
|
|
13
|
+
packagesToHandle: IPackageForRushUpdate[];
|
|
14
|
+
/**
|
|
15
|
+
* If specified, "rush update" will not be run after updating the package.json file(s).
|
|
16
|
+
*/
|
|
17
|
+
skipUpdate: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* If specified, "rush update" will be run in debug mode.
|
|
20
|
+
*/
|
|
21
|
+
debugInstall: boolean;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* This is the common base class for AddAction and RemoveAction.
|
|
25
|
+
*/
|
|
26
|
+
export declare abstract class BaseAddAndRemoveAction extends BaseRushAction {
|
|
27
|
+
protected abstract readonly _allFlag: CommandLineFlagParameter;
|
|
28
|
+
protected readonly _skipUpdateFlag: CommandLineFlagParameter;
|
|
29
|
+
protected abstract readonly _packageNameList: CommandLineStringListParameter;
|
|
30
|
+
protected get specifiedPackageNameList(): readonly string[];
|
|
31
|
+
constructor(options: IBaseRushActionOptions);
|
|
32
|
+
protected abstract getUpdateOptions(): IPackageJsonUpdaterRushBaseUpdateOptions;
|
|
33
|
+
protected getProjects(): RushConfigurationProject[];
|
|
34
|
+
runAsync(): Promise<void>;
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=BaseAddAndRemoveAction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../../lib-shim/index")._rushSdk_loadInternalModule("cli/actions/BaseAddAndRemoveAction");
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { CommandLineFlagParameter, CommandLineIntegerParameter, CommandLineStringParameter } from '@rushstack/ts-command-line';
|
|
2
|
+
import { BaseRushAction, IBaseRushActionOptions } from './BaseRushAction';
|
|
3
|
+
import type { IInstallManagerOptions } from '../../logic/base/BaseInstallManagerTypes';
|
|
4
|
+
import { SelectionParameterSet } from '../parsing/SelectionParameterSet';
|
|
5
|
+
/**
|
|
6
|
+
* This is the common base class for InstallAction and UpdateAction.
|
|
7
|
+
*/
|
|
8
|
+
export declare abstract class BaseInstallAction extends BaseRushAction {
|
|
9
|
+
protected readonly _variant: CommandLineStringParameter;
|
|
10
|
+
protected readonly _purgeParameter: CommandLineFlagParameter;
|
|
11
|
+
protected readonly _bypassPolicyParameter: CommandLineFlagParameter;
|
|
12
|
+
protected readonly _noLinkParameter: CommandLineFlagParameter;
|
|
13
|
+
protected readonly _networkConcurrencyParameter: CommandLineIntegerParameter;
|
|
14
|
+
protected readonly _debugPackageManagerParameter: CommandLineFlagParameter;
|
|
15
|
+
protected readonly _maxInstallAttempts: CommandLineIntegerParameter;
|
|
16
|
+
protected readonly _ignoreHooksParameter: CommandLineFlagParameter;
|
|
17
|
+
protected _selectionParameters?: SelectionParameterSet;
|
|
18
|
+
constructor(options: IBaseRushActionOptions);
|
|
19
|
+
protected abstract buildInstallOptionsAsync(): Promise<IInstallManagerOptions>;
|
|
20
|
+
protected runAsync(): Promise<void>;
|
|
21
|
+
private _collectTelemetry;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=BaseInstallAction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../../lib-shim/index")._rushSdk_loadInternalModule("cli/actions/BaseInstallAction");
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { CommandLineAction, ICommandLineActionOptions } from '@rushstack/ts-command-line';
|
|
2
|
+
import { RushConfiguration } from '../../api/RushConfiguration';
|
|
3
|
+
import { EventHooksManager } from '../../logic/EventHooksManager';
|
|
4
|
+
import { RushCommandLineParser } from './../RushCommandLineParser';
|
|
5
|
+
import { RushGlobalFolder } from '../../api/RushGlobalFolder';
|
|
6
|
+
import { RushSession } from '../../pluginFramework/RushSession';
|
|
7
|
+
import type { IRushCommand } from '../../pluginFramework/RushLifeCycle';
|
|
8
|
+
export interface IBaseRushActionOptions extends ICommandLineActionOptions {
|
|
9
|
+
/**
|
|
10
|
+
* By default, Rush operations acquire a lock file which prevents multiple commands from executing simultaneously
|
|
11
|
+
* in the same repo folder. (For example, it would be a mistake to run "rush install" and "rush build" at the
|
|
12
|
+
* same time.) If your command makes sense to run concurrently with other operations,
|
|
13
|
+
* set safeForSimultaneousRushProcesses=true to disable this protection. In particular, this is needed for
|
|
14
|
+
* custom scripts that invoke other Rush commands.
|
|
15
|
+
*/
|
|
16
|
+
safeForSimultaneousRushProcesses?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* The rush parser.
|
|
19
|
+
*/
|
|
20
|
+
parser: RushCommandLineParser;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* The base class for a few specialized Rush command-line actions that
|
|
24
|
+
* can be used without a rush.json configuration.
|
|
25
|
+
*/
|
|
26
|
+
export declare abstract class BaseConfiglessRushAction extends CommandLineAction implements IRushCommand {
|
|
27
|
+
private _safeForSimultaneousRushProcesses;
|
|
28
|
+
protected get rushConfiguration(): RushConfiguration | undefined;
|
|
29
|
+
protected get rushSession(): RushSession;
|
|
30
|
+
protected get rushGlobalFolder(): RushGlobalFolder;
|
|
31
|
+
protected readonly parser: RushCommandLineParser;
|
|
32
|
+
constructor(options: IBaseRushActionOptions);
|
|
33
|
+
protected onExecute(): Promise<void>;
|
|
34
|
+
/**
|
|
35
|
+
* All Rush actions need to implement this method. This method runs after
|
|
36
|
+
* environment has been set up by the base class.
|
|
37
|
+
*/
|
|
38
|
+
protected abstract runAsync(): Promise<void>;
|
|
39
|
+
private _ensureEnvironment;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* The base class that most Rush command-line actions should extend.
|
|
43
|
+
*/
|
|
44
|
+
export declare abstract class BaseRushAction extends BaseConfiglessRushAction {
|
|
45
|
+
private _eventHooksManager;
|
|
46
|
+
protected get eventHooksManager(): EventHooksManager;
|
|
47
|
+
protected get rushConfiguration(): RushConfiguration;
|
|
48
|
+
protected onExecute(): Promise<void>;
|
|
49
|
+
/**
|
|
50
|
+
* If an error is encountered while trying to load plugins, it is saved in the `PluginManager.error`
|
|
51
|
+
* property, so we can defer throwing it until when `_throwPluginErrorIfNeed()` is called.
|
|
52
|
+
*/
|
|
53
|
+
private _throwPluginErrorIfNeed;
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=BaseRushAction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../../lib-shim/index")._rushSdk_loadInternalModule("cli/actions/BaseRushAction");
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { BaseRushAction } from './BaseRushAction';
|
|
2
|
+
import { RushCommandLineParser } from '../RushCommandLineParser';
|
|
3
|
+
export declare class ChangeAction extends BaseRushAction {
|
|
4
|
+
private readonly _git;
|
|
5
|
+
private readonly _terminal;
|
|
6
|
+
private readonly _verifyParameter;
|
|
7
|
+
private readonly _noFetchParameter;
|
|
8
|
+
private readonly _targetBranchParameter;
|
|
9
|
+
private readonly _changeEmailParameter;
|
|
10
|
+
private readonly _bulkChangeParameter;
|
|
11
|
+
private readonly _bulkChangeMessageParameter;
|
|
12
|
+
private readonly _bulkChangeBumpTypeParameter;
|
|
13
|
+
private readonly _overwriteFlagParameter;
|
|
14
|
+
private readonly _commitChangesFlagParameter;
|
|
15
|
+
private readonly _commitChangesMessageStringParameter;
|
|
16
|
+
private _targetBranchName;
|
|
17
|
+
constructor(parser: RushCommandLineParser);
|
|
18
|
+
runAsync(): Promise<void>;
|
|
19
|
+
private _generateHostMap;
|
|
20
|
+
private _verifyAsync;
|
|
21
|
+
private get _targetBranch();
|
|
22
|
+
private _getChangedProjectNamesAsync;
|
|
23
|
+
private _validateChangeFile;
|
|
24
|
+
private _getChangeFiles;
|
|
25
|
+
/**
|
|
26
|
+
* The main loop which prompts the user for information on changed projects.
|
|
27
|
+
*/
|
|
28
|
+
private _promptForChangeFileData;
|
|
29
|
+
/**
|
|
30
|
+
* Asks all questions which are needed to generate changelist for a project.
|
|
31
|
+
*/
|
|
32
|
+
private _askQuestions;
|
|
33
|
+
private _promptForComments;
|
|
34
|
+
private _getBumpOptions;
|
|
35
|
+
private _isEmailRequired;
|
|
36
|
+
/**
|
|
37
|
+
* Will determine a user's email by first detecting it from their Git config,
|
|
38
|
+
* or will ask for it if it is not found or the Git config is wrong.
|
|
39
|
+
*/
|
|
40
|
+
private _detectOrAskForEmail;
|
|
41
|
+
private _detectEmail;
|
|
42
|
+
/**
|
|
43
|
+
* Detects the user's email address from their Git configuration, prompts the user to approve the
|
|
44
|
+
* detected email. It returns undefined if it cannot be detected.
|
|
45
|
+
*/
|
|
46
|
+
private _detectAndConfirmEmail;
|
|
47
|
+
/**
|
|
48
|
+
* Asks the user for their email address
|
|
49
|
+
*/
|
|
50
|
+
private _promptForEmail;
|
|
51
|
+
private _warnUnstagedChanges;
|
|
52
|
+
/**
|
|
53
|
+
* Writes change files to the common/changes folder. Will prompt for overwrite if file already exists.
|
|
54
|
+
*/
|
|
55
|
+
private _writeChangeFiles;
|
|
56
|
+
private _writeChangeFile;
|
|
57
|
+
private _promptForOverwrite;
|
|
58
|
+
/**
|
|
59
|
+
* Writes a file to disk, ensuring the directory structure up to that point exists
|
|
60
|
+
*/
|
|
61
|
+
private _writeFile;
|
|
62
|
+
private _logNoChangeFileRequired;
|
|
63
|
+
private _stageAndCommitGitChanges;
|
|
64
|
+
}
|
|
65
|
+
//# sourceMappingURL=ChangeAction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../../lib-shim/index")._rushSdk_loadInternalModule("cli/actions/ChangeAction");
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { RushCommandLineParser } from '../RushCommandLineParser';
|
|
2
|
+
import { BaseRushAction } from './BaseRushAction';
|
|
3
|
+
export declare class CheckAction extends BaseRushAction {
|
|
4
|
+
private readonly _variant;
|
|
5
|
+
private readonly _jsonFlag;
|
|
6
|
+
private readonly _verboseFlag;
|
|
7
|
+
constructor(parser: RushCommandLineParser);
|
|
8
|
+
protected runAsync(): Promise<void>;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=CheckAction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../../lib-shim/index")._rushSdk_loadInternalModule("cli/actions/CheckAction");
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BaseRushAction } from './BaseRushAction';
|
|
2
|
+
import { RushCommandLineParser } from '../RushCommandLineParser';
|
|
3
|
+
export declare class DeployAction extends BaseRushAction {
|
|
4
|
+
private readonly _scenario;
|
|
5
|
+
private readonly _project;
|
|
6
|
+
private readonly _overwrite;
|
|
7
|
+
private readonly _targetFolder;
|
|
8
|
+
private readonly _createArchivePath;
|
|
9
|
+
constructor(parser: RushCommandLineParser);
|
|
10
|
+
protected runAsync(): Promise<void>;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=DeployAction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../../lib-shim/index")._rushSdk_loadInternalModule("cli/actions/DeployAction");
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { RushCommandLineParser } from '../RushCommandLineParser';
|
|
2
|
+
import { BaseConfiglessRushAction } from './BaseRushAction';
|
|
3
|
+
export declare class InitAction extends BaseConfiglessRushAction {
|
|
4
|
+
private readonly _overwriteParameter;
|
|
5
|
+
private readonly _rushExampleParameter;
|
|
6
|
+
private _commentedBySectionName;
|
|
7
|
+
constructor(parser: RushCommandLineParser);
|
|
8
|
+
protected runAsync(): Promise<void>;
|
|
9
|
+
private _defineMacroSections;
|
|
10
|
+
private _validateFolderIsEmpty;
|
|
11
|
+
private _copyTemplateFiles;
|
|
12
|
+
private _copyTemplateFile;
|
|
13
|
+
private _isSectionCommented;
|
|
14
|
+
private _expandMacroVariable;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=InitAction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../../lib-shim/index")._rushSdk_loadInternalModule("cli/actions/InitAction");
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BaseRushAction } from './BaseRushAction';
|
|
2
|
+
import { RushCommandLineParser } from '../RushCommandLineParser';
|
|
3
|
+
export declare class InitAutoinstallerAction extends BaseRushAction {
|
|
4
|
+
private readonly _name;
|
|
5
|
+
constructor(parser: RushCommandLineParser);
|
|
6
|
+
protected runAsync(): Promise<void>;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=InitAutoinstallerAction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../../lib-shim/index")._rushSdk_loadInternalModule("cli/actions/InitAutoinstallerAction");
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BaseRushAction } from './BaseRushAction';
|
|
2
|
+
import { RushCommandLineParser } from '../RushCommandLineParser';
|
|
3
|
+
export declare class InitDeployAction extends BaseRushAction {
|
|
4
|
+
private readonly _project;
|
|
5
|
+
private readonly _scenario;
|
|
6
|
+
constructor(parser: RushCommandLineParser);
|
|
7
|
+
protected runAsync(): Promise<void>;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=InitDeployAction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../../lib-shim/index")._rushSdk_loadInternalModule("cli/actions/InitDeployAction");
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BaseInstallAction } from './BaseInstallAction';
|
|
2
|
+
import type { IInstallManagerOptions } from '../../logic/base/BaseInstallManagerTypes';
|
|
3
|
+
import { RushCommandLineParser } from '../RushCommandLineParser';
|
|
4
|
+
export declare class InstallAction extends BaseInstallAction {
|
|
5
|
+
private readonly _checkOnlyParameter;
|
|
6
|
+
constructor(parser: RushCommandLineParser);
|
|
7
|
+
protected buildInstallOptionsAsync(): Promise<IInstallManagerOptions>;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=InstallAction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../../lib-shim/index")._rushSdk_loadInternalModule("cli/actions/InstallAction");
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { RushCommandLineParser } from '../RushCommandLineParser';
|
|
2
|
+
import { BaseRushAction } from './BaseRushAction';
|
|
3
|
+
export declare class LinkAction extends BaseRushAction {
|
|
4
|
+
private readonly _force;
|
|
5
|
+
constructor(parser: RushCommandLineParser);
|
|
6
|
+
protected runAsync(): Promise<void>;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=LinkAction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../../lib-shim/index")._rushSdk_loadInternalModule("cli/actions/LinkAction");
|