Skip to content

Commit

Permalink
revert pnpm version to 5.15.2 because of microsoft/rushstack#1347
Browse files Browse the repository at this point in the history
  • Loading branch information
ApolloTang committed Apr 17, 2021
1 parent 1afbafe commit 375302b
Showing 1 changed file with 59 additions and 68 deletions.
127 changes: 59 additions & 68 deletions rush.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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
Expand All @@ -63,7 +62,6 @@
* It is strongly recommended to set strictPeerDependencies=true.
*/
// "strictPeerDependencies": true,

/**
* Configures the strategy used to select versions during installation.
*
Expand All @@ -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.
Expand All @@ -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.
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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": "[email protected]",

/**
* The commit message to use when committing changes during 'rush publish'.
*
Expand All @@ -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'.
*
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -355,7 +346,7 @@
// * The folder name for this variant.
// */
// "variantName": "old-sdk",
//
//
// /**
// * An informative description
// */
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 375302b

Please sign in to comment.