Skip to content

Commit

Permalink
[#10] Migrate examples/data to Rush (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrw committed Jan 8, 2019
1 parent d430a78 commit 435aca0
Show file tree
Hide file tree
Showing 26 changed files with 36,668 additions and 26 deletions.
6,610 changes: 6,610 additions & 0 deletions demo/common/config/rush/shrinkwrap.yaml

Large diffs are not rendered by default.

30 changes: 18 additions & 12 deletions demo/common/config/rush/version-policies.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,18 @@
* For full documentation, please see https://rushjs.io
*/

/**
* A list of version policy definitions. A "version policy" is a custom package versioning
* strategy that affets "rush change", "rush version", and "rush publish". The strategy applies
* to a set of projects that are specified using the "versionPolicyName" field in rush.json.
*/
/**
* A list of version policy definitions. A "version policy" is a custom package versioning
* strategy that affets "rush change", "rush version", and "rush publish". The strategy applies
* to a set of projects that are specified using the "versionPolicyName" field in rush.json.
*/
[
{
"definitionName": "lockStepVersion",
"policyName": "MiskWebDemo",
"version": "0.0.1",
"nextBump": "prerelease"
}
// {
// /**
// * (Required) Indicates the kind of version policy being defined ("lockStepVersion" or "individualVersion").
Expand All @@ -20,21 +26,21 @@
// * SemVer range is usually restricted to a single version.
// */
// "definitionName": "lockStepVersion",
//
//
// /**
// * (Required) The name that will be used for the "versionPolicyName" field in rush.json.
// * This name is also used command-line parameters such as "--version-policy"
// * and "--to-version-policy".
// */
// "policyName": "MyBigFramework",
//
//
// /**
// * (Required) The current version. All packages belonging to the set should have this version
// * in the current branch. When bumping versions, Rush uses this to determine the next version.
// * (The "version" field in package.json is NOT considered.)
// */
// "version": "1.0.0",
//
//
// /**
// * (Required) The type of bump that will be performed when publishing the next release.
// * When creating a release branch in Git, this field should be updated according to the
Expand All @@ -43,7 +49,7 @@
// * Valid values are: "prerelease", "release", "minor", "patch", "major"
// */
// "nextBump": "prerelease",
//
//
// /**
// * (Optional) If specified, all packages in the set share a common CHANGELOG.md file.
// * This file is stored with the specified "main" project, which must be a member of the set.
Expand All @@ -53,7 +59,7 @@
// */
// "mainProject": "my-app"
// },
//
//
// {
// /**
// * (Required) Indicates the kind of version policy being defined ("lockStepVersion" or "individualVersion").
Expand All @@ -66,9 +72,9 @@
// * is changed.
// */
// "definitionName": "individualVersion",
//
//
// "policyName": "MyRandomLibraries",
//
//
// /**
// * (Optional) This can be used to enforce that all packages in the set must share a common
// * major version number, e.g. because they are from the same major release branch.
Expand Down
52 changes: 52 additions & 0 deletions demo/common/scripts/install-run-rush.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 435aca0

Please sign in to comment.