From 375302b37816e0e2fc5e7502977dd90493a52d40 Mon Sep 17 00:00:00 2001 From: Apollo Tang Date: Sat, 17 Apr 2021 18:49:04 -0400 Subject: [PATCH] revert pnpm version to 5.15.2 because of https://github.com/microsoft/rushstack/issues/1347 --- rush.json | 127 +++++++++++++++++++++++++----------------------------- 1 file changed, 59 insertions(+), 68 deletions(-) diff --git a/rush.json b/rush.json index ce1d300..9c2c7f4 100644 --- a/rush.json +++ b/rush.json @@ -26,7 +26,7 @@ * Specify one of: "pnpmVersion", "npmVersion", or "yarnVersion". See the Rush documentation * for details about these alternatives. */ - "pnpmVersion": "6.0.2", + "pnpmVersion": "5.15.2", // "npmVersion": "4.5.0", // "yarnVersion": "1.9.4", @@ -51,7 +51,6 @@ * The default value is "local". */ // "pnpmStore": "local", - /** * If true, then Rush will add the "--strict-peer-dependencies" option when invoking PNPM. * This causes "rush install" to fail if there are unsatisfied peer dependencies, which is @@ -63,7 +62,6 @@ * It is strongly recommended to set strictPeerDependencies=true. */ // "strictPeerDependencies": true, - /** * Configures the strategy used to select versions during installation. * @@ -77,7 +75,6 @@ * will recalculate all version selections. */ // "resolutionStrategy": "fast", - /** * If true, then `rush install` will report an error if manual modifications * were made to the PNPM shrinkwrap file without running "rush update" afterwards. @@ -95,7 +92,6 @@ * The default value is false. */ // "preventManualShrinkwrapChanges": true, - /** * If true, then `rush install` will use the PNPM workspaces feature to perform the * install. @@ -217,7 +213,7 @@ // "tools", // non-shipping projects that are part of the developer toolchain // "prototypes" // experiments that should mostly be ignored by the review process // ], - // + // // /** // * A list of NPM package scopes that will be excluded from review. // * We recommend to exclude TypeScript typings (the "@types" scope), because @@ -247,14 +243,12 @@ // "[^@]+@users\\.noreply\\.github\\.com", // "travis@example\\.org" // ], - /** * When Rush reports that the address is malformed, the notice can include an example * of a recommended email. Make sure it conforms to one of the allowedEmailRegExps * expressions. */ // "sampleEmail": "mrexample@users.noreply.github.com", - /** * The commit message to use when committing changes during 'rush publish'. * @@ -263,7 +257,6 @@ * in the commit message, and then customize Rush's message to contain that string. */ // "versionBumpCommitMessage": "Applying package updates. [skip-ci]", - /** * The commit message to use when committing changes during 'rush version'. * @@ -291,13 +284,11 @@ * to retrieve the latest activity for the remote master branch. */ // "url": "https://github.com/microsoft/rush-example", - /** * The default branch name. This tells "rush change" which remote branch to compare against. * The default value is "master" */ // "defaultBranch": "master", - /** * The default remote. This tells "rush change" which remote to compare against if the remote URL is * not set or if a remote matching the provided remote URL is not found. @@ -355,7 +346,7 @@ // * The folder name for this variant. // */ // "variantName": "old-sdk", - // + // // /** // * An informative description // */ @@ -390,68 +381,68 @@ */ "projects": [ { - /** - * The NPM package name of the project (must match package.json) - */ - "packageName": "my-app", - - /** - * The path to the project folder, relative to the rush.json config file. - */ - "projectFolder": "apps/my-app", - // - // /** - // * An optional category for usage in the "browser-approved-packages.json" - // * and "nonbrowser-approved-packages.json" files. The value must be one of the - // * strings from the "reviewCategories" defined above. - // */ - // "reviewCategory": "production", - // - // /** - // * A list of local projects that appear as devDependencies for this project, but cannot be - // * locally linked because it would create a cyclic dependency; instead, the last published - // * version will be installed in the Common folder. - // */ - // "cyclicDependencyProjects": [ - // // "my-toolchain" - // ], - // - // /** - // * If true, then this project will be ignored by the "rush check" command. - // * The default value is false. - // */ - // // "skipRushCheck": false, - // - // /** - // * A flag indicating that changes to this project will be published to npm, which affects - // * the Rush change and publish workflows. The default value is false. - // * NOTE: "versionPolicyName" and "shouldPublish" are alternatives; you cannot specify them both. - // */ - // // "shouldPublish": false, - // - // /** - // * Facilitates postprocessing of a project's files prior to publishing. - // * - // * If specified, the "publishFolder" is the relative path to a subfolder of the project folder. - // * The "rush publish" command will publish the subfolder instead of the project folder. The subfolder - // * must contain its own package.json file, which is typically a build output. - // */ - // // "publishFolder": "temp/publish", - // - // /** - // * An optional version policy associated with the project. Version policies are defined - // * in "version-policies.json" file. See the "rush publish" documentation for more info. - // * NOTE: "versionPolicyName" and "shouldPublish" are alternatives; you cannot specify them both. - // */ - // // "versionPolicyName": "" + /** + * The NPM package name of the project (must match package.json) + */ + "packageName": "my-app", + + /** + * The path to the project folder, relative to the rush.json config file. + */ + "projectFolder": "apps/my-app", + + /** + * An optional category for usage in the "browser-approved-packages.json" + * and "nonbrowser-approved-packages.json" files. The value must be one of the + * strings from the "reviewCategories" defined above. + */ + // "reviewCategory": "production", + + /** + * A list of local projects that appear as devDependencies for this project, but cannot be + * locally linked because it would create a cyclic dependency; instead, the last published + * version will be installed in the Common folder. + */ + // "cyclicDependencyProjects": [ + // // "my-toolchain" + // ] + + /** + * If true, then this project will be ignored by the "rush check" command. + * The default value is false. + */ + // "skipRushCheck": false, + + /** + * A flag indicating that changes to this project will be published to npm, which affects + * the Rush change and publish workflows. The default value is false. + * NOTE: "versionPolicyName" and "shouldPublish" are alternatives; you cannot specify them both. + */ + // "shouldPublish": false, + + /** + * Facilitates postprocessing of a project's files prior to publishing. + * + * If specified, the "publishFolder" is the relative path to a subfolder of the project folder. + * The "rush publish" command will publish the subfolder instead of the project folder. The subfolder + * must contain its own package.json file, which is typically a build output. + */ + // "publishFolder": "temp/publish", + + /** + * An optional version policy associated with the project. Version policies are defined + * in "version-policies.json" file. See the "rush publish" documentation for more info. + * NOTE: "versionPolicyName" and "shouldPublish" are alternatives; you cannot specify them both. + */ + // "versionPolicyName": "" }, - // + // { // "packageName": "my-controls", // "projectFolder": "libraries/my-controls", // "reviewCategory": "production" // }, - // + // { // "packageName": "my-toolchain", // "projectFolder": "tools/my-toolchain",