@rushstack/rush-sdk 5.129.6 → 5.130.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/rush-lib.d.ts +23 -6
  2. package/{lib-shim → dist}/tsdoc-metadata.json +1 -1
  3. package/lib/api/CommonVersionsConfiguration.d.ts +3 -2
  4. package/lib/api/ExperimentsConfiguration.d.ts +7 -0
  5. package/lib/api/RushConfiguration.d.ts +6 -0
  6. package/lib/logic/RushConstants.d.ts +8 -0
  7. package/lib/logic/operations/AsyncOperationQueue.d.ts +3 -17
  8. package/lib/logic/operations/OperationExecutionRecord.d.ts +1 -0
  9. package/lib/logic/operations/OperationStatus.d.ts +5 -4
  10. package/lib/utilities/RushAlerts.d.ts +22 -0
  11. package/lib/utilities/RushAlerts.js +1 -0
  12. package/lib-commonjs/generate-stubs.d.ts +2 -0
  13. package/lib-commonjs/generate-stubs.d.ts.map +1 -0
  14. package/lib-commonjs/generate-stubs.js +84 -0
  15. package/lib-commonjs/generate-stubs.js.map +1 -0
  16. package/lib-commonjs/index.d.ts.map +1 -0
  17. package/lib-commonjs/index.js +207 -0
  18. package/lib-commonjs/index.js.map +1 -0
  19. package/lib-commonjs/loader.js +192 -0
  20. package/lib-commonjs/loader.js.map +1 -0
  21. package/lib-esnext/generate-stubs.js +57 -0
  22. package/lib-esnext/generate-stubs.js.map +1 -0
  23. package/lib-esnext/helpers.js +54 -0
  24. package/lib-esnext/helpers.js.map +1 -0
  25. package/lib-esnext/index.js +180 -0
  26. package/lib-esnext/index.js.map +1 -0
  27. package/lib-esnext/loader.js +165 -0
  28. package/lib-esnext/loader.js.map +1 -0
  29. package/lib-shim/commons.js +2200 -0
  30. package/lib-shim/commons.js.map +1 -0
  31. package/lib-shim/index.js +298 -184
  32. package/lib-shim/index.js.map +1 -1
  33. package/lib-shim/loader.js +228 -191
  34. package/lib-shim/loader.js.map +1 -1
  35. package/package.json +22 -9
  36. package/lib-shim/index.d.ts.map +0 -1
  37. /package/{lib-shim → lib-commonjs}/helpers.d.ts +0 -0
  38. /package/{lib-shim → lib-commonjs}/helpers.d.ts.map +0 -0
  39. /package/{lib-shim → lib-commonjs}/helpers.js +0 -0
  40. /package/{lib-shim → lib-commonjs}/helpers.js.map +0 -0
  41. /package/{lib-shim → lib-commonjs}/index.d.ts +0 -0
  42. /package/{lib-shim → lib-commonjs}/loader.d.ts +0 -0
  43. /package/{lib-shim → lib-commonjs}/loader.d.ts.map +0 -0
@@ -1,192 +1,229 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
3
- // See LICENSE in the project root for license information.
4
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
- if (k2 === undefined) k2 = k;
6
- var desc = Object.getOwnPropertyDescriptor(m, k);
7
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
- desc = { enumerable: true, get: function() { return m[k]; } };
9
- }
10
- Object.defineProperty(o, k2, desc);
11
- }) : (function(o, m, k, k2) {
12
- if (k2 === undefined) k2 = k;
13
- o[k2] = m[k];
14
- }));
15
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
- Object.defineProperty(o, "default", { enumerable: true, value: v });
17
- }) : function(o, v) {
18
- o["default"] = v;
19
- });
20
- var __importStar = (this && this.__importStar) || function (mod) {
21
- if (mod && mod.__esModule) return mod;
22
- var result = {};
23
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
- __setModuleDefault(result, mod);
25
- return result;
26
- };
27
- Object.defineProperty(exports, "__esModule", { value: true });
28
- exports.RushSdkLoader = void 0;
29
- const path = __importStar(require("path"));
30
- const node_core_library_1 = require("@rushstack/node-core-library");
31
- const helpers_1 = require("./helpers");
32
- /**
33
- * Exposes operations that control how the `@microsoft/rush-lib` engine is
34
- * located and loaded.
35
- * @public
36
- */
37
- class RushSdkLoader {
38
- /**
39
- * Throws an "AbortError" exception if abortSignal.aborted is true.
40
- */
41
- static _checkForCancel(abortSignal, onNotifyEvent, progressPercent) {
42
- if (!(abortSignal === null || abortSignal === void 0 ? void 0 : abortSignal.aborted)) {
43
- return;
44
- }
45
- if (onNotifyEvent) {
46
- onNotifyEvent({
47
- logMessage: {
48
- kind: 'info',
49
- text: `The operation was canceled`
50
- },
51
- progressPercent
52
- });
53
- }
54
- const error = new Error('The operation was canceled');
55
- error.name = 'AbortError';
56
- throw error;
57
- }
58
- /**
59
- * Returns true if the Rush engine has already been loaded.
60
- */
61
- static get isLoaded() {
62
- return helpers_1.sdkContext.rushLibModule !== undefined;
63
- }
64
- /**
65
- * Manually load the Rush engine based on rush.json found for `rushJsonSearchFolder`.
66
- * Throws an exception if {@link RushSdkLoader.isLoaded} is already `true`.
67
- *
68
- * @remarks
69
- * This API supports an callback that can be used display a progress bar,
70
- * log of operations, and allow the operation to be canceled prematurely.
71
- */
72
- static async loadAsync(options) {
73
- // SCENARIO 5: The rush-lib engine is loaded manually using rushSdkLoader.loadAsync().
74
- var _a, _b;
75
- if (!options) {
76
- options = {};
77
- }
78
- if (RushSdkLoader.isLoaded) {
79
- throw new Error('RushSdkLoader.loadAsync() failed because the Rush engine has already been loaded');
80
- }
81
- const onNotifyEvent = options.onNotifyEvent;
82
- let progressPercent = undefined;
83
- const abortSignal = options.abortSignal;
84
- try {
85
- const rushJsonSearchFolder = (_a = options.rushJsonSearchFolder) !== null && _a !== void 0 ? _a : process.cwd();
86
- if (onNotifyEvent) {
87
- onNotifyEvent({
88
- logMessage: {
89
- kind: 'debug',
90
- text: `Searching for rush.json starting from: ` + rushJsonSearchFolder
91
- },
92
- progressPercent
93
- });
94
- }
95
- const rushJsonPath = (0, helpers_1.tryFindRushJsonLocation)(rushJsonSearchFolder);
96
- if (!rushJsonPath) {
97
- throw new Error('Unable to find rush.json in the specified folder or its parent folders:\n' +
98
- `${rushJsonSearchFolder}\n`);
99
- }
100
- const monorepoRoot = path.dirname(rushJsonPath);
101
- const rushJson = await node_core_library_1.JsonFile.loadAsync(rushJsonPath);
102
- const { rushVersion } = rushJson;
103
- const installRunNodeModuleFolder = path.join(monorepoRoot, `common/temp/install-run/@microsoft+rush@${rushVersion}`);
104
- try {
105
- // First, try to load the version of "rush-lib" that was installed by install-run-rush.js
106
- if (onNotifyEvent) {
107
- onNotifyEvent({
108
- logMessage: {
109
- kind: 'info',
110
- text: `Trying to load ${helpers_1.RUSH_LIB_NAME} installed by install-run-rush`
111
- },
112
- progressPercent
113
- });
114
- }
115
- helpers_1.sdkContext.rushLibModule = (0, helpers_1.requireRushLibUnderFolderPath)(installRunNodeModuleFolder);
116
- }
117
- catch (e1) {
118
- let installAndRunRushStderrContent = '';
119
- try {
120
- const installAndRunRushJSPath = path.join(monorepoRoot, 'common/scripts/install-run-rush.js');
121
- if (onNotifyEvent) {
122
- onNotifyEvent({
123
- logMessage: {
124
- kind: 'info',
125
- text: 'The Rush engine has not been installed yet. Invoking install-run-rush.js...'
126
- },
127
- progressPercent
128
- });
129
- }
130
- // Start the installation
131
- progressPercent = 0;
132
- const installAndRunRushProcess = node_core_library_1.Executable.spawnSync('node', [installAndRunRushJSPath, '--help'], {
133
- stdio: 'pipe'
134
- });
135
- installAndRunRushStderrContent = installAndRunRushProcess.stderr;
136
- if (installAndRunRushProcess.status !== 0) {
137
- throw new Error(`The ${helpers_1.RUSH_LIB_NAME} package failed to install`);
138
- }
139
- if (abortSignal) {
140
- RushSdkLoader._checkForCancel(abortSignal, onNotifyEvent, progressPercent);
141
- }
142
- // TODO: Implement incremental progress updates
143
- progressPercent = 90;
144
- // Retry to load "rush-lib" after install-run-rush run
145
- if (onNotifyEvent) {
146
- onNotifyEvent({
147
- logMessage: {
148
- kind: 'debug',
149
- text: `Trying to load ${helpers_1.RUSH_LIB_NAME} installed by install-run-rush a second time`
150
- },
151
- progressPercent
152
- });
153
- }
154
- helpers_1.sdkContext.rushLibModule = (0, helpers_1.requireRushLibUnderFolderPath)(installRunNodeModuleFolder);
155
- progressPercent = 100;
156
- }
157
- catch (e2) {
158
- // eslint-disable-next-line no-console
159
- console.error(`${installAndRunRushStderrContent}`);
160
- throw new Error(`The ${helpers_1.RUSH_LIB_NAME} package failed to load`);
161
- }
162
- }
163
- if (helpers_1.sdkContext.rushLibModule !== undefined) {
164
- // to track which scenario is active and how it got initialized.
165
- global.___rush___rushLibModuleFromInstallAndRunRush = helpers_1.sdkContext.rushLibModule;
166
- if (onNotifyEvent) {
167
- onNotifyEvent({
168
- logMessage: {
169
- kind: 'debug',
170
- text: `Loaded ${helpers_1.RUSH_LIB_NAME} installed by install-run-rush`
171
- },
172
- progressPercent
173
- });
174
- }
175
- }
176
- }
177
- catch (e) {
178
- if (onNotifyEvent) {
179
- onNotifyEvent({
180
- logMessage: {
181
- kind: 'info',
182
- text: 'The operation failed: ' + ((_b = e.message) !== null && _b !== void 0 ? _b : 'An unknown error occurred')
183
- },
184
- progressPercent
185
- });
186
- }
187
- throw e;
188
- }
189
- }
190
- }
191
- exports.RushSdkLoader = RushSdkLoader;
1
+ /******/ (() => { // webpackBootstrap
2
+ /******/ "use strict";
3
+ /******/ var __webpack_modules__ = ({
4
+
5
+ /***/ "@rushstack/node-core-library":
6
+ /*!***********************************************!*\
7
+ !*** external "@rushstack/node-core-library" ***!
8
+ \***********************************************/
9
+ /***/ ((module) => {
10
+
11
+ module.exports = require("@rushstack/node-core-library");
12
+
13
+ /***/ }),
14
+
15
+ /***/ "path":
16
+ /*!***********************!*\
17
+ !*** external "path" ***!
18
+ \***********************/
19
+ /***/ ((module) => {
20
+
21
+ module.exports = require("path");
22
+
23
+ /***/ })
24
+
25
+ /******/ });
26
+ /************************************************************************/
27
+ /******/ // The module cache
28
+ /******/ var __webpack_module_cache__ = {};
29
+ /******/
30
+ /******/ // The require function
31
+ /******/ function __webpack_require__(moduleId) {
32
+ /******/ // Check if module is in cache
33
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
34
+ /******/ if (cachedModule !== undefined) {
35
+ /******/ return cachedModule.exports;
36
+ /******/ }
37
+ /******/ // Create a new module (and put it into the cache)
38
+ /******/ var module = __webpack_module_cache__[moduleId] = {
39
+ /******/ id: moduleId,
40
+ /******/ loaded: false,
41
+ /******/ exports: {}
42
+ /******/ };
43
+ /******/
44
+ /******/ // Execute the module function
45
+ /******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
46
+ /******/
47
+ /******/ // Flag the module as loaded
48
+ /******/ module.loaded = true;
49
+ /******/
50
+ /******/ // Return the exports of the module
51
+ /******/ return module.exports;
52
+ /******/ }
53
+ /******/
54
+ /******/ // expose the modules object (__webpack_modules__)
55
+ /******/ __webpack_require__.m = __webpack_modules__;
56
+ /******/
57
+ /******/ // the startup function
58
+ /******/ __webpack_require__.x = () => {
59
+ /******/ // Load entry module and return exports
60
+ /******/ // This entry module depends on other loaded chunks and execution need to be delayed
61
+ /******/ var __webpack_exports__ = __webpack_require__.O(undefined, ["commons"], () => (__webpack_require__("./lib-commonjs/loader.js")))
62
+ /******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
63
+ /******/ return __webpack_exports__;
64
+ /******/ };
65
+ /******/
66
+ /************************************************************************/
67
+ /******/ /* webpack/runtime/chunk loaded */
68
+ /******/ (() => {
69
+ /******/ var deferred = [];
70
+ /******/ __webpack_require__.O = (result, chunkIds, fn, priority) => {
71
+ /******/ if(chunkIds) {
72
+ /******/ priority = priority || 0;
73
+ /******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];
74
+ /******/ deferred[i] = [chunkIds, fn, priority];
75
+ /******/ return;
76
+ /******/ }
77
+ /******/ var notFulfilled = Infinity;
78
+ /******/ for (var i = 0; i < deferred.length; i++) {
79
+ /******/ var [chunkIds, fn, priority] = deferred[i];
80
+ /******/ var fulfilled = true;
81
+ /******/ for (var j = 0; j < chunkIds.length; j++) {
82
+ /******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {
83
+ /******/ chunkIds.splice(j--, 1);
84
+ /******/ } else {
85
+ /******/ fulfilled = false;
86
+ /******/ if(priority < notFulfilled) notFulfilled = priority;
87
+ /******/ }
88
+ /******/ }
89
+ /******/ if(fulfilled) {
90
+ /******/ deferred.splice(i--, 1)
91
+ /******/ var r = fn();
92
+ /******/ if (r !== undefined) result = r;
93
+ /******/ }
94
+ /******/ }
95
+ /******/ return result;
96
+ /******/ };
97
+ /******/ })();
98
+ /******/
99
+ /******/ /* webpack/runtime/compat get default export */
100
+ /******/ (() => {
101
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
102
+ /******/ __webpack_require__.n = (module) => {
103
+ /******/ var getter = module && module.__esModule ?
104
+ /******/ () => (module['default']) :
105
+ /******/ () => (module);
106
+ /******/ __webpack_require__.d(getter, { a: getter });
107
+ /******/ return getter;
108
+ /******/ };
109
+ /******/ })();
110
+ /******/
111
+ /******/ /* webpack/runtime/define property getters */
112
+ /******/ (() => {
113
+ /******/ // define getter functions for harmony exports
114
+ /******/ __webpack_require__.d = (exports, definition) => {
115
+ /******/ for(var key in definition) {
116
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
117
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
118
+ /******/ }
119
+ /******/ }
120
+ /******/ };
121
+ /******/ })();
122
+ /******/
123
+ /******/ /* webpack/runtime/ensure chunk */
124
+ /******/ (() => {
125
+ /******/ __webpack_require__.f = {};
126
+ /******/ // This file contains only the entry chunk.
127
+ /******/ // The chunk loading function for additional chunks
128
+ /******/ __webpack_require__.e = (chunkId) => {
129
+ /******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {
130
+ /******/ __webpack_require__.f[key](chunkId, promises);
131
+ /******/ return promises;
132
+ /******/ }, []));
133
+ /******/ };
134
+ /******/ })();
135
+ /******/
136
+ /******/ /* webpack/runtime/get javascript chunk filename */
137
+ /******/ (() => {
138
+ /******/ // This function allow to reference async chunks and sibling chunks for the entrypoint
139
+ /******/ __webpack_require__.u = (chunkId) => {
140
+ /******/ // return url for filenames based on template
141
+ /******/ return "" + chunkId + ".js";
142
+ /******/ };
143
+ /******/ })();
144
+ /******/
145
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
146
+ /******/ (() => {
147
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
148
+ /******/ })();
149
+ /******/
150
+ /******/ /* webpack/runtime/make namespace object */
151
+ /******/ (() => {
152
+ /******/ // define __esModule on exports
153
+ /******/ __webpack_require__.r = (exports) => {
154
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
155
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
156
+ /******/ }
157
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
158
+ /******/ };
159
+ /******/ })();
160
+ /******/
161
+ /******/ /* webpack/runtime/node module decorator */
162
+ /******/ (() => {
163
+ /******/ __webpack_require__.nmd = (module) => {
164
+ /******/ module.paths = [];
165
+ /******/ if (!module.children) module.children = [];
166
+ /******/ return module;
167
+ /******/ };
168
+ /******/ })();
169
+ /******/
170
+ /******/ /* webpack/runtime/require chunk loading */
171
+ /******/ (() => {
172
+ /******/ // no baseURI
173
+ /******/
174
+ /******/ // object to store loaded chunks
175
+ /******/ // "1" means "loaded", otherwise not loaded yet
176
+ /******/ var installedChunks = {
177
+ /******/ "loader": 1
178
+ /******/ };
179
+ /******/
180
+ /******/ __webpack_require__.O.require = (chunkId) => (installedChunks[chunkId]);
181
+ /******/
182
+ /******/ var installChunk = (chunk) => {
183
+ /******/ var moreModules = chunk.modules, chunkIds = chunk.ids, runtime = chunk.runtime;
184
+ /******/ for(var moduleId in moreModules) {
185
+ /******/ if(__webpack_require__.o(moreModules, moduleId)) {
186
+ /******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
187
+ /******/ }
188
+ /******/ }
189
+ /******/ if(runtime) runtime(__webpack_require__);
190
+ /******/ for(var i = 0; i < chunkIds.length; i++)
191
+ /******/ installedChunks[chunkIds[i]] = 1;
192
+ /******/ __webpack_require__.O();
193
+ /******/ };
194
+ /******/
195
+ /******/ // require() chunk loading for javascript
196
+ /******/ __webpack_require__.f.require = (chunkId, promises) => {
197
+ /******/ // "1" is the signal for "already loaded"
198
+ /******/ if(!installedChunks[chunkId]) {
199
+ /******/ if(true) { // all chunks have JS
200
+ /******/ installChunk(require("./" + __webpack_require__.u(chunkId)));
201
+ /******/ } else installedChunks[chunkId] = 1;
202
+ /******/ }
203
+ /******/ };
204
+ /******/
205
+ /******/ // no external install chunk
206
+ /******/
207
+ /******/ // no HMR
208
+ /******/
209
+ /******/ // no HMR manifest
210
+ /******/ })();
211
+ /******/
212
+ /******/ /* webpack/runtime/startup chunk dependencies */
213
+ /******/ (() => {
214
+ /******/ var next = __webpack_require__.x;
215
+ /******/ __webpack_require__.x = () => {
216
+ /******/ __webpack_require__.e("commons");
217
+ /******/ return next();
218
+ /******/ };
219
+ /******/ })();
220
+ /******/
221
+ /************************************************************************/
222
+ /******/
223
+ /******/ // run startup
224
+ /******/ var __webpack_exports__ = __webpack_require__.x();
225
+ /******/ module.exports = __webpack_exports__;
226
+ /******/
227
+ /******/ })()
228
+ ;
192
229
  //# sourceMappingURL=loader.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"loader.js","sourceRoot":"","sources":["../src/loader.ts"],"names":[],"mappings":";AAAA,4FAA4F;AAC5F,2DAA2D;;;;;;;;;;;;;;;;;;;;;;;;;;AAE3D,2CAA6B;AAE7B,oEAAqF;AAErF,uCAMmB;AA4EnB;;;;GAIG;AACH,MAAa,aAAa;IACxB;;OAEG;IACK,MAAM,CAAC,eAAe,CAC5B,WAAwB,EACxB,aAAiD,EACjD,eAAmC;QAEnC,IAAI,CAAC,CAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,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AE,CAAC;YACX,IAAI,aAAa,EAAE,CAAC;gBAClB,aAAa,CAAC;oBACZ,UAAU,EAAE;wBACV,IAAI,EAAE,MAAM;wBACZ,IAAI,EAAE,wBAAwB,GAAG,CAAC,MAAA,CAAC,CAAC,OAAO,mCAAI,2BAA2B,CAAC;qBAC5E;oBACD,eAAe;iBAChB,CAAC,CAAC;YACL,CAAC;YACD,MAAM,CAAC,CAAC;QACV,CAAC;IACH,CAAC;CACF;AA7LD,sCA6LC","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.\n// See LICENSE in the project root for license information.\n\nimport * as path from 'path';\nimport type { SpawnSyncReturns } from 'child_process';\nimport { JsonFile, type JsonObject, Executable } from '@rushstack/node-core-library';\n\nimport {\n tryFindRushJsonLocation,\n RUSH_LIB_NAME,\n type RushLibModuleType,\n requireRushLibUnderFolderPath,\n sdkContext\n} from './helpers';\n\ndeclare const global: typeof globalThis & {\n ___rush___rushLibModule?: RushLibModuleType;\n ___rush___rushLibModuleFromEnvironment?: RushLibModuleType;\n ___rush___rushLibModuleFromInstallAndRunRush?: RushLibModuleType;\n};\n\n/**\n * Type of {@link ISdkCallbackEvent.logMessage}\n * @public\n */\nexport interface IProgressBarCallbackLogMessage {\n /**\n * A status message to print in the log window, or `undefined` if there are\n * no further messages. This string may contain newlines.\n */\n text: string;\n\n /**\n * The type of message. More message types may be added in the future.\n */\n kind: 'info' | 'debug';\n}\n\n/**\n * Event options for {@link ILoadSdkAsyncOptions.onNotifyEvent}\n * @public\n */\nexport interface ISdkCallbackEvent {\n /**\n * Allows the caller to display log information about the operation.\n */\n logMessage: IProgressBarCallbackLogMessage | undefined;\n\n /**\n * Allows the caller to display a progress bar for long-running operations.\n *\n * @remarks\n * If a long-running operation is required, then `progressPercent` will\n * start at 0.0 and count upwards and finish at 100.0 if the operation completes\n * successfully. If the long-running operation has not yet started, or\n * is not required, then the value will be `undefined`.\n */\n progressPercent: number | undefined;\n}\n\n/**\n * Type of {@link ILoadSdkAsyncOptions.onNotifyEvent}\n * @public\n */\nexport type SdkNotifyEventCallback = (sdkEvent: ISdkCallbackEvent) => void;\n\n/**\n * Options for {@link RushSdkLoader.loadAsync}\n * @public\n */\nexport interface ILoadSdkAsyncOptions {\n /**\n * The folder to start from when searching for the Rush workspace configuration.\n * If this folder does not contain a `rush.json` file, then each parent folder\n * will be searched. If `rush.json` is not found, then the SDK fails to load.\n */\n rushJsonSearchFolder?: string;\n\n /**\n * A cancellation token that the caller can use to prematurely abort the operation.\n */\n abortSignal?: AbortSignal;\n\n /**\n * Allows the caller to monitor the progress of the operation.\n */\n onNotifyEvent?: SdkNotifyEventCallback;\n}\n\n/**\n * Exposes operations that control how the `@microsoft/rush-lib` engine is\n * located and loaded.\n * @public\n */\nexport class RushSdkLoader {\n /**\n * Throws an \"AbortError\" exception if abortSignal.aborted is true.\n */\n private static _checkForCancel(\n abortSignal: AbortSignal,\n onNotifyEvent: SdkNotifyEventCallback | undefined,\n progressPercent: number | undefined\n ): void {\n if (!abortSignal?.aborted) {\n return;\n }\n\n if (onNotifyEvent) {\n onNotifyEvent({\n logMessage: {\n kind: 'info',\n text: `The operation was canceled`\n },\n progressPercent\n });\n }\n\n const error: Error = new Error('The operation was canceled');\n error.name = 'AbortError';\n throw error;\n }\n\n /**\n * Returns true if the Rush engine has already been loaded.\n */\n public static get isLoaded(): boolean {\n return sdkContext.rushLibModule !== undefined;\n }\n\n /**\n * Manually load the Rush engine based on rush.json found for `rushJsonSearchFolder`.\n * Throws an exception if {@link RushSdkLoader.isLoaded} is already `true`.\n *\n * @remarks\n * This API supports an callback that can be used display a progress bar,\n * log of operations, and allow the operation to be canceled prematurely.\n */\n public static async loadAsync(options?: ILoadSdkAsyncOptions): Promise<void> {\n // SCENARIO 5: The rush-lib engine is loaded manually using rushSdkLoader.loadAsync().\n\n if (!options) {\n options = {};\n }\n\n if (RushSdkLoader.isLoaded) {\n throw new Error('RushSdkLoader.loadAsync() failed because the Rush engine has already been loaded');\n }\n\n const onNotifyEvent: SdkNotifyEventCallback | undefined = options.onNotifyEvent;\n let progressPercent: number | undefined = undefined;\n\n const abortSignal: AbortSignal | undefined = options.abortSignal;\n\n try {\n const rushJsonSearchFolder: string = options.rushJsonSearchFolder ?? process.cwd();\n\n if (onNotifyEvent) {\n onNotifyEvent({\n logMessage: {\n kind: 'debug',\n text: `Searching for rush.json starting from: ` + rushJsonSearchFolder\n },\n progressPercent\n });\n }\n\n const rushJsonPath: string | undefined = tryFindRushJsonLocation(rushJsonSearchFolder);\n if (!rushJsonPath) {\n throw new Error(\n 'Unable to find rush.json in the specified folder or its parent folders:\\n' +\n `${rushJsonSearchFolder}\\n`\n );\n }\n const monorepoRoot: string = path.dirname(rushJsonPath);\n\n const rushJson: JsonObject = await JsonFile.loadAsync(rushJsonPath);\n const { rushVersion } = rushJson;\n\n const installRunNodeModuleFolder: string = path.join(\n monorepoRoot,\n `common/temp/install-run/@microsoft+rush@${rushVersion}`\n );\n\n try {\n // First, try to load the version of \"rush-lib\" that was installed by install-run-rush.js\n if (onNotifyEvent) {\n onNotifyEvent({\n logMessage: {\n kind: 'info',\n text: `Trying to load ${RUSH_LIB_NAME} installed by install-run-rush`\n },\n progressPercent\n });\n }\n sdkContext.rushLibModule = requireRushLibUnderFolderPath(installRunNodeModuleFolder);\n } catch (e1) {\n let installAndRunRushStderrContent: string = '';\n try {\n const installAndRunRushJSPath: string = path.join(\n monorepoRoot,\n 'common/scripts/install-run-rush.js'\n );\n\n if (onNotifyEvent) {\n onNotifyEvent({\n logMessage: {\n kind: 'info',\n text: 'The Rush engine has not been installed yet. Invoking install-run-rush.js...'\n },\n progressPercent\n });\n }\n\n // Start the installation\n progressPercent = 0;\n\n const installAndRunRushProcess: SpawnSyncReturns<string> = Executable.spawnSync(\n 'node',\n [installAndRunRushJSPath, '--help'],\n {\n stdio: 'pipe'\n }\n );\n\n installAndRunRushStderrContent = installAndRunRushProcess.stderr;\n if (installAndRunRushProcess.status !== 0) {\n throw new Error(`The ${RUSH_LIB_NAME} package failed to install`);\n }\n\n if (abortSignal) {\n RushSdkLoader._checkForCancel(abortSignal, onNotifyEvent, progressPercent);\n }\n\n // TODO: Implement incremental progress updates\n progressPercent = 90;\n\n // Retry to load \"rush-lib\" after install-run-rush run\n if (onNotifyEvent) {\n onNotifyEvent({\n logMessage: {\n kind: 'debug',\n text: `Trying to load ${RUSH_LIB_NAME} installed by install-run-rush a second time`\n },\n progressPercent\n });\n }\n\n sdkContext.rushLibModule = requireRushLibUnderFolderPath(installRunNodeModuleFolder);\n\n progressPercent = 100;\n } catch (e2) {\n // eslint-disable-next-line no-console\n console.error(`${installAndRunRushStderrContent}`);\n throw new Error(`The ${RUSH_LIB_NAME} package failed to load`);\n }\n }\n\n if (sdkContext.rushLibModule !== undefined) {\n // to track which scenario is active and how it got initialized.\n global.___rush___rushLibModuleFromInstallAndRunRush = sdkContext.rushLibModule;\n if (onNotifyEvent) {\n onNotifyEvent({\n logMessage: {\n kind: 'debug',\n text: `Loaded ${RUSH_LIB_NAME} installed by install-run-rush`\n },\n progressPercent\n });\n }\n }\n } catch (e) {\n if (onNotifyEvent) {\n onNotifyEvent({\n logMessage: {\n kind: 'info',\n text: 'The operation failed: ' + (e.message ?? 'An unknown error occurred')\n },\n progressPercent\n });\n }\n throw e;\n }\n }\n}\n"]}
1
+ {"version":3,"file":"loader.js","mappings":";;;;;;;;;;AAAA;;;;;;;;;;ACAA;;;;;;UCAA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;;;;WCrCA;WACA;WACA;WACA;WACA,+BAA+B,wCAAwC;WACvE;WACA;WACA;WACA;WACA,iBAAiB,qBAAqB;WACtC;WACA;WACA,kBAAkB,qBAAqB;WACvC;WACA;WACA,KAAK;WACL;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;;;;WC3BA;WACA;WACA;WACA;WACA;WACA,iCAAiC,WAAW;WAC5C;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,EAAE;WACF;;;;;WCRA;WACA;WACA;WACA;WACA;;;;;WCJA;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;WCNA;WACA;WACA;WACA;WACA;;;;;WCJA;;WAEA;WACA;WACA;WACA;WACA;;WAEA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,gBAAgB,qBAAqB;WACrC;WACA;WACA;;WAEA;WACA;WACA;WACA;WACA,aAAa;WACb;WACA,IAAI;WACJ;WACA;;WAEA;;WAEA;;WAEA;;;;;WCrCA;WACA;WACA;WACA;WACA;;;;;UEJA;UACA","sources":["webpack://@rushstack/rush-sdk/external commonjs \"@rushstack/node-core-library\"","webpack://@rushstack/rush-sdk/external node-commonjs \"path\"","webpack://@rushstack/rush-sdk/webpack/bootstrap","webpack://@rushstack/rush-sdk/webpack/runtime/chunk loaded","webpack://@rushstack/rush-sdk/webpack/runtime/compat get default export","webpack://@rushstack/rush-sdk/webpack/runtime/define property getters","webpack://@rushstack/rush-sdk/webpack/runtime/ensure chunk","webpack://@rushstack/rush-sdk/webpack/runtime/get javascript chunk filename","webpack://@rushstack/rush-sdk/webpack/runtime/hasOwnProperty shorthand","webpack://@rushstack/rush-sdk/webpack/runtime/make namespace object","webpack://@rushstack/rush-sdk/webpack/runtime/node module decorator","webpack://@rushstack/rush-sdk/webpack/runtime/require chunk loading","webpack://@rushstack/rush-sdk/webpack/runtime/startup chunk dependencies","webpack://@rushstack/rush-sdk/webpack/before-startup","webpack://@rushstack/rush-sdk/webpack/startup","webpack://@rushstack/rush-sdk/webpack/after-startup"],"sourcesContent":["module.exports = require(\"@rushstack/node-core-library\");","module.exports = require(\"path\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n// the startup function\n__webpack_require__.x = () => {\n\t// Load entry module and return exports\n\t// This entry module depends on other loaded chunks and execution need to be delayed\n\tvar __webpack_exports__ = __webpack_require__.O(undefined, [\"commons\"], () => (__webpack_require__(\"./lib-commonjs/loader.js\")))\n\t__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n\treturn __webpack_exports__;\n};\n\n","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks and sibling chunks for the entrypoint\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"\" + chunkId + \".js\";\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","// no baseURI\n\n// object to store loaded chunks\n// \"1\" means \"loaded\", otherwise not loaded yet\nvar installedChunks = {\n\t\"loader\": 1\n};\n\n__webpack_require__.O.require = (chunkId) => (installedChunks[chunkId]);\n\nvar installChunk = (chunk) => {\n\tvar moreModules = chunk.modules, chunkIds = chunk.ids, runtime = chunk.runtime;\n\tfor(var moduleId in moreModules) {\n\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t}\n\t}\n\tif(runtime) runtime(__webpack_require__);\n\tfor(var i = 0; i < chunkIds.length; i++)\n\t\tinstalledChunks[chunkIds[i]] = 1;\n\t__webpack_require__.O();\n};\n\n// require() chunk loading for javascript\n__webpack_require__.f.require = (chunkId, promises) => {\n\t// \"1\" is the signal for \"already loaded\"\n\tif(!installedChunks[chunkId]) {\n\t\tif(true) { // all chunks have JS\n\t\t\tinstallChunk(require(\"./\" + __webpack_require__.u(chunkId)));\n\t\t} else installedChunks[chunkId] = 1;\n\t}\n};\n\n// no external install chunk\n\n// no HMR\n\n// no HMR manifest","var next = __webpack_require__.x;\n__webpack_require__.x = () => {\n\t__webpack_require__.e(\"commons\");\n\treturn next();\n};","","// run startup\nvar __webpack_exports__ = __webpack_require__.x();\n",""],"names":[],"sourceRoot":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rushstack/rush-sdk",
3
- "version": "5.129.6",
3
+ "version": "5.130.0",
4
4
  "description": "An API for interacting with the Rush engine",
5
5
  "repository": {
6
6
  "type": "git",
@@ -11,8 +11,18 @@
11
11
  "main": "lib-shim/index.js",
12
12
  "typings": "dist/rush-lib.d.ts",
13
13
  "exports": {
14
- ".": "./lib-shim/index.js",
15
- "./loader": "./lib-shim/loader.js"
14
+ ".": {
15
+ "types": "./dist/rush-lib.d.ts",
16
+ "default": "./lib-shim/index.js"
17
+ },
18
+ "./loader": {
19
+ "types": "./dist/loader.d.ts",
20
+ "default": "./lib-shim/loader.js"
21
+ },
22
+ "./lib/*": {
23
+ "types": "./lib/*.d.ts",
24
+ "default": "./lib/*.js"
25
+ }
16
26
  },
17
27
  "typesVersions": {
18
28
  "*": {
@@ -25,17 +35,20 @@
25
35
  "dependencies": {
26
36
  "@types/node-fetch": "2.6.2",
27
37
  "tapable": "2.2.1",
28
- "@rushstack/node-core-library": "5.4.1",
29
- "@rushstack/terminal": "0.13.0"
38
+ "@rushstack/node-core-library": "5.5.0",
39
+ "@rushstack/terminal": "0.13.2"
30
40
  },
31
41
  "devDependencies": {
32
42
  "@types/semver": "7.5.0",
33
43
  "@types/webpack-env": "1.18.0",
34
- "@rushstack/heft": "0.66.18",
44
+ "webpack": "~5.82.1",
45
+ "@microsoft/rush-lib": "5.130.0",
35
46
  "local-node-rig": "1.0.0",
36
- "@microsoft/rush-lib": "5.129.6",
37
- "@rushstack/stream-collator": "4.1.56",
38
- "@rushstack/ts-command-line": "4.22.0"
47
+ "@rushstack/heft": "0.66.22",
48
+ "@rushstack/stream-collator": "4.1.60",
49
+ "@rushstack/heft-webpack5-plugin": "0.10.4",
50
+ "@rushstack/ts-command-line": "4.22.2",
51
+ "@rushstack/webpack-preserve-dynamic-require-plugin": "0.11.59"
39
52
  },
40
53
  "scripts": {
41
54
  "build": "heft build --clean",
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AA8MA;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAO1E"}
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes