tntd 1.4.29 → 1.4.31
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/common/temp/publish-home/.npm/_logs/2023-02-24T09_28_35_585Z-debug-0.log +39 -0
- package/common/temp/publish-home/.npm/_logs/2023-02-24T09_29_14_285Z-debug-0.log +1426 -0
- package/common/temp/publish-home/.npm/_logs/2023-03-07T06_11_25_569Z-debug-0.log +39 -0
- package/common/temp/publish-home/.npm/_logs/2023-03-07T06_11_28_924Z-debug-0.log +1426 -0
- package/common/temp/publish-home/.npm/_logs/2023-03-08T11_15_34_815Z-debug-0.log +34 -0
- package/common/temp/publish-home/.npm/_logs/2023-03-08T11_18_04_372Z-debug-0.log +34 -0
- package/common/temp/publish-home/.npm/_logs/2023-03-08T11_22_54_526Z-debug-0.log +34 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/abort-controller/dist/index.js +239 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/abort-controller/dist/index.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-auth/dist/index.js +215 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-auth/dist/index.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-client/dist/index.js +2171 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-client/dist/index.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-http/dist/index.js +5500 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-http/dist/index.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-lro/dist/index.js +1171 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-lro/dist/index.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-paging/dist/index.js +104 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-paging/dist/index.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-rest-pipeline/dist/index.js +2282 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-rest-pipeline/dist/index.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-tracing/dist/index.js +184 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-tracing/dist/index.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-util/dist/index.js +217 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/core-util/dist/index.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/identity/dist/index.js +3727 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/identity/dist/index.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/logger/dist/index.js +208 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/logger/dist/index.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/_virtual/_tslib.js +117 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/_virtual/_tslib.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/app/ClientApplication.d.ts +333 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/app/ClientApplication.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/app/ClientApplication.js +1039 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/app/ClientApplication.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/app/IPublicClientApplication.d.ts +46 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/app/IPublicClientApplication.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/app/IPublicClientApplication.js +103 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/app/IPublicClientApplication.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/app/PublicClientApplication.d.ts +71 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/app/PublicClientApplication.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/app/PublicClientApplication.js +278 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/app/PublicClientApplication.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/broker/nativeBroker/NativeMessageHandler.d.ts +60 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/broker/nativeBroker/NativeMessageHandler.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/broker/nativeBroker/NativeMessageHandler.js +261 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/broker/nativeBroker/NativeMessageHandler.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/broker/nativeBroker/NativeRequest.d.ts +44 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/broker/nativeBroker/NativeRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/broker/nativeBroker/NativeResponse.d.ts +49 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/broker/nativeBroker/NativeResponse.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/AsyncMemoryStorage.d.ts +52 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/AsyncMemoryStorage.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/AsyncMemoryStorage.js +210 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/AsyncMemoryStorage.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/BrowserCacheManager.d.ts +319 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/BrowserCacheManager.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/BrowserCacheManager.js +975 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/BrowserCacheManager.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/BrowserStorage.d.ts +12 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/BrowserStorage.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/BrowserStorage.js +43 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/BrowserStorage.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/CryptoKeyStore.d.ts +18 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/CryptoKeyStore.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/CryptoKeyStore.js +58 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/CryptoKeyStore.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/DatabaseStorage.d.ts +57 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/DatabaseStorage.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/DatabaseStorage.js +262 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/DatabaseStorage.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/IAsyncMemoryStorage.d.ts +28 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/IAsyncMemoryStorage.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/ITokenCache.d.ts +11 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/ITokenCache.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/IWindowStorage.d.ts +28 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/IWindowStorage.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/MemoryStorage.d.ts +12 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/MemoryStorage.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/MemoryStorage.js +37 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/MemoryStorage.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/TokenCache.d.ts +77 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/TokenCache.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/TokenCache.js +227 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/cache/TokenCache.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/config/Configuration.d.ts +196 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/config/Configuration.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/config/Configuration.js +86 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/config/Configuration.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/BrowserCrypto.d.ts +62 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/BrowserCrypto.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/BrowserCrypto.js +167 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/BrowserCrypto.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/CryptoOps.d.ts +74 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/CryptoOps.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/CryptoOps.js +223 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/CryptoOps.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/GuidGenerator.d.ts +13 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/GuidGenerator.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/GuidGenerator.js +93 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/GuidGenerator.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/ISubtleCrypto.d.ts +10 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/ISubtleCrypto.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/ModernBrowserCrypto.d.ts +10 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/ModernBrowserCrypto.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/ModernBrowserCrypto.js +55 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/ModernBrowserCrypto.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/MsBrowserCrypto.d.ts +10 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/MsBrowserCrypto.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/MsBrowserCrypto.js +112 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/MsBrowserCrypto.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/MsrBrowserCrypto.d.ts +18 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/MsrBrowserCrypto.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/MsrBrowserCrypto.js +59 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/MsrBrowserCrypto.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/PkceGenerator.d.ts +25 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/PkceGenerator.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/PkceGenerator.js +87 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/PkceGenerator.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/SignedHttpRequest.d.ts +31 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/SignedHttpRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/SignedHttpRequest.js +70 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/crypto/SignedHttpRequest.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/encode/Base64Decode.d.ts +23 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/encode/Base64Decode.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/encode/Base64Decode.js +82 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/encode/Base64Decode.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/encode/Base64Encode.d.ts +32 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/encode/Base64Encode.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/encode/Base64Encode.js +88 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/encode/Base64Encode.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/error/BrowserAuthError.d.ts +375 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/error/BrowserAuthError.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/error/BrowserAuthError.js +482 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/error/BrowserAuthError.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/error/BrowserConfigurationAuthError.d.ts +71 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/error/BrowserConfigurationAuthError.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/error/BrowserConfigurationAuthError.js +107 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/error/BrowserConfigurationAuthError.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/error/NativeAuthError.d.ts +57 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/error/NativeAuthError.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/error/NativeAuthError.js +97 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/error/NativeAuthError.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/event/EventHandler.d.ts +42 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/event/EventHandler.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/event/EventHandler.js +127 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/event/EventHandler.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/event/EventMessage.d.ts +26 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/event/EventMessage.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/event/EventMessage.js +71 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/event/EventMessage.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/event/EventType.d.ts +27 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/event/EventType.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/event/EventType.js +36 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/event/EventType.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/index.cjs.js +17467 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/index.cjs.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/index.d.ts +36 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/index.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/index.js +18 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/index.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/BaseInteractionClient.d.ts +53 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/BaseInteractionClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/BaseInteractionClient.js +179 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/BaseInteractionClient.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/HybridSpaAuthorizationCodeClient.d.ts +5 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/HybridSpaAuthorizationCodeClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/HybridSpaAuthorizationCodeClient.js +21 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/HybridSpaAuthorizationCodeClient.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/NativeInteractionClient.d.ts +86 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/NativeInteractionClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/NativeInteractionClient.js +480 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/NativeInteractionClient.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/PopupClient.d.ts +112 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/PopupClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/PopupClient.js +513 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/PopupClient.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/RedirectClient.d.ts +49 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/RedirectClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/RedirectClient.js +353 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/RedirectClient.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentAuthCodeClient.d.ts +23 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentAuthCodeClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentAuthCodeClient.js +87 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentAuthCodeClient.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentCacheClient.d.ts +22 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentCacheClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentCacheClient.js +108 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentCacheClient.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentIframeClient.d.ts +32 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentIframeClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentIframeClient.js +158 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentIframeClient.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentRefreshClient.d.ts +20 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentRefreshClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentRefreshClient.js +100 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/SilentRefreshClient.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/StandardInteractionClient.d.ts +60 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/StandardInteractionClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/StandardInteractionClient.js +308 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_client/StandardInteractionClient.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_handler/InteractionHandler.d.ts +40 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_handler/InteractionHandler.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_handler/InteractionHandler.js +162 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_handler/InteractionHandler.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_handler/RedirectHandler.d.ts +25 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_handler/RedirectHandler.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_handler/RedirectHandler.js +145 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_handler/RedirectHandler.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_handler/SilentHandler.d.ts +48 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_handler/SilentHandler.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_handler/SilentHandler.js +161 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/interaction_handler/SilentHandler.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/internals.d.ts +21 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/internals.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/internals.js +23 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/internals.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/navigation/INavigationClient.d.ts +17 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/navigation/INavigationClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/navigation/NavigationClient.d.ts +23 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/navigation/NavigationClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/navigation/NavigationClient.js +48 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/navigation/NavigationClient.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/navigation/NavigationOptions.d.ts +13 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/navigation/NavigationOptions.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/network/FetchClient.d.ts +27 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/network/FetchClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/network/FetchClient.js +138 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/network/FetchClient.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/network/XhrClient.d.ts +41 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/network/XhrClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/network/XhrClient.js +138 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/network/XhrClient.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/packageMetadata.d.ts +3 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/packageMetadata.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/packageMetadata.js +8 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/packageMetadata.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/AuthorizationCodeRequest.d.ts +9 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/AuthorizationCodeRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/AuthorizationUrlRequest.d.ts +9 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/AuthorizationUrlRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/EndSessionPopupRequest.d.ts +19 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/EndSessionPopupRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/EndSessionRequest.d.ts +16 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/EndSessionRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/PopupRequest.d.ts +33 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/PopupRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/PopupWindowAttributes.d.ts +16 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/PopupWindowAttributes.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/RedirectRequest.d.ts +34 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/RedirectRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/SilentRequest.d.ts +31 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/SilentRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/SsoSilentRequest.d.ts +27 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/request/SsoSilentRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/telemetry/BrowserPerformanceClient.d.ts +37 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/telemetry/BrowserPerformanceClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/telemetry/BrowserPerformanceClient.js +108 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/telemetry/BrowserPerformanceClient.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/telemetry/BrowserPerformanceMeasurement.d.ts +13 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/telemetry/BrowserPerformanceMeasurement.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/telemetry/BrowserPerformanceMeasurement.js +66 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/telemetry/BrowserPerformanceMeasurement.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserConstants.d.ts +163 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserConstants.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserConstants.js +216 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserConstants.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserProtocolUtils.d.ts +19 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserProtocolUtils.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserProtocolUtils.js +44 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserProtocolUtils.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserStringUtils.d.ts +27 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserStringUtils.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserStringUtils.js +122 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserStringUtils.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserUtils.d.ts +66 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserUtils.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserUtils.js +147 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/BrowserUtils.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/MathUtils.d.ts +12 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/MathUtils.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/MathUtils.js +29 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-browser/dist/utils/MathUtils.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/_virtual/_tslib.js +90 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/_virtual/_tslib.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/AccountInfo.d.ts +32 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/AccountInfo.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/AuthToken.d.ts +21 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/AuthToken.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/AuthToken.js +57 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/AuthToken.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/CcsCredential.d.ts +9 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/CcsCredential.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/CcsCredential.js +14 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/CcsCredential.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/ClientCredentials.d.ts +15 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/ClientCredentials.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/ClientInfo.d.ts +20 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/ClientInfo.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/ClientInfo.js +44 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/ClientInfo.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/DecodedAuthToken.d.ts +9 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/DecodedAuthToken.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/TokenClaims.d.ts +61 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/account/TokenClaims.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/Authority.d.ts +202 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/Authority.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/Authority.js +688 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/Authority.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityFactory.d.ts +29 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityFactory.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityFactory.js +69 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityFactory.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityMetadata.d.ts +623 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityMetadata.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityMetadata.js +12 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityMetadata.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityOptions.d.ts +19 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityOptions.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityOptions.js +24 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityOptions.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityType.d.ts +9 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityType.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityType.js +18 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AuthorityType.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AzureRegion.d.ts +2 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AzureRegion.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AzureRegionConfiguration.d.ts +6 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/AzureRegionConfiguration.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/CloudDiscoveryMetadata.d.ts +6 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/CloudDiscoveryMetadata.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/CloudInstanceDiscoveryResponse.d.ts +10 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/CloudInstanceDiscoveryResponse.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/CloudInstanceDiscoveryResponse.js +13 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/CloudInstanceDiscoveryResponse.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/ImdsOptions.d.ts +7 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/ImdsOptions.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/OpenIdConfigResponse.d.ts +12 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/OpenIdConfigResponse.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/OpenIdConfigResponse.js +15 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/OpenIdConfigResponse.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/ProtocolMode.d.ts +8 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/ProtocolMode.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/ProtocolMode.js +17 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/ProtocolMode.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/RegionDiscovery.d.ts +28 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/RegionDiscovery.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/RegionDiscovery.js +127 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/RegionDiscovery.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/RegionDiscoveryMetadata.d.ts +7 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/authority/RegionDiscoveryMetadata.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/CacheManager.d.ts +393 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/CacheManager.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/CacheManager.js +890 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/CacheManager.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AccessTokenEntity.d.ts +57 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AccessTokenEntity.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AccessTokenEntity.js +124 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AccessTokenEntity.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AccountEntity.d.ts +100 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AccountEntity.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AccountEntity.js +247 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AccountEntity.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AppMetadataEntity.d.ts +40 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AppMetadataEntity.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AppMetadataEntity.js +74 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AppMetadataEntity.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AuthorityMetadataEntity.d.ts +48 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AuthorityMetadataEntity.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AuthorityMetadataEntity.js +82 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/AuthorityMetadataEntity.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/CacheRecord.d.ts +14 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/CacheRecord.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/CacheRecord.js +19 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/CacheRecord.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/CredentialEntity.d.ts +94 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/CredentialEntity.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/CredentialEntity.js +164 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/CredentialEntity.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/IdTokenEntity.d.ts +35 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/IdTokenEntity.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/IdTokenEntity.js +70 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/IdTokenEntity.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/RefreshTokenEntity.d.ts +37 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/RefreshTokenEntity.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/RefreshTokenEntity.js +73 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/RefreshTokenEntity.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/ServerTelemetryEntity.d.ts +13 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/ServerTelemetryEntity.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/ServerTelemetryEntity.js +35 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/ServerTelemetryEntity.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/ThrottlingEntity.d.ts +14 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/ThrottlingEntity.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/ThrottlingEntity.js +32 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/entities/ThrottlingEntity.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/interface/ICacheManager.d.ts +157 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/interface/ICacheManager.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/interface/ICachePlugin.d.ts +6 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/interface/ICachePlugin.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/interface/ISerializableTokenCache.d.ts +5 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/interface/ISerializableTokenCache.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/persistence/TokenCacheContext.d.ts +24 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/persistence/TokenCacheContext.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/persistence/TokenCacheContext.js +39 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/persistence/TokenCacheContext.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/utils/CacheTypes.d.ts +60 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/cache/utils/CacheTypes.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/AuthorizationCodeClient.d.ts +76 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/AuthorizationCodeClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/AuthorizationCodeClient.js +470 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/AuthorizationCodeClient.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/BaseClient.d.ts +45 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/BaseClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/BaseClient.js +103 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/BaseClient.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/ClientCredentialClient.d.ts +39 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/ClientCredentialClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/ClientCredentialClient.js +202 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/ClientCredentialClient.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/DeviceCodeClient.d.ts +52 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/DeviceCodeClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/DeviceCodeClient.js +232 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/DeviceCodeClient.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/OnBehalfOfClient.d.ts +51 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/OnBehalfOfClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/OnBehalfOfClient.js +244 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/OnBehalfOfClient.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/RefreshTokenClient.d.ts +40 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/RefreshTokenClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/RefreshTokenClient.js +284 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/RefreshTokenClient.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/SilentFlowClient.d.ts +25 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/SilentFlowClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/SilentFlowClient.js +136 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/SilentFlowClient.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/UsernamePasswordClient.d.ts +29 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/UsernamePasswordClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/UsernamePasswordClient.js +120 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/client/UsernamePasswordClient.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/config/AppTokenProvider.d.ts +39 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/config/AppTokenProvider.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/config/ClientConfiguration.d.ts +135 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/config/ClientConfiguration.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/config/ClientConfiguration.js +105 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/config/ClientConfiguration.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/ICrypto.d.ts +63 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/ICrypto.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/ICrypto.js +80 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/ICrypto.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/IGuidGenerator.d.ts +5 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/IGuidGenerator.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/JoseHeader.d.ts +22 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/JoseHeader.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/JoseHeader.js +45 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/JoseHeader.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/PopTokenGenerator.d.ts +56 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/PopTokenGenerator.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/PopTokenGenerator.js +107 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/PopTokenGenerator.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/SignedHttpRequest.d.ts +12 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/crypto/SignedHttpRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/AuthError.d.ts +48 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/AuthError.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/AuthError.js +61 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/AuthError.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/ClientAuthError.d.ts +389 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/ClientAuthError.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/ClientAuthError.js +500 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/ClientAuthError.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/ClientConfigurationError.d.ts +199 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/ClientConfigurationError.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/ClientConfigurationError.js +260 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/ClientConfigurationError.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/InteractionRequiredAuthError.d.ts +42 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/InteractionRequiredAuthError.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/InteractionRequiredAuthError.js +80 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/InteractionRequiredAuthError.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/JoseHeaderError.d.ts +29 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/JoseHeaderError.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/JoseHeaderError.js +50 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/JoseHeaderError.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/ServerError.d.ts +8 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/ServerError.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/ServerError.js +25 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/error/ServerError.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/index.cjs.js +8611 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/index.cjs.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/index.d.ts +92 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/index.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/index.js +55 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/index.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/logger/Logger.d.ts +95 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/logger/Logger.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/logger/Logger.js +185 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/logger/Logger.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/INetworkModule.d.ts +31 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/INetworkModule.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/INetworkModule.js +21 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/INetworkModule.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/NetworkManager.d.ts +21 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/NetworkManager.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/NetworkManager.js +56 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/NetworkManager.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/RequestThumbprint.d.ts +17 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/RequestThumbprint.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/ThrottlingUtils.d.ts +42 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/ThrottlingUtils.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/ThrottlingUtils.js +101 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/network/ThrottlingUtils.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/packageMetadata.d.ts +3 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/packageMetadata.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/packageMetadata.js +8 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/packageMetadata.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/AuthenticationHeaderParser.d.ts +20 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/AuthenticationHeaderParser.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/AuthenticationHeaderParser.js +64 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/AuthenticationHeaderParser.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/BaseAuthRequest.d.ts +35 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/BaseAuthRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonAuthorizationCodeRequest.d.ts +28 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonAuthorizationCodeRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonAuthorizationUrlRequest.d.ts +52 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonAuthorizationUrlRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonClientCredentialRequest.d.ts +17 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonClientCredentialRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonDeviceCodeRequest.d.ts +19 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonDeviceCodeRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonEndSessionRequest.d.ts +21 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonEndSessionRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonOnBehalfOfRequest.d.ts +13 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonOnBehalfOfRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonRefreshTokenRequest.d.ts +21 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonRefreshTokenRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonSilentFlowRequest.d.ts +20 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonSilentFlowRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonUsernamePasswordRequest.d.ts +17 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/CommonUsernamePasswordRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/RequestParameterBuilder.d.ts +217 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/RequestParameterBuilder.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/RequestParameterBuilder.js +387 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/RequestParameterBuilder.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/RequestValidator.d.ts +34 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/RequestValidator.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/RequestValidator.js +92 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/RequestValidator.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/ScopeSet.d.ts +83 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/ScopeSet.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/ScopeSet.js +192 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/request/ScopeSet.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/AuthenticationResult.d.ts +40 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/AuthenticationResult.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/AuthorizationCodePayload.d.ts +14 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/AuthorizationCodePayload.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/DeviceCodeResponse.d.ts +26 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/DeviceCodeResponse.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/ExternalTokenResponse.d.ts +16 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/ExternalTokenResponse.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/IMDSBadResponse.d.ts +5 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/IMDSBadResponse.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/ResponseHandler.d.ts +71 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/ResponseHandler.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/ResponseHandler.js +302 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/ResponseHandler.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/ServerAuthorizationCodeResponse.d.ts +22 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/ServerAuthorizationCodeResponse.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/ServerAuthorizationTokenResponse.d.ts +43 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/response/ServerAuthorizationTokenResponse.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/IPerformanceClient.d.ts +22 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/IPerformanceClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/IPerformanceMeasurement.d.ts +6 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/IPerformanceMeasurement.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/PerformanceClient.d.ts +125 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/PerformanceClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/PerformanceClient.js +284 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/PerformanceClient.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/PerformanceEvent.d.ts +275 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/PerformanceEvent.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/PerformanceEvent.js +128 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/PerformanceEvent.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/StubPerformanceClient.d.ts +13 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/StubPerformanceClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/StubPerformanceClient.js +37 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/performance/StubPerformanceClient.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/server/ServerTelemetryManager.d.ts +67 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/server/ServerTelemetryManager.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/server/ServerTelemetryManager.js +168 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/server/ServerTelemetryManager.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/server/ServerTelemetryRequest.d.ts +9 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/telemetry/server/ServerTelemetryRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/url/IUri.d.ts +13 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/url/IUri.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/url/UrlString.d.ts +71 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/url/UrlString.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/url/UrlString.js +241 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/url/UrlString.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/Constants.d.ts +345 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/Constants.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/Constants.js +386 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/Constants.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/MsalTypes.d.ts +7 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/MsalTypes.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/ProtocolUtils.d.ts +43 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/ProtocolUtils.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/ProtocolUtils.js +77 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/ProtocolUtils.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/StringUtils.d.ts +54 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/StringUtils.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/StringUtils.js +129 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/StringUtils.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/TimeUtils.d.ts +28 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/TimeUtils.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/TimeUtils.js +53 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-common/dist/utils/TimeUtils.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/ITokenCache.d.ts +16 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/ITokenCache.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/NodeStorage.d.ts +181 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/NodeStorage.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/TokenCache.d.ts +91 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/TokenCache.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/distributed/DistributedCachePlugin.d.ts +11 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/distributed/DistributedCachePlugin.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/distributed/ICacheClient.d.ts +18 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/distributed/ICacheClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/distributed/IPartitionManager.d.ts +33 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/distributed/IPartitionManager.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/serializer/Deserializer.d.ts +43 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/serializer/Deserializer.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/serializer/Serializer.d.ts +40 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/serializer/Serializer.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/serializer/SerializerTypes.d.ts +102 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/cache/serializer/SerializerTypes.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/client/ClientApplication.d.ts +143 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/client/ClientApplication.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/client/ClientAssertion.d.ts +47 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/client/ClientAssertion.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/client/ConfidentialClientApplication.d.ts +59 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/client/ConfidentialClientApplication.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/client/IConfidentialClientApplication.d.ts +40 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/client/IConfidentialClientApplication.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/client/IPublicClientApplication.d.ts +38 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/client/IPublicClientApplication.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/client/PublicClientApplication.d.ts +46 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/client/PublicClientApplication.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/config/Configuration.d.ts +91 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/config/Configuration.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/crypto/CryptoProvider.d.ts +53 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/crypto/CryptoProvider.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/crypto/GuidGenerator.d.ts +15 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/crypto/GuidGenerator.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/crypto/HashUtils.d.ts +9 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/crypto/HashUtils.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/crypto/PkceGenerator.d.ts +23 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/crypto/PkceGenerator.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/error/NodeAuthError.d.ts +66 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/error/NodeAuthError.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/index.d.ts +31 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/index.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/index.js +8 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/msal-node.cjs.development.js +2581 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/msal-node.cjs.development.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/msal-node.cjs.production.min.js +2 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/msal-node.cjs.production.min.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/msal-node.esm.js +2470 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/msal-node.esm.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/network/HttpClient.d.ts +25 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/network/HttpClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/network/LoopbackClient.d.ts +21 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/network/LoopbackClient.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/packageMetadata.d.ts +3 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/packageMetadata.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/AuthorizationCodeRequest.d.ts +22 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/AuthorizationCodeRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/AuthorizationUrlRequest.d.ts +34 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/AuthorizationUrlRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/ClientCredentialRequest.d.ts +16 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/ClientCredentialRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/DeviceCodeRequest.d.ts +16 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/DeviceCodeRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/InteractiveRequest.d.ts +8 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/InteractiveRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/OnBehalfOfRequest.d.ts +15 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/OnBehalfOfRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/RefreshTokenRequest.d.ts +18 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/RefreshTokenRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/SilentFlowRequest.d.ts +17 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/SilentFlowRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/UsernamePasswordRequest.d.ts +20 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/request/UsernamePasswordRequest.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/utils/Constants.d.ts +93 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/utils/Constants.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/utils/EncodingUtils.d.ts +27 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/utils/EncodingUtils.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/utils/NetworkUtils.d.ts +5 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/msal-node/dist/utils/NetworkUtils.d.ts.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/storage-blob/dist/index.js +25339 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@azure/storage-blob/dist/index.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@microsoft/rush-lib/dist/rush-lib.d.ts +3652 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@microsoft/rush-lib/dist/tsdoc-metadata.json +11 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/heft-config-file/dist/heft-config-file.d.ts +254 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/heft-config-file/dist/tsdoc-metadata.json +11 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/node-core-library/dist/node-core-library.d.ts +3717 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/node-core-library/dist/tsdoc-metadata.json +11 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/package-deps-hash/dist/package-deps-hash.d.ts +80 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/package-deps-hash/dist/tsdoc-metadata.json +11 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/rig-package/dist/rig-package.d.ts +198 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/rig-package/dist/tsdoc-metadata.json +11 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/rush-amazon-s3-build-cache-plugin/dist/rush-amazon-s3-build-cache-plugin.d.ts +150 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/rush-azure-storage-build-cache-plugin/dist/rush-azure-storage-build-cache-plugin.d.ts +93 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/rush-sdk/dist/rush-lib.d.ts +3652 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/stream-collator/dist/stream-collator.d.ts +124 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/stream-collator/dist/tsdoc-metadata.json +11 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/terminal/dist/terminal.d.ts +743 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/terminal/dist/tsdoc-metadata.json +11 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/ts-command-line/dist/ts-command-line.d.ts +998 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@rushstack/ts-command-line/dist/tsdoc-metadata.json +11 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@tootallnate/once/dist/index.d.ts +7 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@tootallnate/once/dist/index.js +24 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@tootallnate/once/dist/index.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@tootallnate/once/dist/overloaded-parameters.d.ts +231 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@tootallnate/once/dist/overloaded-parameters.js +3 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@tootallnate/once/dist/overloaded-parameters.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@tootallnate/once/dist/types.d.ts +17 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@tootallnate/once/dist/types.js +3 -0
- package/common/temp/rush-recycler/install-run-1678274025679/@tootallnate/once/dist/types.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/agent-base/dist/src/index.d.ts +78 -0
- package/common/temp/rush-recycler/install-run-1678274025679/agent-base/dist/src/index.js +203 -0
- package/common/temp/rush-recycler/install-run-1678274025679/agent-base/dist/src/index.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/agent-base/dist/src/promisify.d.ts +4 -0
- package/common/temp/rush-recycler/install-run-1678274025679/agent-base/dist/src/promisify.js +18 -0
- package/common/temp/rush-recycler/install-run-1678274025679/agent-base/dist/src/promisify.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/esprima/dist/esprima.js +6709 -0
- package/common/temp/rush-recycler/install-run-1678274025679/form-data/README.md.bak +358 -0
- package/common/temp/rush-recycler/install-run-1678274025679/http-proxy-agent/dist/agent.d.ts +32 -0
- package/common/temp/rush-recycler/install-run-1678274025679/http-proxy-agent/dist/agent.js +145 -0
- package/common/temp/rush-recycler/install-run-1678274025679/http-proxy-agent/dist/agent.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/http-proxy-agent/dist/index.d.ts +21 -0
- package/common/temp/rush-recycler/install-run-1678274025679/http-proxy-agent/dist/index.js +14 -0
- package/common/temp/rush-recycler/install-run-1678274025679/http-proxy-agent/dist/index.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/https-proxy-agent/dist/agent.d.ts +30 -0
- package/common/temp/rush-recycler/install-run-1678274025679/https-proxy-agent/dist/agent.js +177 -0
- package/common/temp/rush-recycler/install-run-1678274025679/https-proxy-agent/dist/agent.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/https-proxy-agent/dist/index.d.ts +23 -0
- package/common/temp/rush-recycler/install-run-1678274025679/https-proxy-agent/dist/index.js +14 -0
- package/common/temp/rush-recycler/install-run-1678274025679/https-proxy-agent/dist/index.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/https-proxy-agent/dist/parse-proxy-response.d.ts +7 -0
- package/common/temp/rush-recycler/install-run-1678274025679/https-proxy-agent/dist/parse-proxy-response.js +66 -0
- package/common/temp/rush-recycler/install-run-1678274025679/https-proxy-agent/dist/parse-proxy-response.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/immediate/dist/immediate.js +75 -0
- package/common/temp/rush-recycler/install-run-1678274025679/immediate/dist/immediate.min.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/js-yaml/dist/js-yaml.js +3946 -0
- package/common/temp/rush-recycler/install-run-1678274025679/js-yaml/dist/js-yaml.min.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/json5/dist/index.js +1737 -0
- package/common/temp/rush-recycler/install-run-1678274025679/json5/dist/index.min.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/json5/dist/index.min.mjs +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/json5/dist/index.mjs +1426 -0
- package/common/temp/rush-recycler/install-run-1678274025679/jsonpath-plus/dist/index-es.js +1062 -0
- package/common/temp/rush-recycler/install-run-1678274025679/jsonpath-plus/dist/index-es.min.js +2 -0
- package/common/temp/rush-recycler/install-run-1678274025679/jsonpath-plus/dist/index-es.min.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/jsonpath-plus/dist/index-umd.js +1072 -0
- package/common/temp/rush-recycler/install-run-1678274025679/jsonpath-plus/dist/index-umd.min.js +2 -0
- package/common/temp/rush-recycler/install-run-1678274025679/jsonpath-plus/dist/index-umd.min.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/jszip/dist/jszip.js +11370 -0
- package/common/temp/rush-recycler/install-run-1678274025679/jszip/dist/jszip.min.js +13 -0
- package/common/temp/rush-recycler/install-run-1678274025679/lie/dist/lie.js +350 -0
- package/common/temp/rush-recycler/install-run-1678274025679/lie/dist/lie.min.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/lie/dist/lie.polyfill.js +358 -0
- package/common/temp/rush-recycler/install-run-1678274025679/lie/dist/lie.polyfill.min.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/pako/dist/pako.js +6818 -0
- package/common/temp/rush-recycler/install-run-1678274025679/pako/dist/pako.min.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/pako/dist/pako_deflate.js +3997 -0
- package/common/temp/rush-recycler/install-run-1678274025679/pako/dist/pako_deflate.min.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/pako/dist/pako_inflate.js +3300 -0
- package/common/temp/rush-recycler/install-run-1678274025679/pako/dist/pako_inflate.min.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/psl/dist/psl.js +10187 -0
- package/common/temp/rush-recycler/install-run-1678274025679/psl/dist/psl.min.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/ramda/dist/ramda.js +9716 -0
- package/common/temp/rush-recycler/install-run-1678274025679/ramda/dist/ramda.min.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/sprintf-js/dist/angular-sprintf.min.js +4 -0
- package/common/temp/rush-recycler/install-run-1678274025679/sprintf-js/dist/angular-sprintf.min.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/sprintf-js/dist/angular-sprintf.min.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/sprintf-js/dist/sprintf.min.js +4 -0
- package/common/temp/rush-recycler/install-run-1678274025679/sprintf-js/dist/sprintf.min.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/sprintf-js/dist/sprintf.min.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/tunnel/.idea/encodings.xml +6 -0
- package/common/temp/rush-recycler/install-run-1678274025679/tunnel/.idea/modules.xml +8 -0
- package/common/temp/rush-recycler/install-run-1678274025679/tunnel/.idea/node-tunnel.iml +12 -0
- package/common/temp/rush-recycler/install-run-1678274025679/tunnel/.idea/vcs.xml +6 -0
- package/common/temp/rush-recycler/install-run-1678274025679/tunnel/.idea/workspace.xml +797 -0
- package/common/temp/rush-recycler/install-run-1678274025679/url-parse/dist/url-parse.js +755 -0
- package/common/temp/rush-recycler/install-run-1678274025679/url-parse/dist/url-parse.min.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/url-parse/dist/url-parse.min.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/bin/uuid +2 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/index.js +9 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/md5.js +215 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/nil.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/parse.js +35 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/regex.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/rng.js +19 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/sha1.js +96 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/stringify.js +30 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/v1.js +95 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/v3.js +4 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/v35.js +64 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/v4.js +24 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/v5.js +4 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/validate.js +7 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-browser/version.js +11 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/index.js +9 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/md5.js +13 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/nil.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/parse.js +35 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/regex.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/rng.js +12 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/sha1.js +13 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/stringify.js +29 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/v1.js +95 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/v3.js +4 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/v35.js +64 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/v4.js +24 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/v5.js +4 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/validate.js +7 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/esm-node/version.js +11 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/index.js +79 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/md5-browser.js +223 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/md5.js +23 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/nil.js +8 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/parse.js +45 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/regex.js +8 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/rng-browser.js +26 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/rng.js +24 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/sha1-browser.js +104 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/sha1.js +23 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/stringify.js +39 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/umd/uuid.min.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/umd/uuidNIL.min.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/umd/uuidParse.min.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/umd/uuidStringify.min.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/umd/uuidValidate.min.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/umd/uuidVersion.min.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/umd/uuidv1.min.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/umd/uuidv3.min.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/umd/uuidv4.min.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/umd/uuidv5.min.js +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/uuid-bin.js +85 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/v1.js +107 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/v3.js +16 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/v35.js +78 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/v4.js +37 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/v5.js +16 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/validate.js +17 -0
- package/common/temp/rush-recycler/install-run-1678274025679/uuid/dist/version.js +21 -0
- package/common/temp/rush-recycler/install-run-1678274025679/z-schema/dist/ZSchema-browser-min.js +2 -0
- package/common/temp/rush-recycler/install-run-1678274025679/z-schema/dist/ZSchema-browser-min.js.map +1 -0
- package/common/temp/rush-recycler/install-run-1678274025679/z-schema/dist/ZSchema-browser-test.js +30407 -0
- package/common/temp/rush-recycler/install-run-1678274025679/z-schema/dist/ZSchema-browser.js +12901 -0
- package/components/Handle/index.js +6 -3
- package/dist/stats.json +274 -274
- package/dist/tntd.js +1 -1
- package/es/Handle/index.js +11 -7
- package/lib/Handle/index.js +11 -7
- package/package.json +1 -1
package/common/temp/rush-recycler/install-run-1678274025679/@microsoft/rush-lib/dist/rush-lib.d.ts
ADDED
|
@@ -0,0 +1,3652 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A library for writing scripts that interact with the {@link https://rushjs.io/ | Rush} tool.
|
|
3
|
+
* @packageDocumentation
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
/// <reference types="node" />
|
|
7
|
+
|
|
8
|
+
import { AsyncParallelHook } from 'tapable';
|
|
9
|
+
import { AsyncSeriesHook } from 'tapable';
|
|
10
|
+
import { AsyncSeriesWaterfallHook } from 'tapable';
|
|
11
|
+
import type { CollatedWriter } from '@rushstack/stream-collator';
|
|
12
|
+
import type { CommandLineParameter } from '@rushstack/ts-command-line';
|
|
13
|
+
import { HookMap } from 'tapable';
|
|
14
|
+
import { IPackageJson } from '@rushstack/node-core-library';
|
|
15
|
+
import { ITerminal } from '@rushstack/node-core-library';
|
|
16
|
+
import { ITerminalProvider } from '@rushstack/node-core-library';
|
|
17
|
+
import { JsonObject } from '@rushstack/node-core-library';
|
|
18
|
+
import { PackageNameParser } from '@rushstack/node-core-library';
|
|
19
|
+
import type { StdioSummarizer } from '@rushstack/terminal';
|
|
20
|
+
import { SyncHook } from 'tapable';
|
|
21
|
+
import { Terminal } from '@rushstack/node-core-library';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* This represents the JSON file specified via the "approvedPackagesFile" option in rush.json.
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
export declare class ApprovedPackagesConfiguration {
|
|
28
|
+
private static _jsonSchema;
|
|
29
|
+
items: ApprovedPackagesItem[];
|
|
30
|
+
private _itemsByName;
|
|
31
|
+
private _loadedJson;
|
|
32
|
+
private _jsonFilename;
|
|
33
|
+
constructor(jsonFilename: string);
|
|
34
|
+
/**
|
|
35
|
+
* Clears all the settings, returning to an empty state.
|
|
36
|
+
*/
|
|
37
|
+
clear(): void;
|
|
38
|
+
getItemByName(packageName: string): ApprovedPackagesItem | undefined;
|
|
39
|
+
addOrUpdatePackage(packageName: string, reviewCategory: string): boolean;
|
|
40
|
+
/**
|
|
41
|
+
* If the file exists, calls loadFromFile().
|
|
42
|
+
*/
|
|
43
|
+
tryLoadFromFile(approvedPackagesPolicyEnabled: boolean): boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Loads the configuration data from the filename that was passed to the constructor.
|
|
46
|
+
*/
|
|
47
|
+
loadFromFile(): void;
|
|
48
|
+
/**
|
|
49
|
+
* Loads the configuration data to the filename that was passed to the constructor.
|
|
50
|
+
*/
|
|
51
|
+
saveToFile(): void;
|
|
52
|
+
/**
|
|
53
|
+
* Helper function only used by the constructor when loading the file.
|
|
54
|
+
*/
|
|
55
|
+
private _addItemJson;
|
|
56
|
+
/**
|
|
57
|
+
* Helper function that adds an already created ApprovedPackagesItem to the
|
|
58
|
+
* list and set.
|
|
59
|
+
*/
|
|
60
|
+
private _addItem;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* An item returned by ApprovedPackagesConfiguration
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
export declare class ApprovedPackagesItem {
|
|
68
|
+
/**
|
|
69
|
+
* The NPM package name
|
|
70
|
+
*/
|
|
71
|
+
packageName: string;
|
|
72
|
+
/**
|
|
73
|
+
* The project categories that are allowed to use this package.
|
|
74
|
+
*/
|
|
75
|
+
allowedCategories: Set<string>;
|
|
76
|
+
/**
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
79
|
+
constructor(packageName: string);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* This is a helper object for RushConfiguration.
|
|
84
|
+
* It exposes the "approvedPackagesPolicy" feature from rush.json.
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
export declare class ApprovedPackagesPolicy {
|
|
88
|
+
private _enabled;
|
|
89
|
+
private _ignoredNpmScopes;
|
|
90
|
+
private _reviewCategories;
|
|
91
|
+
private _browserApprovedPackages;
|
|
92
|
+
private _nonbrowserApprovedPackages;
|
|
93
|
+
/** @internal */
|
|
94
|
+
constructor(rushConfiguration: RushConfiguration, rushConfigurationJson: IRushConfigurationJson);
|
|
95
|
+
/**
|
|
96
|
+
* Whether the feature is enabled. The feature is enabled if the "approvedPackagesPolicy"
|
|
97
|
+
* field is assigned in rush.json.
|
|
98
|
+
*/
|
|
99
|
+
get enabled(): boolean;
|
|
100
|
+
/**
|
|
101
|
+
* A list of NPM package scopes that will be excluded from review (e.g. `@types`)
|
|
102
|
+
*/
|
|
103
|
+
get ignoredNpmScopes(): Set<string>;
|
|
104
|
+
/**
|
|
105
|
+
* A list of category names that are valid for usage as the RushConfigurationProject.reviewCategory field.
|
|
106
|
+
* This array will never be undefined.
|
|
107
|
+
*/
|
|
108
|
+
get reviewCategories(): Set<string>;
|
|
109
|
+
/**
|
|
110
|
+
* Packages approved for usage in a web browser. This is the stricter of the two types, so by default
|
|
111
|
+
* all new packages are added to this file.
|
|
112
|
+
*
|
|
113
|
+
* @remarks
|
|
114
|
+
*
|
|
115
|
+
* This is part of an optional approval workflow, whose purpose is to review any new dependencies
|
|
116
|
+
* that are introduced (e.g. maybe a legal review is required, or maybe we are trying to minimize bloat).
|
|
117
|
+
* When Rush discovers a new dependency has been added to package.json, it will update the file.
|
|
118
|
+
* The intent is that the file will be stored in Git and tracked by a branch policy that notifies
|
|
119
|
+
* reviewers when a PR attempts to modify the file.
|
|
120
|
+
*
|
|
121
|
+
* Example filename: `C:\MyRepo\common\config\rush\browser-approved-packages.json`
|
|
122
|
+
*/
|
|
123
|
+
get browserApprovedPackages(): ApprovedPackagesConfiguration;
|
|
124
|
+
/**
|
|
125
|
+
* Packages approved for usage everywhere *except* in a web browser.
|
|
126
|
+
*
|
|
127
|
+
* @remarks
|
|
128
|
+
*
|
|
129
|
+
* This is part of an optional approval workflow, whose purpose is to review any new dependencies
|
|
130
|
+
* that are introduced (e.g. maybe a legal review is required, or maybe we are trying to minimize bloat).
|
|
131
|
+
* The intent is that the file will be stored in Git and tracked by a branch policy that notifies
|
|
132
|
+
* reviewers when a PR attempts to modify the file.
|
|
133
|
+
*
|
|
134
|
+
* Example filename: `C:\MyRepo\common\config\rush\browser-approved-packages.json`
|
|
135
|
+
*/
|
|
136
|
+
get nonbrowserApprovedPackages(): ApprovedPackagesConfiguration;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Use this class to load and save the "common/config/rush/build-cache.json" config file.
|
|
141
|
+
* This file provides configuration options for cached project build output.
|
|
142
|
+
* @beta
|
|
143
|
+
*/
|
|
144
|
+
export declare class BuildCacheConfiguration {
|
|
145
|
+
private static _jsonSchema;
|
|
146
|
+
/**
|
|
147
|
+
* Indicates whether the build cache feature is enabled.
|
|
148
|
+
* Typically it is enabled in the build-cache.json config file.
|
|
149
|
+
*/
|
|
150
|
+
readonly buildCacheEnabled: boolean;
|
|
151
|
+
/**
|
|
152
|
+
* Indicates whether or not writing to the cache is enabled.
|
|
153
|
+
*/
|
|
154
|
+
cacheWriteEnabled: boolean;
|
|
155
|
+
/**
|
|
156
|
+
* Method to calculate the cache entry id for a project, phase, and project state.
|
|
157
|
+
*/
|
|
158
|
+
readonly getCacheEntryId: GetCacheEntryIdFunction;
|
|
159
|
+
/**
|
|
160
|
+
* The provider for interacting with the local build cache.
|
|
161
|
+
*/
|
|
162
|
+
readonly localCacheProvider: FileSystemBuildCacheProvider;
|
|
163
|
+
/**
|
|
164
|
+
* The provider for interacting with the cloud build cache, if configured.
|
|
165
|
+
*/
|
|
166
|
+
readonly cloudCacheProvider: ICloudBuildCacheProvider | undefined;
|
|
167
|
+
private constructor();
|
|
168
|
+
/**
|
|
169
|
+
* Attempts to load the build-cache.json data from the standard file path `common/config/rush/build-cache.json`.
|
|
170
|
+
* If the file has not been created yet, then undefined is returned.
|
|
171
|
+
*/
|
|
172
|
+
static tryLoadAsync(terminal: ITerminal, rushConfiguration: RushConfiguration, rushSession: RushSession): Promise<BuildCacheConfiguration | undefined>;
|
|
173
|
+
/**
|
|
174
|
+
* Loads the build-cache.json data from the standard file path `common/config/rush/build-cache.json`.
|
|
175
|
+
* If the file has not been created yet, or if the feature is not enabled, then an error is reported.
|
|
176
|
+
*/
|
|
177
|
+
static loadAndRequireEnabledAsync(terminal: ITerminal, rushConfiguration: RushConfiguration, rushSession: RushSession): Promise<BuildCacheConfiguration>;
|
|
178
|
+
/**
|
|
179
|
+
* Gets the absolute path to the build-cache.json file in the specified rush workspace.
|
|
180
|
+
*/
|
|
181
|
+
static getBuildCacheConfigFilePath(rushConfiguration: RushConfiguration): string;
|
|
182
|
+
private static _loadAsync;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* Type of version bumps
|
|
187
|
+
* @public
|
|
188
|
+
*/
|
|
189
|
+
export declare enum BumpType {
|
|
190
|
+
'none' = 0,
|
|
191
|
+
'prerelease' = 1,
|
|
192
|
+
'patch' = 2,
|
|
193
|
+
'preminor' = 3,
|
|
194
|
+
'minor' = 4,
|
|
195
|
+
'major' = 5
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* A class that helps with programmatically interacting with Rush's change files.
|
|
200
|
+
* @public
|
|
201
|
+
*/
|
|
202
|
+
export declare class ChangeManager {
|
|
203
|
+
/**
|
|
204
|
+
* Creates a change file that has a 'none' type.
|
|
205
|
+
* @param rushConfiguration - The rush configuration we are working with
|
|
206
|
+
* @param projectName - The name of the project for which to create a change file
|
|
207
|
+
* @param emailAddress - The email address which should be associated with this change
|
|
208
|
+
* @returns the path to the file that was created, or undefined if no file was written
|
|
209
|
+
*/
|
|
210
|
+
static createEmptyChangeFiles(rushConfiguration: RushConfiguration, projectName: string, emailAddress: string): string | undefined;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* @beta
|
|
215
|
+
*/
|
|
216
|
+
export declare type CloudBuildCacheProviderFactory = (buildCacheJson: IBuildCacheJson) => ICloudBuildCacheProvider;
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* Use this class to load and save the "common/config/rush/common-versions.json" config file.
|
|
220
|
+
* This config file stores dependency version information that affects all projects in the repo.
|
|
221
|
+
* @public
|
|
222
|
+
*/
|
|
223
|
+
export declare class CommonVersionsConfiguration {
|
|
224
|
+
private static _jsonSchema;
|
|
225
|
+
private _filePath;
|
|
226
|
+
private _preferredVersions;
|
|
227
|
+
private _implicitlyPreferredVersions;
|
|
228
|
+
private _allowedAlternativeVersions;
|
|
229
|
+
private _modified;
|
|
230
|
+
private constructor();
|
|
231
|
+
/**
|
|
232
|
+
* Loads the common-versions.json data from the specified file path.
|
|
233
|
+
* If the file has not been created yet, then an empty object is returned.
|
|
234
|
+
*/
|
|
235
|
+
static loadFromFile(jsonFilename: string): CommonVersionsConfiguration;
|
|
236
|
+
private static _deserializeTable;
|
|
237
|
+
private static _serializeTable;
|
|
238
|
+
/**
|
|
239
|
+
* Get the absolute file path of the common-versions.json file.
|
|
240
|
+
*/
|
|
241
|
+
get filePath(): string;
|
|
242
|
+
/**
|
|
243
|
+
* Get a sha1 hash of the preferred versions.
|
|
244
|
+
*/
|
|
245
|
+
getPreferredVersionsHash(): string;
|
|
246
|
+
/**
|
|
247
|
+
* Writes the "common-versions.json" file to disk, using the filename that was passed to loadFromFile().
|
|
248
|
+
*/
|
|
249
|
+
save(): boolean;
|
|
250
|
+
/**
|
|
251
|
+
* A table that specifies a "preferred version" for a given NPM package. This feature is typically used
|
|
252
|
+
* to hold back an indirect dependency to a specific older version, or to reduce duplication of indirect dependencies.
|
|
253
|
+
*
|
|
254
|
+
* @remarks
|
|
255
|
+
* The "preferredVersions" value can be any SemVer range specifier (e.g. `~1.2.3`). Rush injects these values into
|
|
256
|
+
* the "dependencies" field of the top-level common/temp/package.json, which influences how the package manager
|
|
257
|
+
* will calculate versions. The specific effect depends on your package manager. Generally it will have no
|
|
258
|
+
* effect on an incompatible or already constrained SemVer range. If you are using PNPM, similar effects can be
|
|
259
|
+
* achieved using the pnpmfile.js hook. See the Rush documentation for more details.
|
|
260
|
+
*
|
|
261
|
+
* After modifying this field, it's recommended to run `rush update --full` so that the package manager
|
|
262
|
+
* will recalculate all version selections.
|
|
263
|
+
*/
|
|
264
|
+
get preferredVersions(): Map<string, string>;
|
|
265
|
+
/**
|
|
266
|
+
* When set to true, for all projects in the repo, all dependencies will be automatically added as preferredVersions,
|
|
267
|
+
* except in cases where different projects specify different version ranges for a given dependency. For older
|
|
268
|
+
* package managers, this tended to reduce duplication of indirect dependencies. However, it can sometimes cause
|
|
269
|
+
* trouble for indirect dependencies with incompatible peerDependencies ranges.
|
|
270
|
+
*
|
|
271
|
+
* If the value is `undefined`, then the default value is `true`.
|
|
272
|
+
*/
|
|
273
|
+
get implicitlyPreferredVersions(): boolean | undefined;
|
|
274
|
+
/**
|
|
275
|
+
* A table that stores, for a given dependency, a list of SemVer ranges that will be accepted
|
|
276
|
+
* by "rush check" in addition to the normal version range.
|
|
277
|
+
*
|
|
278
|
+
* @remarks
|
|
279
|
+
* The "rush check" command can be used to enforce that every project in the repo
|
|
280
|
+
* must specify the same SemVer range for a given dependency. However, sometimes
|
|
281
|
+
* exceptions are needed. The allowedAlternativeVersions table allows you to list
|
|
282
|
+
* other SemVer ranges that will be accepted by "rush check" for a given dependency.
|
|
283
|
+
* Note that the normal version range (as inferred by looking at all projects in the repo)
|
|
284
|
+
* should NOT be included in this list.
|
|
285
|
+
*/
|
|
286
|
+
get allowedAlternativeVersions(): Map<string, ReadonlyArray<string>>;
|
|
287
|
+
/**
|
|
288
|
+
* Returns preferredVersions.
|
|
289
|
+
*/
|
|
290
|
+
getAllPreferredVersions(): Map<string, string>;
|
|
291
|
+
private _onSetPreferredVersions;
|
|
292
|
+
private _onSetAllowedAlternativeVersions;
|
|
293
|
+
private _serialize;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* @beta
|
|
298
|
+
*/
|
|
299
|
+
export declare class CredentialCache {
|
|
300
|
+
private readonly _cacheFilePath;
|
|
301
|
+
private readonly _cacheEntries;
|
|
302
|
+
private _modified;
|
|
303
|
+
private _disposed;
|
|
304
|
+
private _supportsEditing;
|
|
305
|
+
private readonly _lockfile;
|
|
306
|
+
private constructor();
|
|
307
|
+
static initializeAsync(options: ICredentialCacheOptions): Promise<CredentialCache>;
|
|
308
|
+
static usingAsync(options: ICredentialCacheOptions, doActionAsync: (credentialCache: CredentialCache) => Promise<void> | void): Promise<void>;
|
|
309
|
+
setCacheEntry(cacheId: string, credential: string, expires?: Date): void;
|
|
310
|
+
tryGetCacheEntry(cacheId: string): ICredentialCacheEntry | undefined;
|
|
311
|
+
deleteCacheEntry(cacheId: string): void;
|
|
312
|
+
trimExpiredEntries(): void;
|
|
313
|
+
saveIfModifiedAsync(): Promise<void>;
|
|
314
|
+
dispose(): void;
|
|
315
|
+
private _validate;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* @public
|
|
320
|
+
*/
|
|
321
|
+
export declare enum DependencyType {
|
|
322
|
+
Regular = "dependencies",
|
|
323
|
+
Dev = "devDependencies",
|
|
324
|
+
Optional = "optionalDependencies",
|
|
325
|
+
Peer = "peerDependencies",
|
|
326
|
+
YarnResolutions = "resolutions"
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
/**
|
|
330
|
+
* Provides Rush-specific environment variable data. All Rush environment variables must start with "RUSH_". This class
|
|
331
|
+
* is designed to be used by RushConfiguration.
|
|
332
|
+
* @beta
|
|
333
|
+
*
|
|
334
|
+
* @remarks
|
|
335
|
+
* Initialize will throw if any unknown parameters are present.
|
|
336
|
+
*/
|
|
337
|
+
export declare class EnvironmentConfiguration {
|
|
338
|
+
private static _hasBeenValidated;
|
|
339
|
+
private static _rushTempFolderOverride;
|
|
340
|
+
private static _absoluteSymlinks;
|
|
341
|
+
private static _allowUnsupportedNodeVersion;
|
|
342
|
+
private static _allowWarningsInSuccessfulBuild;
|
|
343
|
+
private static _pnpmStorePathOverride;
|
|
344
|
+
private static _pnpmVerifyStoreIntegrity;
|
|
345
|
+
private static _rushGlobalFolderOverride;
|
|
346
|
+
private static _buildCacheCredential;
|
|
347
|
+
private static _buildCacheEnabled;
|
|
348
|
+
private static _buildCacheWriteAllowed;
|
|
349
|
+
private static _gitBinaryPath;
|
|
350
|
+
private static _tarBinaryPath;
|
|
351
|
+
/**
|
|
352
|
+
* An override for the common/temp folder path.
|
|
353
|
+
*/
|
|
354
|
+
static get rushTempFolderOverride(): string | undefined;
|
|
355
|
+
/**
|
|
356
|
+
* If "1", create symlinks with absolute paths instead of relative paths.
|
|
357
|
+
* See {@link EnvironmentVariableNames.RUSH_ABSOLUTE_SYMLINKS}
|
|
358
|
+
*/
|
|
359
|
+
static get absoluteSymlinks(): boolean;
|
|
360
|
+
/**
|
|
361
|
+
* If this environment variable is set to "1", the Node.js version check will print a warning
|
|
362
|
+
* instead of causing a hard error if the environment's Node.js version doesn't match the
|
|
363
|
+
* version specifier in `rush.json`'s "nodeSupportedVersionRange" property.
|
|
364
|
+
*
|
|
365
|
+
* See {@link EnvironmentVariableNames.RUSH_ALLOW_UNSUPPORTED_NODEJS}.
|
|
366
|
+
*/
|
|
367
|
+
static get allowUnsupportedNodeVersion(): boolean;
|
|
368
|
+
/**
|
|
369
|
+
* Setting this environment variable overrides the value of `allowWarningsInSuccessfulBuild`
|
|
370
|
+
* in the `command-line.json` configuration file. Specify `1` to allow warnings in a successful build,
|
|
371
|
+
* or `0` to disallow them. (See the comments in the command-line.json file for more information).
|
|
372
|
+
*/
|
|
373
|
+
static get allowWarningsInSuccessfulBuild(): boolean;
|
|
374
|
+
/**
|
|
375
|
+
* An override for the PNPM store path, if `pnpmStore` configuration is set to 'path'
|
|
376
|
+
* See {@link EnvironmentVariableNames.RUSH_PNPM_STORE_PATH}
|
|
377
|
+
*/
|
|
378
|
+
static get pnpmStorePathOverride(): string | undefined;
|
|
379
|
+
/**
|
|
380
|
+
* If specified, enables or disables integrity verification of the pnpm store during install.
|
|
381
|
+
* See {@link EnvironmentVariableNames.RUSH_PNPM_VERIFY_STORE_INTEGRITY}
|
|
382
|
+
*/
|
|
383
|
+
static get pnpmVerifyStoreIntegrity(): boolean | undefined;
|
|
384
|
+
/**
|
|
385
|
+
* Overrides the location of the `~/.rush` global folder where Rush stores temporary files.
|
|
386
|
+
* See {@link EnvironmentVariableNames.RUSH_GLOBAL_FOLDER}
|
|
387
|
+
*/
|
|
388
|
+
static get rushGlobalFolderOverride(): string | undefined;
|
|
389
|
+
/**
|
|
390
|
+
* Provides a credential for reading from and writing to a remote build cache, if configured.
|
|
391
|
+
* See {@link EnvironmentVariableNames.RUSH_BUILD_CACHE_CREDENTIAL}
|
|
392
|
+
*/
|
|
393
|
+
static get buildCacheCredential(): string | undefined;
|
|
394
|
+
/**
|
|
395
|
+
* If set, enables or disables the cloud build cache feature.
|
|
396
|
+
* See {@link EnvironmentVariableNames.RUSH_BUILD_CACHE_ENABLED}
|
|
397
|
+
*/
|
|
398
|
+
static get buildCacheEnabled(): boolean | undefined;
|
|
399
|
+
/**
|
|
400
|
+
* If set, enables or disables writing to the cloud build cache.
|
|
401
|
+
* See {@link EnvironmentVariableNames.RUSH_BUILD_CACHE_WRITE_ALLOWED}
|
|
402
|
+
*/
|
|
403
|
+
static get buildCacheWriteAllowed(): boolean | undefined;
|
|
404
|
+
/**
|
|
405
|
+
* Allows the git binary path to be explicitly provided.
|
|
406
|
+
* See {@link EnvironmentVariableNames.RUSH_GIT_BINARY_PATH}
|
|
407
|
+
*/
|
|
408
|
+
static get gitBinaryPath(): string | undefined;
|
|
409
|
+
/**
|
|
410
|
+
* Allows the tar binary path to be explicitly provided.
|
|
411
|
+
* See {@link EnvironmentVariableNames.RUSH_TAR_BINARY_PATH}
|
|
412
|
+
*/
|
|
413
|
+
static get tarBinaryPath(): string | undefined;
|
|
414
|
+
/**
|
|
415
|
+
* The front-end RushVersionSelector relies on `RUSH_GLOBAL_FOLDER`, so its value must be read before
|
|
416
|
+
* `EnvironmentConfiguration` is initialized (and actually before the correct version of `EnvironmentConfiguration`
|
|
417
|
+
* is even installed). Thus we need to read this environment variable differently from all the others.
|
|
418
|
+
* @internal
|
|
419
|
+
*/
|
|
420
|
+
static _getRushGlobalFolderOverride(processEnv: IEnvironment): string | undefined;
|
|
421
|
+
/**
|
|
422
|
+
* Reads and validates environment variables. If any are invalid, this function will throw.
|
|
423
|
+
*/
|
|
424
|
+
static validate(options?: IEnvironmentConfigurationInitializeOptions): void;
|
|
425
|
+
/**
|
|
426
|
+
* Resets EnvironmentConfiguration into an un-initialized state.
|
|
427
|
+
*/
|
|
428
|
+
static reset(): void;
|
|
429
|
+
private static _ensureValidated;
|
|
430
|
+
static parseBooleanEnvironmentVariable(name: string, value: string | undefined): boolean | undefined;
|
|
431
|
+
/**
|
|
432
|
+
* Given a path to a folder (that may or may not exist), normalize the path, including casing,
|
|
433
|
+
* to the first existing parent folder in the path.
|
|
434
|
+
*
|
|
435
|
+
* If no existing path can be found (for example, if the root is a volume that doesn't exist),
|
|
436
|
+
* this function returns undefined.
|
|
437
|
+
*
|
|
438
|
+
* @example
|
|
439
|
+
* If the following path exists on disk: `C:\Folder1\folder2\`
|
|
440
|
+
* _normalizeFirstExistingFolderPath('c:\\folder1\\folder2\\temp\\subfolder')
|
|
441
|
+
* returns 'C:\\Folder1\\folder2\\temp\\subfolder'
|
|
442
|
+
*/
|
|
443
|
+
private static _normalizeDeepestParentFolderPath;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
/**
|
|
447
|
+
* Names of environment variables used by Rush.
|
|
448
|
+
* @beta
|
|
449
|
+
*/
|
|
450
|
+
export declare enum EnvironmentVariableNames {
|
|
451
|
+
/**
|
|
452
|
+
* This variable overrides the temporary folder used by Rush.
|
|
453
|
+
* The default value is "common/temp" under the repository root.
|
|
454
|
+
*
|
|
455
|
+
* @remarks This environment variable is not compatible with workspace installs. If attempting
|
|
456
|
+
* to move the PNPM store path, see the `RUSH_PNPM_STORE_PATH` environment variable.
|
|
457
|
+
*/
|
|
458
|
+
RUSH_TEMP_FOLDER = "RUSH_TEMP_FOLDER",
|
|
459
|
+
/**
|
|
460
|
+
* This variable overrides the version of Rush that will be installed by
|
|
461
|
+
* the version selector. The default value is determined by the "rushVersion"
|
|
462
|
+
* field from rush.json.
|
|
463
|
+
*/
|
|
464
|
+
RUSH_PREVIEW_VERSION = "RUSH_PREVIEW_VERSION",
|
|
465
|
+
/**
|
|
466
|
+
* If this variable is set to "1", Rush will not fail the build when running a version
|
|
467
|
+
* of Node that does not match the criteria specified in the "nodeSupportedVersionRange"
|
|
468
|
+
* field from rush.json.
|
|
469
|
+
*/
|
|
470
|
+
RUSH_ALLOW_UNSUPPORTED_NODEJS = "RUSH_ALLOW_UNSUPPORTED_NODEJS",
|
|
471
|
+
/**
|
|
472
|
+
* Setting this environment variable overrides the value of `allowWarningsInSuccessfulBuild`
|
|
473
|
+
* in the `command-line.json` configuration file. Specify `1` to allow warnings in a successful build,
|
|
474
|
+
* or `0` to disallow them. (See the comments in the command-line.json file for more information).
|
|
475
|
+
*/
|
|
476
|
+
RUSH_ALLOW_WARNINGS_IN_SUCCESSFUL_BUILD = "RUSH_ALLOW_WARNINGS_IN_SUCCESSFUL_BUILD",
|
|
477
|
+
/**
|
|
478
|
+
* This variable selects a specific installation variant for Rush to use when installing
|
|
479
|
+
* and linking package dependencies.
|
|
480
|
+
* For more information, see the command-line help for the `--variant` parameter
|
|
481
|
+
* and this article: https://rushjs.io/pages/advanced/installation_variants/
|
|
482
|
+
*/
|
|
483
|
+
RUSH_VARIANT = "RUSH_VARIANT",
|
|
484
|
+
/**
|
|
485
|
+
* Specifies the maximum number of concurrent processes to launch during a build.
|
|
486
|
+
* For more information, see the command-line help for the `--parallelism` parameter for "rush build".
|
|
487
|
+
*/
|
|
488
|
+
RUSH_PARALLELISM = "RUSH_PARALLELISM",
|
|
489
|
+
/**
|
|
490
|
+
* If this variable is set to "1", Rush will create symlinks with absolute paths instead
|
|
491
|
+
* of relative paths. This can be necessary when a repository is moved during a build or
|
|
492
|
+
* if parts of a repository are moved into a sandbox.
|
|
493
|
+
*/
|
|
494
|
+
RUSH_ABSOLUTE_SYMLINKS = "RUSH_ABSOLUTE_SYMLINKS",
|
|
495
|
+
/**
|
|
496
|
+
* When using PNPM as the package manager, this variable can be used to configure the path that
|
|
497
|
+
* PNPM will use as the store directory.
|
|
498
|
+
*
|
|
499
|
+
* If a relative path is used, then the store path will be resolved relative to the process's
|
|
500
|
+
* current working directory. An absolute path is recommended.
|
|
501
|
+
*/
|
|
502
|
+
RUSH_PNPM_STORE_PATH = "RUSH_PNPM_STORE_PATH",
|
|
503
|
+
/**
|
|
504
|
+
* When using PNPM as the package manager, this variable can be used to control whether or not PNPM
|
|
505
|
+
* validates the integrity of the PNPM store during installation. The value of this environment variable must be
|
|
506
|
+
* `1` (for true) or `0` (for false). If not specified, defaults to the value in .npmrc.
|
|
507
|
+
*/
|
|
508
|
+
RUSH_PNPM_VERIFY_STORE_INTEGRITY = "RUSH_PNPM_VERIFY_STORE_INTEGRITY",
|
|
509
|
+
/**
|
|
510
|
+
* This environment variable can be used to specify the `--target-folder` parameter
|
|
511
|
+
* for the "rush deploy" command.
|
|
512
|
+
*/
|
|
513
|
+
RUSH_DEPLOY_TARGET_FOLDER = "RUSH_DEPLOY_TARGET_FOLDER",
|
|
514
|
+
/**
|
|
515
|
+
* Overrides the location of the `~/.rush` global folder where Rush stores temporary files.
|
|
516
|
+
*
|
|
517
|
+
* @remarks
|
|
518
|
+
*
|
|
519
|
+
* Most of the temporary files created by Rush are stored separately for each monorepo working folder,
|
|
520
|
+
* to avoid issues of concurrency and compatibility between tool versions. However, a small set
|
|
521
|
+
* of files (e.g. installations of the `@microsoft/rush-lib` engine and the package manager) are stored
|
|
522
|
+
* in a global folder to speed up installations. The default location is `~/.rush` on POSIX-like
|
|
523
|
+
* operating systems or `C:\Users\YourName` on Windows.
|
|
524
|
+
*
|
|
525
|
+
* Use `RUSH_GLOBAL_FOLDER` to specify a different folder path. This is useful for example if a Windows
|
|
526
|
+
* group policy forbids executing scripts installed in a user's home directory.
|
|
527
|
+
*
|
|
528
|
+
* POSIX is a registered trademark of the Institute of Electrical and Electronic Engineers, Inc.
|
|
529
|
+
*/
|
|
530
|
+
RUSH_GLOBAL_FOLDER = "RUSH_GLOBAL_FOLDER",
|
|
531
|
+
/**
|
|
532
|
+
* Provides a credential for a remote build cache, if configured. This credential overrides any cached credentials.
|
|
533
|
+
*
|
|
534
|
+
* @remarks
|
|
535
|
+
* Setting this environment variable overrides whatever credential has been saved in the
|
|
536
|
+
* local cloud cache credentials using `rush update-cloud-credentials`.
|
|
537
|
+
*
|
|
538
|
+
*
|
|
539
|
+
* If Azure Blob Storage is used to store cache entries, this must be a SAS token serialized as query
|
|
540
|
+
* parameters.
|
|
541
|
+
*
|
|
542
|
+
* For information on SAS tokens, see here: https://docs.microsoft.com/en-us/azure/storage/common/storage-sas-overview
|
|
543
|
+
*/
|
|
544
|
+
RUSH_BUILD_CACHE_CREDENTIAL = "RUSH_BUILD_CACHE_CREDENTIAL",
|
|
545
|
+
/**
|
|
546
|
+
* Setting this environment variable overrides the value of `buildCacheEnabled` in the `build-cache.json`
|
|
547
|
+
* configuration file.
|
|
548
|
+
*
|
|
549
|
+
* @remarks
|
|
550
|
+
* Specify `1` to enable the build cache or `0` to disable it.
|
|
551
|
+
*
|
|
552
|
+
* If set to `0`, this is equivalent to passing the `--disable-build-cache` flag.
|
|
553
|
+
*
|
|
554
|
+
* If there is no build cache configured, then this environment variable is ignored.
|
|
555
|
+
*/
|
|
556
|
+
RUSH_BUILD_CACHE_ENABLED = "RUSH_BUILD_CACHE_ENABLED",
|
|
557
|
+
/**
|
|
558
|
+
* Overrides the value of `isCacheWriteAllowed` in the `build-cache.json` configuration file. The value of this
|
|
559
|
+
* environment variable must be `1` (for true) or `0` (for false). If there is no build cache configured, then
|
|
560
|
+
* this environment variable is ignored.
|
|
561
|
+
*/
|
|
562
|
+
RUSH_BUILD_CACHE_WRITE_ALLOWED = "RUSH_BUILD_CACHE_WRITE_ALLOWED",
|
|
563
|
+
/**
|
|
564
|
+
* Explicitly specifies the path for the Git binary that is invoked by certain Rush operations.
|
|
565
|
+
*/
|
|
566
|
+
RUSH_GIT_BINARY_PATH = "RUSH_GIT_BINARY_PATH",
|
|
567
|
+
/**
|
|
568
|
+
* Explicitly specifies the path for the `tar` binary that is invoked by certain Rush operations.
|
|
569
|
+
*/
|
|
570
|
+
RUSH_TAR_BINARY_PATH = "RUSH_TAR_BINARY_PATH",
|
|
571
|
+
/**
|
|
572
|
+
* When Rush executes shell scripts, it sometimes changes the working directory to be a project folder or
|
|
573
|
+
* the repository root folder. The original working directory (where the Rush command was invoked) is assigned
|
|
574
|
+
* to the the child process's `RUSH_INVOKED_FOLDER` environment variable, in case it is needed by the script.
|
|
575
|
+
*
|
|
576
|
+
* @remarks
|
|
577
|
+
* The `RUSH_INVOKED_FOLDER` variable is the same idea as the `INIT_CWD` variable that package managers
|
|
578
|
+
* assign when they execute lifecycle scripts.
|
|
579
|
+
*/
|
|
580
|
+
RUSH_INVOKED_FOLDER = "RUSH_INVOKED_FOLDER"
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
/**
|
|
584
|
+
* Events happen during Rush runs.
|
|
585
|
+
* @beta
|
|
586
|
+
*/
|
|
587
|
+
export declare enum Event {
|
|
588
|
+
/**
|
|
589
|
+
* Pre Rush install event
|
|
590
|
+
*/
|
|
591
|
+
preRushInstall = 1,
|
|
592
|
+
/**
|
|
593
|
+
* Post Rush install event
|
|
594
|
+
*/
|
|
595
|
+
postRushInstall = 2,
|
|
596
|
+
/**
|
|
597
|
+
* Pre Rush build event
|
|
598
|
+
*/
|
|
599
|
+
preRushBuild = 3,
|
|
600
|
+
/**
|
|
601
|
+
* Post Rush build event
|
|
602
|
+
*/
|
|
603
|
+
postRushBuild = 4
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
/**
|
|
607
|
+
* This class represents Rush event hooks configured for this repo.
|
|
608
|
+
* Hooks are customized script actions that Rush executes when specific events occur.
|
|
609
|
+
* The actions are expressed as a command-line that is executed using the operating system shell.
|
|
610
|
+
* @beta
|
|
611
|
+
*/
|
|
612
|
+
export declare class EventHooks {
|
|
613
|
+
private _hooks;
|
|
614
|
+
/**
|
|
615
|
+
* @internal
|
|
616
|
+
*/
|
|
617
|
+
constructor(eventHooksJson: IEventHooksJson);
|
|
618
|
+
/**
|
|
619
|
+
* Return all the scripts associated with the specified event.
|
|
620
|
+
* @param event - Rush event
|
|
621
|
+
*/
|
|
622
|
+
get(event: Event): string[];
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
/**
|
|
626
|
+
* Use this class to load the "common/config/rush/experiments.json" config file.
|
|
627
|
+
* This file allows repo maintainers to enable and disable experimental Rush features.
|
|
628
|
+
* @public
|
|
629
|
+
*/
|
|
630
|
+
export declare class ExperimentsConfiguration {
|
|
631
|
+
private static _jsonSchema;
|
|
632
|
+
private _experimentConfiguration;
|
|
633
|
+
private _jsonFileName;
|
|
634
|
+
/**
|
|
635
|
+
* @internal
|
|
636
|
+
*/
|
|
637
|
+
constructor(jsonFileName: string);
|
|
638
|
+
/**
|
|
639
|
+
* Get the experiments configuration.
|
|
640
|
+
* @beta
|
|
641
|
+
*/
|
|
642
|
+
get configuration(): Readonly<IExperimentsJson>;
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
/**
|
|
646
|
+
* A build cache provider using the local file system.
|
|
647
|
+
* Required by all cloud cache providers.
|
|
648
|
+
* @beta
|
|
649
|
+
*/
|
|
650
|
+
export declare class FileSystemBuildCacheProvider {
|
|
651
|
+
private readonly _cacheFolderPath;
|
|
652
|
+
constructor(options: IFileSystemBuildCacheProviderOptions);
|
|
653
|
+
/**
|
|
654
|
+
* Returns the absolute disk path for the specified cache id.
|
|
655
|
+
*/
|
|
656
|
+
getCacheEntryPath(cacheId: string): string;
|
|
657
|
+
/**
|
|
658
|
+
* Validates that the specified cache id exists on disk, and returns the path if it does.
|
|
659
|
+
*/
|
|
660
|
+
tryGetCacheEntryPathByIdAsync(terminal: ITerminal, cacheId: string): Promise<string | undefined>;
|
|
661
|
+
/**
|
|
662
|
+
* Writes the specified buffer to the corresponding file system path for the cache id.
|
|
663
|
+
*/
|
|
664
|
+
trySetCacheEntryBufferAsync(terminal: ITerminal, cacheId: string, entryBuffer: Buffer): Promise<string>;
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
/**
|
|
668
|
+
* Calculates the cache entry id string for an operation.
|
|
669
|
+
* @beta
|
|
670
|
+
*/
|
|
671
|
+
export declare type GetCacheEntryIdFunction = (options: IGenerateCacheEntryIdOptions) => string;
|
|
672
|
+
|
|
673
|
+
/**
|
|
674
|
+
* Part of IRushConfigurationJson.
|
|
675
|
+
*/
|
|
676
|
+
declare interface IApprovedPackagesPolicyJson {
|
|
677
|
+
reviewCategories?: string[];
|
|
678
|
+
ignoredNpmScopes?: string[];
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
/**
|
|
682
|
+
* Describes the file structure for the "common/config/rush/build-cache.json" config file.
|
|
683
|
+
*/
|
|
684
|
+
declare interface IBaseBuildCacheJson {
|
|
685
|
+
buildCacheEnabled: boolean;
|
|
686
|
+
cacheProvider: string;
|
|
687
|
+
cacheEntryNamePattern?: string;
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
/**
|
|
691
|
+
* @beta
|
|
692
|
+
*/
|
|
693
|
+
declare type IBuildCacheJson = ICloudBuildCacheJson | ILocalBuildCacheJson;
|
|
694
|
+
|
|
695
|
+
/**
|
|
696
|
+
* @internal
|
|
697
|
+
*/
|
|
698
|
+
export declare interface _IBuiltInPluginConfiguration extends _IRushPluginConfigurationBase {
|
|
699
|
+
pluginPackageFolder: string;
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
/**
|
|
703
|
+
* @beta
|
|
704
|
+
*/
|
|
705
|
+
declare interface ICloudBuildCacheJson extends IBaseBuildCacheJson {
|
|
706
|
+
readonly cacheProvider: string;
|
|
707
|
+
[otherConfigKey: string]: JsonObject;
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
/**
|
|
711
|
+
* @beta
|
|
712
|
+
*/
|
|
713
|
+
export declare interface ICloudBuildCacheProvider {
|
|
714
|
+
readonly isCacheWriteAllowed: boolean;
|
|
715
|
+
tryGetCacheEntryBufferByIdAsync(terminal: ITerminal, cacheId: string): Promise<Buffer | undefined>;
|
|
716
|
+
trySetCacheEntryBufferAsync(terminal: ITerminal, cacheId: string, entryBuffer: Buffer): Promise<boolean>;
|
|
717
|
+
updateCachedCredentialAsync(terminal: ITerminal, credential: string): Promise<void>;
|
|
718
|
+
updateCachedCredentialInteractiveAsync(terminal: ITerminal): Promise<void>;
|
|
719
|
+
deleteCachedCredentialsAsync(terminal: ITerminal): Promise<void>;
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
/**
|
|
723
|
+
* A collection of environment variables
|
|
724
|
+
* @public
|
|
725
|
+
*/
|
|
726
|
+
export declare interface IConfigurationEnvironment {
|
|
727
|
+
/**
|
|
728
|
+
* Environment variables
|
|
729
|
+
*/
|
|
730
|
+
[environmentVariableName: string]: IConfigurationEnvironmentVariable;
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
/**
|
|
734
|
+
* Represents the value of an environment variable, and if the value should be overridden if the variable is set
|
|
735
|
+
* in the parent environment.
|
|
736
|
+
* @public
|
|
737
|
+
*/
|
|
738
|
+
export declare interface IConfigurationEnvironmentVariable {
|
|
739
|
+
/**
|
|
740
|
+
* Value of the environment variable
|
|
741
|
+
*/
|
|
742
|
+
value: string;
|
|
743
|
+
/**
|
|
744
|
+
* Set to true to override the environment variable even if it is set in the parent environment.
|
|
745
|
+
* The default value is false.
|
|
746
|
+
*/
|
|
747
|
+
override?: boolean;
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
/**
|
|
751
|
+
* Context used for creating operations to be executed.
|
|
752
|
+
* @alpha
|
|
753
|
+
*/
|
|
754
|
+
export declare interface ICreateOperationsContext {
|
|
755
|
+
/**
|
|
756
|
+
* The configuration for the build cache, if the feature is enabled.
|
|
757
|
+
*/
|
|
758
|
+
readonly buildCacheConfiguration: BuildCacheConfiguration | undefined;
|
|
759
|
+
/**
|
|
760
|
+
* The set of custom parameters for the executing command.
|
|
761
|
+
* Maps from the `longName` field in command-line.json to the parser configuration in ts-command-line.
|
|
762
|
+
*/
|
|
763
|
+
readonly customParameters: ReadonlyMap<string, CommandLineParameter>;
|
|
764
|
+
/**
|
|
765
|
+
* If true, projects may read their output from cache or be skipped if already up to date.
|
|
766
|
+
* If false, neither of the above may occur, e.g. "rush rebuild"
|
|
767
|
+
*/
|
|
768
|
+
readonly isIncrementalBuildAllowed: boolean;
|
|
769
|
+
/**
|
|
770
|
+
* If true, this is the initial run of the command.
|
|
771
|
+
* If false, this execution is in response to changes.
|
|
772
|
+
*/
|
|
773
|
+
readonly isInitial: boolean;
|
|
774
|
+
/**
|
|
775
|
+
* If true, the command is running in watch mode.
|
|
776
|
+
*/
|
|
777
|
+
readonly isWatch: boolean;
|
|
778
|
+
/**
|
|
779
|
+
* The set of phases selected for the current command execution.
|
|
780
|
+
*/
|
|
781
|
+
readonly phaseSelection: ReadonlySet<IPhase>;
|
|
782
|
+
/**
|
|
783
|
+
* The current state of the repository
|
|
784
|
+
*/
|
|
785
|
+
readonly projectChangeAnalyzer: ProjectChangeAnalyzer;
|
|
786
|
+
/**
|
|
787
|
+
* The set of Rush projects selected for the current command execution.
|
|
788
|
+
*/
|
|
789
|
+
readonly projectSelection: ReadonlySet<RushConfigurationProject>;
|
|
790
|
+
/**
|
|
791
|
+
* The set of Rush projects that have not been built in the current process since they were last modified.
|
|
792
|
+
* When `isInitial` is true, this will be an exact match of `projectSelection`.
|
|
793
|
+
*/
|
|
794
|
+
readonly projectsInUnknownState: ReadonlySet<RushConfigurationProject>;
|
|
795
|
+
/**
|
|
796
|
+
* The Rush configuration
|
|
797
|
+
*/
|
|
798
|
+
readonly rushConfiguration: RushConfiguration;
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
/**
|
|
802
|
+
* @beta
|
|
803
|
+
*/
|
|
804
|
+
export declare interface ICredentialCacheEntry {
|
|
805
|
+
expires?: Date;
|
|
806
|
+
credential: string;
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
/**
|
|
810
|
+
* @beta
|
|
811
|
+
*/
|
|
812
|
+
export declare interface ICredentialCacheOptions {
|
|
813
|
+
supportEditing: boolean;
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
declare interface IEnvironment {
|
|
817
|
+
[environmentVariableName: string]: string | undefined;
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
/**
|
|
821
|
+
* @beta
|
|
822
|
+
*/
|
|
823
|
+
export declare interface IEnvironmentConfigurationInitializeOptions {
|
|
824
|
+
doNotNormalizePaths?: boolean;
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
/**
|
|
828
|
+
* Part of IRushConfigurationJson.
|
|
829
|
+
* @beta
|
|
830
|
+
*/
|
|
831
|
+
declare interface IEventHooksJson {
|
|
832
|
+
/**
|
|
833
|
+
* The list of scripts to run after every Rush build command finishes
|
|
834
|
+
*/
|
|
835
|
+
postRushBuild?: string[];
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
/**
|
|
839
|
+
* The `IExecutionResult` interface represents the results of executing a set of {@link Operation}s.
|
|
840
|
+
* @alpha
|
|
841
|
+
*/
|
|
842
|
+
export declare interface IExecutionResult {
|
|
843
|
+
/**
|
|
844
|
+
* The results for each scheduled operation.
|
|
845
|
+
*/
|
|
846
|
+
readonly operationResults: ReadonlyMap<Operation, IOperationExecutionResult>;
|
|
847
|
+
/**
|
|
848
|
+
* The overall result.
|
|
849
|
+
*/
|
|
850
|
+
readonly status: OperationStatus;
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
/**
|
|
854
|
+
* This interface represents the raw experiments.json file which allows repo
|
|
855
|
+
* maintainers to enable and disable experimental Rush features.
|
|
856
|
+
* @beta
|
|
857
|
+
*/
|
|
858
|
+
export declare interface IExperimentsJson {
|
|
859
|
+
/**
|
|
860
|
+
* By default, 'rush install' passes --no-prefer-frozen-lockfile to 'pnpm install'.
|
|
861
|
+
* Set this option to true to pass '--frozen-lockfile' instead.
|
|
862
|
+
*/
|
|
863
|
+
usePnpmFrozenLockfileForRushInstall?: boolean;
|
|
864
|
+
/**
|
|
865
|
+
* By default, 'rush update' passes --no-prefer-frozen-lockfile to 'pnpm install'.
|
|
866
|
+
* Set this option to true to pass '--prefer-frozen-lockfile' instead.
|
|
867
|
+
*/
|
|
868
|
+
usePnpmPreferFrozenLockfileForRushUpdate?: boolean;
|
|
869
|
+
/**
|
|
870
|
+
* If using the 'preventManualShrinkwrapChanges' option, restricts the hash to only include the layout of external dependencies.
|
|
871
|
+
* Used to allow links between workspace projects or the addition/removal of references to existing dependency versions to not
|
|
872
|
+
* cause hash changes.
|
|
873
|
+
*/
|
|
874
|
+
omitImportersFromPreventManualShrinkwrapChanges?: boolean;
|
|
875
|
+
/**
|
|
876
|
+
* If true, the chmod field in temporary project tar headers will not be normalized.
|
|
877
|
+
* This normalization can help ensure consistent tarball integrity across platforms.
|
|
878
|
+
*/
|
|
879
|
+
noChmodFieldInTarHeaderNormalization?: boolean;
|
|
880
|
+
/**
|
|
881
|
+
* If true, build caching will respect the allowWarningsInSuccessfulBuild flag and cache builds with warnings.
|
|
882
|
+
* This will not replay warnings from the cached build.
|
|
883
|
+
*/
|
|
884
|
+
buildCacheWithAllowWarningsInSuccessfulBuild?: boolean;
|
|
885
|
+
/**
|
|
886
|
+
* If true, the phased commands feature is enabled. To use this feature, create a "phased" command
|
|
887
|
+
* in common/config/rush/command-line.json.
|
|
888
|
+
*/
|
|
889
|
+
phasedCommands?: boolean;
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
/**
|
|
893
|
+
* Options for creating a file system build cache provider.
|
|
894
|
+
* @beta
|
|
895
|
+
*/
|
|
896
|
+
export declare interface IFileSystemBuildCacheProviderOptions {
|
|
897
|
+
/**
|
|
898
|
+
* The workspace Rush configuration
|
|
899
|
+
*/
|
|
900
|
+
rushConfiguration: RushConfiguration;
|
|
901
|
+
/**
|
|
902
|
+
* The user Rush configuration
|
|
903
|
+
*/
|
|
904
|
+
rushUserConfiguration: RushUserConfiguration;
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
/**
|
|
908
|
+
* Options for generating the cache id for an operation.
|
|
909
|
+
* @beta
|
|
910
|
+
*/
|
|
911
|
+
export declare interface IGenerateCacheEntryIdOptions {
|
|
912
|
+
/**
|
|
913
|
+
* The name of the project
|
|
914
|
+
*/
|
|
915
|
+
projectName: string;
|
|
916
|
+
/**
|
|
917
|
+
* The name of the phase
|
|
918
|
+
*/
|
|
919
|
+
phaseName: string;
|
|
920
|
+
/**
|
|
921
|
+
* A hash of the input files
|
|
922
|
+
*/
|
|
923
|
+
projectStateHash: string;
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
/**
|
|
927
|
+
* @beta
|
|
928
|
+
*/
|
|
929
|
+
export declare interface IGetChangedProjectsOptions {
|
|
930
|
+
targetBranchName: string;
|
|
931
|
+
terminal: ITerminal;
|
|
932
|
+
shouldFetch?: boolean;
|
|
933
|
+
/**
|
|
934
|
+
* If set to `true`, consider a project's external dependency installation layout as defined in the
|
|
935
|
+
* package manager lockfile when determining if it has changed.
|
|
936
|
+
*/
|
|
937
|
+
includeExternalDependencies: boolean;
|
|
938
|
+
/**
|
|
939
|
+
* If set to `true` apply the `incrementalBuildIgnoredGlobs` property in a project's `rush-project.json`
|
|
940
|
+
* and exclude matched files from change detection.
|
|
941
|
+
*/
|
|
942
|
+
enableFiltering: boolean;
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
/**
|
|
946
|
+
* Information about the currently executing global script command (as defined in command-line.json) provided to plugins.
|
|
947
|
+
* @beta
|
|
948
|
+
*/
|
|
949
|
+
export declare interface IGlobalCommand extends IRushCommand {
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
declare interface IIndividualVersionJson extends IVersionPolicyJson {
|
|
953
|
+
lockedMajor?: number;
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
/**
|
|
957
|
+
* Options to pass to the rush "launch" functions.
|
|
958
|
+
*
|
|
959
|
+
* @public
|
|
960
|
+
*/
|
|
961
|
+
export declare interface ILaunchOptions {
|
|
962
|
+
/**
|
|
963
|
+
* True if the tool was invoked from within a project with a rush.json file, otherwise false. We
|
|
964
|
+
* consider a project without a rush.json to be "unmanaged" and we'll print that to the command line when
|
|
965
|
+
* the tool is executed. This is mainly used for debugging purposes.
|
|
966
|
+
*/
|
|
967
|
+
isManaged: boolean;
|
|
968
|
+
/**
|
|
969
|
+
* If true, the wrapper process already printed a warning that the version of Node.js hasn't been tested
|
|
970
|
+
* with this version of Rush, so we shouldn't print a similar error.
|
|
971
|
+
*/
|
|
972
|
+
alreadyReportedNodeTooNewError?: boolean;
|
|
973
|
+
/**
|
|
974
|
+
* Used to specify Rush plugins that are dependencies of the "\@microsoft/rush" package.
|
|
975
|
+
*
|
|
976
|
+
* @internal
|
|
977
|
+
*/
|
|
978
|
+
builtInPluginConfigurations?: _IBuiltInPluginConfiguration[];
|
|
979
|
+
/**
|
|
980
|
+
* Used to specify terminal how to write a message
|
|
981
|
+
*/
|
|
982
|
+
terminalProvider?: ITerminalProvider;
|
|
983
|
+
}
|
|
984
|
+
|
|
985
|
+
/**
|
|
986
|
+
* @public
|
|
987
|
+
*/
|
|
988
|
+
declare interface ILocalBuildCacheJson extends IBaseBuildCacheJson {
|
|
989
|
+
readonly cacheProvider: 'local-only';
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
declare interface ILockStepVersionJson extends IVersionPolicyJson {
|
|
993
|
+
version: string;
|
|
994
|
+
nextBump?: string;
|
|
995
|
+
mainProject?: string;
|
|
996
|
+
}
|
|
997
|
+
|
|
998
|
+
/**
|
|
999
|
+
* @beta
|
|
1000
|
+
*/
|
|
1001
|
+
export declare interface ILogger {
|
|
1002
|
+
readonly terminal: Terminal;
|
|
1003
|
+
/**
|
|
1004
|
+
* Call this function to emit an error to the Rush runtime.
|
|
1005
|
+
*/
|
|
1006
|
+
emitError(error: Error): void;
|
|
1007
|
+
/**
|
|
1008
|
+
* Call this function to emit a warning to the Rush runtime.
|
|
1009
|
+
*/
|
|
1010
|
+
emitWarning(warning: Error): void;
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
/**
|
|
1014
|
+
* This policy indicates all related projects get version bump driven by their own changes.
|
|
1015
|
+
* @public
|
|
1016
|
+
*/
|
|
1017
|
+
export declare class IndividualVersionPolicy extends VersionPolicy {
|
|
1018
|
+
private _lockedMajor;
|
|
1019
|
+
/**
|
|
1020
|
+
* @internal
|
|
1021
|
+
*/
|
|
1022
|
+
constructor(versionPolicyJson: IIndividualVersionJson);
|
|
1023
|
+
/**
|
|
1024
|
+
* The major version that has been locked
|
|
1025
|
+
*/
|
|
1026
|
+
get lockedMajor(): number | undefined;
|
|
1027
|
+
/**
|
|
1028
|
+
* Serialized json for this policy
|
|
1029
|
+
*
|
|
1030
|
+
* @internal
|
|
1031
|
+
*/
|
|
1032
|
+
get _json(): IIndividualVersionJson;
|
|
1033
|
+
/**
|
|
1034
|
+
* Returns an updated package json that satisfies the version policy.
|
|
1035
|
+
*
|
|
1036
|
+
* @param project - input package json
|
|
1037
|
+
* @param force - force update even when the project version is higher than the policy version.
|
|
1038
|
+
*/
|
|
1039
|
+
ensure(project: IPackageJson, force?: boolean): IPackageJson | undefined;
|
|
1040
|
+
/**
|
|
1041
|
+
* Bumps version.
|
|
1042
|
+
* Individual version policy lets change files drive version bump. This method currently does not do anything.
|
|
1043
|
+
*
|
|
1044
|
+
* @param bumpType - bump type
|
|
1045
|
+
* @param identifier - prerelease id
|
|
1046
|
+
*/
|
|
1047
|
+
bump(bumpType?: BumpType, identifier?: string): void;
|
|
1048
|
+
/**
|
|
1049
|
+
* Validates the specified version and throws if the version does not satisfy the policy.
|
|
1050
|
+
*
|
|
1051
|
+
* @param versionString - version string
|
|
1052
|
+
* @param packageName - package name
|
|
1053
|
+
*/
|
|
1054
|
+
validate(versionString: string, packageName: string): void;
|
|
1055
|
+
}
|
|
1056
|
+
|
|
1057
|
+
/**
|
|
1058
|
+
* Part of IRushConfigurationJson.
|
|
1059
|
+
* @internal
|
|
1060
|
+
*/
|
|
1061
|
+
export declare interface _INpmOptionsJson extends IPackageManagerOptionsJsonBase {
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
/**
|
|
1065
|
+
* The `IOperationExecutionResult` interface represents the results of executing an {@link Operation}.
|
|
1066
|
+
* @alpha
|
|
1067
|
+
*/
|
|
1068
|
+
export declare interface IOperationExecutionResult {
|
|
1069
|
+
/**
|
|
1070
|
+
* The current execution status of an operation. Operations start in the 'ready' state,
|
|
1071
|
+
* but can be 'blocked' if an upstream operation failed. It is 'executing' when
|
|
1072
|
+
* the operation is executing. Once execution is complete, it is either 'success' or
|
|
1073
|
+
* 'failure'.
|
|
1074
|
+
*/
|
|
1075
|
+
readonly status: OperationStatus;
|
|
1076
|
+
/**
|
|
1077
|
+
* The error which occurred while executing this operation, this is stored in case we need
|
|
1078
|
+
* it later (for example to re-print errors at end of execution).
|
|
1079
|
+
*/
|
|
1080
|
+
readonly error: Error | undefined;
|
|
1081
|
+
/**
|
|
1082
|
+
* Object tracking execution timing.
|
|
1083
|
+
*/
|
|
1084
|
+
readonly stopwatch: IStopwatchResult;
|
|
1085
|
+
/**
|
|
1086
|
+
* Object used to report a summary at the end of the Rush invocation.
|
|
1087
|
+
*/
|
|
1088
|
+
readonly stdioSummarizer: StdioSummarizer;
|
|
1089
|
+
/**
|
|
1090
|
+
* The value indicates the duration of the same operation without cache hit.
|
|
1091
|
+
*/
|
|
1092
|
+
readonly nonCachedDurationMs: number | undefined;
|
|
1093
|
+
}
|
|
1094
|
+
|
|
1095
|
+
/**
|
|
1096
|
+
* Options for constructing a new Operation.
|
|
1097
|
+
* @alpha
|
|
1098
|
+
*/
|
|
1099
|
+
export declare interface IOperationOptions {
|
|
1100
|
+
/**
|
|
1101
|
+
* The Rush phase associated with this Operation, if any
|
|
1102
|
+
*/
|
|
1103
|
+
phase?: IPhase | undefined;
|
|
1104
|
+
/**
|
|
1105
|
+
* The Rush project associated with this Operation, if any
|
|
1106
|
+
*/
|
|
1107
|
+
project?: RushConfigurationProject | undefined;
|
|
1108
|
+
/**
|
|
1109
|
+
* When the scheduler is ready to process this `Operation`, the `runner` implements the actual work of
|
|
1110
|
+
* running the operation.
|
|
1111
|
+
*/
|
|
1112
|
+
runner?: IOperationRunner | undefined;
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
/**
|
|
1116
|
+
* The `Operation` class is a node in the dependency graph of work that needs to be scheduled by the
|
|
1117
|
+
* `OperationExecutionManager`. Each `Operation` has a `runner` member of type `IOperationRunner`, whose
|
|
1118
|
+
* implementation manages the actual process for running a single operation.
|
|
1119
|
+
*
|
|
1120
|
+
* @beta
|
|
1121
|
+
*/
|
|
1122
|
+
export declare interface IOperationRunner {
|
|
1123
|
+
/**
|
|
1124
|
+
* Name of the operation, for logging.
|
|
1125
|
+
*/
|
|
1126
|
+
readonly name: string;
|
|
1127
|
+
/**
|
|
1128
|
+
* This flag determines if the operation is allowed to be skipped if up to date.
|
|
1129
|
+
*/
|
|
1130
|
+
isSkipAllowed: boolean;
|
|
1131
|
+
/**
|
|
1132
|
+
* Indicates that this runner's duration has meaning.
|
|
1133
|
+
*/
|
|
1134
|
+
reportTiming: boolean;
|
|
1135
|
+
/**
|
|
1136
|
+
* Indicates that this runner is architectural and should not be reported on.
|
|
1137
|
+
*/
|
|
1138
|
+
silent: boolean;
|
|
1139
|
+
/**
|
|
1140
|
+
* If set to true, a warning result should not make Rush exit with a nonzero
|
|
1141
|
+
* exit code
|
|
1142
|
+
*/
|
|
1143
|
+
warningsAreAllowed: boolean;
|
|
1144
|
+
/**
|
|
1145
|
+
* Indicates if the output of this operation may be written to the cache
|
|
1146
|
+
*/
|
|
1147
|
+
isCacheWriteAllowed: boolean;
|
|
1148
|
+
/**
|
|
1149
|
+
* Method to be executed for the operation.
|
|
1150
|
+
*/
|
|
1151
|
+
executeAsync(context: IOperationRunnerContext): Promise<OperationStatus>;
|
|
1152
|
+
}
|
|
1153
|
+
|
|
1154
|
+
/**
|
|
1155
|
+
* Information passed to the executing `IOperationRunner`
|
|
1156
|
+
*
|
|
1157
|
+
* @beta
|
|
1158
|
+
*/
|
|
1159
|
+
export declare interface IOperationRunnerContext {
|
|
1160
|
+
/**
|
|
1161
|
+
* The writer into which this `IOperationRunner` should write its logs.
|
|
1162
|
+
*/
|
|
1163
|
+
collatedWriter: CollatedWriter;
|
|
1164
|
+
/**
|
|
1165
|
+
* If Rush was invoked with `--debug`
|
|
1166
|
+
*/
|
|
1167
|
+
debugMode: boolean;
|
|
1168
|
+
/**
|
|
1169
|
+
* Defaults to `true`. Will be `false` if Rush was invoked with `--verbose`.
|
|
1170
|
+
*/
|
|
1171
|
+
quietMode: boolean;
|
|
1172
|
+
/**
|
|
1173
|
+
* Object used to report a summary at the end of the Rush invocation.
|
|
1174
|
+
*/
|
|
1175
|
+
stdioSummarizer: StdioSummarizer;
|
|
1176
|
+
/**
|
|
1177
|
+
* Object used to record state of the operation.
|
|
1178
|
+
*
|
|
1179
|
+
* @internal
|
|
1180
|
+
*/
|
|
1181
|
+
_operationStateFile?: _OperationStateFile;
|
|
1182
|
+
/**
|
|
1183
|
+
* Object used to track elapsed time.
|
|
1184
|
+
*/
|
|
1185
|
+
stopwatch: IStopwatchResult;
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1188
|
+
/**
|
|
1189
|
+
* @internal
|
|
1190
|
+
*/
|
|
1191
|
+
export declare interface _IOperationStateFileOptions {
|
|
1192
|
+
rushProject: RushConfigurationProject;
|
|
1193
|
+
phase: IPhase;
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1196
|
+
/**
|
|
1197
|
+
* @internal
|
|
1198
|
+
*/
|
|
1199
|
+
export declare interface _IOperationStateJson {
|
|
1200
|
+
nonCachedDurationMs: number;
|
|
1201
|
+
}
|
|
1202
|
+
|
|
1203
|
+
/**
|
|
1204
|
+
* Options for the package manager.
|
|
1205
|
+
* @public
|
|
1206
|
+
*/
|
|
1207
|
+
export declare interface IPackageManagerOptionsJsonBase {
|
|
1208
|
+
/**
|
|
1209
|
+
* Environment variables for the package manager
|
|
1210
|
+
*/
|
|
1211
|
+
environmentVariables?: IConfigurationEnvironment;
|
|
1212
|
+
}
|
|
1213
|
+
|
|
1214
|
+
/**
|
|
1215
|
+
* Metadata about a phase.
|
|
1216
|
+
* @alpha
|
|
1217
|
+
*/
|
|
1218
|
+
export declare interface IPhase {
|
|
1219
|
+
/**
|
|
1220
|
+
* The name of this phase.
|
|
1221
|
+
*/
|
|
1222
|
+
name: string;
|
|
1223
|
+
/**
|
|
1224
|
+
* If set to "true," this this phase was generated from a bulk command, and
|
|
1225
|
+
* was not explicitly defined in the command-line.json file.
|
|
1226
|
+
*/
|
|
1227
|
+
isSynthetic: boolean;
|
|
1228
|
+
/**
|
|
1229
|
+
* This property is used in the name of the filename for the logs generated by this
|
|
1230
|
+
* phase. This is a filesystem-safe version of the phase name. For example,
|
|
1231
|
+
* a phase with name "_phase:compile" has a `logFilenameIdentifier` of "_phase_compile".
|
|
1232
|
+
*/
|
|
1233
|
+
logFilenameIdentifier: string;
|
|
1234
|
+
/**
|
|
1235
|
+
* The set of custom command line parameters that are relevant to this phase.
|
|
1236
|
+
*/
|
|
1237
|
+
associatedParameters: Set<CommandLineParameter>;
|
|
1238
|
+
/**
|
|
1239
|
+
* The resolved dependencies of the phase
|
|
1240
|
+
*/
|
|
1241
|
+
dependencies: {
|
|
1242
|
+
self: Set<IPhase>;
|
|
1243
|
+
upstream: Set<IPhase>;
|
|
1244
|
+
};
|
|
1245
|
+
/**
|
|
1246
|
+
* Normally Rush requires that each project's package.json has a \"scripts\" entry matching the phase name. To disable this check, set \"ignoreMissingScript\" to true.
|
|
1247
|
+
*/
|
|
1248
|
+
ignoreMissingScript: boolean;
|
|
1249
|
+
/**
|
|
1250
|
+
* By default, Rush returns a nonzero exit code if errors or warnings occur during a command. If this option is set to \"true\", Rush will return a zero exit code if warnings occur during the execution of this phase.
|
|
1251
|
+
*/
|
|
1252
|
+
allowWarningsOnSuccess: boolean;
|
|
1253
|
+
}
|
|
1254
|
+
|
|
1255
|
+
/**
|
|
1256
|
+
* Information about the currently executing phased script command (as defined in command-line.json, or default "build" or "rebuild") provided to plugins.
|
|
1257
|
+
* @beta
|
|
1258
|
+
*/
|
|
1259
|
+
export declare interface IPhasedCommand extends IRushCommand {
|
|
1260
|
+
/**
|
|
1261
|
+
* Hooks into the execution of the current phased command
|
|
1262
|
+
* @alpha
|
|
1263
|
+
*/
|
|
1264
|
+
readonly hooks: PhasedCommandHooks;
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1267
|
+
/**
|
|
1268
|
+
* Part of IRushConfigurationJson.
|
|
1269
|
+
* @internal
|
|
1270
|
+
*/
|
|
1271
|
+
export declare interface _IPnpmOptionsJson extends IPackageManagerOptionsJsonBase {
|
|
1272
|
+
/**
|
|
1273
|
+
* {@inheritDoc PnpmOptionsConfiguration.pnpmStore}
|
|
1274
|
+
*/
|
|
1275
|
+
pnpmStore?: PnpmStoreOptions;
|
|
1276
|
+
/**
|
|
1277
|
+
* {@inheritDoc PnpmOptionsConfiguration.strictPeerDependencies}
|
|
1278
|
+
*/
|
|
1279
|
+
strictPeerDependencies?: boolean;
|
|
1280
|
+
/**
|
|
1281
|
+
* {@inheritDoc PnpmOptionsConfiguration.preventManualShrinkwrapChanges}
|
|
1282
|
+
*/
|
|
1283
|
+
preventManualShrinkwrapChanges?: boolean;
|
|
1284
|
+
/**
|
|
1285
|
+
* {@inheritDoc PnpmOptionsConfiguration.useWorkspaces}
|
|
1286
|
+
*/
|
|
1287
|
+
useWorkspaces?: boolean;
|
|
1288
|
+
/**
|
|
1289
|
+
* {@inheritDoc PnpmOptionsConfiguration.globalOverrides}
|
|
1290
|
+
*/
|
|
1291
|
+
globalOverrides?: Record<string, string>;
|
|
1292
|
+
/**
|
|
1293
|
+
* {@inheritDoc PnpmOptionsConfiguration.globalPeerDependencyRules}
|
|
1294
|
+
*/
|
|
1295
|
+
globalPeerDependencyRules?: IPnpmPeerDependencyRules;
|
|
1296
|
+
/**
|
|
1297
|
+
* {@inheritDoc PnpmOptionsConfiguration.globalPackageExtensions}
|
|
1298
|
+
*/
|
|
1299
|
+
globalPackageExtensions?: Record<string, IPnpmPackageExtension>;
|
|
1300
|
+
/**
|
|
1301
|
+
* {@inheritDoc PnpmOptionsConfiguration.globalNeverBuiltDependencies}
|
|
1302
|
+
*/
|
|
1303
|
+
globalNeverBuiltDependencies?: string[];
|
|
1304
|
+
/**
|
|
1305
|
+
* {@inheritDoc PnpmOptionsConfiguration.globalAllowedDeprecatedVersions}
|
|
1306
|
+
*/
|
|
1307
|
+
globalAllowedDeprecatedVersions?: Record<string, string>;
|
|
1308
|
+
/**
|
|
1309
|
+
* {@inheritDoc PnpmOptionsConfiguration.unsupportedPackageJsonSettings}
|
|
1310
|
+
*/
|
|
1311
|
+
unsupportedPackageJsonSettings?: unknown;
|
|
1312
|
+
}
|
|
1313
|
+
|
|
1314
|
+
declare interface IPnpmPackageExtension {
|
|
1315
|
+
dependencies?: Record<string, string>;
|
|
1316
|
+
optionalDependencies?: Record<string, string>;
|
|
1317
|
+
peerDependencies?: Record<string, string>;
|
|
1318
|
+
peerDependenciesMeta?: IPnpmPeerDependenciesMeta;
|
|
1319
|
+
}
|
|
1320
|
+
|
|
1321
|
+
declare interface IPnpmPeerDependenciesMeta {
|
|
1322
|
+
[packageName: string]: {
|
|
1323
|
+
optional?: boolean;
|
|
1324
|
+
};
|
|
1325
|
+
}
|
|
1326
|
+
|
|
1327
|
+
/**
|
|
1328
|
+
* @beta
|
|
1329
|
+
*/
|
|
1330
|
+
declare interface IPnpmPeerDependencyRules {
|
|
1331
|
+
ignoreMissing?: string[];
|
|
1332
|
+
allowAny?: string[];
|
|
1333
|
+
allowedVersions?: Record<string, string>;
|
|
1334
|
+
}
|
|
1335
|
+
|
|
1336
|
+
declare interface IRawRepoState {
|
|
1337
|
+
projectState: Map<RushConfigurationProject, Map<string, string>> | undefined;
|
|
1338
|
+
rootDir: string;
|
|
1339
|
+
}
|
|
1340
|
+
|
|
1341
|
+
/**
|
|
1342
|
+
* Information about the currently executing command provided to plugins.
|
|
1343
|
+
* @beta
|
|
1344
|
+
*/
|
|
1345
|
+
export declare interface IRushCommand {
|
|
1346
|
+
/**
|
|
1347
|
+
* The name of this command, as seen on the command line
|
|
1348
|
+
*/
|
|
1349
|
+
readonly actionName: string;
|
|
1350
|
+
}
|
|
1351
|
+
|
|
1352
|
+
/**
|
|
1353
|
+
* This represents the JSON data structure for the "rush.json" configuration file.
|
|
1354
|
+
* See rush.schema.json for documentation.
|
|
1355
|
+
*/
|
|
1356
|
+
declare interface IRushConfigurationJson {
|
|
1357
|
+
$schema: string;
|
|
1358
|
+
npmVersion?: string;
|
|
1359
|
+
pnpmVersion?: string;
|
|
1360
|
+
yarnVersion?: string;
|
|
1361
|
+
rushVersion: string;
|
|
1362
|
+
repository?: IRushRepositoryJson;
|
|
1363
|
+
nodeSupportedVersionRange?: string;
|
|
1364
|
+
suppressNodeLtsWarning?: boolean;
|
|
1365
|
+
projectFolderMinDepth?: number;
|
|
1366
|
+
projectFolderMaxDepth?: number;
|
|
1367
|
+
allowMostlyStandardPackageNames?: boolean;
|
|
1368
|
+
approvedPackagesPolicy?: IApprovedPackagesPolicyJson;
|
|
1369
|
+
gitPolicy?: IRushGitPolicyJson;
|
|
1370
|
+
telemetryEnabled?: boolean;
|
|
1371
|
+
allowedProjectTags?: string[];
|
|
1372
|
+
projects: IRushConfigurationProjectJson[];
|
|
1373
|
+
eventHooks?: IEventHooksJson;
|
|
1374
|
+
hotfixChangeEnabled?: boolean;
|
|
1375
|
+
npmOptions?: _INpmOptionsJson;
|
|
1376
|
+
pnpmOptions?: _IPnpmOptionsJson;
|
|
1377
|
+
yarnOptions?: _IYarnOptionsJson;
|
|
1378
|
+
ensureConsistentVersions?: boolean;
|
|
1379
|
+
variants?: IRushVariantOptionsJson[];
|
|
1380
|
+
}
|
|
1381
|
+
|
|
1382
|
+
/**
|
|
1383
|
+
* This represents the JSON data object for a project entry in the rush.json configuration file.
|
|
1384
|
+
*/
|
|
1385
|
+
declare interface IRushConfigurationProjectJson {
|
|
1386
|
+
packageName: string;
|
|
1387
|
+
projectFolder: string;
|
|
1388
|
+
reviewCategory?: string;
|
|
1389
|
+
decoupledLocalDependencies: string[];
|
|
1390
|
+
cyclicDependencyProjects?: string[];
|
|
1391
|
+
versionPolicyName?: string;
|
|
1392
|
+
shouldPublish?: boolean;
|
|
1393
|
+
skipRushCheck?: boolean;
|
|
1394
|
+
publishFolder?: string;
|
|
1395
|
+
tags?: string[];
|
|
1396
|
+
}
|
|
1397
|
+
|
|
1398
|
+
/**
|
|
1399
|
+
* @internal
|
|
1400
|
+
*/
|
|
1401
|
+
declare interface IRushConfigurationProjectOptions {
|
|
1402
|
+
/**
|
|
1403
|
+
* The raw JSON representation from rush.json
|
|
1404
|
+
*/
|
|
1405
|
+
projectJson: IRushConfigurationProjectJson;
|
|
1406
|
+
/**
|
|
1407
|
+
* The enclosing configuration
|
|
1408
|
+
*/
|
|
1409
|
+
rushConfiguration: RushConfiguration;
|
|
1410
|
+
/**
|
|
1411
|
+
* A unique string name for this project
|
|
1412
|
+
*/
|
|
1413
|
+
tempProjectName: string;
|
|
1414
|
+
/**
|
|
1415
|
+
* If specified, validate project tags against this list.
|
|
1416
|
+
*/
|
|
1417
|
+
allowedProjectTags: Set<string> | undefined;
|
|
1418
|
+
}
|
|
1419
|
+
|
|
1420
|
+
/**
|
|
1421
|
+
* Part of IRushConfigurationJson.
|
|
1422
|
+
*/
|
|
1423
|
+
declare interface IRushGitPolicyJson {
|
|
1424
|
+
allowedEmailRegExps?: string[];
|
|
1425
|
+
sampleEmail?: string;
|
|
1426
|
+
versionBumpCommitMessage?: string;
|
|
1427
|
+
changeLogUpdateCommitMessage?: string;
|
|
1428
|
+
changefilesCommitMessage?: string;
|
|
1429
|
+
tagSeparator?: string;
|
|
1430
|
+
}
|
|
1431
|
+
|
|
1432
|
+
/**
|
|
1433
|
+
* @beta
|
|
1434
|
+
*/
|
|
1435
|
+
export declare interface IRushPlugin {
|
|
1436
|
+
apply(rushSession: RushSession, rushConfiguration: RushConfiguration): void;
|
|
1437
|
+
}
|
|
1438
|
+
|
|
1439
|
+
declare interface IRushPluginConfiguration extends _IRushPluginConfigurationBase {
|
|
1440
|
+
autoinstallerName: string;
|
|
1441
|
+
}
|
|
1442
|
+
|
|
1443
|
+
/**
|
|
1444
|
+
* @internal
|
|
1445
|
+
*/
|
|
1446
|
+
export declare interface _IRushPluginConfigurationBase {
|
|
1447
|
+
packageName: string;
|
|
1448
|
+
pluginName: string;
|
|
1449
|
+
}
|
|
1450
|
+
|
|
1451
|
+
declare interface IRushPluginsConfigurationJson {
|
|
1452
|
+
plugins: IRushPluginConfiguration[];
|
|
1453
|
+
}
|
|
1454
|
+
|
|
1455
|
+
declare type IRushRepositoryJson = IRushRepositoryJsonSingleUrl | IRushRepositoryJsonMultipleUrls;
|
|
1456
|
+
|
|
1457
|
+
/**
|
|
1458
|
+
* Part of IRushConfigurationJson.
|
|
1459
|
+
*/
|
|
1460
|
+
declare interface IRushRepositoryJsonBase {
|
|
1461
|
+
/**
|
|
1462
|
+
* The default branch name. This tells "rush change" which remote branch to compare against.
|
|
1463
|
+
*/
|
|
1464
|
+
defaultBranch?: string;
|
|
1465
|
+
/**
|
|
1466
|
+
* The default remote. This tells "rush change" which remote to compare against if the remote URL is not set
|
|
1467
|
+
* or if a remote matching the provided remote URL is not found.
|
|
1468
|
+
*/
|
|
1469
|
+
defaultRemote?: string;
|
|
1470
|
+
}
|
|
1471
|
+
|
|
1472
|
+
declare interface IRushRepositoryJsonMultipleUrls extends IRushRepositoryJsonBase {
|
|
1473
|
+
/**
|
|
1474
|
+
* Remote url(s) of the repository. If a value is provided, \"rush change\" will
|
|
1475
|
+
* use one of these to find the right remote to compare against. Specifying multiple URLs
|
|
1476
|
+
* is useful if a GitHub repository is renamed or for `<projectName>.visualstudio.com` versus
|
|
1477
|
+
* `dev.azure.com/<projectName>` URLs.
|
|
1478
|
+
*/
|
|
1479
|
+
urls?: string[];
|
|
1480
|
+
}
|
|
1481
|
+
|
|
1482
|
+
declare interface IRushRepositoryJsonSingleUrl extends IRushRepositoryJsonBase {
|
|
1483
|
+
/**
|
|
1484
|
+
* The remote url of the repository. If a value is provided,
|
|
1485
|
+
* \"rush change\" will use it to find the right remote to compare against.
|
|
1486
|
+
*
|
|
1487
|
+
* @deprecated Use "urls" instead.
|
|
1488
|
+
*/
|
|
1489
|
+
url?: string;
|
|
1490
|
+
}
|
|
1491
|
+
|
|
1492
|
+
/**
|
|
1493
|
+
* @beta
|
|
1494
|
+
*/
|
|
1495
|
+
export declare interface IRushSessionOptions {
|
|
1496
|
+
terminalProvider: ITerminalProvider;
|
|
1497
|
+
getIsDebugMode: () => boolean;
|
|
1498
|
+
}
|
|
1499
|
+
|
|
1500
|
+
/**
|
|
1501
|
+
* Options defining an allowed variant as part of IRushConfigurationJson.
|
|
1502
|
+
*/
|
|
1503
|
+
declare interface IRushVariantOptionsJson {
|
|
1504
|
+
variantName: string;
|
|
1505
|
+
description: string;
|
|
1506
|
+
}
|
|
1507
|
+
|
|
1508
|
+
/**
|
|
1509
|
+
* Represents a readonly view of a `Stopwatch`.
|
|
1510
|
+
* @beta
|
|
1511
|
+
*/
|
|
1512
|
+
export declare interface IStopwatchResult {
|
|
1513
|
+
/**
|
|
1514
|
+
* Displays how long the stopwatch has been executing in a human readable format.
|
|
1515
|
+
*/
|
|
1516
|
+
toString(): string;
|
|
1517
|
+
/**
|
|
1518
|
+
* Get the duration in seconds.
|
|
1519
|
+
*/
|
|
1520
|
+
get duration(): number;
|
|
1521
|
+
/**
|
|
1522
|
+
* Return the start time of the most recent stopwatch run.
|
|
1523
|
+
*/
|
|
1524
|
+
get startTime(): number | undefined;
|
|
1525
|
+
/**
|
|
1526
|
+
* Return the end time of the most recent stopwatch run.
|
|
1527
|
+
*/
|
|
1528
|
+
get endTime(): number | undefined;
|
|
1529
|
+
}
|
|
1530
|
+
|
|
1531
|
+
/**
|
|
1532
|
+
* @beta
|
|
1533
|
+
*/
|
|
1534
|
+
export declare interface ITelemetryData {
|
|
1535
|
+
/**
|
|
1536
|
+
* Command name
|
|
1537
|
+
* @example `"build"`
|
|
1538
|
+
*/
|
|
1539
|
+
readonly name: string;
|
|
1540
|
+
/**
|
|
1541
|
+
* Duration in seconds
|
|
1542
|
+
*/
|
|
1543
|
+
readonly durationInSeconds: number;
|
|
1544
|
+
/**
|
|
1545
|
+
* The result of the command
|
|
1546
|
+
*/
|
|
1547
|
+
readonly result: 'Succeeded' | 'Failed';
|
|
1548
|
+
/**
|
|
1549
|
+
* The millisecond-resolution timestamp of the telemetry logging
|
|
1550
|
+
* @example 1648001893024
|
|
1551
|
+
*/
|
|
1552
|
+
readonly timestampMs?: number;
|
|
1553
|
+
/**
|
|
1554
|
+
* The platform the command was executed on, based on the Node.js `process.platform()` API
|
|
1555
|
+
* @example `"darwin"`, `"win32"`, `"linux"`
|
|
1556
|
+
*/
|
|
1557
|
+
readonly platform?: string;
|
|
1558
|
+
/**
|
|
1559
|
+
* The Rush version
|
|
1560
|
+
* @example `5.63.0`
|
|
1561
|
+
*/
|
|
1562
|
+
readonly rushVersion?: string;
|
|
1563
|
+
/**
|
|
1564
|
+
* Detailed information about the host machine.
|
|
1565
|
+
*/
|
|
1566
|
+
readonly machineInfo?: ITelemetryMachineInfo;
|
|
1567
|
+
/**
|
|
1568
|
+
* Only applicable to phased commands. Provides detailed results by operation.
|
|
1569
|
+
* Keys are operation names, values contain result, timing information, and dependencies.
|
|
1570
|
+
*/
|
|
1571
|
+
readonly operationResults?: Record<string, ITelemetryOperationResult>;
|
|
1572
|
+
readonly extraData?: {
|
|
1573
|
+
[key: string]: string | number | boolean;
|
|
1574
|
+
};
|
|
1575
|
+
}
|
|
1576
|
+
|
|
1577
|
+
/**
|
|
1578
|
+
* @beta
|
|
1579
|
+
*/
|
|
1580
|
+
export declare interface ITelemetryMachineInfo {
|
|
1581
|
+
/**
|
|
1582
|
+
* The CPU architecture
|
|
1583
|
+
* @example `"AMD64"`
|
|
1584
|
+
*/
|
|
1585
|
+
machineArchitecture: string;
|
|
1586
|
+
/**
|
|
1587
|
+
* The CPU model
|
|
1588
|
+
* * @example `"AMD Ryzen 7 3700X 8-Core Processor"`
|
|
1589
|
+
*/
|
|
1590
|
+
machineCpu: string;
|
|
1591
|
+
/**
|
|
1592
|
+
* The number of logical CPU cores.
|
|
1593
|
+
*/
|
|
1594
|
+
machineCores: number;
|
|
1595
|
+
/**
|
|
1596
|
+
* The total amount of RAM on the machine, in MiB.
|
|
1597
|
+
*/
|
|
1598
|
+
machineTotalMemoryMiB: number;
|
|
1599
|
+
/**
|
|
1600
|
+
* The amount of free RAM on the machine at the end of execution, in MiB.
|
|
1601
|
+
*/
|
|
1602
|
+
machineFreeMemoryMiB: number;
|
|
1603
|
+
}
|
|
1604
|
+
|
|
1605
|
+
/**
|
|
1606
|
+
* @beta
|
|
1607
|
+
*/
|
|
1608
|
+
export declare interface ITelemetryOperationResult {
|
|
1609
|
+
/**
|
|
1610
|
+
* The names of operations that this operation depends on.
|
|
1611
|
+
*/
|
|
1612
|
+
dependencies: string[];
|
|
1613
|
+
/**
|
|
1614
|
+
* The status code for the operation.
|
|
1615
|
+
*/
|
|
1616
|
+
result: string;
|
|
1617
|
+
/**
|
|
1618
|
+
* A timestamp in milliseconds (from `performance.now()`) when the operation started.
|
|
1619
|
+
* If the operation was blocked, will be `undefined`.
|
|
1620
|
+
*/
|
|
1621
|
+
startTimestampMs?: number;
|
|
1622
|
+
/**
|
|
1623
|
+
* A timestamp in milliseconds (from `performance.now()`) when the operation finished.
|
|
1624
|
+
* If the operation was blocked, will be `undefined`.
|
|
1625
|
+
*/
|
|
1626
|
+
endTimestampMs?: number;
|
|
1627
|
+
/**
|
|
1628
|
+
* Duration in milliseconds when the operation does not hit cache
|
|
1629
|
+
*/
|
|
1630
|
+
nonCachedDurationMs?: number;
|
|
1631
|
+
}
|
|
1632
|
+
|
|
1633
|
+
/**
|
|
1634
|
+
* Options for `RushConfiguration.tryFindRushJsonLocation`.
|
|
1635
|
+
* @public
|
|
1636
|
+
*/
|
|
1637
|
+
export declare interface ITryFindRushJsonLocationOptions {
|
|
1638
|
+
/**
|
|
1639
|
+
* Whether to show verbose console messages. Defaults to false.
|
|
1640
|
+
*/
|
|
1641
|
+
showVerbose?: boolean;
|
|
1642
|
+
/**
|
|
1643
|
+
* The folder path where the search will start. Defaults tot he current working directory.
|
|
1644
|
+
*/
|
|
1645
|
+
startingFolder?: string;
|
|
1646
|
+
}
|
|
1647
|
+
|
|
1648
|
+
declare interface IVersionPolicyDependencyJson {
|
|
1649
|
+
versionFormatForPublish?: VersionFormatForPublish;
|
|
1650
|
+
versionFormatForCommit?: VersionFormatForCommit;
|
|
1651
|
+
}
|
|
1652
|
+
|
|
1653
|
+
declare interface IVersionPolicyJson {
|
|
1654
|
+
policyName: string;
|
|
1655
|
+
definitionName: string;
|
|
1656
|
+
dependencies?: IVersionPolicyDependencyJson;
|
|
1657
|
+
exemptFromRushChange?: boolean;
|
|
1658
|
+
includeEmailInChangeFile?: boolean;
|
|
1659
|
+
}
|
|
1660
|
+
|
|
1661
|
+
/**
|
|
1662
|
+
* Part of IRushConfigurationJson.
|
|
1663
|
+
* @internal
|
|
1664
|
+
*/
|
|
1665
|
+
export declare interface _IYarnOptionsJson extends IPackageManagerOptionsJsonBase {
|
|
1666
|
+
/**
|
|
1667
|
+
* If true, then Rush will add the "--ignore-engines" option when invoking Yarn.
|
|
1668
|
+
* This allows "rush install" to succeed if there are dependencies with engines defined in
|
|
1669
|
+
* package.json which do not match the current environment.
|
|
1670
|
+
*
|
|
1671
|
+
* The default value is false.
|
|
1672
|
+
*/
|
|
1673
|
+
ignoreEngines?: boolean;
|
|
1674
|
+
}
|
|
1675
|
+
|
|
1676
|
+
/**
|
|
1677
|
+
* A helper class for managing last-install flags, which are persistent and
|
|
1678
|
+
* indicate that something installed in the folder was successfully completed.
|
|
1679
|
+
* It also compares state, so that if something like the Node.js version has changed,
|
|
1680
|
+
* it can invalidate the last install.
|
|
1681
|
+
* @internal
|
|
1682
|
+
*/
|
|
1683
|
+
export declare class _LastInstallFlag {
|
|
1684
|
+
private _path;
|
|
1685
|
+
private _state;
|
|
1686
|
+
/**
|
|
1687
|
+
* Creates a new LastInstall flag
|
|
1688
|
+
* @param folderPath - the folder that this flag is managing
|
|
1689
|
+
* @param state - optional, the state that should be managed or compared
|
|
1690
|
+
*/
|
|
1691
|
+
constructor(folderPath: string, state?: JsonObject);
|
|
1692
|
+
/**
|
|
1693
|
+
* Returns true if the file exists and the contents match the current state.
|
|
1694
|
+
*/
|
|
1695
|
+
isValid(): boolean;
|
|
1696
|
+
/**
|
|
1697
|
+
* Same as isValid(), but with an additional check: If the current state is not equal to the previous
|
|
1698
|
+
* state, and an the current state causes an error, then throw an exception with a friendly message.
|
|
1699
|
+
*
|
|
1700
|
+
* @internal
|
|
1701
|
+
*/
|
|
1702
|
+
checkValidAndReportStoreIssues(rushVerb: string): boolean;
|
|
1703
|
+
private _isValid;
|
|
1704
|
+
/**
|
|
1705
|
+
* Writes the flag file to disk with the current state
|
|
1706
|
+
*/
|
|
1707
|
+
create(): void;
|
|
1708
|
+
/**
|
|
1709
|
+
* Removes the flag file
|
|
1710
|
+
*/
|
|
1711
|
+
clear(): void;
|
|
1712
|
+
/**
|
|
1713
|
+
* Returns the full path to the flag file
|
|
1714
|
+
*/
|
|
1715
|
+
get path(): string;
|
|
1716
|
+
/**
|
|
1717
|
+
* Returns the name of the flag file
|
|
1718
|
+
*/
|
|
1719
|
+
protected get flagName(): string;
|
|
1720
|
+
}
|
|
1721
|
+
|
|
1722
|
+
/**
|
|
1723
|
+
* This policy indicates all related projects should use the same version.
|
|
1724
|
+
* @public
|
|
1725
|
+
*/
|
|
1726
|
+
export declare class LockStepVersionPolicy extends VersionPolicy {
|
|
1727
|
+
private _version;
|
|
1728
|
+
private _nextBump;
|
|
1729
|
+
private _mainProject;
|
|
1730
|
+
/**
|
|
1731
|
+
* @internal
|
|
1732
|
+
*/
|
|
1733
|
+
constructor(versionPolicyJson: ILockStepVersionJson);
|
|
1734
|
+
/**
|
|
1735
|
+
* The value of the lockstep version
|
|
1736
|
+
*/
|
|
1737
|
+
get version(): string;
|
|
1738
|
+
/**
|
|
1739
|
+
* The type of bump for next bump.
|
|
1740
|
+
*/
|
|
1741
|
+
get nextBump(): BumpType | undefined;
|
|
1742
|
+
/**
|
|
1743
|
+
* The main project for the version policy.
|
|
1744
|
+
*
|
|
1745
|
+
* If the value is provided, change logs will only be generated in that project.
|
|
1746
|
+
* If the value is not provided, change logs will be hosted in each project associated with the policy.
|
|
1747
|
+
*/
|
|
1748
|
+
get mainProject(): string | undefined;
|
|
1749
|
+
/**
|
|
1750
|
+
* Serialized json for this policy
|
|
1751
|
+
*
|
|
1752
|
+
* @internal
|
|
1753
|
+
*/
|
|
1754
|
+
get _json(): ILockStepVersionJson;
|
|
1755
|
+
/**
|
|
1756
|
+
* Returns an updated package json that satisfies the version policy.
|
|
1757
|
+
*
|
|
1758
|
+
* @param project - input package json
|
|
1759
|
+
* @param force - force update even when the project version is higher than the policy version.
|
|
1760
|
+
*/
|
|
1761
|
+
ensure(project: IPackageJson, force?: boolean): IPackageJson | undefined;
|
|
1762
|
+
/**
|
|
1763
|
+
* Bumps the version of the lockstep policy
|
|
1764
|
+
*
|
|
1765
|
+
* @param bumpType - Overwrite bump type in version-policy.json with the provided value.
|
|
1766
|
+
* @param identifier - Prerelease identifier if bump type is prerelease.
|
|
1767
|
+
*/
|
|
1768
|
+
bump(bumpType?: BumpType, identifier?: string): void;
|
|
1769
|
+
/**
|
|
1770
|
+
* Updates the version of the policy directly with a new value
|
|
1771
|
+
* @param newVersionString - New version
|
|
1772
|
+
*/
|
|
1773
|
+
update(newVersionString: string): boolean;
|
|
1774
|
+
/**
|
|
1775
|
+
* Validates the specified version and throws if the version does not satisfy lockstep version.
|
|
1776
|
+
*
|
|
1777
|
+
* @param versionString - version string
|
|
1778
|
+
* @param packageName - package name
|
|
1779
|
+
*/
|
|
1780
|
+
validate(versionString: string, packageName: string): void;
|
|
1781
|
+
private _updatePackageVersion;
|
|
1782
|
+
private _getReleaseType;
|
|
1783
|
+
}
|
|
1784
|
+
|
|
1785
|
+
/**
|
|
1786
|
+
* This class is used to associate POSIX relative paths, such as those returned by `git` commands,
|
|
1787
|
+
* with entities that correspond with ancestor folders, such as Rush Projects.
|
|
1788
|
+
*
|
|
1789
|
+
* It is optimized for efficiently locating the nearest ancestor path with an associated value.
|
|
1790
|
+
*
|
|
1791
|
+
* @example
|
|
1792
|
+
* ```ts
|
|
1793
|
+
* const tree = new LookupByPath([['foo', 1], ['bar', 2], ['foo/bar', 3]]);
|
|
1794
|
+
* tree.getNearestAncestor('foo'); // returns 1
|
|
1795
|
+
* tree.getNearestAncestor('foo/baz'); // returns 1
|
|
1796
|
+
* tree.getNearestAncestor('baz'); // returns undefined
|
|
1797
|
+
* tree.getNearestAncestor('foo/bar/baz'); returns 3
|
|
1798
|
+
* tree.getNearestAncestor('bar/foo/bar'); returns 2
|
|
1799
|
+
* ```
|
|
1800
|
+
* @beta
|
|
1801
|
+
*/
|
|
1802
|
+
export declare class LookupByPath<TItem> {
|
|
1803
|
+
/**
|
|
1804
|
+
* The delimiter used to split paths
|
|
1805
|
+
*/
|
|
1806
|
+
readonly delimiter: string;
|
|
1807
|
+
/**
|
|
1808
|
+
* The root node of the tree, corresponding to the path ''
|
|
1809
|
+
*/
|
|
1810
|
+
private readonly _root;
|
|
1811
|
+
/**
|
|
1812
|
+
* Constructs a new `LookupByPath`
|
|
1813
|
+
*
|
|
1814
|
+
* @param entries - Initial path-value pairs to populate the tree.
|
|
1815
|
+
*/
|
|
1816
|
+
constructor(entries?: Iterable<[string, TItem]>, delimiter?: string);
|
|
1817
|
+
/**
|
|
1818
|
+
* Iterates over the segments of a serialized path.
|
|
1819
|
+
*
|
|
1820
|
+
* @example
|
|
1821
|
+
*
|
|
1822
|
+
* `LookupByPath.iteratePathSegments('foo/bar/baz')` yields 'foo', 'bar', 'baz'
|
|
1823
|
+
*
|
|
1824
|
+
* `LookupByPath.iteratePathSegments('foo\\bar\\baz', '\\')` yields 'foo', 'bar', 'baz'
|
|
1825
|
+
*/
|
|
1826
|
+
static iteratePathSegments(serializedPath: string, delimiter?: string): Iterable<string>;
|
|
1827
|
+
/**
|
|
1828
|
+
* Associates the value with the specified serialized path.
|
|
1829
|
+
* If a value is already associated, will overwrite.
|
|
1830
|
+
*
|
|
1831
|
+
* @returns this, for chained calls
|
|
1832
|
+
*/
|
|
1833
|
+
setItem(serializedPath: string, value: TItem): this;
|
|
1834
|
+
/**
|
|
1835
|
+
* Associates the value with the specified path.
|
|
1836
|
+
* If a value is already associated, will overwrite.
|
|
1837
|
+
*
|
|
1838
|
+
* @returns this, for chained calls
|
|
1839
|
+
*/
|
|
1840
|
+
setItemFromSegments(pathSegments: Iterable<string>, value: TItem): this;
|
|
1841
|
+
/**
|
|
1842
|
+
* Searches for the item associated with `childPath`, or the nearest ancestor of that path that
|
|
1843
|
+
* has an associated item.
|
|
1844
|
+
*
|
|
1845
|
+
* @returns the found item, or `undefined` if no item was found
|
|
1846
|
+
*
|
|
1847
|
+
* @example
|
|
1848
|
+
* ```ts
|
|
1849
|
+
* const tree = new LookupByPath([['foo', 1], ['foo/bar', 2]]);
|
|
1850
|
+
* tree.findChildPath('foo/baz'); // returns 1
|
|
1851
|
+
* tree.findChildPath('foo/bar/baz'); // returns 2
|
|
1852
|
+
* ```
|
|
1853
|
+
*/
|
|
1854
|
+
findChildPath(childPath: string): TItem | undefined;
|
|
1855
|
+
/**
|
|
1856
|
+
* Searches for the item associated with `childPathSegments`, or the nearest ancestor of that path that
|
|
1857
|
+
* has an associated item.
|
|
1858
|
+
*
|
|
1859
|
+
* @returns the found item, or `undefined` if no item was found
|
|
1860
|
+
*
|
|
1861
|
+
* @example
|
|
1862
|
+
* ```ts
|
|
1863
|
+
* const tree = new LookupByPath([['foo', 1], ['foo/bar', 2]]);
|
|
1864
|
+
* tree.findChildPathFromSegments(['foo', 'baz']); // returns 1
|
|
1865
|
+
* tree.findChildPathFromSegments(['foo','bar', 'baz']); // returns 2
|
|
1866
|
+
* ```
|
|
1867
|
+
*/
|
|
1868
|
+
findChildPathFromSegments(childPathSegments: Iterable<string>): TItem | undefined;
|
|
1869
|
+
}
|
|
1870
|
+
|
|
1871
|
+
/**
|
|
1872
|
+
* Options that are only used when the NPM package manager is selected.
|
|
1873
|
+
*
|
|
1874
|
+
* @remarks
|
|
1875
|
+
* It is valid to define these options in rush.json even if the NPM package manager
|
|
1876
|
+
* is not being used.
|
|
1877
|
+
*
|
|
1878
|
+
* @public
|
|
1879
|
+
*/
|
|
1880
|
+
export declare class NpmOptionsConfiguration extends PackageManagerOptionsConfigurationBase {
|
|
1881
|
+
/** @internal */
|
|
1882
|
+
constructor(json: _INpmOptionsJson);
|
|
1883
|
+
}
|
|
1884
|
+
|
|
1885
|
+
/**
|
|
1886
|
+
* The `Operation` class is a node in the dependency graph of work that needs to be scheduled by the
|
|
1887
|
+
* `OperationExecutionManager`. Each `Operation` has a `runner` member of type `IOperationRunner`, whose
|
|
1888
|
+
* implementation manages the actual process of running a single operation.
|
|
1889
|
+
*
|
|
1890
|
+
* The graph of `Operation` instances will be cloned into a separate execution graph after processing.
|
|
1891
|
+
*
|
|
1892
|
+
* @alpha
|
|
1893
|
+
*/
|
|
1894
|
+
export declare class Operation {
|
|
1895
|
+
/**
|
|
1896
|
+
* The Rush phase associated with this Operation, if any
|
|
1897
|
+
*/
|
|
1898
|
+
readonly associatedPhase: IPhase | undefined;
|
|
1899
|
+
/**
|
|
1900
|
+
* The Rush project associated with this Operation, if any
|
|
1901
|
+
*/
|
|
1902
|
+
readonly associatedProject: RushConfigurationProject | undefined;
|
|
1903
|
+
/**
|
|
1904
|
+
* A set of all operations which depend on this operation.
|
|
1905
|
+
*/
|
|
1906
|
+
readonly consumers: ReadonlySet<Operation>;
|
|
1907
|
+
/**
|
|
1908
|
+
* A set of all dependencies which must be executed before this operation is complete.
|
|
1909
|
+
*/
|
|
1910
|
+
readonly dependencies: ReadonlySet<Operation>;
|
|
1911
|
+
/**
|
|
1912
|
+
* When the scheduler is ready to process this `Operation`, the `runner` implements the actual work of
|
|
1913
|
+
* running the operation.
|
|
1914
|
+
*/
|
|
1915
|
+
runner: IOperationRunner | undefined;
|
|
1916
|
+
/**
|
|
1917
|
+
* The weight for this operation. This scalar is the contribution of this operation to the
|
|
1918
|
+
* `criticalPathLength` calculation above. Modify to indicate the following:
|
|
1919
|
+
* - `weight` === 1: indicates that this operation has an average duration
|
|
1920
|
+
* - `weight` > 1: indicates that this operation takes longer than average and so the scheduler
|
|
1921
|
+
* should try to favor starting it over other, shorter operations. An example might be an operation that
|
|
1922
|
+
* bundles an entire application and runs whole-program optimization.
|
|
1923
|
+
* - `weight` < 1: indicates that this operation takes less time than average and so the scheduler
|
|
1924
|
+
* should favor other, longer operations over it. An example might be an operation to unpack a cached
|
|
1925
|
+
* output, or an operation using NullOperationRunner, which might use a value of 0.
|
|
1926
|
+
*/
|
|
1927
|
+
weight: number;
|
|
1928
|
+
constructor(options?: IOperationOptions);
|
|
1929
|
+
/**
|
|
1930
|
+
* The name of this operation, for logging.
|
|
1931
|
+
*/
|
|
1932
|
+
get name(): string | undefined;
|
|
1933
|
+
/**
|
|
1934
|
+
* Adds the specified operation as a dependency and updates the consumer list.
|
|
1935
|
+
*/
|
|
1936
|
+
addDependency(dependency: Operation): void;
|
|
1937
|
+
/**
|
|
1938
|
+
* Deletes the specified operation as a dependency and updates the consumer list.
|
|
1939
|
+
*/
|
|
1940
|
+
deleteDependency(dependency: Operation): void;
|
|
1941
|
+
}
|
|
1942
|
+
|
|
1943
|
+
/**
|
|
1944
|
+
* A helper class for managing the state file of a operation.
|
|
1945
|
+
*
|
|
1946
|
+
* @internal
|
|
1947
|
+
*/
|
|
1948
|
+
export declare class _OperationStateFile {
|
|
1949
|
+
private readonly _rushProject;
|
|
1950
|
+
private readonly _filename;
|
|
1951
|
+
private _state;
|
|
1952
|
+
constructor(options: _IOperationStateFileOptions);
|
|
1953
|
+
private static _getFilename;
|
|
1954
|
+
/**
|
|
1955
|
+
* ProjectBuildCache expects the relative path for better logging
|
|
1956
|
+
*
|
|
1957
|
+
* @internal
|
|
1958
|
+
*/
|
|
1959
|
+
static getFilenameRelativeToProjectRoot(phase: IPhase): string;
|
|
1960
|
+
/**
|
|
1961
|
+
* Returns the filename of the metadata file.
|
|
1962
|
+
*/
|
|
1963
|
+
get filename(): string;
|
|
1964
|
+
get state(): _IOperationStateJson | undefined;
|
|
1965
|
+
writeAsync(json: _IOperationStateJson): Promise<void>;
|
|
1966
|
+
tryRestoreAsync(): Promise<_IOperationStateJson | undefined>;
|
|
1967
|
+
}
|
|
1968
|
+
|
|
1969
|
+
/**
|
|
1970
|
+
* Enumeration defining potential states of an operation
|
|
1971
|
+
* @beta
|
|
1972
|
+
*/
|
|
1973
|
+
export declare enum OperationStatus {
|
|
1974
|
+
/**
|
|
1975
|
+
* The Operation is on the queue, ready to execute (but may be waiting for dependencies)
|
|
1976
|
+
*/
|
|
1977
|
+
Ready = "READY",
|
|
1978
|
+
/**
|
|
1979
|
+
* The Operation is currently executing
|
|
1980
|
+
*/
|
|
1981
|
+
Executing = "EXECUTING",
|
|
1982
|
+
/**
|
|
1983
|
+
* The Operation completed successfully and did not write to standard output
|
|
1984
|
+
*/
|
|
1985
|
+
Success = "SUCCESS",
|
|
1986
|
+
/**
|
|
1987
|
+
* The Operation completed successfully, but wrote to standard output
|
|
1988
|
+
*/
|
|
1989
|
+
SuccessWithWarning = "SUCCESS WITH WARNINGS",
|
|
1990
|
+
/**
|
|
1991
|
+
* The Operation was skipped via the legacy incremental build logic
|
|
1992
|
+
*/
|
|
1993
|
+
Skipped = "SKIPPED",
|
|
1994
|
+
/**
|
|
1995
|
+
* The Operation had its outputs restored from the build cache
|
|
1996
|
+
*/
|
|
1997
|
+
FromCache = "FROM CACHE",
|
|
1998
|
+
/**
|
|
1999
|
+
* The Operation failed
|
|
2000
|
+
*/
|
|
2001
|
+
Failure = "FAILURE",
|
|
2002
|
+
/**
|
|
2003
|
+
* The Operation could not be executed because one or more of its dependencies failed
|
|
2004
|
+
*/
|
|
2005
|
+
Blocked = "BLOCKED",
|
|
2006
|
+
/**
|
|
2007
|
+
* The Operation was a no-op (for example, it had an empty script)
|
|
2008
|
+
*/
|
|
2009
|
+
NoOp = "NO OP"
|
|
2010
|
+
}
|
|
2011
|
+
|
|
2012
|
+
/**
|
|
2013
|
+
* @public
|
|
2014
|
+
*/
|
|
2015
|
+
export declare class PackageJsonDependency {
|
|
2016
|
+
private _type;
|
|
2017
|
+
private _name;
|
|
2018
|
+
private _version;
|
|
2019
|
+
private _onChange;
|
|
2020
|
+
constructor(name: string, version: string, type: DependencyType, onChange: () => void);
|
|
2021
|
+
get name(): string;
|
|
2022
|
+
get version(): string;
|
|
2023
|
+
setVersion(newVersion: string): void;
|
|
2024
|
+
get dependencyType(): DependencyType;
|
|
2025
|
+
}
|
|
2026
|
+
|
|
2027
|
+
/**
|
|
2028
|
+
* @public
|
|
2029
|
+
*/
|
|
2030
|
+
export declare class PackageJsonEditor {
|
|
2031
|
+
private readonly _filePath;
|
|
2032
|
+
private readonly _dependencies;
|
|
2033
|
+
private readonly _devDependencies;
|
|
2034
|
+
private readonly _resolutions;
|
|
2035
|
+
private _modified;
|
|
2036
|
+
private _sourceData;
|
|
2037
|
+
private constructor();
|
|
2038
|
+
static load(filePath: string): PackageJsonEditor;
|
|
2039
|
+
static fromObject(object: IPackageJson, filename: string): PackageJsonEditor;
|
|
2040
|
+
get name(): string;
|
|
2041
|
+
get version(): string;
|
|
2042
|
+
get filePath(): string;
|
|
2043
|
+
/**
|
|
2044
|
+
* The list of dependencies of type DependencyType.Regular, DependencyType.Optional, or DependencyType.Peer.
|
|
2045
|
+
*/
|
|
2046
|
+
get dependencyList(): ReadonlyArray<PackageJsonDependency>;
|
|
2047
|
+
/**
|
|
2048
|
+
* The list of dependencies of type DependencyType.Dev.
|
|
2049
|
+
*/
|
|
2050
|
+
get devDependencyList(): ReadonlyArray<PackageJsonDependency>;
|
|
2051
|
+
/**
|
|
2052
|
+
* This field is a Yarn-specific feature that allows overriding of package resolution.
|
|
2053
|
+
*
|
|
2054
|
+
* @remarks
|
|
2055
|
+
* See the {@link https://github.com/yarnpkg/rfcs/blob/master/implemented/0000-selective-versions-resolutions.md
|
|
2056
|
+
* | 0000-selective-versions-resolutions.md RFC} for details.
|
|
2057
|
+
*/
|
|
2058
|
+
get resolutionsList(): ReadonlyArray<PackageJsonDependency>;
|
|
2059
|
+
tryGetDependency(packageName: string): PackageJsonDependency | undefined;
|
|
2060
|
+
tryGetDevDependency(packageName: string): PackageJsonDependency | undefined;
|
|
2061
|
+
addOrUpdateDependency(packageName: string, newVersion: string, dependencyType: DependencyType): void;
|
|
2062
|
+
removeDependency(packageName: string, dependencyType: DependencyType): void;
|
|
2063
|
+
saveIfModified(): boolean;
|
|
2064
|
+
/**
|
|
2065
|
+
* Get the normalized package.json that represents the current state of the
|
|
2066
|
+
* PackageJsonEditor. This method does not save any changes that were made to the
|
|
2067
|
+
* package.json, but instead returns the object representation of what would be saved
|
|
2068
|
+
* if saveIfModified() is called.
|
|
2069
|
+
*/
|
|
2070
|
+
saveToObject(): IPackageJson;
|
|
2071
|
+
private _onChange;
|
|
2072
|
+
/**
|
|
2073
|
+
* Create a normalized shallow copy of the provided package.json without modifying the
|
|
2074
|
+
* original. If the result of this method is being returned via a public facing method,
|
|
2075
|
+
* it will still need to be deep-cloned to avoid propogating changes back to the
|
|
2076
|
+
* original dataset.
|
|
2077
|
+
*/
|
|
2078
|
+
private _normalize;
|
|
2079
|
+
}
|
|
2080
|
+
|
|
2081
|
+
/**
|
|
2082
|
+
* An abstraction for controlling the supported package managers: PNPM, NPM, and Yarn.
|
|
2083
|
+
* @public
|
|
2084
|
+
*/
|
|
2085
|
+
export declare abstract class PackageManager {
|
|
2086
|
+
/**
|
|
2087
|
+
* The package manager.
|
|
2088
|
+
*/
|
|
2089
|
+
readonly packageManager: PackageManagerName;
|
|
2090
|
+
/**
|
|
2091
|
+
* The SemVer version of the package manager.
|
|
2092
|
+
*/
|
|
2093
|
+
readonly version: string;
|
|
2094
|
+
protected _shrinkwrapFilename: string;
|
|
2095
|
+
/** @internal */
|
|
2096
|
+
protected constructor(version: string, packageManager: PackageManagerName);
|
|
2097
|
+
/**
|
|
2098
|
+
* The filename of the shrinkwrap file that is used by the package manager.
|
|
2099
|
+
*
|
|
2100
|
+
* @remarks
|
|
2101
|
+
* Example: `npm-shrinkwrap.json` or `pnpm-lock.yaml`
|
|
2102
|
+
*/
|
|
2103
|
+
get shrinkwrapFilename(): string;
|
|
2104
|
+
}
|
|
2105
|
+
|
|
2106
|
+
/**
|
|
2107
|
+
* This represents the available Package Manager tools as a string
|
|
2108
|
+
* @public
|
|
2109
|
+
*/
|
|
2110
|
+
export declare type PackageManagerName = 'pnpm' | 'npm' | 'yarn';
|
|
2111
|
+
|
|
2112
|
+
/**
|
|
2113
|
+
* Options that all package managers share.
|
|
2114
|
+
*
|
|
2115
|
+
* @public
|
|
2116
|
+
*/
|
|
2117
|
+
export declare abstract class PackageManagerOptionsConfigurationBase implements IPackageManagerOptionsJsonBase {
|
|
2118
|
+
/**
|
|
2119
|
+
* Environment variables for the package manager
|
|
2120
|
+
*/
|
|
2121
|
+
readonly environmentVariables?: IConfigurationEnvironment;
|
|
2122
|
+
/** @internal */
|
|
2123
|
+
protected constructor(json: IPackageManagerOptionsJsonBase);
|
|
2124
|
+
}
|
|
2125
|
+
|
|
2126
|
+
/**
|
|
2127
|
+
* Hooks into the execution process for phased commands
|
|
2128
|
+
* @alpha
|
|
2129
|
+
*/
|
|
2130
|
+
export declare class PhasedCommandHooks {
|
|
2131
|
+
/**
|
|
2132
|
+
* Hook invoked to create operations for execution.
|
|
2133
|
+
* Use the context to distinguish between the initial run and phased runs.
|
|
2134
|
+
*/
|
|
2135
|
+
readonly createOperations: AsyncSeriesWaterfallHook<[Set<Operation>, ICreateOperationsContext]>;
|
|
2136
|
+
/**
|
|
2137
|
+
* Hook invoked after executing a set of operations.
|
|
2138
|
+
* Use the context to distinguish between the initial run and phased runs.
|
|
2139
|
+
* Hook is series for stable output.
|
|
2140
|
+
*/
|
|
2141
|
+
readonly afterExecuteOperations: AsyncSeriesHook<[IExecutionResult, ICreateOperationsContext]>;
|
|
2142
|
+
/**
|
|
2143
|
+
* Hook invoked after a run has finished and the command is watching for changes.
|
|
2144
|
+
* May be used to display additional relevant data to the user.
|
|
2145
|
+
* Only relevant when running in watch mode.
|
|
2146
|
+
*/
|
|
2147
|
+
readonly waitingForChanges: SyncHook<void>;
|
|
2148
|
+
}
|
|
2149
|
+
|
|
2150
|
+
/**
|
|
2151
|
+
* Options that are only used when the PNPM package manager is selected.
|
|
2152
|
+
* Use this class to load "common/config/rush/pnpm-config.json" file,
|
|
2153
|
+
* or, load json from "pnpmOptions" field in "rush.json" for legacy support.
|
|
2154
|
+
*
|
|
2155
|
+
* @remarks
|
|
2156
|
+
* It is valid to define these options in rush.json even if the PNPM package manager
|
|
2157
|
+
* is not being used.
|
|
2158
|
+
*
|
|
2159
|
+
* @public
|
|
2160
|
+
*/
|
|
2161
|
+
export declare class PnpmOptionsConfiguration extends PackageManagerOptionsConfigurationBase {
|
|
2162
|
+
private static _jsonSchema;
|
|
2163
|
+
/**
|
|
2164
|
+
* The method used to resolve the store used by PNPM.
|
|
2165
|
+
*
|
|
2166
|
+
* @remarks
|
|
2167
|
+
* Available options:
|
|
2168
|
+
* - local: Use the standard Rush store path: common/temp/pnpm-store
|
|
2169
|
+
* - global: Use PNPM's global store path
|
|
2170
|
+
*/
|
|
2171
|
+
readonly pnpmStore: PnpmStoreOptions;
|
|
2172
|
+
/**
|
|
2173
|
+
* The path for PNPM to use as the store directory.
|
|
2174
|
+
*
|
|
2175
|
+
* Will be overridden by environment variable RUSH_PNPM_STORE_PATH
|
|
2176
|
+
*/
|
|
2177
|
+
readonly pnpmStorePath: string;
|
|
2178
|
+
/**
|
|
2179
|
+
* If true, then Rush will add the "--strict-peer-dependencies" option when invoking PNPM.
|
|
2180
|
+
*
|
|
2181
|
+
* @remarks
|
|
2182
|
+
* This causes "rush install" to fail if there are unsatisfied peer dependencies, which is
|
|
2183
|
+
* an invalid state that can cause build failures or incompatible dependency versions.
|
|
2184
|
+
* (For historical reasons, JavaScript package managers generally do not treat this invalid state
|
|
2185
|
+
* as an error.)
|
|
2186
|
+
*
|
|
2187
|
+
* The default value is false. (For now.)
|
|
2188
|
+
*/
|
|
2189
|
+
readonly strictPeerDependencies: boolean;
|
|
2190
|
+
/**
|
|
2191
|
+
* If true, then `rush install` will report an error if manual modifications
|
|
2192
|
+
* were made to the PNPM shrinkwrap file without running `rush update` afterwards.
|
|
2193
|
+
*
|
|
2194
|
+
* @remarks
|
|
2195
|
+
* This feature protects against accidental inconsistencies that may be introduced
|
|
2196
|
+
* if the PNPM shrinkwrap file (`pnpm-lock.yaml`) is manually edited. When this
|
|
2197
|
+
* feature is enabled, `rush update` will write a hash of the shrinkwrap contents to repo-state.json,
|
|
2198
|
+
* and then `rush update` and `rush install` will validate the hash. Note that this does not prohibit
|
|
2199
|
+
* manual modifications, but merely requires `rush update` be run
|
|
2200
|
+
* afterwards, ensuring that PNPM can report or repair any potential inconsistencies.
|
|
2201
|
+
*
|
|
2202
|
+
* To temporarily disable this validation when invoking `rush install`, use the
|
|
2203
|
+
* `--bypass-policy` command-line parameter.
|
|
2204
|
+
*
|
|
2205
|
+
* The default value is false.
|
|
2206
|
+
*/
|
|
2207
|
+
readonly preventManualShrinkwrapChanges: boolean;
|
|
2208
|
+
/**
|
|
2209
|
+
* If true, then Rush will use the workspaces feature to install and link packages when invoking PNPM.
|
|
2210
|
+
*
|
|
2211
|
+
* @remarks
|
|
2212
|
+
* The default value is true. (For now.)
|
|
2213
|
+
*/
|
|
2214
|
+
readonly useWorkspaces: boolean;
|
|
2215
|
+
/**
|
|
2216
|
+
* The "globalOverrides" setting provides a simple mechanism for overriding version selections
|
|
2217
|
+
* for all dependencies of all projects in the monorepo workspace. The settings are copied
|
|
2218
|
+
* into the `pnpm.overrides` field of the `common/temp/package.json` file that is generated
|
|
2219
|
+
* by Rush during installation.
|
|
2220
|
+
*
|
|
2221
|
+
* Order of precedence: `.pnpmfile.cjs` has the highest precedence, followed by
|
|
2222
|
+
* `unsupportedPackageJsonSettings`, `globalPeerDependencyRules`, `globalPackageExtensions`,
|
|
2223
|
+
* and `globalOverrides` has lowest precedence.
|
|
2224
|
+
*
|
|
2225
|
+
* PNPM documentation: https://pnpm.io/package_json#pnpmoverrides
|
|
2226
|
+
*/
|
|
2227
|
+
readonly globalOverrides: Record<string, string> | undefined;
|
|
2228
|
+
/**
|
|
2229
|
+
* The `globalPeerDependencyRules` setting provides various settings for suppressing validation errors
|
|
2230
|
+
* that are reported during installation with `strictPeerDependencies=true`. The settings are copied
|
|
2231
|
+
* into the `pnpm.peerDependencyRules` field of the `common/temp/package.json` file that is generated
|
|
2232
|
+
* by Rush during installation.
|
|
2233
|
+
*
|
|
2234
|
+
* Order of precedence: `.pnpmfile.cjs` has the highest precedence, followed by
|
|
2235
|
+
* `unsupportedPackageJsonSettings`, `globalPeerDependencyRules`, `globalPackageExtensions`,
|
|
2236
|
+
* and `globalOverrides` has lowest precedence.
|
|
2237
|
+
*
|
|
2238
|
+
* https://pnpm.io/package_json#pnpmpeerdependencyrules
|
|
2239
|
+
*/
|
|
2240
|
+
readonly globalPeerDependencyRules: IPnpmPeerDependencyRules | undefined;
|
|
2241
|
+
/**
|
|
2242
|
+
* The `globalPackageExtension` setting provides a way to patch arbitrary package.json fields
|
|
2243
|
+
* for any PNPM dependency of the monorepo. The settings are copied into the `pnpm.packageExtensions`
|
|
2244
|
+
* field of the `common/temp/package.json` file that is generated by Rush during installation.
|
|
2245
|
+
* The `globalPackageExtension` setting has similar capabilities as `.pnpmfile.cjs` but without
|
|
2246
|
+
* the downsides of an executable script (nondeterminism, unreliable caching, performance concerns).
|
|
2247
|
+
*
|
|
2248
|
+
* Order of precedence: `.pnpmfile.cjs` has the highest precedence, followed by
|
|
2249
|
+
* `unsupportedPackageJsonSettings`, `globalPeerDependencyRules`, `globalPackageExtensions`,
|
|
2250
|
+
* and `globalOverrides` has lowest precedence.
|
|
2251
|
+
*
|
|
2252
|
+
* PNPM documentation: https://pnpm.io/package_json#pnpmpackageextensions
|
|
2253
|
+
*/
|
|
2254
|
+
readonly globalPackageExtensions: Record<string, IPnpmPackageExtension> | undefined;
|
|
2255
|
+
/**
|
|
2256
|
+
* The `globalNeverBuiltDependencies` setting suppresses the `preinstall`, `install`, and `postinstall`
|
|
2257
|
+
* lifecycle events for the specified NPM dependencies. This is useful for scripts with poor practices
|
|
2258
|
+
* such as downloading large binaries without retries or attempting to invoke OS tools such as
|
|
2259
|
+
* a C++ compiler. (PNPM's terminology refers to these lifecycle events as "building" a package;
|
|
2260
|
+
* it has nothing to do with build system operations such as `rush build` or `rushx build`.)
|
|
2261
|
+
* The settings are copied into the `pnpm.neverBuiltDependencies` field of the `common/temp/package.json`
|
|
2262
|
+
* file that is generated by Rush during installation.
|
|
2263
|
+
*
|
|
2264
|
+
* PNPM documentation: https://pnpm.io/package_json#pnpmneverbuiltdependencies
|
|
2265
|
+
*/
|
|
2266
|
+
readonly globalNeverBuiltDependencies: string[] | undefined;
|
|
2267
|
+
/**
|
|
2268
|
+
* The `globalAllowedDeprecatedVersions` setting suppresses installation warnings for package
|
|
2269
|
+
* versions that the NPM registry reports as being deprecated. This is useful if the
|
|
2270
|
+
* deprecated package is an indirect dependency of an external package that has not released a fix.
|
|
2271
|
+
* The settings are copied into the `pnpm.allowedDeprecatedVersions` field of the `common/temp/package.json`
|
|
2272
|
+
* file that is generated by Rush during installation.
|
|
2273
|
+
*
|
|
2274
|
+
* PNPM documentation: https://pnpm.io/package_json#pnpmalloweddeprecatedversions
|
|
2275
|
+
*
|
|
2276
|
+
* If you are working to eliminate a deprecated version, it's better to specify `allowedDeprecatedVersions`
|
|
2277
|
+
* in the package.json file for individual Rush projects.
|
|
2278
|
+
*/
|
|
2279
|
+
readonly globalAllowedDeprecatedVersions: Record<string, string> | undefined;
|
|
2280
|
+
/**
|
|
2281
|
+
* (USE AT YOUR OWN RISK) This is a free-form property bag that will be copied into
|
|
2282
|
+
* the `common/temp/package.json` file that is generated by Rush during installation.
|
|
2283
|
+
* This provides a way to experiment with new PNPM features. These settings will override
|
|
2284
|
+
* any other Rush configuration associated with a given JSON field except for `.pnpmfile.cjs`.
|
|
2285
|
+
*
|
|
2286
|
+
* USAGE OF THIS SETTING IS NOT SUPPORTED BY THE RUSH MAINTAINERS AND MAY CAUSE RUSH
|
|
2287
|
+
* TO MALFUNCTION. If you encounter a missing PNPM setting that you believe should
|
|
2288
|
+
* be supported, please create a GitHub issue or PR. Note that Rush does not aim to
|
|
2289
|
+
* support every possible PNPM setting, but rather to promote a battle-tested installation
|
|
2290
|
+
* strategy that is known to provide a good experience for large teams with lots of projects.
|
|
2291
|
+
*/
|
|
2292
|
+
readonly unsupportedPackageJsonSettings: unknown | undefined;
|
|
2293
|
+
private constructor();
|
|
2294
|
+
/** @internal */
|
|
2295
|
+
static loadFromJsonFileOrThrow(jsonFilename: string, commonTempFolder: string): PnpmOptionsConfiguration;
|
|
2296
|
+
/** @internal */
|
|
2297
|
+
static loadFromJsonObject(json: _IPnpmOptionsJson, commonTempFolder: string): PnpmOptionsConfiguration;
|
|
2298
|
+
}
|
|
2299
|
+
|
|
2300
|
+
/**
|
|
2301
|
+
* This represents the available PNPM store options
|
|
2302
|
+
* @public
|
|
2303
|
+
*/
|
|
2304
|
+
export declare type PnpmStoreOptions = 'local' | 'global';
|
|
2305
|
+
|
|
2306
|
+
/**
|
|
2307
|
+
* @beta
|
|
2308
|
+
*/
|
|
2309
|
+
export declare class ProjectChangeAnalyzer {
|
|
2310
|
+
/**
|
|
2311
|
+
* UNINITIALIZED === we haven't looked
|
|
2312
|
+
* undefined === data isn't available (i.e. - git isn't present)
|
|
2313
|
+
*/
|
|
2314
|
+
private _data;
|
|
2315
|
+
private readonly _filteredData;
|
|
2316
|
+
private readonly _projectStateCache;
|
|
2317
|
+
private readonly _rushConfiguration;
|
|
2318
|
+
private readonly _git;
|
|
2319
|
+
constructor(rushConfiguration: RushConfiguration);
|
|
2320
|
+
/**
|
|
2321
|
+
* Try to get a list of the specified project's dependencies and their hashes.
|
|
2322
|
+
*
|
|
2323
|
+
* @remarks
|
|
2324
|
+
* If the data can't be generated (i.e. - if Git is not present) this returns undefined.
|
|
2325
|
+
*
|
|
2326
|
+
* @internal
|
|
2327
|
+
*/
|
|
2328
|
+
_tryGetProjectDependenciesAsync(project: RushConfigurationProject, terminal: ITerminal): Promise<Map<string, string> | undefined>;
|
|
2329
|
+
/**
|
|
2330
|
+
* @internal
|
|
2331
|
+
*/
|
|
2332
|
+
_ensureInitialized(terminal: ITerminal): IRawRepoState | undefined;
|
|
2333
|
+
/**
|
|
2334
|
+
* The project state hash is calculated in the following way:
|
|
2335
|
+
* - Project dependencies are collected (see ProjectChangeAnalyzer.getPackageDeps)
|
|
2336
|
+
* - If project dependencies cannot be collected (i.e. - if Git isn't available),
|
|
2337
|
+
* this function returns `undefined`
|
|
2338
|
+
* - The (path separator normalized) repo-root-relative dependencies' file paths are sorted
|
|
2339
|
+
* - A SHA1 hash is created and each (sorted) file path is fed into the hash and then its
|
|
2340
|
+
* Git SHA is fed into the hash
|
|
2341
|
+
* - A hex digest of the hash is returned
|
|
2342
|
+
*
|
|
2343
|
+
* @internal
|
|
2344
|
+
*/
|
|
2345
|
+
_tryGetProjectStateHashAsync(project: RushConfigurationProject, terminal: ITerminal): Promise<string | undefined>;
|
|
2346
|
+
_filterProjectDataAsync<T>(project: RushConfigurationProject, unfilteredProjectData: Map<string, T>, rootDir: string, terminal: ITerminal): Promise<Map<string, T>>;
|
|
2347
|
+
/**
|
|
2348
|
+
* Gets a list of projects that have changed in the current state of the repo
|
|
2349
|
+
* when compared to the specified branch, optionally taking the shrinkwrap and settings in
|
|
2350
|
+
* the rush-project.json file into consideration.
|
|
2351
|
+
*/
|
|
2352
|
+
getChangedProjectsAsync(options: IGetChangedProjectsOptions): Promise<Set<RushConfigurationProject>>;
|
|
2353
|
+
private _getData;
|
|
2354
|
+
private _getIgnoreMatcherForProjectAsync;
|
|
2355
|
+
private _getRepoDeps;
|
|
2356
|
+
}
|
|
2357
|
+
|
|
2358
|
+
/**
|
|
2359
|
+
* This file is used to track the state of various Rush-related features. It is generated
|
|
2360
|
+
* and updated by Rush.
|
|
2361
|
+
*
|
|
2362
|
+
* @public
|
|
2363
|
+
*/
|
|
2364
|
+
export declare class RepoStateFile {
|
|
2365
|
+
private static _jsonSchema;
|
|
2366
|
+
private _repoStateFilePath;
|
|
2367
|
+
private _variant;
|
|
2368
|
+
private _pnpmShrinkwrapHash;
|
|
2369
|
+
private _preferredVersionsHash;
|
|
2370
|
+
private _isValid;
|
|
2371
|
+
private _modified;
|
|
2372
|
+
private constructor();
|
|
2373
|
+
/**
|
|
2374
|
+
* Get the absolute file path of the repo-state.json file.
|
|
2375
|
+
*/
|
|
2376
|
+
get filePath(): string;
|
|
2377
|
+
/**
|
|
2378
|
+
* The hash of the pnpm shrinkwrap file at the end of the last update.
|
|
2379
|
+
*/
|
|
2380
|
+
get pnpmShrinkwrapHash(): string | undefined;
|
|
2381
|
+
/**
|
|
2382
|
+
* The hash of all preferred versions at the end of the last update.
|
|
2383
|
+
*/
|
|
2384
|
+
get preferredVersionsHash(): string | undefined;
|
|
2385
|
+
/**
|
|
2386
|
+
* If false, the repo-state.json file is not valid and its values cannot be relied upon
|
|
2387
|
+
*/
|
|
2388
|
+
get isValid(): boolean;
|
|
2389
|
+
/**
|
|
2390
|
+
* Loads the repo-state.json data from the specified file path.
|
|
2391
|
+
* If the file has not been created yet, then an empty object is returned.
|
|
2392
|
+
*
|
|
2393
|
+
* @param jsonFilename - The path to the repo-state.json file.
|
|
2394
|
+
* @param variant - The variant currently being used by Rush.
|
|
2395
|
+
*/
|
|
2396
|
+
static loadFromFile(jsonFilename: string, variant: string | undefined): RepoStateFile;
|
|
2397
|
+
/**
|
|
2398
|
+
* Refresh the data contained in repo-state.json using the current state
|
|
2399
|
+
* of the Rush repo, and save the file if changes were made.
|
|
2400
|
+
*
|
|
2401
|
+
* @param rushConfiguration - The Rush configuration for the repo.
|
|
2402
|
+
*
|
|
2403
|
+
* @returns true if the file was modified, otherwise false.
|
|
2404
|
+
*/
|
|
2405
|
+
refreshState(rushConfiguration: RushConfiguration): boolean;
|
|
2406
|
+
/**
|
|
2407
|
+
* Writes the "repo-state.json" file to disk, using the filename that was passed to loadFromFile().
|
|
2408
|
+
*/
|
|
2409
|
+
private _saveIfModified;
|
|
2410
|
+
private _serialize;
|
|
2411
|
+
}
|
|
2412
|
+
|
|
2413
|
+
/**
|
|
2414
|
+
* General operations for the Rush engine.
|
|
2415
|
+
*
|
|
2416
|
+
* @public
|
|
2417
|
+
*/
|
|
2418
|
+
export declare class Rush {
|
|
2419
|
+
private static _version;
|
|
2420
|
+
/**
|
|
2421
|
+
* This API is used by the `@microsoft/rush` front end to launch the "rush" command-line.
|
|
2422
|
+
* Third-party tools should not use this API. Instead, they should execute the "rush" binary
|
|
2423
|
+
* and start a new Node.js process.
|
|
2424
|
+
*
|
|
2425
|
+
* @remarks
|
|
2426
|
+
* Earlier versions of the rush frontend used a different API contract. In the old contract,
|
|
2427
|
+
* the second argument was the `isManaged` value of the {@link ILaunchOptions} object.
|
|
2428
|
+
*
|
|
2429
|
+
* Even though this API isn't documented, it is still supported for legacy compatibility.
|
|
2430
|
+
*/
|
|
2431
|
+
static launch(launcherVersion: string, arg: ILaunchOptions): void;
|
|
2432
|
+
/**
|
|
2433
|
+
* This API is used by the `@microsoft/rush` front end to launch the "rushx" command-line.
|
|
2434
|
+
* Third-party tools should not use this API. Instead, they should execute the "rushx" binary
|
|
2435
|
+
* and start a new Node.js process.
|
|
2436
|
+
*/
|
|
2437
|
+
static launchRushX(launcherVersion: string, options: ILaunchOptions): void;
|
|
2438
|
+
/**
|
|
2439
|
+
* This API is used by the `@microsoft/rush` front end to launch the "rush-pnpm" command-line.
|
|
2440
|
+
* Third-party tools should not use this API. Instead, they should execute the "rush-pnpm" binary
|
|
2441
|
+
* and start a new Node.js process.
|
|
2442
|
+
*/
|
|
2443
|
+
static launchRushPnpm(launcherVersion: string, options: ILaunchOptions): void;
|
|
2444
|
+
/**
|
|
2445
|
+
* The currently executing version of the "rush-lib" library.
|
|
2446
|
+
* This is the same as the Rush tool version for that release.
|
|
2447
|
+
*/
|
|
2448
|
+
static get version(): string;
|
|
2449
|
+
/**
|
|
2450
|
+
* Assign the `RUSH_INVOKED_FOLDER` environment variable during startup. This is only applied when
|
|
2451
|
+
* Rush is invoked via the CLI, not via the `@microsoft/rush-lib` automation API.
|
|
2452
|
+
*
|
|
2453
|
+
* @remarks
|
|
2454
|
+
* Modifying the parent process's environment is not a good design. The better design is (1) to consolidate
|
|
2455
|
+
* Rush's code paths that invoke scripts, and (2) to pass down the invoked folder with each code path,
|
|
2456
|
+
* so that it can finally be applied in a centralized helper like `Utilities._createEnvironmentForRushCommand()`.
|
|
2457
|
+
* The natural time to do that refactoring is when we rework `Utilities.executeCommand()` to use
|
|
2458
|
+
* `Executable.spawn()` or rushell.
|
|
2459
|
+
*/
|
|
2460
|
+
private static _assignRushInvokedFolder;
|
|
2461
|
+
/**
|
|
2462
|
+
* This function normalizes legacy options to the current {@link ILaunchOptions} object.
|
|
2463
|
+
*/
|
|
2464
|
+
private static _normalizeLaunchOptions;
|
|
2465
|
+
}
|
|
2466
|
+
|
|
2467
|
+
/**
|
|
2468
|
+
* This represents the Rush configuration for a repository, based on the "rush.json"
|
|
2469
|
+
* configuration file.
|
|
2470
|
+
* @public
|
|
2471
|
+
*/
|
|
2472
|
+
export declare class RushConfiguration {
|
|
2473
|
+
private static _jsonSchema;
|
|
2474
|
+
private _rushJsonFile;
|
|
2475
|
+
private _rushJsonFolder;
|
|
2476
|
+
private _changesFolder;
|
|
2477
|
+
private _commonFolder;
|
|
2478
|
+
private _commonTempFolder;
|
|
2479
|
+
private _commonScriptsFolder;
|
|
2480
|
+
private _commonRushConfigFolder;
|
|
2481
|
+
private _packageManager;
|
|
2482
|
+
private _packageManagerWrapper;
|
|
2483
|
+
private _npmCacheFolder;
|
|
2484
|
+
private _npmTmpFolder;
|
|
2485
|
+
private _yarnCacheFolder;
|
|
2486
|
+
private _shrinkwrapFilename;
|
|
2487
|
+
private _tempShrinkwrapFilename;
|
|
2488
|
+
private _tempShrinkwrapPreinstallFilename;
|
|
2489
|
+
private _currentVariantJsonFilename;
|
|
2490
|
+
private _packageManagerToolVersion;
|
|
2491
|
+
private _packageManagerToolFilename;
|
|
2492
|
+
private _projectFolderMinDepth;
|
|
2493
|
+
private _projectFolderMaxDepth;
|
|
2494
|
+
private _allowMostlyStandardPackageNames;
|
|
2495
|
+
private _ensureConsistentVersions;
|
|
2496
|
+
private _suppressNodeLtsWarning;
|
|
2497
|
+
private _variants;
|
|
2498
|
+
private readonly _pathTrees;
|
|
2499
|
+
private _approvedPackagesPolicy;
|
|
2500
|
+
private _gitAllowedEmailRegExps;
|
|
2501
|
+
private _gitSampleEmail;
|
|
2502
|
+
private _gitVersionBumpCommitMessage;
|
|
2503
|
+
private _gitChangeLogUpdateCommitMessage;
|
|
2504
|
+
private _gitChangefilesCommitMessage;
|
|
2505
|
+
private _gitTagSeparator;
|
|
2506
|
+
private _hotfixChangeEnabled;
|
|
2507
|
+
private _repositoryUrls;
|
|
2508
|
+
private _repositoryDefaultBranch;
|
|
2509
|
+
private _repositoryDefaultRemote;
|
|
2510
|
+
private _npmOptions;
|
|
2511
|
+
private _pnpmOptions;
|
|
2512
|
+
private _yarnOptions;
|
|
2513
|
+
private _packageManagerConfigurationOptions;
|
|
2514
|
+
private _eventHooks;
|
|
2515
|
+
private readonly _packageNameParser;
|
|
2516
|
+
private _telemetryEnabled;
|
|
2517
|
+
private _projects;
|
|
2518
|
+
private _projectsByName;
|
|
2519
|
+
private _projectsByTag;
|
|
2520
|
+
private _commonVersionsConfigurationsByVariant;
|
|
2521
|
+
private _versionPolicyConfiguration;
|
|
2522
|
+
private _versionPolicyConfigurationFilePath;
|
|
2523
|
+
private _experimentsConfiguration;
|
|
2524
|
+
private __rushPluginsConfiguration;
|
|
2525
|
+
private readonly _rushConfigurationJson;
|
|
2526
|
+
/**
|
|
2527
|
+
* Use RushConfiguration.loadFromConfigurationFile() or Use RushConfiguration.loadFromDefaultLocation()
|
|
2528
|
+
* instead.
|
|
2529
|
+
*/
|
|
2530
|
+
private constructor();
|
|
2531
|
+
private _initializeAndValidateLocalProjects;
|
|
2532
|
+
/**
|
|
2533
|
+
* Loads the configuration data from an Rush.json configuration file and returns
|
|
2534
|
+
* an RushConfiguration object.
|
|
2535
|
+
*/
|
|
2536
|
+
static loadFromConfigurationFile(rushJsonFilename: string): RushConfiguration;
|
|
2537
|
+
static loadFromDefaultLocation(options?: ITryFindRushJsonLocationOptions): RushConfiguration;
|
|
2538
|
+
/**
|
|
2539
|
+
* Find the rush.json location and return the path, or undefined if a rush.json can't be found.
|
|
2540
|
+
*
|
|
2541
|
+
* @privateRemarks
|
|
2542
|
+
* Keep this in sync with `findRushJsonLocation` in `rush-sdk/src/index.ts`.
|
|
2543
|
+
*/
|
|
2544
|
+
static tryFindRushJsonLocation(options?: ITryFindRushJsonLocationOptions): string | undefined;
|
|
2545
|
+
/**
|
|
2546
|
+
* This generates the unique names that are used to create temporary projects
|
|
2547
|
+
* in the Rush common folder.
|
|
2548
|
+
* NOTE: sortedProjectJsons is sorted by the caller.
|
|
2549
|
+
*/
|
|
2550
|
+
private static _generateTempNameForProject;
|
|
2551
|
+
/**
|
|
2552
|
+
* If someone adds a config file in the "common/rush/config" folder, it would be a bad
|
|
2553
|
+
* experience for Rush to silently ignore their file simply because they misspelled the
|
|
2554
|
+
* filename, or maybe it's an old format that's no longer supported. The
|
|
2555
|
+
* _validateCommonRushConfigFolder() function makes sure that this folder only contains
|
|
2556
|
+
* recognized config files.
|
|
2557
|
+
*/
|
|
2558
|
+
private static _validateCommonRushConfigFolder;
|
|
2559
|
+
/**
|
|
2560
|
+
* The name of the package manager being used to install dependencies
|
|
2561
|
+
*/
|
|
2562
|
+
get packageManager(): PackageManagerName;
|
|
2563
|
+
/**
|
|
2564
|
+
* {@inheritdoc PackageManager}
|
|
2565
|
+
*
|
|
2566
|
+
* @privateremarks
|
|
2567
|
+
* In the next major breaking API change, we will rename this property to "packageManager" and eliminate the
|
|
2568
|
+
* old property with that name.
|
|
2569
|
+
*
|
|
2570
|
+
* @beta
|
|
2571
|
+
*/
|
|
2572
|
+
get packageManagerWrapper(): PackageManager;
|
|
2573
|
+
/**
|
|
2574
|
+
* Gets the JSON data structure for the "rush.json" configuration file.
|
|
2575
|
+
*
|
|
2576
|
+
* @internal
|
|
2577
|
+
*/
|
|
2578
|
+
get rushConfigurationJson(): IRushConfigurationJson;
|
|
2579
|
+
/**
|
|
2580
|
+
* The absolute path to the "rush.json" configuration file that was loaded to construct this object.
|
|
2581
|
+
*/
|
|
2582
|
+
get rushJsonFile(): string;
|
|
2583
|
+
/**
|
|
2584
|
+
* The absolute path of the folder that contains rush.json for this project.
|
|
2585
|
+
*/
|
|
2586
|
+
get rushJsonFolder(): string;
|
|
2587
|
+
/**
|
|
2588
|
+
* The folder that contains all change files.
|
|
2589
|
+
*/
|
|
2590
|
+
get changesFolder(): string;
|
|
2591
|
+
/**
|
|
2592
|
+
* The fully resolved path for the "common" folder where Rush will store settings that
|
|
2593
|
+
* affect all Rush projects. This is always a subfolder of the folder containing "rush.json".
|
|
2594
|
+
* Example: `C:\MyRepo\common`
|
|
2595
|
+
*/
|
|
2596
|
+
get commonFolder(): string;
|
|
2597
|
+
/**
|
|
2598
|
+
* The folder where Rush's additional config files are stored. This folder is always a
|
|
2599
|
+
* subfolder called `config\rush` inside the common folder. (The `common\config` folder
|
|
2600
|
+
* is reserved for configuration files used by other tools.) To avoid confusion or mistakes,
|
|
2601
|
+
* Rush will report an error if this this folder contains any unrecognized files.
|
|
2602
|
+
*
|
|
2603
|
+
* Example: `C:\MyRepo\common\config\rush`
|
|
2604
|
+
*/
|
|
2605
|
+
get commonRushConfigFolder(): string;
|
|
2606
|
+
/**
|
|
2607
|
+
* The folder where temporary files will be stored. This is always a subfolder called "temp"
|
|
2608
|
+
* under the common folder.
|
|
2609
|
+
* Example: `C:\MyRepo\common\temp`
|
|
2610
|
+
*/
|
|
2611
|
+
get commonTempFolder(): string;
|
|
2612
|
+
/**
|
|
2613
|
+
* The folder where automation scripts are stored. This is always a subfolder called "scripts"
|
|
2614
|
+
* under the common folder.
|
|
2615
|
+
* Example: `C:\MyRepo\common\scripts`
|
|
2616
|
+
*/
|
|
2617
|
+
get commonScriptsFolder(): string;
|
|
2618
|
+
/**
|
|
2619
|
+
* The fully resolved path for the "autoinstallers" folder.
|
|
2620
|
+
* Example: `C:\MyRepo\common\autoinstallers`
|
|
2621
|
+
*/
|
|
2622
|
+
get commonAutoinstallersFolder(): string;
|
|
2623
|
+
/**
|
|
2624
|
+
* The folder where rush-plugin options json files are stored.
|
|
2625
|
+
* Example: `C:\MyRepo\common\config\rush-plugins`
|
|
2626
|
+
*/
|
|
2627
|
+
get rushPluginOptionsFolder(): string;
|
|
2628
|
+
/**
|
|
2629
|
+
* The local folder that will store the NPM package cache. Rush does not rely on the
|
|
2630
|
+
* npm's default global cache folder, because npm's caching implementation does not
|
|
2631
|
+
* reliably handle multiple processes. (For example, if a build box is running
|
|
2632
|
+
* "rush install" simultaneously for two different working folders, it may fail randomly.)
|
|
2633
|
+
*
|
|
2634
|
+
* Example: `C:\MyRepo\common\temp\npm-cache`
|
|
2635
|
+
*/
|
|
2636
|
+
get npmCacheFolder(): string;
|
|
2637
|
+
/**
|
|
2638
|
+
* The local folder where npm's temporary files will be written during installation.
|
|
2639
|
+
* Rush does not rely on the global default folder, because it may be on a different
|
|
2640
|
+
* hard disk.
|
|
2641
|
+
*
|
|
2642
|
+
* Example: `C:\MyRepo\common\temp\npm-tmp`
|
|
2643
|
+
*/
|
|
2644
|
+
get npmTmpFolder(): string;
|
|
2645
|
+
/**
|
|
2646
|
+
* The local folder that will store the Yarn package cache.
|
|
2647
|
+
*
|
|
2648
|
+
* Example: `C:\MyRepo\common\temp\yarn-cache`
|
|
2649
|
+
*/
|
|
2650
|
+
get yarnCacheFolder(): string;
|
|
2651
|
+
/**
|
|
2652
|
+
* The full path of the shrinkwrap file that is tracked by Git. (The "rush install"
|
|
2653
|
+
* command uses a temporary copy, whose path is tempShrinkwrapFilename.)
|
|
2654
|
+
* @remarks
|
|
2655
|
+
* This property merely reports the filename; the file itself may not actually exist.
|
|
2656
|
+
* Example: `C:\MyRepo\common\npm-shrinkwrap.json` or `C:\MyRepo\common\pnpm-lock.yaml`
|
|
2657
|
+
*
|
|
2658
|
+
* @deprecated Use `getCommittedShrinkwrapFilename` instead, which gets the correct common
|
|
2659
|
+
* shrinkwrap file name for a given active variant.
|
|
2660
|
+
*/
|
|
2661
|
+
get committedShrinkwrapFilename(): string;
|
|
2662
|
+
/**
|
|
2663
|
+
* The filename (without any path) of the shrinkwrap file that is used by the package manager.
|
|
2664
|
+
* @remarks
|
|
2665
|
+
* This property merely reports the filename; the file itself may not actually exist.
|
|
2666
|
+
* Example: `npm-shrinkwrap.json` or `pnpm-lock.yaml`
|
|
2667
|
+
*/
|
|
2668
|
+
get shrinkwrapFilename(): string;
|
|
2669
|
+
/**
|
|
2670
|
+
* The full path of the temporary shrinkwrap file that is used during "rush install".
|
|
2671
|
+
* This file may get rewritten by the package manager during installation.
|
|
2672
|
+
* @remarks
|
|
2673
|
+
* This property merely reports the filename; the file itself may not actually exist.
|
|
2674
|
+
* Example: `C:\MyRepo\common\temp\npm-shrinkwrap.json` or `C:\MyRepo\common\temp\pnpm-lock.yaml`
|
|
2675
|
+
*/
|
|
2676
|
+
get tempShrinkwrapFilename(): string;
|
|
2677
|
+
/**
|
|
2678
|
+
* The full path of a backup copy of tempShrinkwrapFilename. This backup copy is made
|
|
2679
|
+
* before installation begins, and can be compared to determine how the package manager
|
|
2680
|
+
* modified tempShrinkwrapFilename.
|
|
2681
|
+
* @remarks
|
|
2682
|
+
* This property merely reports the filename; the file itself may not actually exist.
|
|
2683
|
+
* Example: `C:\MyRepo\common\temp\npm-shrinkwrap-preinstall.json`
|
|
2684
|
+
* or `C:\MyRepo\common\temp\pnpm-lock-preinstall.yaml`
|
|
2685
|
+
*/
|
|
2686
|
+
get tempShrinkwrapPreinstallFilename(): string;
|
|
2687
|
+
/**
|
|
2688
|
+
* Returns an English phrase such as "shrinkwrap file" that can be used in logging messages
|
|
2689
|
+
* to refer to the shrinkwrap file using appropriate terminology for the currently selected
|
|
2690
|
+
* package manager.
|
|
2691
|
+
*/
|
|
2692
|
+
get shrinkwrapFilePhrase(): string;
|
|
2693
|
+
/**
|
|
2694
|
+
* The filename of the build dependency data file. By default this is
|
|
2695
|
+
* called 'rush-link.json' resides in the Rush common folder.
|
|
2696
|
+
* Its data structure is defined by IRushLinkJson.
|
|
2697
|
+
*
|
|
2698
|
+
* Example: `C:\MyRepo\common\temp\rush-link.json`
|
|
2699
|
+
*
|
|
2700
|
+
* @deprecated The "rush-link.json" file was removed in Rush 5.30.0.
|
|
2701
|
+
* Use `RushConfigurationProject.localDependencyProjects` instead.
|
|
2702
|
+
*/
|
|
2703
|
+
get rushLinkJsonFilename(): string;
|
|
2704
|
+
/**
|
|
2705
|
+
* The filename of the variant dependency data file. By default this is
|
|
2706
|
+
* called 'current-variant.json' resides in the Rush common folder.
|
|
2707
|
+
* Its data structure is defined by ICurrentVariantJson.
|
|
2708
|
+
*
|
|
2709
|
+
* Example: `C:\MyRepo\common\temp\current-variant.json`
|
|
2710
|
+
*/
|
|
2711
|
+
get currentVariantJsonFilename(): string;
|
|
2712
|
+
/**
|
|
2713
|
+
* The version of the locally installed NPM tool. (Example: "1.2.3")
|
|
2714
|
+
*/
|
|
2715
|
+
get packageManagerToolVersion(): string;
|
|
2716
|
+
/**
|
|
2717
|
+
* The absolute path to the locally installed NPM tool. If "rush install" has not
|
|
2718
|
+
* been run, then this file may not exist yet.
|
|
2719
|
+
* Example: `C:\MyRepo\common\temp\npm-local\node_modules\.bin\npm`
|
|
2720
|
+
*/
|
|
2721
|
+
get packageManagerToolFilename(): string;
|
|
2722
|
+
/**
|
|
2723
|
+
* The minimum allowable folder depth for the projectFolder field in the rush.json file.
|
|
2724
|
+
* This setting provides a way for repository maintainers to discourage nesting of project folders
|
|
2725
|
+
* that makes the directory tree more difficult to navigate. The default value is 2,
|
|
2726
|
+
* which implements a standard 2-level hierarchy of `<categoryFolder>/<projectFolder>/package.json`.
|
|
2727
|
+
*/
|
|
2728
|
+
get projectFolderMinDepth(): number;
|
|
2729
|
+
/**
|
|
2730
|
+
* The maximum allowable folder depth for the projectFolder field in the rush.json file.
|
|
2731
|
+
* This setting provides a way for repository maintainers to discourage nesting of project folders
|
|
2732
|
+
* that makes the directory tree more difficult to navigate. The default value is 2,
|
|
2733
|
+
* which implements on a standard convention of `<categoryFolder>/<projectFolder>/package.json`.
|
|
2734
|
+
*/
|
|
2735
|
+
get projectFolderMaxDepth(): number;
|
|
2736
|
+
/**
|
|
2737
|
+
* Today the npmjs.com registry enforces fairly strict naming rules for packages, but in the early
|
|
2738
|
+
* days there was no standard and hardly any enforcement. A few large legacy projects are still using
|
|
2739
|
+
* nonstandard package names, and private registries sometimes allow it. Set "allowMostlyStandardPackageNames"
|
|
2740
|
+
* to true to relax Rush's enforcement of package names. This allows upper case letters and in the future may
|
|
2741
|
+
* relax other rules, however we want to minimize these exceptions. Many popular tools use certain punctuation
|
|
2742
|
+
* characters as delimiters, based on the assumption that they will never appear in a package name; thus if we relax
|
|
2743
|
+
* the rules too much it is likely to cause very confusing malfunctions.
|
|
2744
|
+
*
|
|
2745
|
+
* The default value is false.
|
|
2746
|
+
*/
|
|
2747
|
+
get allowMostlyStandardPackageNames(): boolean;
|
|
2748
|
+
/**
|
|
2749
|
+
* The "approvedPackagesPolicy" settings.
|
|
2750
|
+
*/
|
|
2751
|
+
get approvedPackagesPolicy(): ApprovedPackagesPolicy;
|
|
2752
|
+
/**
|
|
2753
|
+
* [Part of the "gitPolicy" feature.]
|
|
2754
|
+
* A list of regular expressions describing allowable email patterns for Git commits.
|
|
2755
|
+
* They are case-insensitive anchored JavaScript RegExps.
|
|
2756
|
+
* Example: `".*@example\.com"`
|
|
2757
|
+
* This array will never be undefined.
|
|
2758
|
+
*/
|
|
2759
|
+
get gitAllowedEmailRegExps(): string[];
|
|
2760
|
+
/**
|
|
2761
|
+
* [Part of the "gitPolicy" feature.]
|
|
2762
|
+
* An example valid email address that conforms to one of the allowedEmailRegExps.
|
|
2763
|
+
* Example: `"foxtrot@example\.com"`
|
|
2764
|
+
* This will never be undefined, and will always be nonempty if gitAllowedEmailRegExps is used.
|
|
2765
|
+
*/
|
|
2766
|
+
get gitSampleEmail(): string;
|
|
2767
|
+
/**
|
|
2768
|
+
* [Part of the "gitPolicy" feature.]
|
|
2769
|
+
* The commit message to use when committing changes during 'rush publish'
|
|
2770
|
+
*/
|
|
2771
|
+
get gitVersionBumpCommitMessage(): string | undefined;
|
|
2772
|
+
/**
|
|
2773
|
+
* [Part of the "gitPolicy" feature.]
|
|
2774
|
+
* The commit message to use when committing change log files 'rush version'
|
|
2775
|
+
*/
|
|
2776
|
+
get gitChangeLogUpdateCommitMessage(): string | undefined;
|
|
2777
|
+
/**
|
|
2778
|
+
* [Part of the "gitPolicy" feature.]
|
|
2779
|
+
* The commit message to use when committing change log files 'rush version'
|
|
2780
|
+
*/
|
|
2781
|
+
get gitChangefilesCommitMessage(): string | undefined;
|
|
2782
|
+
/**
|
|
2783
|
+
* [Part of the "gitPolicy" feature.]
|
|
2784
|
+
* The separator between package name and version in git tag.
|
|
2785
|
+
*/
|
|
2786
|
+
get gitTagSeparator(): string | undefined;
|
|
2787
|
+
/**
|
|
2788
|
+
* [Part of the "hotfixChange" feature.]
|
|
2789
|
+
* Enables creating hotfix changes
|
|
2790
|
+
*/
|
|
2791
|
+
get hotfixChangeEnabled(): boolean;
|
|
2792
|
+
/**
|
|
2793
|
+
* Remote URL(s) of the repository. If a value is provided, \"rush change\" will
|
|
2794
|
+
* use one of these to find the right remote to compare against. Specifying multiple URLs
|
|
2795
|
+
* is useful if a GitHub repository is renamed or for `<projectName>.visualstudio.com` versus
|
|
2796
|
+
* `dev.azure.com/<projectName>` URLs.
|
|
2797
|
+
*/
|
|
2798
|
+
get repositoryUrls(): string[];
|
|
2799
|
+
/**
|
|
2800
|
+
* The default branch name. This tells "rush change" which remote branch to compare against.
|
|
2801
|
+
*/
|
|
2802
|
+
get repositoryDefaultBranch(): string;
|
|
2803
|
+
/**
|
|
2804
|
+
* The default remote. This tells "rush change" which remote to compare against if the remote URL is not set
|
|
2805
|
+
* or if a remote matching the provided remote URL is not found.
|
|
2806
|
+
*/
|
|
2807
|
+
get repositoryDefaultRemote(): string;
|
|
2808
|
+
/**
|
|
2809
|
+
* The default fully-qualified git remote branch of the repository. This helps "rush change" find the right branch to compare against.
|
|
2810
|
+
*/
|
|
2811
|
+
get repositoryDefaultFullyQualifiedRemoteBranch(): string;
|
|
2812
|
+
/**
|
|
2813
|
+
* Odd-numbered major versions of Node.js are experimental. Even-numbered releases
|
|
2814
|
+
* spend six months in a stabilization period before the first Long Term Support (LTS) version.
|
|
2815
|
+
* For example, 8.9.0 was the first LTS version of Node.js 8. Pre-LTS versions are not recommended
|
|
2816
|
+
* for production usage because they frequently have bugs. They may cause Rush itself
|
|
2817
|
+
* to malfunction.
|
|
2818
|
+
*
|
|
2819
|
+
* Rush normally prints a warning if it detects a pre-LTS Node.js version. If you are testing
|
|
2820
|
+
* pre-LTS versions in preparation for supporting the first LTS version, you can use this setting
|
|
2821
|
+
* to disable Rush's warning.
|
|
2822
|
+
*/
|
|
2823
|
+
get suppressNodeLtsWarning(): boolean;
|
|
2824
|
+
/**
|
|
2825
|
+
* If true, then consistent version specifiers for dependencies will be enforced.
|
|
2826
|
+
* I.e. "rush check" is run before some commands.
|
|
2827
|
+
*/
|
|
2828
|
+
get ensureConsistentVersions(): boolean;
|
|
2829
|
+
/**
|
|
2830
|
+
* Indicates whether telemetry collection is enabled for Rush runs.
|
|
2831
|
+
* @beta
|
|
2832
|
+
*/
|
|
2833
|
+
get telemetryEnabled(): boolean;
|
|
2834
|
+
get projects(): RushConfigurationProject[];
|
|
2835
|
+
get projectsByName(): Map<string, RushConfigurationProject>;
|
|
2836
|
+
/**
|
|
2837
|
+
* Obtains the mapping from custom tags to projects.
|
|
2838
|
+
* @beta
|
|
2839
|
+
*/
|
|
2840
|
+
get projectsByTag(): ReadonlyMap<string, ReadonlySet<RushConfigurationProject>>;
|
|
2841
|
+
/**
|
|
2842
|
+
* {@inheritDoc NpmOptionsConfiguration}
|
|
2843
|
+
*/
|
|
2844
|
+
get npmOptions(): NpmOptionsConfiguration;
|
|
2845
|
+
/**
|
|
2846
|
+
* {@inheritDoc PnpmOptionsConfiguration}
|
|
2847
|
+
*/
|
|
2848
|
+
get pnpmOptions(): PnpmOptionsConfiguration;
|
|
2849
|
+
/**
|
|
2850
|
+
* {@inheritDoc YarnOptionsConfiguration}
|
|
2851
|
+
*/
|
|
2852
|
+
get yarnOptions(): YarnOptionsConfiguration;
|
|
2853
|
+
/**
|
|
2854
|
+
* The configuration options used by the current package manager.
|
|
2855
|
+
* @remarks
|
|
2856
|
+
* For package manager specific variants, reference {@link RushConfiguration.npmOptions | npmOptions},
|
|
2857
|
+
* {@link RushConfiguration.pnpmOptions | pnpmOptions}, or {@link RushConfiguration.yarnOptions | yarnOptions}.
|
|
2858
|
+
*/
|
|
2859
|
+
get packageManagerOptions(): PackageManagerOptionsConfigurationBase;
|
|
2860
|
+
/**
|
|
2861
|
+
* Settings from the common-versions.json config file.
|
|
2862
|
+
* @remarks
|
|
2863
|
+
* If the common-versions.json file is missing, this property will not be undefined.
|
|
2864
|
+
* Instead it will be initialized in an empty state, and calling CommonVersionsConfiguration.save()
|
|
2865
|
+
* will create the file.
|
|
2866
|
+
*
|
|
2867
|
+
* @deprecated Use `getCommonVersions` instead, which gets the correct common version data
|
|
2868
|
+
* for a given active variant.
|
|
2869
|
+
*/
|
|
2870
|
+
get commonVersions(): CommonVersionsConfiguration;
|
|
2871
|
+
/**
|
|
2872
|
+
* Gets the currently-installed variant, if an installation has occurred.
|
|
2873
|
+
* For Rush operations which do not take a --variant parameter, this method
|
|
2874
|
+
* determines which variant, if any, was last specified when performing "rush install"
|
|
2875
|
+
* or "rush update".
|
|
2876
|
+
*/
|
|
2877
|
+
get currentInstalledVariant(): string | undefined;
|
|
2878
|
+
/**
|
|
2879
|
+
* The rush hooks. It allows customized scripts to run at the specified point.
|
|
2880
|
+
* @beta
|
|
2881
|
+
*/
|
|
2882
|
+
get eventHooks(): EventHooks;
|
|
2883
|
+
/**
|
|
2884
|
+
* The rush hooks. It allows customized scripts to run at the specified point.
|
|
2885
|
+
*/
|
|
2886
|
+
get packageNameParser(): PackageNameParser;
|
|
2887
|
+
/**
|
|
2888
|
+
* Gets the path to the common-versions.json config file for a specific variant.
|
|
2889
|
+
* @param variant - The name of the current variant in use by the active command.
|
|
2890
|
+
*/
|
|
2891
|
+
getCommonVersionsFilePath(variant?: string | undefined): string;
|
|
2892
|
+
/**
|
|
2893
|
+
* Gets the settings from the common-versions.json config file for a specific variant.
|
|
2894
|
+
* @param variant - The name of the current variant in use by the active command.
|
|
2895
|
+
*/
|
|
2896
|
+
getCommonVersions(variant?: string | undefined): CommonVersionsConfiguration;
|
|
2897
|
+
/**
|
|
2898
|
+
* Returns a map of all direct dependencies that only have a single semantic version specifier.
|
|
2899
|
+
* @param variant - The name of the current variant in use by the active command.
|
|
2900
|
+
*
|
|
2901
|
+
* @returns A map of dependency name --\> version specifier for implicitly preferred versions.
|
|
2902
|
+
*/
|
|
2903
|
+
getImplicitlyPreferredVersions(variant?: string | undefined): Map<string, string>;
|
|
2904
|
+
/**
|
|
2905
|
+
* Gets the path to the repo-state.json file for a specific variant.
|
|
2906
|
+
* @param variant - The name of the current variant in use by the active command.
|
|
2907
|
+
*/
|
|
2908
|
+
getRepoStateFilePath(variant?: string | undefined): string;
|
|
2909
|
+
/**
|
|
2910
|
+
* Gets the contents from the repo-state.json file for a specific variant.
|
|
2911
|
+
* @param variant - The name of the current variant in use by the active command.
|
|
2912
|
+
*/
|
|
2913
|
+
getRepoState(variant?: string | undefined): RepoStateFile;
|
|
2914
|
+
/**
|
|
2915
|
+
* Gets the committed shrinkwrap file name for a specific variant.
|
|
2916
|
+
* @param variant - The name of the current variant in use by the active command.
|
|
2917
|
+
*/
|
|
2918
|
+
getCommittedShrinkwrapFilename(variant?: string | undefined): string;
|
|
2919
|
+
/**
|
|
2920
|
+
* Gets the absolute path for "pnpmfile.js" for a specific variant.
|
|
2921
|
+
* @param variant - The name of the current variant in use by the active command.
|
|
2922
|
+
* @remarks
|
|
2923
|
+
* The file path is returned even if PNPM is not configured as the package manager.
|
|
2924
|
+
*/
|
|
2925
|
+
getPnpmfilePath(variant?: string | undefined): string;
|
|
2926
|
+
/**
|
|
2927
|
+
* Looks up a project in the projectsByName map. If the project is not found,
|
|
2928
|
+
* then undefined is returned.
|
|
2929
|
+
*/
|
|
2930
|
+
getProjectByName(projectName: string): RushConfigurationProject | undefined;
|
|
2931
|
+
/**
|
|
2932
|
+
* This is used e.g. by command-line interfaces such as "rush build --to example".
|
|
2933
|
+
* If "example" is not a project name, then it also looks for a scoped name
|
|
2934
|
+
* like `@something/example`. If exactly one project matches this heuristic, it
|
|
2935
|
+
* is returned. Otherwise, undefined is returned.
|
|
2936
|
+
*/
|
|
2937
|
+
findProjectByShorthandName(shorthandProjectName: string): RushConfigurationProject | undefined;
|
|
2938
|
+
/**
|
|
2939
|
+
* Looks up a project by its RushConfigurationProject.tempProjectName field.
|
|
2940
|
+
* @returns The found project, or undefined if no match was found.
|
|
2941
|
+
*/
|
|
2942
|
+
findProjectByTempName(tempProjectName: string): RushConfigurationProject | undefined;
|
|
2943
|
+
/**
|
|
2944
|
+
* @returns An optimized lookup engine to find a project by its path relative to the specified root.
|
|
2945
|
+
* @beta
|
|
2946
|
+
*/
|
|
2947
|
+
getProjectLookupForRoot(rootPath: string): LookupByPath<RushConfigurationProject>;
|
|
2948
|
+
/**
|
|
2949
|
+
* @beta
|
|
2950
|
+
*/
|
|
2951
|
+
get versionPolicyConfiguration(): VersionPolicyConfiguration;
|
|
2952
|
+
/**
|
|
2953
|
+
* @beta
|
|
2954
|
+
*/
|
|
2955
|
+
get versionPolicyConfigurationFilePath(): string;
|
|
2956
|
+
/**
|
|
2957
|
+
* This configuration object contains settings repo maintainers have specified to enable
|
|
2958
|
+
* and disable experimental Rush features.
|
|
2959
|
+
*
|
|
2960
|
+
* @beta
|
|
2961
|
+
*/
|
|
2962
|
+
get experimentsConfiguration(): ExperimentsConfiguration;
|
|
2963
|
+
/**
|
|
2964
|
+
* @internal
|
|
2965
|
+
*/
|
|
2966
|
+
get _rushPluginsConfiguration(): RushPluginsConfiguration;
|
|
2967
|
+
/**
|
|
2968
|
+
* Returns the project for which the specified path is underneath that project's folder.
|
|
2969
|
+
* If the path is not under any project's folder, returns undefined.
|
|
2970
|
+
*/
|
|
2971
|
+
tryGetProjectForPath(currentFolderPath: string): RushConfigurationProject | undefined;
|
|
2972
|
+
private _getVariantConfigFolderPath;
|
|
2973
|
+
}
|
|
2974
|
+
|
|
2975
|
+
/**
|
|
2976
|
+
* This represents the configuration of a project that is built by Rush, based on
|
|
2977
|
+
* the Rush.json configuration file.
|
|
2978
|
+
* @public
|
|
2979
|
+
*/
|
|
2980
|
+
export declare class RushConfigurationProject {
|
|
2981
|
+
private readonly _packageName;
|
|
2982
|
+
private readonly _projectFolder;
|
|
2983
|
+
private readonly _projectRelativeFolder;
|
|
2984
|
+
private readonly _projectRushConfigFolder;
|
|
2985
|
+
private readonly _projectRushTempFolder;
|
|
2986
|
+
private readonly _reviewCategory;
|
|
2987
|
+
private readonly _packageJson;
|
|
2988
|
+
private readonly _packageJsonEditor;
|
|
2989
|
+
private readonly _tempProjectName;
|
|
2990
|
+
private readonly _unscopedTempProjectName;
|
|
2991
|
+
private readonly _decoupledLocalDependencies;
|
|
2992
|
+
private readonly _versionPolicyName;
|
|
2993
|
+
private readonly _shouldPublish;
|
|
2994
|
+
private readonly _skipRushCheck;
|
|
2995
|
+
private readonly _publishFolder;
|
|
2996
|
+
private readonly _rushConfiguration;
|
|
2997
|
+
private readonly _tags;
|
|
2998
|
+
private _versionPolicy;
|
|
2999
|
+
private _dependencyProjects;
|
|
3000
|
+
private _consumingProjects;
|
|
3001
|
+
/** @internal */
|
|
3002
|
+
constructor(options: IRushConfigurationProjectOptions);
|
|
3003
|
+
/**
|
|
3004
|
+
* The name of the NPM package. An error is reported if this name is not
|
|
3005
|
+
* identical to packageJson.name.
|
|
3006
|
+
*
|
|
3007
|
+
* Example: `@scope/MyProject`
|
|
3008
|
+
*/
|
|
3009
|
+
get packageName(): string;
|
|
3010
|
+
/**
|
|
3011
|
+
* The full path of the folder that contains the project to be built by Rush.
|
|
3012
|
+
*
|
|
3013
|
+
* Example: `C:\MyRepo\libraries\my-project`
|
|
3014
|
+
*/
|
|
3015
|
+
get projectFolder(): string;
|
|
3016
|
+
/**
|
|
3017
|
+
* The relative path of the folder that contains the project to be built by Rush.
|
|
3018
|
+
*
|
|
3019
|
+
* Example: `libraries/my-project`
|
|
3020
|
+
*/
|
|
3021
|
+
get projectRelativeFolder(): string;
|
|
3022
|
+
/**
|
|
3023
|
+
* The project-specific Rush configuration folder.
|
|
3024
|
+
*
|
|
3025
|
+
* Example: `C:\MyRepo\libraries\my-project\config\rush`
|
|
3026
|
+
*/
|
|
3027
|
+
get projectRushConfigFolder(): string;
|
|
3028
|
+
/**
|
|
3029
|
+
* The project-specific Rush temp folder. This folder is used to store Rush-specific temporary files.
|
|
3030
|
+
*
|
|
3031
|
+
* Example: `C:\MyRepo\libraries\my-project\.rush\temp`
|
|
3032
|
+
*/
|
|
3033
|
+
get projectRushTempFolder(): string;
|
|
3034
|
+
/**
|
|
3035
|
+
* The Rush configuration for the monorepo that the project belongs to.
|
|
3036
|
+
*/
|
|
3037
|
+
get rushConfiguration(): RushConfiguration;
|
|
3038
|
+
/**
|
|
3039
|
+
* The review category name, or undefined if no category was assigned.
|
|
3040
|
+
* This name must be one of the valid choices listed in RushConfiguration.reviewCategories.
|
|
3041
|
+
*/
|
|
3042
|
+
get reviewCategory(): string | undefined;
|
|
3043
|
+
/**
|
|
3044
|
+
* A list of local projects that appear as devDependencies for this project, but cannot be
|
|
3045
|
+
* locally linked because it would create a cyclic dependency; instead, the last published
|
|
3046
|
+
* version will be installed in the Common folder.
|
|
3047
|
+
*
|
|
3048
|
+
* These are package names that would be found by RushConfiguration.getProjectByName().
|
|
3049
|
+
*/
|
|
3050
|
+
get decoupledLocalDependencies(): Set<string>;
|
|
3051
|
+
/**
|
|
3052
|
+
* A list of local projects that appear as devDependencies for this project, but cannot be
|
|
3053
|
+
* locally linked because it would create a cyclic dependency; instead, the last published
|
|
3054
|
+
* version will be installed in the Common folder.
|
|
3055
|
+
*
|
|
3056
|
+
* These are package names that would be found by RushConfiguration.getProjectByName().
|
|
3057
|
+
*
|
|
3058
|
+
* @deprecated Use `decoupledLocalDependencies` instead, as it better describes the purpose of the data.
|
|
3059
|
+
*/
|
|
3060
|
+
get cyclicDependencyProjects(): Set<string>;
|
|
3061
|
+
/**
|
|
3062
|
+
* An array of projects within the Rush configuration which directly depend on this package.
|
|
3063
|
+
* @deprecated Use `consumingProjectNames` instead, as it has Set semantics, which better reflect the nature
|
|
3064
|
+
* of the data.
|
|
3065
|
+
*/
|
|
3066
|
+
get downstreamDependencyProjects(): string[];
|
|
3067
|
+
/**
|
|
3068
|
+
* An array of projects within the Rush configuration which this project declares as dependencies.
|
|
3069
|
+
* @deprecated Use `dependencyProjects` instead, as it has Set semantics, which better reflect the nature
|
|
3070
|
+
* of the data.
|
|
3071
|
+
*/
|
|
3072
|
+
get localDependencyProjects(): ReadonlyArray<RushConfigurationProject>;
|
|
3073
|
+
/**
|
|
3074
|
+
* The set of projects within the Rush configuration which this project declares as dependencies.
|
|
3075
|
+
*
|
|
3076
|
+
* @remarks
|
|
3077
|
+
* Can be used recursively to walk the project dependency graph to find all projects that are directly or indirectly
|
|
3078
|
+
* referenced from this project.
|
|
3079
|
+
*/
|
|
3080
|
+
get dependencyProjects(): ReadonlySet<RushConfigurationProject>;
|
|
3081
|
+
/**
|
|
3082
|
+
* The set of projects within the Rush configuration which declare this project as a dependency.
|
|
3083
|
+
* Excludes those that declare this project as a `cyclicDependencyProject`.
|
|
3084
|
+
*
|
|
3085
|
+
* @remarks
|
|
3086
|
+
* This field is the counterpart to `dependencyProjects`, and can be used recursively to walk the project dependency
|
|
3087
|
+
* graph to find all projects which will be impacted by changes to this project.
|
|
3088
|
+
*/
|
|
3089
|
+
get consumingProjects(): ReadonlySet<RushConfigurationProject>;
|
|
3090
|
+
/**
|
|
3091
|
+
* The parsed NPM "package.json" file from projectFolder.
|
|
3092
|
+
*/
|
|
3093
|
+
get packageJson(): IPackageJson;
|
|
3094
|
+
/**
|
|
3095
|
+
* A useful wrapper around the package.json file for making modifications
|
|
3096
|
+
* @beta
|
|
3097
|
+
*/
|
|
3098
|
+
get packageJsonEditor(): PackageJsonEditor;
|
|
3099
|
+
/**
|
|
3100
|
+
* The unique name for the temporary project that will be generated in the Common folder.
|
|
3101
|
+
* For example, if the project name is `@scope/MyProject`, the temporary project name
|
|
3102
|
+
* might be `@rush-temp/MyProject-2`.
|
|
3103
|
+
*
|
|
3104
|
+
* Example: `@rush-temp/MyProject-2`
|
|
3105
|
+
*/
|
|
3106
|
+
get tempProjectName(): string;
|
|
3107
|
+
/**
|
|
3108
|
+
* The unscoped temporary project name
|
|
3109
|
+
*
|
|
3110
|
+
* Example: `my-project-2`
|
|
3111
|
+
*/
|
|
3112
|
+
get unscopedTempProjectName(): string;
|
|
3113
|
+
/**
|
|
3114
|
+
* A flag which indicates whether changes to this project should be published. This controls
|
|
3115
|
+
* whether or not the project would show up when running `rush change`, and whether or not it
|
|
3116
|
+
* should be published during `rush publish`.
|
|
3117
|
+
*/
|
|
3118
|
+
get shouldPublish(): boolean;
|
|
3119
|
+
/**
|
|
3120
|
+
* If true, then this project will be ignored by the "rush check" command.
|
|
3121
|
+
* The default value is false.
|
|
3122
|
+
*/
|
|
3123
|
+
get skipRushCheck(): boolean;
|
|
3124
|
+
/**
|
|
3125
|
+
* Name of the version policy used by this project.
|
|
3126
|
+
* @beta
|
|
3127
|
+
*/
|
|
3128
|
+
get versionPolicyName(): string | undefined;
|
|
3129
|
+
/**
|
|
3130
|
+
* The full path of the folder that will get published by Rush.
|
|
3131
|
+
*
|
|
3132
|
+
* @remarks
|
|
3133
|
+
* By default this is the same as the project folder, but a custom folder can be specified
|
|
3134
|
+
* using the the "publishFolder" setting in rush.json.
|
|
3135
|
+
*
|
|
3136
|
+
* Example: `C:\MyRepo\libraries\my-project\temp\publish`
|
|
3137
|
+
*/
|
|
3138
|
+
get publishFolder(): string;
|
|
3139
|
+
/**
|
|
3140
|
+
* Version policy of the project
|
|
3141
|
+
* @beta
|
|
3142
|
+
*/
|
|
3143
|
+
get versionPolicy(): VersionPolicy | undefined;
|
|
3144
|
+
/**
|
|
3145
|
+
* Indicate whether this project is the main project for the related version policy.
|
|
3146
|
+
*
|
|
3147
|
+
* False if the project is not for publishing.
|
|
3148
|
+
* True if the project is individually versioned or if its lockstep version policy does not specify main project.
|
|
3149
|
+
* False if the project is lockstepped and is not the main project for its version policy.
|
|
3150
|
+
*
|
|
3151
|
+
* @beta
|
|
3152
|
+
*/
|
|
3153
|
+
get isMainProject(): boolean;
|
|
3154
|
+
/**
|
|
3155
|
+
* An optional set of custom tags that can be used to select this project.
|
|
3156
|
+
*
|
|
3157
|
+
* @remarks
|
|
3158
|
+
* For example, adding `my-custom-tag` will allow this project to be selected by the
|
|
3159
|
+
* command `rush list --only tag:my-custom-tag`. The tag name must be one or more words separated
|
|
3160
|
+
* by hyphens, where a word may contain lowercase letters, digits, and the period character.
|
|
3161
|
+
*
|
|
3162
|
+
* @beta
|
|
3163
|
+
*/
|
|
3164
|
+
get tags(): ReadonlySet<string>;
|
|
3165
|
+
}
|
|
3166
|
+
|
|
3167
|
+
/**
|
|
3168
|
+
* Constants used by the Rush tool.
|
|
3169
|
+
* @beta
|
|
3170
|
+
*
|
|
3171
|
+
* @remarks
|
|
3172
|
+
*
|
|
3173
|
+
* These are NOT part of the public API surface for rush-lib.
|
|
3174
|
+
* The rationale is that we don't want people implementing custom parsers for
|
|
3175
|
+
* the Rush config files; instead, they should rely on the official APIs from rush-lib.
|
|
3176
|
+
*/
|
|
3177
|
+
export declare class RushConstants {
|
|
3178
|
+
/**
|
|
3179
|
+
* The filename ("browser-approved-packages.json") for an optional policy configuration file
|
|
3180
|
+
* that stores a list of NPM packages that have been approved for usage by Rush projects.
|
|
3181
|
+
* This is part of a pair of config files, one for projects that run in a web browser
|
|
3182
|
+
* (e.g. whose approval criteria mostly focuses on licensing and code size), and one for everywhere else
|
|
3183
|
+
* (e.g. tooling projects whose approval criteria mostly focuses on avoiding node_modules sprawl).
|
|
3184
|
+
*/
|
|
3185
|
+
static readonly browserApprovedPackagesFilename: string;
|
|
3186
|
+
/**
|
|
3187
|
+
* The folder name ("changes") where change files will be stored.
|
|
3188
|
+
*/
|
|
3189
|
+
static readonly changeFilesFolderName: string;
|
|
3190
|
+
/**
|
|
3191
|
+
* The filename ("nonbrowser-approved-packages.json") for an optional policy configuration file
|
|
3192
|
+
* that stores a list of NPM packages that have been approved for usage by Rush projects.
|
|
3193
|
+
* This is part of a pair of config files, one for projects that run in a web browser
|
|
3194
|
+
* (e.g. whose approval criteria mostly focuses on licensing and code size), and one for everywhere else
|
|
3195
|
+
* (e.g. tooling projects whose approval criteria mostly focuses on avoiding node_modules sprawl).
|
|
3196
|
+
*/
|
|
3197
|
+
static readonly nonbrowserApprovedPackagesFilename: string;
|
|
3198
|
+
/**
|
|
3199
|
+
* The folder name ("common") where Rush's common data will be stored.
|
|
3200
|
+
*/
|
|
3201
|
+
static readonly commonFolderName: string;
|
|
3202
|
+
/**
|
|
3203
|
+
* The NPM scope ("\@rush-temp") that is used for Rush's temporary projects.
|
|
3204
|
+
*/
|
|
3205
|
+
static readonly rushTempNpmScope: string;
|
|
3206
|
+
/**
|
|
3207
|
+
* The folder name ("temp") under the common folder, or under the .rush folder in each project's directory where
|
|
3208
|
+
* temporary files will be stored.
|
|
3209
|
+
* Example: `C:\MyRepo\common\temp`
|
|
3210
|
+
*/
|
|
3211
|
+
static readonly rushTempFolderName: string;
|
|
3212
|
+
/**
|
|
3213
|
+
* The folder name ("projects") where temporary projects will be stored.
|
|
3214
|
+
* Example: `C:\MyRepo\common\temp\projects`
|
|
3215
|
+
*/
|
|
3216
|
+
static readonly rushTempProjectsFolderName: string;
|
|
3217
|
+
/**
|
|
3218
|
+
* The folder name ("variants") under which named variant configurations for
|
|
3219
|
+
* alternate dependency sets may be found.
|
|
3220
|
+
* Example: `C:\MyRepo\common\config\rush\variants`
|
|
3221
|
+
*/
|
|
3222
|
+
static readonly rushVariantsFolderName: string;
|
|
3223
|
+
/**
|
|
3224
|
+
* The filename ("npm-shrinkwrap.json") used to store an installation plan for the NPM package manger.
|
|
3225
|
+
*/
|
|
3226
|
+
static readonly npmShrinkwrapFilename: string;
|
|
3227
|
+
/**
|
|
3228
|
+
* Number of installation attempts
|
|
3229
|
+
*/
|
|
3230
|
+
static readonly defaultMaxInstallAttempts: number;
|
|
3231
|
+
/**
|
|
3232
|
+
* The filename ("pnpm-lock.yaml") used to store an installation plan for the PNPM package manger
|
|
3233
|
+
* (PNPM version 3.x and later).
|
|
3234
|
+
*/
|
|
3235
|
+
static readonly pnpmV3ShrinkwrapFilename: string;
|
|
3236
|
+
/**
|
|
3237
|
+
* The filename ("pnpmfile.js") used to add custom configuration to PNPM (PNPM version 1.x and later).
|
|
3238
|
+
*/
|
|
3239
|
+
static readonly pnpmfileV1Filename: string;
|
|
3240
|
+
/**
|
|
3241
|
+
* The filename (".pnpmfile.cjs") used to add custom configuration to PNPM (PNPM version 6.x and later).
|
|
3242
|
+
*/
|
|
3243
|
+
static readonly pnpmfileV6Filename: string;
|
|
3244
|
+
/**
|
|
3245
|
+
* The filename ("shrinkwrap.yaml") used to store state for pnpm
|
|
3246
|
+
*/
|
|
3247
|
+
static readonly yarnShrinkwrapFilename: string;
|
|
3248
|
+
/**
|
|
3249
|
+
* The folder name ("node_modules") where NPM installs its packages.
|
|
3250
|
+
*/
|
|
3251
|
+
static readonly nodeModulesFolderName: string;
|
|
3252
|
+
/**
|
|
3253
|
+
* The filename ("pinned-versions.json") for an old configuration file that
|
|
3254
|
+
* that is no longer supported.
|
|
3255
|
+
*
|
|
3256
|
+
* @deprecated This feature has been superseded by the "preferredVersions" setting
|
|
3257
|
+
* in common-versions.json
|
|
3258
|
+
*/
|
|
3259
|
+
static readonly pinnedVersionsFilename: string;
|
|
3260
|
+
/**
|
|
3261
|
+
* The filename ("common-versions.json") for an optional configuration file
|
|
3262
|
+
* that stores dependency version information that affects all projects in the repo.
|
|
3263
|
+
* This configuration file should go in the "common/config/rush" folder.
|
|
3264
|
+
*/
|
|
3265
|
+
static readonly commonVersionsFilename: string;
|
|
3266
|
+
/**
|
|
3267
|
+
* The filename ("repo-state.json") for a file used by Rush to
|
|
3268
|
+
* store the state of various features as they stand in the repo.
|
|
3269
|
+
*/
|
|
3270
|
+
static readonly repoStateFilename: string;
|
|
3271
|
+
/**
|
|
3272
|
+
* The name of the per-project folder where project-specific Rush files are stored. For example,
|
|
3273
|
+
* the package-deps files, which are used by commands to determine if a particular project needs to be rebuilt.
|
|
3274
|
+
*/
|
|
3275
|
+
static readonly projectRushFolderName: string;
|
|
3276
|
+
/**
|
|
3277
|
+
* Custom command line configuration file, which is used by rush for implementing
|
|
3278
|
+
* custom command and options.
|
|
3279
|
+
*/
|
|
3280
|
+
static readonly commandLineFilename: string;
|
|
3281
|
+
static readonly versionPoliciesFilename: string;
|
|
3282
|
+
/**
|
|
3283
|
+
* Experiments configuration file.
|
|
3284
|
+
*/
|
|
3285
|
+
static readonly experimentsFilename: string;
|
|
3286
|
+
/**
|
|
3287
|
+
* Pnpm configuration file
|
|
3288
|
+
*/
|
|
3289
|
+
static readonly pnpmConfigFilename: string;
|
|
3290
|
+
/**
|
|
3291
|
+
* Rush plugins configuration file name.
|
|
3292
|
+
*/
|
|
3293
|
+
static readonly rushPluginsConfigFilename: string;
|
|
3294
|
+
/**
|
|
3295
|
+
* Rush plugin manifest file name.
|
|
3296
|
+
*/
|
|
3297
|
+
static readonly rushPluginManifestFilename: string;
|
|
3298
|
+
/**
|
|
3299
|
+
* The artifactory.json configuration file name.
|
|
3300
|
+
*/
|
|
3301
|
+
static readonly artifactoryFilename: string;
|
|
3302
|
+
/**
|
|
3303
|
+
* Build cache configuration file.
|
|
3304
|
+
*/
|
|
3305
|
+
static readonly buildCacheFilename: string;
|
|
3306
|
+
/**
|
|
3307
|
+
* Build cache version number, incremented when the logic to create cache entries changes.
|
|
3308
|
+
* Changing this ensures that cache entries generated by an old version will no longer register as a cache hit.
|
|
3309
|
+
*/
|
|
3310
|
+
static readonly buildCacheVersion: number;
|
|
3311
|
+
/**
|
|
3312
|
+
* Per-project configuration filename.
|
|
3313
|
+
*/
|
|
3314
|
+
static readonly rushProjectConfigFilename: string;
|
|
3315
|
+
/**
|
|
3316
|
+
* The URL ("http://rushjs.io") for the Rush web site.
|
|
3317
|
+
*/
|
|
3318
|
+
static readonly rushWebSiteUrl: string;
|
|
3319
|
+
/**
|
|
3320
|
+
* The name of the NPM package for the Rush tool ("\@microsoft/rush").
|
|
3321
|
+
*/
|
|
3322
|
+
static readonly rushPackageName: string;
|
|
3323
|
+
/**
|
|
3324
|
+
* The folder name ("rush-recycler") where Rush moves large folder trees
|
|
3325
|
+
* before asynchronously deleting them.
|
|
3326
|
+
*/
|
|
3327
|
+
static readonly rushRecyclerFolderName: string;
|
|
3328
|
+
/**
|
|
3329
|
+
* The name of the file to drop in project-folder/.rush/temp/ containing a listing of the project's direct
|
|
3330
|
+
* and indirect dependencies. This is used to detect if a project's dependencies have changed since the last build.
|
|
3331
|
+
*/
|
|
3332
|
+
static readonly projectShrinkwrapFilename: string;
|
|
3333
|
+
/**
|
|
3334
|
+
* The value of the "commandKind" property for a bulk command in command-line.json
|
|
3335
|
+
*/
|
|
3336
|
+
static readonly bulkCommandKind: 'bulk';
|
|
3337
|
+
/**
|
|
3338
|
+
* The value of the "commandKind" property for a global command in command-line.json
|
|
3339
|
+
*/
|
|
3340
|
+
static readonly globalCommandKind: 'global';
|
|
3341
|
+
/**
|
|
3342
|
+
* The value of the "commandKind" property for a phased command in command-line.json
|
|
3343
|
+
*/
|
|
3344
|
+
static readonly phasedCommandKind: 'phased';
|
|
3345
|
+
/**
|
|
3346
|
+
* The name of the incremental build command.
|
|
3347
|
+
*/
|
|
3348
|
+
static readonly buildCommandName: string;
|
|
3349
|
+
/**
|
|
3350
|
+
* The name of the non-incremental build command.
|
|
3351
|
+
*/
|
|
3352
|
+
static readonly rebuildCommandName: string;
|
|
3353
|
+
static readonly updateCloudCredentialsCommandName: string;
|
|
3354
|
+
/**
|
|
3355
|
+
* When a hash generated that contains multiple input segments, this character may be used
|
|
3356
|
+
* to separate them to avoid issues like
|
|
3357
|
+
* crypto.createHash('sha1').update('a').update('bc').digest('hex') === crypto.createHash('sha1').update('ab').update('c').digest('hex')
|
|
3358
|
+
*/
|
|
3359
|
+
static readonly hashDelimiter: string;
|
|
3360
|
+
/**
|
|
3361
|
+
* The name of the per-user Rush configuration data folder.
|
|
3362
|
+
*/
|
|
3363
|
+
static readonly rushUserConfigurationFolderName: string;
|
|
3364
|
+
/**
|
|
3365
|
+
* The name of the project `rush-logs` folder.
|
|
3366
|
+
*/
|
|
3367
|
+
static readonly rushLogsFolderName: string;
|
|
3368
|
+
/**
|
|
3369
|
+
* The expected prefix for phase names in "common/config/rush/command-line.json"
|
|
3370
|
+
*/
|
|
3371
|
+
static readonly phaseNamePrefix: '_phase:';
|
|
3372
|
+
}
|
|
3373
|
+
|
|
3374
|
+
/**
|
|
3375
|
+
* This class provides global folders that are used for rush's internal install locations.
|
|
3376
|
+
*
|
|
3377
|
+
* @internal
|
|
3378
|
+
*/
|
|
3379
|
+
export declare class _RushGlobalFolder {
|
|
3380
|
+
private _rushGlobalFolder;
|
|
3381
|
+
private _rushNodeSpecificUserFolder;
|
|
3382
|
+
/**
|
|
3383
|
+
* The global folder where Rush stores temporary files.
|
|
3384
|
+
*
|
|
3385
|
+
* @remarks
|
|
3386
|
+
*
|
|
3387
|
+
* Most of the temporary files created by Rush are stored separately for each monorepo working folder,
|
|
3388
|
+
* to avoid issues of concurrency and compatibility between tool versions. However, a small set
|
|
3389
|
+
* of files (e.g. installations of the `@microsoft/rush-lib` engine and the package manager) are stored
|
|
3390
|
+
* in a global folder to speed up installations. The default location is `~/.rush` on POSIX-like
|
|
3391
|
+
* operating systems or `C:\Users\YourName` on Windows.
|
|
3392
|
+
*
|
|
3393
|
+
* You can use the {@link EnvironmentVariableNames.RUSH_GLOBAL_FOLDER} environment variable to specify
|
|
3394
|
+
* a different folder path. This is useful for example if a Windows group policy forbids executing scripts
|
|
3395
|
+
* installed in a user's home directory.
|
|
3396
|
+
*
|
|
3397
|
+
* POSIX is a registered trademark of the Institute of Electrical and Electronic Engineers, Inc.
|
|
3398
|
+
*/
|
|
3399
|
+
get path(): string;
|
|
3400
|
+
/**
|
|
3401
|
+
* The absolute path to Rush's storage in the home directory for the current user and node version.
|
|
3402
|
+
* On Windows, it would be something like `C:\Users\YourName\.rush\node-v3.4.5`.
|
|
3403
|
+
*/
|
|
3404
|
+
get nodeSpecificPath(): string;
|
|
3405
|
+
constructor();
|
|
3406
|
+
}
|
|
3407
|
+
|
|
3408
|
+
/**
|
|
3409
|
+
* Hooks into the lifecycle of the Rush process invocation that plugins may tap into.
|
|
3410
|
+
*
|
|
3411
|
+
* @beta
|
|
3412
|
+
*/
|
|
3413
|
+
export declare class RushLifecycleHooks {
|
|
3414
|
+
/**
|
|
3415
|
+
* The hook to run before executing any Rush CLI Command.
|
|
3416
|
+
*/
|
|
3417
|
+
initialize: AsyncSeriesHook<IRushCommand>;
|
|
3418
|
+
/**
|
|
3419
|
+
* The hook to run before executing any global Rush CLI Command (defined in command-line.json).
|
|
3420
|
+
*/
|
|
3421
|
+
runAnyGlobalCustomCommand: AsyncSeriesHook<IGlobalCommand>;
|
|
3422
|
+
/**
|
|
3423
|
+
* A hook map to allow plugins to hook specific named global commands (defined in command-line.json) before execution.
|
|
3424
|
+
*/
|
|
3425
|
+
runGlobalCustomCommand: HookMap<AsyncSeriesHook<IGlobalCommand>>;
|
|
3426
|
+
/**
|
|
3427
|
+
* The hook to run before executing any phased Rush CLI Command (defined in command-line.json, or the default "build" or "rebuild").
|
|
3428
|
+
*/
|
|
3429
|
+
runAnyPhasedCommand: AsyncSeriesHook<IPhasedCommand>;
|
|
3430
|
+
/**
|
|
3431
|
+
* A hook map to allow plugins to hook specific named phased commands (defined in command-line.json) before execution.
|
|
3432
|
+
*/
|
|
3433
|
+
runPhasedCommand: HookMap<AsyncSeriesHook<IPhasedCommand>>;
|
|
3434
|
+
/**
|
|
3435
|
+
* The hook to run between preparing the common/temp folder and invoking the package manager during "rush install" or "rush update".
|
|
3436
|
+
*/
|
|
3437
|
+
beforeInstall: AsyncSeriesHook<IGlobalCommand>;
|
|
3438
|
+
/**
|
|
3439
|
+
* A hook to allow plugins to hook custom logic to process telemetry data.
|
|
3440
|
+
*/
|
|
3441
|
+
flushTelemetry: AsyncParallelHook<[ReadonlyArray<ITelemetryData>]>;
|
|
3442
|
+
}
|
|
3443
|
+
|
|
3444
|
+
declare class RushPluginsConfiguration {
|
|
3445
|
+
private static _jsonSchema;
|
|
3446
|
+
private _rushPluginsConfigurationJson;
|
|
3447
|
+
private _jsonFilename;
|
|
3448
|
+
constructor(jsonFilename: string);
|
|
3449
|
+
get configuration(): Readonly<IRushPluginsConfigurationJson>;
|
|
3450
|
+
}
|
|
3451
|
+
|
|
3452
|
+
/**
|
|
3453
|
+
* @beta
|
|
3454
|
+
*/
|
|
3455
|
+
export declare class RushSession {
|
|
3456
|
+
private readonly _options;
|
|
3457
|
+
private readonly _cloudBuildCacheProviderFactories;
|
|
3458
|
+
readonly hooks: RushLifecycleHooks;
|
|
3459
|
+
constructor(options: IRushSessionOptions);
|
|
3460
|
+
getLogger(name: string): ILogger;
|
|
3461
|
+
get terminalProvider(): ITerminalProvider;
|
|
3462
|
+
registerCloudBuildCacheProviderFactory(cacheProviderName: string, factory: CloudBuildCacheProviderFactory): void;
|
|
3463
|
+
getCloudBuildCacheProviderFactory(cacheProviderName: string): CloudBuildCacheProviderFactory | undefined;
|
|
3464
|
+
}
|
|
3465
|
+
|
|
3466
|
+
/**
|
|
3467
|
+
* Rush per-user configuration data.
|
|
3468
|
+
*
|
|
3469
|
+
* @beta
|
|
3470
|
+
*/
|
|
3471
|
+
export declare class RushUserConfiguration {
|
|
3472
|
+
private static _schema;
|
|
3473
|
+
/**
|
|
3474
|
+
* If provided, store build cache in the specified folder. Must be an absolute path.
|
|
3475
|
+
*/
|
|
3476
|
+
readonly buildCacheFolder: string | undefined;
|
|
3477
|
+
private constructor();
|
|
3478
|
+
static initializeAsync(): Promise<RushUserConfiguration>;
|
|
3479
|
+
static getRushUserFolderPath(): string;
|
|
3480
|
+
}
|
|
3481
|
+
|
|
3482
|
+
declare enum VersionFormatForCommit {
|
|
3483
|
+
wildcard = "wildcard",
|
|
3484
|
+
original = "original"
|
|
3485
|
+
}
|
|
3486
|
+
|
|
3487
|
+
declare enum VersionFormatForPublish {
|
|
3488
|
+
original = "original",
|
|
3489
|
+
exact = "exact"
|
|
3490
|
+
}
|
|
3491
|
+
|
|
3492
|
+
/**
|
|
3493
|
+
* This is the base class for version policy which controls how versions get bumped.
|
|
3494
|
+
* @public
|
|
3495
|
+
*/
|
|
3496
|
+
export declare abstract class VersionPolicy {
|
|
3497
|
+
private _policyName;
|
|
3498
|
+
private _definitionName;
|
|
3499
|
+
private _exemptFromRushChange;
|
|
3500
|
+
private _includeEmailInChangeFile;
|
|
3501
|
+
private _versionFormatForCommit;
|
|
3502
|
+
private _versionFormatForPublish;
|
|
3503
|
+
/**
|
|
3504
|
+
* @internal
|
|
3505
|
+
*/
|
|
3506
|
+
constructor(versionPolicyJson: IVersionPolicyJson);
|
|
3507
|
+
/**
|
|
3508
|
+
* Loads from version policy json
|
|
3509
|
+
*
|
|
3510
|
+
* @param versionPolicyJson - version policy Json
|
|
3511
|
+
*
|
|
3512
|
+
* @internal
|
|
3513
|
+
*/
|
|
3514
|
+
static load(versionPolicyJson: IVersionPolicyJson): VersionPolicy | undefined;
|
|
3515
|
+
/**
|
|
3516
|
+
* Version policy name
|
|
3517
|
+
*/
|
|
3518
|
+
get policyName(): string;
|
|
3519
|
+
/**
|
|
3520
|
+
* Version policy definition name
|
|
3521
|
+
*/
|
|
3522
|
+
get definitionName(): VersionPolicyDefinitionName;
|
|
3523
|
+
/**
|
|
3524
|
+
* Whether it is a lockstepped version policy
|
|
3525
|
+
*/
|
|
3526
|
+
get isLockstepped(): boolean;
|
|
3527
|
+
/**
|
|
3528
|
+
* Determines if a version policy wants to opt out of changelog files.
|
|
3529
|
+
*/
|
|
3530
|
+
get exemptFromRushChange(): boolean;
|
|
3531
|
+
/**
|
|
3532
|
+
* Determines if a version policy wants to opt in to including email.
|
|
3533
|
+
*/
|
|
3534
|
+
get includeEmailInChangeFile(): boolean;
|
|
3535
|
+
/**
|
|
3536
|
+
* Returns an updated package json that satisfies the policy.
|
|
3537
|
+
*
|
|
3538
|
+
* @param project - package json
|
|
3539
|
+
* @param force - force update even when the project version is higher than the policy version.
|
|
3540
|
+
*/
|
|
3541
|
+
abstract ensure(project: IPackageJson, force?: boolean): IPackageJson | undefined;
|
|
3542
|
+
/**
|
|
3543
|
+
* Bumps version based on the policy
|
|
3544
|
+
*
|
|
3545
|
+
* @param bumpType - (optional) override bump type
|
|
3546
|
+
* @param identifier - (optional) override prerelease Id
|
|
3547
|
+
*/
|
|
3548
|
+
abstract bump(bumpType?: BumpType, identifier?: string): void;
|
|
3549
|
+
/**
|
|
3550
|
+
* Serialized json for the policy
|
|
3551
|
+
*
|
|
3552
|
+
* @internal
|
|
3553
|
+
*/
|
|
3554
|
+
abstract get _json(): IVersionPolicyJson;
|
|
3555
|
+
/**
|
|
3556
|
+
* Validates the specified version and throws if the version does not satisfy the policy.
|
|
3557
|
+
*
|
|
3558
|
+
* @param versionString - version string
|
|
3559
|
+
* @param packageName - package name
|
|
3560
|
+
*/
|
|
3561
|
+
abstract validate(versionString: string, packageName: string): void;
|
|
3562
|
+
/**
|
|
3563
|
+
* Tells the version policy to modify any dependencies in the target package
|
|
3564
|
+
* to values used for publishing.
|
|
3565
|
+
*/
|
|
3566
|
+
setDependenciesBeforePublish(packageName: string, configuration: RushConfiguration): void;
|
|
3567
|
+
/**
|
|
3568
|
+
* Tells the version policy to modify any dependencies in the target package
|
|
3569
|
+
* to values used for checked-in source.
|
|
3570
|
+
*/
|
|
3571
|
+
setDependenciesBeforeCommit(packageName: string, configuration: RushConfiguration): void;
|
|
3572
|
+
}
|
|
3573
|
+
|
|
3574
|
+
/**
|
|
3575
|
+
* Use this class to load and save the "common/config/rush/version-policies.json" config file.
|
|
3576
|
+
* This config file configures how different groups of projects will be published by Rush,
|
|
3577
|
+
* and how their version numbers will be determined.
|
|
3578
|
+
* @public
|
|
3579
|
+
*/
|
|
3580
|
+
export declare class VersionPolicyConfiguration {
|
|
3581
|
+
private static _jsonSchema;
|
|
3582
|
+
private _versionPolicies;
|
|
3583
|
+
private _jsonFileName;
|
|
3584
|
+
/**
|
|
3585
|
+
* @internal
|
|
3586
|
+
*/
|
|
3587
|
+
constructor(jsonFileName: string);
|
|
3588
|
+
/**
|
|
3589
|
+
* Validate the version policy configuration against the rush config
|
|
3590
|
+
*/
|
|
3591
|
+
validate(projectsByName: Map<string, RushConfigurationProject>): void;
|
|
3592
|
+
/**
|
|
3593
|
+
* Gets the version policy by its name.
|
|
3594
|
+
* Throws error if the version policy is not found.
|
|
3595
|
+
* @param policyName - Name of the version policy
|
|
3596
|
+
*/
|
|
3597
|
+
getVersionPolicy(policyName: string): VersionPolicy;
|
|
3598
|
+
/**
|
|
3599
|
+
* Gets all the version policies
|
|
3600
|
+
*/
|
|
3601
|
+
get versionPolicies(): Map<string, VersionPolicy>;
|
|
3602
|
+
/**
|
|
3603
|
+
* Bumps up versions for the specified version policy or all version policies
|
|
3604
|
+
*
|
|
3605
|
+
* @param versionPolicyName - version policy name
|
|
3606
|
+
* @param bumpType - bump type to override what policy has defined.
|
|
3607
|
+
* @param identifier - prerelease identifier to override what policy has defined.
|
|
3608
|
+
* @param shouldCommit - should save to disk
|
|
3609
|
+
*/
|
|
3610
|
+
bump(versionPolicyName?: string, bumpType?: BumpType, identifier?: string, shouldCommit?: boolean): void;
|
|
3611
|
+
/**
|
|
3612
|
+
* Updates the version directly for the specified version policy
|
|
3613
|
+
* @param versionPolicyName - version policy name
|
|
3614
|
+
* @param newVersion - new version
|
|
3615
|
+
*/
|
|
3616
|
+
update(versionPolicyName: string, newVersion: string, shouldCommit?: boolean): void;
|
|
3617
|
+
private _loadFile;
|
|
3618
|
+
private _saveFile;
|
|
3619
|
+
}
|
|
3620
|
+
|
|
3621
|
+
/**
|
|
3622
|
+
* Version policy base type names
|
|
3623
|
+
* @public
|
|
3624
|
+
*/
|
|
3625
|
+
export declare enum VersionPolicyDefinitionName {
|
|
3626
|
+
'lockStepVersion' = 0,
|
|
3627
|
+
'individualVersion' = 1
|
|
3628
|
+
}
|
|
3629
|
+
|
|
3630
|
+
/**
|
|
3631
|
+
* Options that are only used when the yarn package manager is selected.
|
|
3632
|
+
*
|
|
3633
|
+
* @remarks
|
|
3634
|
+
* It is valid to define these options in rush.json even if the yarn package manager
|
|
3635
|
+
* is not being used.
|
|
3636
|
+
*
|
|
3637
|
+
* @public
|
|
3638
|
+
*/
|
|
3639
|
+
export declare class YarnOptionsConfiguration extends PackageManagerOptionsConfigurationBase {
|
|
3640
|
+
/**
|
|
3641
|
+
* If true, then Rush will add the "--ignore-engines" option when invoking Yarn.
|
|
3642
|
+
* This allows "rush install" to succeed if there are dependencies with engines defined in
|
|
3643
|
+
* package.json which do not match the current environment.
|
|
3644
|
+
*
|
|
3645
|
+
* The default value is false.
|
|
3646
|
+
*/
|
|
3647
|
+
readonly ignoreEngines: boolean;
|
|
3648
|
+
/** @internal */
|
|
3649
|
+
constructor(json: _IYarnOptionsJson);
|
|
3650
|
+
}
|
|
3651
|
+
|
|
3652
|
+
export { }
|