forked from microsoft/rushstack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.ts
More file actions
213 lines (174 loc) · 7.01 KB
/
index.ts
File metadata and controls
213 lines (174 loc) · 7.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
/// <reference types="node" preserve="true" />
/**
* A library for writing scripts that interact with the {@link https://rushjs.io/ | Rush} tool.
* @packageDocumentation
*/
// #region Backwards compatibility
export { LookupByPath as LookupByPath, type IPrefixMatch } from '@rushstack/lookup-by-path';
export {
type ICredentialCacheOptions,
type ICredentialCacheEntry,
CredentialCache
} from '@rushstack/credential-cache';
// #endregion
export { ApprovedPackagesPolicy } from './api/ApprovedPackagesPolicy';
export { RushConfiguration, type ITryFindRushJsonLocationOptions } from './api/RushConfiguration';
export { Subspace } from './api/Subspace';
export { SubspacesConfiguration } from './api/SubspacesConfiguration';
export {
type IPackageManagerOptionsJsonBase,
type IConfigurationEnvironment,
type IConfigurationEnvironmentVariable,
PackageManagerOptionsConfigurationBase
} from './logic/base/BasePackageManagerOptionsConfiguration';
export {
type INpmOptionsJson as _INpmOptionsJson,
NpmOptionsConfiguration
} from './logic/npm/NpmOptionsConfiguration';
export {
type IYarnOptionsJson as _IYarnOptionsJson,
YarnOptionsConfiguration
} from './logic/yarn/YarnOptionsConfiguration';
export {
type IPnpmOptionsJson as _IPnpmOptionsJson,
type PnpmStoreLocation,
type IPnpmLockfilePolicies,
type IPnpmPackageExtension,
type IPnpmPeerDependencyRules,
type IPnpmPeerDependenciesMeta,
type PnpmStoreOptions,
PnpmOptionsConfiguration,
type PnpmResolutionMode,
type PnpmTrustPolicy
} from './logic/pnpm/PnpmOptionsConfiguration';
export { BuildCacheConfiguration } from './api/BuildCacheConfiguration';
export { CobuildConfiguration, type ICobuildJson } from './api/CobuildConfiguration';
export type { GetCacheEntryIdFunction, IGenerateCacheEntryIdOptions } from './logic/buildCache/CacheEntryId';
export {
FileSystemBuildCacheProvider,
type IFileSystemBuildCacheProviderOptions
} from './logic/buildCache/FileSystemBuildCacheProvider';
export type {
IPhase,
PhaseBehaviorForMissingScript as IPhaseBehaviorForMissingScript
} from './api/CommandLineConfiguration';
export {
EnvironmentConfiguration,
EnvironmentVariableNames,
type IEnvironmentConfigurationInitializeOptions
} from './api/EnvironmentConfiguration';
export { RushConstants } from './logic/RushConstants';
export { type PackageManagerName, PackageManager } from './api/packageManager/PackageManager';
export { RushConfigurationProject } from './api/RushConfigurationProject';
export {
type IRushProjectJson as _IRushProjectJson,
type IOperationSettings,
type NodeVersionGranularity,
RushProjectConfiguration,
type IRushPhaseSharding
} from './api/RushProjectConfiguration';
export { RushUserConfiguration } from './api/RushUserConfiguration';
export { RushGlobalFolder as _RushGlobalFolder } from './api/RushGlobalFolder';
export { ApprovedPackagesItem, ApprovedPackagesConfiguration } from './api/ApprovedPackagesConfiguration';
export { CommonVersionsConfiguration } from './api/CommonVersionsConfiguration';
export {
PackageJsonEditor,
PackageJsonDependency,
DependencyType,
PackageJsonDependencyMeta
} from './api/PackageJsonEditor';
export { RepoStateFile } from './logic/RepoStateFile';
export { EventHooks, Event } from './api/EventHooks';
export { ChangeManager } from './api/ChangeManager';
export { FlagFile as _FlagFile } from './api/FlagFile';
export {
VersionPolicyDefinitionName,
BumpType,
LockStepVersionPolicy,
IndividualVersionPolicy,
VersionPolicy
} from './api/VersionPolicy';
export {
VersionPolicyConfiguration,
type ILockStepVersionJson,
type IIndividualVersionJson,
type IVersionPolicyJson
} from './api/VersionPolicyConfiguration';
export { type ILaunchOptions, Rush } from './api/Rush';
export { RushInternals as _RushInternals } from './api/RushInternals';
export { ExperimentsConfiguration, type IExperimentsJson } from './api/ExperimentsConfiguration';
export {
CustomTipsConfiguration,
CustomTipId,
type ICustomTipsJson,
type ICustomTipInfo,
type ICustomTipItemJson,
CustomTipSeverity,
CustomTipType
} from './api/CustomTipsConfiguration';
export { ProjectChangeAnalyzer, type IGetChangedProjectsOptions } from './logic/ProjectChangeAnalyzer';
export type {
IInputsSnapshot,
GetInputsSnapshotAsyncFn as GetInputsSnapshotAsyncFn,
IRushConfigurationProjectForSnapshot
} from './logic/incremental/InputsSnapshot';
export type { IOperationRunner, IOperationRunnerContext } from './logic/operations/IOperationRunner';
export type {
IExecutionResult,
IOperationExecutionResult
} from './logic/operations/IOperationExecutionResult';
export { type IOperationOptions, Operation } from './logic/operations/Operation';
export { OperationStatus } from './logic/operations/OperationStatus';
export type { ILogFilePaths } from './logic/operations/ProjectLogWritable';
export {
RushSession,
type IRushSessionOptions,
type CloudBuildCacheProviderFactory,
type CobuildLockProviderFactory
} from './pluginFramework/RushSession';
export {
type IRushCommand,
type IGlobalCommand,
type IPhasedCommand,
RushLifecycleHooks
} from './pluginFramework/RushLifeCycle';
export {
type ICreateOperationsContext,
type IExecuteOperationsContext,
PhasedCommandHooks
} from './pluginFramework/PhasedCommandHooks';
export type { IRushPlugin } from './pluginFramework/IRushPlugin';
export type { IBuiltInPluginConfiguration as _IBuiltInPluginConfiguration } from './pluginFramework/PluginLoader/BuiltInPluginLoader';
export type { IRushPluginConfigurationBase as _IRushPluginConfigurationBase } from './api/RushPluginsConfiguration';
export type { ILogger } from './pluginFramework/logging/Logger';
export type { ICloudBuildCacheProvider } from './logic/buildCache/ICloudBuildCacheProvider';
export type {
ICobuildLockProvider,
ICobuildContext,
ICobuildCompletedState
} from './logic/cobuild/ICobuildLockProvider';
export type { ITelemetryData, ITelemetryMachineInfo, ITelemetryOperationResult } from './logic/Telemetry';
export type { IStopwatchResult } from './utilities/Stopwatch';
export {
OperationStateFile as _OperationStateFile,
type IOperationStateFileOptions as _IOperationStateFileOptions,
type IOperationStateJson as _IOperationStateJson
} from './logic/operations/OperationStateFile';
export {
OperationMetadataManager as _OperationMetadataManager,
type IOperationMetadataManagerOptions as _IOperationMetadataManagerOptions,
type IOperationMetaData as _IOperationMetadata
} from './logic/operations/OperationMetadataManager';
export {
RushCommandLine,
type IRushCommandLineSpec,
type IRushCommandLineParameter,
type IRushCommandLineAction
} from './api/RushCommandLine';
export { OperationBuildCache as _OperationBuildCache } from './logic/buildCache/OperationBuildCache';
export type {
IOperationBuildCacheOptions as _IOperationBuildCacheOptions,
IProjectBuildCacheOptions as _IProjectBuildCacheOptions
} from './logic/buildCache/OperationBuildCache';