Skip to content

Commit

Permalink
Bump to webdoc 2.0.0-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
ShukantPal committed Jun 28, 2022
1 parent 647f93c commit 9a9b672
Show file tree
Hide file tree
Showing 15 changed files with 63 additions and 153 deletions.
107 changes: 7 additions & 100 deletions common/config/rush/version-policies.json
Original file line number Diff line number Diff line change
@@ -1,102 +1,9 @@
/**
* This is configuration file is used for advanced publishing configurations with Rush.
* More documentation is available on the Rush website: https://rushjs.io
*/

/**
* A list of version policy definitions. A "version policy" is a custom package versioning
* strategy that affects "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.
*/
[
// {
// /**
// * (Required) Indicates the kind of version policy being defined ("lockStepVersion" or "individualVersion").
// *
// * The "lockStepVersion" mode specifies that the projects will use "lock-step versioning". This
// * strategy is appropriate for a set of packages that act as selectable components of a
// * unified product. The entire set of packages are always published together, and always share
// * the same NPM version number. When the packages depend on other packages in the set, the
// * 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
// * type of release.
// *
// * 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.
// *
// * If this field is omitted, then a separate CHANGELOG.md file will be maintained for each
// * package in the set.
// */
// "mainProject": "my-app",
//
// /**
// * (Optional) If enabled, the "rush change" command will prompt the user for their email address
// * and include it in the JSON change files. If an organization maintains multiple repos, tracking
// * this contact information may be useful for a service that automatically upgrades packages and
// * needs to notify engineers whose change may be responsible for a downstream build break. It might
// * also be useful for crediting contributors. Rush itself does not do anything with the collected
// * email addresses. The default value is "false".
// */
// // "includeEmailInChangeFile": true
// },
//
// {
// /**
// * (Required) Indicates the kind of version policy being defined ("lockStepVersion" or "individualVersion").
// *
// * The "individualVersion" mode specifies that the projects will use "individual versioning".
// * This is the typical NPM model where each package has an independent version number
// * and CHANGELOG.md file. Although a single CI definition is responsible for publishing the
// * packages, they otherwise don't have any special relationship. The version bumping will
// * depend on how developers answer the "rush change" questions for each package that
// * 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.
// * It can also be used to discourage people from accidentally making "MAJOR" SemVer changes
// * inappropriately. The minor/patch version parts will be bumped independently according
// * to the types of changes made to each project, according to the "rush change" command.
// */
// "lockedMajor": 3,
//
// /**
// * (Optional) When publishing is managed by Rush, by default the "rush change" command will
// * request changes for any projects that are modified by a pull request. These change entries
// * will produce a CHANGELOG.md file. If you author your CHANGELOG.md manually or announce updates
// * in some other way, set "exemptFromRushChange" to true to tell "rush change" to ignore the projects
// * belonging to this version policy.
// */
// "exemptFromRushChange": false,
//
// // "includeEmailInChangeFile": true
// }
{
"definitionName": "lockStepVersion",
"policyName": "webdoc",
"version": "2.0.0-beta",
"nextBump": "major",
"includeEmailInChangeFile": true
}
]
20 changes: 10 additions & 10 deletions core/webdoc-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@webdoc/cli",
"version": "1.6.6",
"version": "2.0.0-beta",
"description": "CLI for @webdoc monorepo",
"bin": {
"webdoc": "./cli.js"
Expand Down Expand Up @@ -42,15 +42,15 @@
"dependencies": {
"@sentry/node": "7.2.0",
"@sentry/integrations": "7.2.0",
"@webdoc/default-template": "^1.6.6",
"@webdoc/externalize": "^1.6.6",
"@webdoc/legacy-template": "^1.6.6",
"@webdoc/model": "^1.6.6",
"@webdoc/language-babel": "^1.6.6",
"@webdoc/language-parser": "^1.6.6",
"@webdoc/plugin-markdown": "^1.6.6",
"@webdoc/template-library": "^1.6.6",
"@webdoc/types": "^1.6.6",
"@webdoc/default-template": "^2.0.0-beta",
"@webdoc/externalize": "^2.0.0-beta",
"@webdoc/legacy-template": "^2.0.0-beta",
"@webdoc/model": "^2.0.0-beta",
"@webdoc/language-babel": "^2.0.0-beta",
"@webdoc/language-parser": "^2.0.0-beta",
"@webdoc/plugin-markdown": "^2.0.0-beta",
"@webdoc/template-library": "^2.0.0-beta",
"@webdoc/types": "^2.0.0-beta",
"array.prototype.flatmap": "~1.2.3",
"fs-extra": "^9.0.1",
"globby": "11.0.0",
Expand Down
8 changes: 4 additions & 4 deletions core/webdoc-default-template/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@webdoc/default-template",
"version": "1.6.6",
"version": "2.0.0-beta",
"description": "webdoc's default template",
"keywords": [
"webdoc",
Expand Down Expand Up @@ -41,9 +41,9 @@
"dependencies": {
"@babel/core": "7.18.5",
"@babel/preset-react": "^7.10.1",
"@webdoc/model": "^1.6.6",
"@webdoc/template-library": "^1.6.6",
"@webdoc/types": "^1.6.6",
"@webdoc/model": "^2.0.0-beta",
"@webdoc/template-library": "^2.0.0-beta",
"@webdoc/types": "^2.0.0-beta",
"code-prettify": "^0.1.0",
"fs-extra": "^9.0.1",
"highlight.js": "~10.7.2",
Expand Down
6 changes: 3 additions & 3 deletions core/webdoc-externalize/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@webdoc/externalize",
"version": "1.6.6",
"version": "2.0.0-beta",
"description": "Links your documentation to external APIs and vice versa!",
"keywords": [
"json",
Expand Down Expand Up @@ -38,8 +38,8 @@
},
"dependencies": {
"@babel/core": "7.18.5",
"@webdoc/model": "^1.6.6",
"@webdoc/types": "^1.6.6",
"@webdoc/model": "^2.0.0-beta",
"@webdoc/types": "^2.0.0-beta",
"lodash": "^4.17.20",
"@babel/plugin-proposal-class-properties": "7.17.12",
"@babel/plugin-transform-flow-comments": "7.17.12"
Expand Down
6 changes: 3 additions & 3 deletions core/webdoc-legacy-template/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@webdoc/legacy-template",
"version": "1.6.6",
"version": "2.0.0-beta",
"description": "Port of the JSDoc default template to webdoc!",
"keywords": [
"webdoc",
Expand Down Expand Up @@ -40,8 +40,8 @@
"url": "https://github.com/SukantPal/webdoc/issues"
},
"dependencies": {
"@webdoc/model": "^1.6.6",
"@webdoc/template-library": "^1.6.6",
"@webdoc/model": "^2.0.0-beta",
"@webdoc/template-library": "^2.0.0-beta",
"bluebird": "^3.7.2",
"code-prettify": "^0.1.0",
"color-themes-for-google-code-prettify": "^2.0.4",
Expand Down
4 changes: 2 additions & 2 deletions core/webdoc-model/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@webdoc/model",
"version": "1.6.6",
"version": "2.0.0-beta",
"description": "Doclet API for JavaScript",
"keywords": [
"doclet",
Expand Down Expand Up @@ -36,7 +36,7 @@
"url": "https://github.com/SukantPal/webdoc/issues"
},
"dependencies": {
"@webdoc/types": "^1.6.6",
"@webdoc/types": "^2.0.0-beta",
"catharsis": "0.8.11",
"nanoid": "~3.1.16",
"taffydb": "2.7.3",
Expand Down
2 changes: 1 addition & 1 deletion core/webdoc-plugin-markdown/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@webdoc/plugin-markdown",
"version": "1.6.6",
"version": "2.0.0-beta",
"description": "Use markdown syntax in your documentation",
"keywords": [
"webdoc",
Expand Down
8 changes: 4 additions & 4 deletions core/webdoc-template-library/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@webdoc/template-library",
"version": "1.6.6",
"version": "2.0.0-beta",
"description": "Goodies for @webdoc template packages! See @webdoc/legacy-template for an example!",
"keywords": [
"webdoc",
Expand Down Expand Up @@ -40,9 +40,9 @@
"url": "https://github.com/SukantPal/webdoc/issues"
},
"dependencies": {
"@webdoc/externalize": "^1.6.6",
"@webdoc/model": "^1.6.6",
"@webdoc/types": "^1.6.6",
"@webdoc/externalize": "^2.0.0-beta",
"@webdoc/model": "^2.0.0-beta",
"@webdoc/types": "^2.0.0-beta",
"catharsis": "0.8.11",
"fs-extra": "^9.0.1",
"@fork-of/git-branch": "2.1.1",
Expand Down
2 changes: 1 addition & 1 deletion core/webdoc-types/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@webdoc/types",
"version": "1.6.6",
"version": "2.0.0-beta",
"description": "Type definitions for @webdoc/model",
"keywords": [
"flow",
Expand Down
2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"url": "https://github.com/SukantPal/webdoc/issues"
},
"dependencies": {
"@webdoc/cli": "^1.6.6",
"@webdoc/cli": "^2.0.0-beta",
"@babel/plugin-proposal-class-properties": "7.17.12",
"@babel/plugin-transform-flow-comments": "7.17.12"
},
Expand Down
12 changes: 6 additions & 6 deletions language/language-babel/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@webdoc/language-babel",
"version": "1.6.6",
"version": "2.0.0-beta",
"description": "Language support for JavaScript, TypeScript, and Flow with Babel",
"keywords": [
"parser",
Expand All @@ -27,7 +27,7 @@
},
"repository": {
"type": "git",
"url": "git+https://source.webdoclabs.com/webdoc-labs/monorepo"
"url": "git+https://github.com/webdoc-labs/webdoc"
},
"scripts": {
"flow": "flow check",
Expand All @@ -37,15 +37,15 @@
"test": "echo \"Error: run tests from root\" && exit 1"
},
"bugs": {
"url": "https://source.webdoclabs.com/webdoc-labs/monorepo/issues"
"url": "https://github.com/webdoc-labs/webdoc/issues"
},
"dependencies": {
"@babel/parser": "^7.9.4",
"@babel/traverse": "7.9.5",
"@babel/types": "7.9.5",
"@webdoc/language-library": "^1.6.6",
"@webdoc/model": "^1.6.6",
"@webdoc/types": "^1.6.6",
"@webdoc/language-library": "^2.0.0-beta",
"@webdoc/model": "^2.0.0-beta",
"@webdoc/types": "^2.0.0-beta",
"lodash": "^4.17.20",
"missionlog": "1.6.0",
"nanoid": "~3.1.16"
Expand Down
10 changes: 5 additions & 5 deletions language/language-library/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@webdoc/language-library",
"version": "1.6.6",
"version": "2.0.0-beta",
"description": "Language support library",
"keywords": [
"parser",
Expand All @@ -25,7 +25,7 @@
},
"repository": {
"type": "git",
"url": "git+https://source.webdoclabs.com/webdoc-labs/monorepo"
"url": "git+https://github.com/webdoc-labs/webdoc"
},
"scripts": {
"flow": "flow check",
Expand All @@ -34,14 +34,14 @@
"unit-test": ""
},
"bugs": {
"url": "https://source.webdoclabs.com/webdoc-labs/monorepo/issues"
"url": "https://github.com/webdoc-labs/webdoc/issues"
},
"dependencies": {
"@babel/parser": "^7.9.4",
"@babel/traverse": "7.9.5",
"@babel/types": "7.9.5",
"@webdoc/model": "^1.6.6",
"@webdoc/types": "^1.6.6",
"@webdoc/model": "^2.0.0-beta",
"@webdoc/types": "^2.0.0-beta",
"lodash": "^4.17.20",
"missionlog": "1.6.0",
"nanoid": "~3.1.16"
Expand Down
14 changes: 7 additions & 7 deletions language/language-parser/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@webdoc/language-parser",
"version": "1.6.6",
"version": "2.0.0-beta",
"description": "Language parser for webdoc",
"keywords": [
"parser",
Expand All @@ -26,7 +26,7 @@
},
"repository": {
"type": "git",
"url": "git+https://source.webdoclabs.com/webdoc-labs/monorepo"
"url": "git+https://github.com/webdoc-labs/webdoc"
},
"scripts": {
"flow": "flow check",
Expand All @@ -36,15 +36,15 @@
"test": "echo \"Error: run tests from root\" && exit 1"
},
"bugs": {
"url": "https://source.webdoclabs.com/webdoc-labs/monorepo/issues"
"url": "https://github.com/webdoc-labs/webdoc/issues"
},
"dependencies": {
"@babel/parser": "^7.9.4",
"@babel/traverse": "7.9.5",
"@babel/types": "7.9.5",
"@webdoc/language-library": "^1.6.6",
"@webdoc/model": "^1.6.6",
"@webdoc/types": "^1.6.6",
"@webdoc/language-library": "^2.0.0-beta",
"@webdoc/model": "^2.0.0-beta",
"@webdoc/types": "^2.0.0-beta",
"lodash": "^4.17.20",
"missionlog": "1.6.0",
"nanoid": "~3.1.16",
Expand All @@ -63,7 +63,7 @@
"@webdoc/babel-preset": "^1.0.0",
"@webdoc/configure-rollup": "^1.6.1",
"@webdoc/eslint-config": "^1.0.0",
"@webdoc/language-babel": "^1.6.6",
"@webdoc/language-babel": "^2.0.0-beta",
"chai": "~4.3.4",
"del": "5.1.0",
"eslint": "8.18.0",
Expand Down
Loading

0 comments on commit 9a9b672

Please sign in to comment.