@microsoft/rush 5.55.1 → 5.57.0-dev.3
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/CHANGELOG.json +36 -0
- package/CHANGELOG.md +16 -1
- package/lib/start.js +3 -2
- package/lib/start.js.map +1 -1
- package/package.json +8 -7
package/CHANGELOG.json
CHANGED
|
@@ -1,6 +1,42 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/rush",
|
|
3
3
|
"entries": [
|
|
4
|
+
{
|
|
5
|
+
"version": "5.56.0",
|
|
6
|
+
"tag": "@microsoft/rush_v5.56.0",
|
|
7
|
+
"date": "Thu, 28 Oct 2021 23:49:31 GMT",
|
|
8
|
+
"comments": {
|
|
9
|
+
"none": [
|
|
10
|
+
{
|
|
11
|
+
"comment": "Add CI skipping to default version & changelog commits"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"comment": "Update suggested version of NPM"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"comment": "Fix update-autoinstaller with NPM"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"comment": "Streamline rushx output and add quiet flag."
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"comment": "Include support for adding multiple packages with the \"rush add\" command."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"comment": "Update the package.json repository field to include the directory property."
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"comment": "Fix the error message printed when `--interactive` is passed to `rush update-cloud-credentials` and the cloud cache provider is Amazon S3."
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"comment": "Mark Node 16 as the current latest LTS version."
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"comment": "support `--debug-package-manager` install options for yarn"
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
},
|
|
4
40
|
{
|
|
5
41
|
"version": "5.55.1",
|
|
6
42
|
"tag": "@microsoft/rush_v5.55.1",
|
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,21 @@
|
|
|
1
1
|
# Change Log - @microsoft/rush
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Thu, 28 Oct 2021 23:49:31 GMT and should not be manually modified.
|
|
4
|
+
|
|
5
|
+
## 5.56.0
|
|
6
|
+
Thu, 28 Oct 2021 23:49:31 GMT
|
|
7
|
+
|
|
8
|
+
### Updates
|
|
9
|
+
|
|
10
|
+
- Add CI skipping to default version & changelog commits
|
|
11
|
+
- Update suggested version of NPM
|
|
12
|
+
- Fix update-autoinstaller with NPM
|
|
13
|
+
- Streamline rushx output and add quiet flag.
|
|
14
|
+
- Include support for adding multiple packages with the "rush add" command.
|
|
15
|
+
- Update the package.json repository field to include the directory property.
|
|
16
|
+
- Fix the error message printed when `--interactive` is passed to `rush update-cloud-credentials` and the cloud cache provider is Amazon S3.
|
|
17
|
+
- Mark Node 16 as the current latest LTS version.
|
|
18
|
+
- support `--debug-package-manager` install options for yarn
|
|
4
19
|
|
|
5
20
|
## 5.55.1
|
|
6
21
|
Tue, 12 Oct 2021 22:26:25 GMT
|
package/lib/start.js
CHANGED
|
@@ -42,6 +42,7 @@ const safe_1 = __importDefault(require("colors/safe"));
|
|
|
42
42
|
const os = __importStar(require("os"));
|
|
43
43
|
const semver = __importStar(require("semver"));
|
|
44
44
|
const node_core_library_1 = require("@rushstack/node-core-library");
|
|
45
|
+
const rush_lib_1 = require("@microsoft/rush-lib");
|
|
45
46
|
const rushLib = __importStar(require("@microsoft/rush-lib"));
|
|
46
47
|
const RushCommandSelector_1 = require("./RushCommandSelector");
|
|
47
48
|
const RushVersionSelector_1 = require("./RushVersionSelector");
|
|
@@ -50,7 +51,7 @@ const MinimalRushConfiguration_1 = require("./MinimalRushConfiguration");
|
|
|
50
51
|
const configuration = MinimalRushConfiguration_1.MinimalRushConfiguration.loadFromDefaultLocation();
|
|
51
52
|
const currentPackageVersion = node_core_library_1.PackageJsonLookup.loadOwnPackageJson(__dirname).version;
|
|
52
53
|
let rushVersionToLoad = undefined;
|
|
53
|
-
const previewVersion = process.env[
|
|
54
|
+
const previewVersion = process.env[rush_lib_1.EnvironmentVariableNames.RUSH_PREVIEW_VERSION];
|
|
54
55
|
if (previewVersion) {
|
|
55
56
|
if (!semver.valid(previewVersion, false)) {
|
|
56
57
|
console.error(safe_1.default.red(`Invalid value for RUSH_PREVIEW_VERSION environment variable: "${previewVersion}"`));
|
|
@@ -71,7 +72,7 @@ else if (configuration) {
|
|
|
71
72
|
// If we are previewing an older Rush that doesn't understand the RUSH_PREVIEW_VERSION variable,
|
|
72
73
|
// then unset it.
|
|
73
74
|
if (rushVersionToLoad && semver.lt(rushVersionToLoad, '5.0.0-dev.18')) {
|
|
74
|
-
delete process.env[
|
|
75
|
+
delete process.env[rush_lib_1.EnvironmentVariableNames.RUSH_PREVIEW_VERSION];
|
|
75
76
|
}
|
|
76
77
|
// Rush is "managed" if its version and configuration are dictated by a repo's rush.json
|
|
77
78
|
const isManaged = !!configuration;
|
package/lib/start.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"start.js","sourceRoot":"","sources":["../src/start.ts"],"names":[],"mappings":";AAAA,4FAA4F;AAC5F,2DAA2D;;;;;;;;;;;;;;;;;;;;;;;;AAE3D,+FAA+F;AAC/F,gGAAgG;AAChG,yFAAyF;AACzF,oCAAoC;AACpC,2FAAwF;AAExF,IAAI,yCAAmB,CAAC,gCAAgC,EAAE,EAAE;IAC1D,+FAA+F;IAC/F,kFAAkF;IAClF,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;CACjB;AAED,MAAM,8BAA8B,GAAY,yCAAmB,CAAC,sBAAsB,CAAC;IACzF,SAAS,EAAE,KAAK;IAChB,8BAA8B,EAAE,KAAK;CACtC,CAAC,CAAC;AAEH,uDAAiC;AACjC,uCAAyB;AACzB,+CAAiC;AAEjC,oEAAuE;
|
|
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AAG,CAAC,cAAM,CAAC,GAAG,CAAC,SAAS,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;IACrD,CAAC,CAAC,CAAC;CACN;KAAM;IACL,iEAAiE;IACjE,yCAAmB,CAAC,OAAO,CAAC,qBAAqB,EAAE,OAAO,EAAE,aAAa,CAAC,CAAC;CAC5E","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.\r\n// See LICENSE in the project root for license information.\r\n\r\n// We're using a path-based import here to minimize the amount of code that is evaluated before\r\n// we check to see if the Node.js version is too old. If, for whatever reason, Rush crashes with\r\n// an old Node.js version when evaluating one of the more complex imports, we'll at least\r\n// shown a meaningful error message.\r\nimport { NodeJsCompatibility } from '@microsoft/rush-lib/lib/logic/NodeJsCompatibility';\r\n\r\nif (NodeJsCompatibility.reportAncientIncompatibleVersion()) {\r\n // The Node.js version is known to have serious incompatibilities. In that situation, the user\r\n // should downgrade Rush to an older release that supported their Node.js version.\r\n process.exit(1);\r\n}\r\n\r\nconst alreadyReportedNodeTooNewError: boolean = NodeJsCompatibility.warnAboutVersionTooNew({\r\n isRushLib: false,\r\n alreadyReportedNodeTooNewError: false\r\n});\r\n\r\nimport colors from 'colors/safe';\r\nimport * as os from 'os';\r\nimport * as semver from 'semver';\r\n\r\nimport { Text, PackageJsonLookup } from '@rushstack/node-core-library';\r\nimport { EnvironmentVariableNames } from '@microsoft/rush-lib';\r\nimport * as rushLib from '@microsoft/rush-lib';\r\n\r\nimport { RushCommandSelector } from './RushCommandSelector';\r\nimport { RushVersionSelector } from './RushVersionSelector';\r\nimport { MinimalRushConfiguration } from './MinimalRushConfiguration';\r\n\r\n// Load the configuration\r\nconst configuration: MinimalRushConfiguration | undefined =\r\n MinimalRushConfiguration.loadFromDefaultLocation();\r\n\r\nconst currentPackageVersion: string = PackageJsonLookup.loadOwnPackageJson(__dirname).version;\r\n\r\nlet rushVersionToLoad: string | undefined = undefined;\r\n\r\nconst previewVersion: string | undefined = process.env[EnvironmentVariableNames.RUSH_PREVIEW_VERSION];\r\n\r\nif (previewVersion) {\r\n if (!semver.valid(previewVersion, false)) {\r\n console.error(\r\n colors.red(`Invalid value for RUSH_PREVIEW_VERSION environment variable: \"${previewVersion}\"`)\r\n );\r\n process.exit(1);\r\n }\r\n\r\n rushVersionToLoad = previewVersion;\r\n\r\n const lines: string[] = [];\r\n lines.push(\r\n `*********************************************************************`,\r\n `* WARNING! THE \"RUSH_PREVIEW_VERSION\" ENVIRONMENT VARIABLE IS SET. *`,\r\n `* *`,\r\n `* You are previewing Rush version: ${Text.padEnd(previewVersion, 25)} *`\r\n );\r\n\r\n if (configuration) {\r\n lines.push(`* The rush.json configuration asks for: ${Text.padEnd(configuration.rushVersion, 25)} *`);\r\n }\r\n\r\n lines.push(\r\n `* *`,\r\n `* To restore the normal behavior, unset the RUSH_PREVIEW_VERSION *`,\r\n `* environment variable. *`,\r\n `*********************************************************************`\r\n );\r\n\r\n console.error(lines.map((line) => colors.black(colors.bgYellow(line))).join(os.EOL));\r\n} else if (configuration) {\r\n rushVersionToLoad = configuration.rushVersion;\r\n}\r\n\r\n// If we are previewing an older Rush that doesn't understand the RUSH_PREVIEW_VERSION variable,\r\n// then unset it.\r\nif (rushVersionToLoad && semver.lt(rushVersionToLoad, '5.0.0-dev.18')) {\r\n delete process.env[EnvironmentVariableNames.RUSH_PREVIEW_VERSION];\r\n}\r\n\r\n// Rush is \"managed\" if its version and configuration are dictated by a repo's rush.json\r\nconst isManaged: boolean = !!configuration;\r\nconst launchOptions: rushLib.ILaunchOptions = { isManaged, alreadyReportedNodeTooNewError };\r\n\r\n// If we're inside a repo folder, and it's requesting a different version, then use the RushVersionManager to\r\n// install it\r\nif (rushVersionToLoad && rushVersionToLoad !== currentPackageVersion) {\r\n const versionSelector: RushVersionSelector = new RushVersionSelector(currentPackageVersion);\r\n versionSelector\r\n .ensureRushVersionInstalledAsync(rushVersionToLoad, configuration, launchOptions)\r\n .catch((error: Error) => {\r\n console.log(colors.red('Error: ' + error.message));\r\n });\r\n} else {\r\n // Otherwise invoke the rush-lib that came with this rush package\r\n RushCommandSelector.execute(currentPackageVersion, rushLib, launchOptions);\r\n}\r\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/rush",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.57.0-dev.3",
|
|
4
4
|
"description": "A professional solution for consolidating all your JavaScript projects in one Git repo",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"install",
|
|
@@ -15,7 +15,8 @@
|
|
|
15
15
|
"preferGlobal": true,
|
|
16
16
|
"repository": {
|
|
17
17
|
"type": "git",
|
|
18
|
-
"url": "https://github.com/microsoft/rushstack
|
|
18
|
+
"url": "https://github.com/microsoft/rushstack.git",
|
|
19
|
+
"directory": "apps/rush"
|
|
19
20
|
},
|
|
20
21
|
"engines": {
|
|
21
22
|
"node": ">=5.6.0"
|
|
@@ -28,15 +29,15 @@
|
|
|
28
29
|
},
|
|
29
30
|
"license": "MIT",
|
|
30
31
|
"dependencies": {
|
|
31
|
-
"@microsoft/rush-lib": "5.
|
|
32
|
-
"@rushstack/node-core-library": "3.
|
|
32
|
+
"@microsoft/rush-lib": "5.57.0-dev.3",
|
|
33
|
+
"@rushstack/node-core-library": "3.43.2",
|
|
33
34
|
"colors": "~1.2.1",
|
|
34
35
|
"semver": "~7.3.0"
|
|
35
36
|
},
|
|
36
37
|
"devDependencies": {
|
|
37
|
-
"@rushstack/eslint-config": "2.4.
|
|
38
|
-
"@rushstack/heft": "0.
|
|
39
|
-
"@rushstack/heft-node-rig": "1.2.
|
|
38
|
+
"@rushstack/eslint-config": "2.4.5",
|
|
39
|
+
"@rushstack/heft": "0.42.3",
|
|
40
|
+
"@rushstack/heft-node-rig": "1.2.32",
|
|
40
41
|
"@types/heft-jest": "1.0.1",
|
|
41
42
|
"@types/node": "12.20.24",
|
|
42
43
|
"@types/semver": "7.3.5"
|