diff --git a/README.md b/README.md index 1801330f5a0..f7d1777c4f4 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@

https://rushstack.io/

-[![Zulip chat room](https://img.shields.io/badge/zulip-join_chat-brightgreen.svg)](https://rushstack.zulipchat.com/)   [![Build Status](https://dev.azure.com/RushStack/GitHubProjects/_apis/build/status/rushstack/rushstack%20CI%20Build?branchName=master)](https://dev.azure.com/RushStack/GitHubProjects/_build/latest?definitionId=3&branchName=master) +[![Zulip chat room](https://img.shields.io/badge/zulip-join_chat-brightgreen.svg)](https://rushstack.zulipchat.com/)   [![Build Status](https://dev.azure.com/RushStack/GitHubProjects/_apis/build/status/rushstack/rushstack%20CI%20Build?branchName=main)](https://dev.azure.com/RushStack/GitHubProjects/_build/latest?definitionId=3&branchName=main) The home for various projects maintained by the Rush Stack community, whose mission is to develop reusable tooling for large scale TypeScript monorepos. diff --git a/apps/api-documenter/README.md b/apps/api-documenter/README.md index 747a50d500c..a3109a3cb00 100644 --- a/apps/api-documenter/README.md +++ b/apps/api-documenter/README.md @@ -12,7 +12,7 @@ documentation. ## Links - [CHANGELOG.md]( - https://github.com/microsoft/rushstack/blob/master/apps/api-documenter/CHANGELOG.md) - Find + https://github.com/microsoft/rushstack/blob/main/apps/api-documenter/CHANGELOG.md) - Find out what's new in the latest version - [API Reference](https://rushstack.io/pages/api/api-documenter/) diff --git a/apps/api-extractor/README.md b/apps/api-extractor/README.md index 5eba5ebc584..1f3ebfa7c14 100644 --- a/apps/api-extractor/README.md +++ b/apps/api-extractor/README.md @@ -1,7 +1,7 @@ # @microsoft/api-extractor -![API Extractor](https://github.com/microsoft/rushstack/raw/master/common/wiki-images/api-extractor-title.png?raw=true) +![API Extractor](https://github.com/microsoft/rushstack/raw/main/common/wiki-images/api-extractor-title.png?raw=true)
      https://api-extractor.com/ @@ -44,7 +44,7 @@ For more details and support resources, please visit: https://api-extractor.com/ ## Links - [CHANGELOG.md]( - https://github.com/microsoft/rushstack/blob/master/apps/api-extractor/CHANGELOG.md) - Find + https://github.com/microsoft/rushstack/blob/main/apps/api-extractor/CHANGELOG.md) - Find out what's new in the latest version - [API Reference](https://rushstack.io/pages/api/api-extractor/) diff --git a/apps/heft/README.md b/apps/heft/README.md index 52a2a71c399..a652807e8c3 100644 --- a/apps/heft/README.md +++ b/apps/heft/README.md @@ -79,10 +79,10 @@ the Rush Stack website. ## Links - [CHANGELOG.md]( - https://github.com/microsoft/rushstack/blob/master/apps/heft/CHANGELOG.md) - Find + https://github.com/microsoft/rushstack/blob/main/apps/heft/CHANGELOG.md) - Find out what's new in the latest version - [UPGRADING.md]( - https://github.com/microsoft/rushstack/blob/master/apps/heft/UPGRADING.md) - Instructions + https://github.com/microsoft/rushstack/blob/main/apps/heft/UPGRADING.md) - Instructions for migrating existing projects to use a newer version of Heft - [API Reference](https://rushstack.io/pages/api/heft/) diff --git a/apps/heft/src/pluginFramework/logging/FileError.ts b/apps/heft/src/pluginFramework/logging/FileError.ts index e6c87eacdf5..1e98175e372 100644 --- a/apps/heft/src/pluginFramework/logging/FileError.ts +++ b/apps/heft/src/pluginFramework/logging/FileError.ts @@ -36,7 +36,7 @@ export class FileError extends Error { this.column = column; // Manually set the prototype, as we can no longer extend built-in classes like Error, Array, Map, etc. - // https://github.com/microsoft/TypeScript-wiki/blob/master/Breaking-Changes.md#extending-built-ins-like-error-array-and-map-may-no-longer-work + // https://github.com/microsoft/TypeScript-wiki/blob/main/Breaking-Changes.md#extending-built-ins-like-error-array-and-map-may-no-longer-work // // Note: the prototype must also be set on any classes which extend this one (this as any).__proto__ = FileError.prototype; // eslint-disable-line @typescript-eslint/no-explicit-any diff --git a/apps/rundown/README.md b/apps/rundown/README.md index 7f641dbfeb5..0de5df263e2 100644 --- a/apps/rundown/README.md +++ b/apps/rundown/README.md @@ -224,7 +224,7 @@ Optional arguments: ## Links - [CHANGELOG.md]( - https://github.com/microsoft/rushstack/blob/master/apps/rundown/CHANGELOG.md) - Find + https://github.com/microsoft/rushstack/blob/main/apps/rundown/CHANGELOG.md) - Find out what's new in the latest version Rundown is part of the [Rush Stack](https://rushstack.io/) family of projects. diff --git a/apps/rush/README.md b/apps/rush/README.md index e4c1931a3c9..336d835ef07 100644 --- a/apps/rush/README.md +++ b/apps/rush/README.md @@ -1,7 +1,7 @@ # @microsoft/rush -![rush](https://github.com/microsoft/rushstack/blob/master/common/wiki-images/rush-logo.png?raw=true) +![rush](https://github.com/microsoft/rushstack/blob/main/common/wiki-images/rush-logo.png?raw=true)
      https://rushjs.io @@ -25,7 +25,7 @@ - **Bulk publishing:** When it's time to do a release, Rush can detect which packages have changes, automatically bump all the appropriate version numbers, and run `npm publish` in each folder. If you like, configure your server to automatically run `rush publish` every hour. -- **Changelog tracking:** Whenever a PR is created, you can require developers to provide a major/minor/patch log entry for the affected projects. During publishing, these changes will be automatically aggregated into a nicely formatted [CHANGELOG.md](https://github.com/microsoft/rushstack/blob/master/libraries/node-core-library/CHANGELOG.md) file. +- **Changelog tracking:** Whenever a PR is created, you can require developers to provide a major/minor/patch log entry for the affected projects. During publishing, these changes will be automatically aggregated into a nicely formatted [CHANGELOG.md](https://github.com/microsoft/rushstack/blob/main/libraries/node-core-library/CHANGELOG.md) file. - **Enterprise policies:** Want to review new libraries before developers add them to package.json, but avoid hassling people about already approved cases? Want to enforce that all your projects depend on the same library version numbers? Are unprofessional personal e-mail addresses accidentally showing up in your company's Git history? Rush can help maintain a consistent ecosystem when you've got many developers and many projects in the mix. @@ -67,10 +67,10 @@ For more details and support resources, please visit: https://rushjs.io ## Links - [CHANGELOG.md]( - https://github.com/microsoft/rushstack/blob/master/apps/rush/CHANGELOG.md) - Find + https://github.com/microsoft/rushstack/blob/main/apps/rush/CHANGELOG.md) - Find out what's new in the latest version - [UPGRADING.md]( - https://github.com/microsoft/rushstack/blob/master/apps/rush/UPGRADING.md) - Instructions + https://github.com/microsoft/rushstack/blob/main/apps/rush/UPGRADING.md) - Instructions for migrating existing projects to use a newer version of Rush - [API Reference](https://api.rushstack.io/pages/rush-lib/) diff --git a/common/config/rush/command-line.json b/common/config/rush/command-line.json index 8937a67db1b..2c9517311e6 100644 --- a/common/config/rush/command-line.json +++ b/common/config/rush/command-line.json @@ -116,7 +116,7 @@ // * // * Thus, warnings do not interfere with local development, but they will cause a CI job to fail, because // * the Rush process itself returns a nonzero exit code if there are any warnings or errors. This is by design. - // * In an active monorepo, we've found that if you allow any warnings in your master branch, it inadvertently + // * In an active monorepo, we've found that if you allow any warnings in your main branch, it inadvertently // * teaches developers to ignore warnings, which quickly leads to a situation where so many "expected" warnings // * have accumulated that warnings no longer serve any useful purpose. // * diff --git a/eslint/eslint-config/README.md b/eslint/eslint-config/README.md index 8204e30931d..ee999ee5e16 100644 --- a/eslint/eslint-config/README.md +++ b/eslint/eslint-config/README.md @@ -44,7 +44,7 @@ designed around the the requirements of large teams and projects. - **Explicit:** The ruleset does not import any "recommended" templates from other ESLint packages. This avoids worrying about precedence issues due to import order. It also eliminates confusion caused by files overriding/undoing settings from another file. Each rule is configured once, in one - [easy-to-read file](https://github.com/microsoft/rushstack/blob/master/stack/eslint-config/profile/_common.js). + [easy-to-read file](https://github.com/microsoft/rushstack/blob/main/stack/eslint-config/profile/_common.js). - **Minimal configuration:** To use this ruleset, your **.eslintrc.js** will need to choose one **"profile"** and possibly one or two **"mixins"** that cover special cases. Beyond that, our goal is to reduce monorepo @@ -268,7 +268,7 @@ module.exports = { ## Links - [CHANGELOG.md]( - https://github.com/microsoft/rushstack/blob/master/stack/eslint-config/CHANGELOG.md) - Find + https://github.com/microsoft/rushstack/blob/main/stack/eslint-config/CHANGELOG.md) - Find out what's new in the latest version `@rushstack/eslint-config` is part of the [Rush Stack](https://rushstack.io/) family of projects. diff --git a/eslint/eslint-config/profile/_common.js b/eslint/eslint-config/profile/_common.js index 78e087769fe..b9cbd0282cb 100644 --- a/eslint/eslint-config/profile/_common.js +++ b/eslint/eslint-config/profile/_common.js @@ -204,7 +204,7 @@ function buildRules(profile) { // - @typescript-eslint/interface-name-prefix // - @typescript-eslint/member-naming // - // Docs: https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/naming-convention.md + // Docs: https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/naming-convention.md '@typescript-eslint/naming-convention': [ 'warn', ...macros.expandNamingConventionSelectors([ diff --git a/eslint/eslint-patch/README.md b/eslint/eslint-patch/README.md index 478764afd04..a6cb69478e8 100644 --- a/eslint/eslint-patch/README.md +++ b/eslint/eslint-patch/README.md @@ -63,7 +63,7 @@ and recommended approach. ## Links - [CHANGELOG.md]( - https://github.com/microsoft/rushstack/blob/master/stack/eslint-patch/CHANGELOG.md) - Find + https://github.com/microsoft/rushstack/blob/main/stack/eslint-patch/CHANGELOG.md) - Find out what's new in the latest version `@rushstack/eslint-patch` is part of the [Rush Stack](https://rushstack.io/) family of projects. diff --git a/eslint/eslint-plugin-packlets/README.md b/eslint/eslint-plugin-packlets/README.md index a4d9e298cc4..29d9b3e9ac1 100644 --- a/eslint/eslint-plugin-packlets/README.md +++ b/eslint/eslint-plugin-packlets/README.md @@ -192,7 +192,7 @@ module.exports = { ## Links - [CHANGELOG.md]( - https://github.com/microsoft/rushstack/blob/master/stack/eslint-plugin-packlets/CHANGELOG.md) - Find + https://github.com/microsoft/rushstack/blob/main/stack/eslint-plugin-packlets/CHANGELOG.md) - Find out what's new in the latest version - [@rushstack/eslint-config](https://www.npmjs.com/package/@rushstack/eslint-config) documentation diff --git a/eslint/eslint-plugin-security/README.md b/eslint/eslint-plugin-security/README.md index b0409e5e85c..a585bfcda4d 100644 --- a/eslint/eslint-plugin-security/README.md +++ b/eslint/eslint-plugin-security/README.md @@ -66,7 +66,7 @@ function isInteger(s: string): boolean { ## Links - [CHANGELOG.md]( - https://github.com/microsoft/rushstack/blob/master/stack/eslint-plugin-security/CHANGELOG.md) - Find + https://github.com/microsoft/rushstack/blob/main/stack/eslint-plugin-security/CHANGELOG.md) - Find out what's new in the latest version `@rushstack/eslint-plugin-security` is part of the [Rush Stack](https://rushstack.io/) family of projects. diff --git a/eslint/eslint-plugin/README.md b/eslint/eslint-plugin/README.md index 5e7010c0cb0..d1ab3447e02 100644 --- a/eslint/eslint-plugin/README.md +++ b/eslint/eslint-plugin/README.md @@ -229,7 +229,7 @@ let e: E._PrivateMember = E._PrivateMember; // okay, because _PrivateMember is d ## Links - [CHANGELOG.md]( - https://github.com/microsoft/rushstack/blob/master/stack/eslint-plugin/CHANGELOG.md) - Find + https://github.com/microsoft/rushstack/blob/main/stack/eslint-plugin/CHANGELOG.md) - Find out what's new in the latest version `@rushstack/eslint-plugin` is part of the [Rush Stack](https://rushstack.io/) family of projects. diff --git a/heft-plugins/heft-dev-cert-plugin/README.md b/heft-plugins/heft-dev-cert-plugin/README.md index 6bf62787bcb..9e874b9965b 100644 --- a/heft-plugins/heft-dev-cert-plugin/README.md +++ b/heft-plugins/heft-dev-cert-plugin/README.md @@ -6,7 +6,7 @@ Automatically configures webpack-dev-server to use https in serve mode. ## Links - [CHANGELOG.md]( - https://github.com/microsoft/rushstack/blob/master/heft-plugins/heft-dev-cert-plugin/CHANGELOG.md) - Find + https://github.com/microsoft/rushstack/blob/main/heft-plugins/heft-dev-cert-plugin/CHANGELOG.md) - Find out what's new in the latest version Heft is part of the [Rush Stack](https://rushstack.io/) family of projects. diff --git a/heft-plugins/heft-jest-plugin/README.md b/heft-plugins/heft-jest-plugin/README.md index f3e4e8a4d88..770715de305 100644 --- a/heft-plugins/heft-jest-plugin/README.md +++ b/heft-plugins/heft-jest-plugin/README.md @@ -5,7 +5,7 @@ This is a Heft plugin for using Jest during the "test" stage. ## Links - [CHANGELOG.md]( - https://github.com/microsoft/rushstack/blob/master/heft-plugins/heft-jest-plugin/CHANGELOG.md) - Find + https://github.com/microsoft/rushstack/blob/main/heft-plugins/heft-jest-plugin/CHANGELOG.md) - Find out what's new in the latest version Heft is part of the [Rush Stack](https://rushstack.io/) family of projects. diff --git a/heft-plugins/heft-jest-plugin/src/HeftJestReporter.ts b/heft-plugins/heft-jest-plugin/src/HeftJestReporter.ts index 9ee58ec0f14..6490dc95d41 100644 --- a/heft-plugins/heft-jest-plugin/src/HeftJestReporter.ts +++ b/heft-plugins/heft-jest-plugin/src/HeftJestReporter.ts @@ -29,7 +29,7 @@ export interface IHeftJestReporterOptions { * Jest behavior. * * For reference, Jest's default implementation is here: - * https://github.com/facebook/jest/blob/master/packages/jest-reporters/src/default_reporter.ts + * https://github.com/facebook/jest/blob/main/packages/jest-reporters/src/default_reporter.ts */ export default class HeftJestReporter implements Reporter { private _terminal: ITerminal; diff --git a/heft-plugins/heft-sass-plugin/README.md b/heft-plugins/heft-sass-plugin/README.md index d8bc571794b..c59c1f003d2 100644 --- a/heft-plugins/heft-sass-plugin/README.md +++ b/heft-plugins/heft-sass-plugin/README.md @@ -5,7 +5,7 @@ This is a Heft plugin for using node-sass during the "build" stage. ## Links - [CHANGELOG.md]( - https://github.com/microsoft/rushstack/blob/master/heft-plugins/heft-sass-plugin/CHANGELOG.md) - Find + https://github.com/microsoft/rushstack/blob/main/heft-plugins/heft-sass-plugin/CHANGELOG.md) - Find out what's new in the latest version Heft is part of the [Rush Stack](https://rushstack.io/) family of projects. diff --git a/heft-plugins/heft-storybook-plugin/README.md b/heft-plugins/heft-storybook-plugin/README.md index f1247790b77..fd4fed4cf34 100644 --- a/heft-plugins/heft-storybook-plugin/README.md +++ b/heft-plugins/heft-storybook-plugin/README.md @@ -6,7 +6,7 @@ UI components. ## Links - [CHANGELOG.md]( - https://github.com/microsoft/rushstack/blob/master/heft-plugins/heft-storybook-plugin/CHANGELOG.md) - Find + https://github.com/microsoft/rushstack/blob/main/heft-plugins/heft-storybook-plugin/CHANGELOG.md) - Find out what's new in the latest version Heft is part of the [Rush Stack](https://rushstack.io/) family of projects. diff --git a/heft-plugins/heft-webpack4-plugin/README.md b/heft-plugins/heft-webpack4-plugin/README.md index 432dc399a9f..26d0edf1e39 100644 --- a/heft-plugins/heft-webpack4-plugin/README.md +++ b/heft-plugins/heft-webpack4-plugin/README.md @@ -5,7 +5,7 @@ This is a Heft plugin for using Webpack 4 during the "bundle" stage. ## Links - [CHANGELOG.md]( - https://github.com/microsoft/rushstack/blob/master/heft-plugins/heft-webpack4-plugin/CHANGELOG.md) - Find + https://github.com/microsoft/rushstack/blob/main/heft-plugins/heft-webpack4-plugin/CHANGELOG.md) - Find out what's new in the latest version Heft is part of the [Rush Stack](https://rushstack.io/) family of projects. diff --git a/heft-plugins/heft-webpack5-plugin/README.md b/heft-plugins/heft-webpack5-plugin/README.md index d6169c6d00b..873aa17c64a 100644 --- a/heft-plugins/heft-webpack5-plugin/README.md +++ b/heft-plugins/heft-webpack5-plugin/README.md @@ -5,7 +5,7 @@ This is a Heft plugin for using Webpack 5 during the "bundle" stage. ## Links - [CHANGELOG.md]( - https://github.com/microsoft/rushstack/blob/master/heft-plugins/heft-webpack5-plugin/CHANGELOG.md) - Find + https://github.com/microsoft/rushstack/blob/main/heft-plugins/heft-webpack5-plugin/CHANGELOG.md) - Find out what's new in the latest version Heft is part of the [Rush Stack](https://rushstack.io/) family of projects. diff --git a/libraries/api-extractor-model/README.md b/libraries/api-extractor-model/README.md index 954d55d443b..9c2b5c243d4 100644 --- a/libraries/api-extractor-model/README.md +++ b/libraries/api-extractor-model/README.md @@ -61,7 +61,7 @@ a namespace containing static members of the class. ## Links - [CHANGELOG.md]( - https://github.com/microsoft/rushstack/blob/master/libraries/api-extractor-model/CHANGELOG.md) - Find + https://github.com/microsoft/rushstack/blob/main/libraries/api-extractor-model/CHANGELOG.md) - Find out what's new in the latest version - [API Reference](https://rushstack.io/pages/api/api-extractor-model/) diff --git a/libraries/debug-certificate-manager/README.md b/libraries/debug-certificate-manager/README.md index 68a542b7ee8..601e4e24298 100644 --- a/libraries/debug-certificate-manager/README.md +++ b/libraries/debug-certificate-manager/README.md @@ -9,7 +9,6 @@ This library contains utilities for managing debug certificates in a development server environment. It provides functions to generate, self-sign, trust, and untrust .pem certificates for both Windows and Mac OS. It will also generate self-signed certificates on other OS's, but the user must manually trust and untrust them. [![npm version](https://badge.fury.io/js/%40rushstack%2Fdebug-certificate-manager.svg)](https://badge.fury.io/js/%40rushstack%2Fdebug-certificate-manager) -[![Build Status](https://travis-ci.org/Microsoft/debug-certificate-manager.svg?branch=master)](https://travis-ci.org/Microsoft/debug-certificate-manager) [![Dependencies](https://david-dm.org/Microsoft/debug-certificate-manager.svg)](https://david-dm.org/Microsoft/debug-certificate-manager) ## `CertificateStore` @@ -44,7 +43,7 @@ Attempts to locate a previously generated debug certificate and untrust it. Retu ## Links - [CHANGELOG.md]( - https://github.com/microsoft/rushstack/blob/master/libraries/debug-certificate-manager/CHANGELOG.md) - Find + https://github.com/microsoft/rushstack/blob/main/libraries/debug-certificate-manager/CHANGELOG.md) - Find out what's new in the latest version - [API Reference](https://rushstack.io/pages/api/debug-certificate-manager/) diff --git a/libraries/heft-config-file/README.md b/libraries/heft-config-file/README.md index 1249f7baee7..7019b68ca75 100644 --- a/libraries/heft-config-file/README.md +++ b/libraries/heft-config-file/README.md @@ -5,7 +5,7 @@ A library for loading config files for use with the [Heft](https://rushstack.io/ ## Links - [CHANGELOG.md]( - https://github.com/microsoft/rushstack/blob/master/libraries/heft-config-file/CHANGELOG.md) - Find + https://github.com/microsoft/rushstack/blob/main/libraries/heft-config-file/CHANGELOG.md) - Find out what's new in the latest version - [API Reference](https://rushstack.io/pages/api/heft-config-file/) diff --git a/libraries/load-themed-styles/README.md b/libraries/load-themed-styles/README.md index 3bfb2968253..8de7a8ebcdb 100644 --- a/libraries/load-themed-styles/README.md +++ b/libraries/load-themed-styles/README.md @@ -1,8 +1,6 @@ # @microsoft/load-themed-styles [![npm version](https://badge.fury.io/js/%40microsoft%2Fload-themed-styles.svg)](https://badge.fury.io/js/%40microsoft%2Fload-themed-styles) -[![Build Status](https://travis-ci.org/Microsoft/load-themed-styles.svg?branch=master)](https://travis-ci.org/Microsoft/load-themed-styles) [![Dependencies](https://david-dm.org/Microsoft/load-themed-styles.svg)](https://david-dm.org/Microsoft/load-themed-styles) - > Loads a string of style rules, but supports detokenizing theme constants built within it. ## Install @@ -62,7 +60,7 @@ window.CSPSettings = { ## Links - [CHANGELOG.md]( - https://github.com/microsoft/rushstack/blob/master/libraries/load-themed-styles/CHANGELOG.md) - Find + https://github.com/microsoft/rushstack/blob/main/libraries/load-themed-styles/CHANGELOG.md) - Find out what's new in the latest version `@microsoft/load-themed-styles` is part of the [Rush Stack](https://rushstack.io/) family of projects. diff --git a/libraries/node-core-library/README.md b/libraries/node-core-library/README.md index 38a453c2ea2..ecdfac76aca 100644 --- a/libraries/node-core-library/README.md +++ b/libraries/node-core-library/README.md @@ -31,7 +31,7 @@ demonstrated. If in doubt, create your own NPM package. ## Links - [CHANGELOG.md]( - https://github.com/microsoft/rushstack/blob/master/libraries/node-core-library/CHANGELOG.md) - Find + https://github.com/microsoft/rushstack/blob/main/libraries/node-core-library/CHANGELOG.md) - Find out what's new in the latest version - [API Reference](https://rushstack.io/pages/api/node-core-library/) diff --git a/libraries/node-core-library/src/AlreadyReportedError.ts b/libraries/node-core-library/src/AlreadyReportedError.ts index 9b3c1973cbc..84b6fad4593 100644 --- a/libraries/node-core-library/src/AlreadyReportedError.ts +++ b/libraries/node-core-library/src/AlreadyReportedError.ts @@ -41,7 +41,7 @@ export class AlreadyReportedError extends Error { super('An error occurred.'); // Manually set the prototype, as we can no longer extend built-in classes like Error, Array, Map, etc - // [https://github.com/microsoft/TypeScript-wiki/blob/master/Breaking-Changes.md#extending-built-ins-like-error-array-and-map-may-no-longer-work](https://github.com/microsoft/TypeScript-wiki/blob/master/Breaking-Changes.md#extending-built-ins-like-error-array-and-map-may-no-longer-work) + // [https://github.com/microsoft/TypeScript-wiki/blob/main/Breaking-Changes.md#extending-built-ins-like-error-array-and-map-may-no-longer-work](https://github.com/microsoft/TypeScript-wiki/blob/main/Breaking-Changes.md#extending-built-ins-like-error-array-and-map-may-no-longer-work) // // Note: the prototype must also be set on any classes which extend this one (this as any).__proto__ = AlreadyReportedError.prototype; // eslint-disable-line @typescript-eslint/no-explicit-any diff --git a/libraries/node-core-library/src/InternalError.ts b/libraries/node-core-library/src/InternalError.ts index c315f8f947f..8fb67df1979 100644 --- a/libraries/node-core-library/src/InternalError.ts +++ b/libraries/node-core-library/src/InternalError.ts @@ -37,7 +37,7 @@ export class InternalError extends Error { super(InternalError._formatMessage(message)); // Manually set the prototype, as we can no longer extend built-in classes like Error, Array, Map, etc. - // https://github.com/microsoft/TypeScript-wiki/blob/master/Breaking-Changes.md#extending-built-ins-like-error-array-and-map-may-no-longer-work + // https://github.com/microsoft/TypeScript-wiki/blob/main/Breaking-Changes.md#extending-built-ins-like-error-array-and-map-may-no-longer-work // // Note: the prototype must also be set on any classes which extend this one (this as any).__proto__ = InternalError.prototype; // eslint-disable-line @typescript-eslint/no-explicit-any diff --git a/libraries/package-deps-hash/README.md b/libraries/package-deps-hash/README.md index 0fbabc49d6c..9f573086e63 100644 --- a/libraries/package-deps-hash/README.md +++ b/libraries/package-deps-hash/README.md @@ -32,7 +32,7 @@ if (_.isEqual(deps, existingDeps)) { ## Links - [CHANGELOG.md]( - https://github.com/microsoft/rushstack/blob/master/libraries/package-deps-hash/CHANGELOG.md) - Find + https://github.com/microsoft/rushstack/blob/main/libraries/package-deps-hash/CHANGELOG.md) - Find out what's new in the latest version - [API Reference](https://rushstack.io/pages/api/package-deps-hash/) diff --git a/libraries/rig-package/README.md b/libraries/rig-package/README.md index ee02ae92cc3..7f4c4b6eee2 100644 --- a/libraries/rig-package/README.md +++ b/libraries/rig-package/README.md @@ -222,7 +222,7 @@ Note that there are also async variants of the functions that access the filesys ## Links - [CHANGELOG.md]( - https://github.com/microsoft/rushstack/blob/master/libraries/rig-package/CHANGELOG.md) - Find + https://github.com/microsoft/rushstack/blob/main/libraries/rig-package/CHANGELOG.md) - Find out what's new in the latest version - [API Reference](https://rushstack.io/pages/api/rig-package/) diff --git a/libraries/rush-lib/README.md b/libraries/rush-lib/README.md index 06f2598ca03..60617f5a4df 100644 --- a/libraries/rush-lib/README.md +++ b/libraries/rush-lib/README.md @@ -18,7 +18,7 @@ API documentation for this package: https://rushjs.io/pages/advanced/api/ ## Links - [CHANGELOG.md]( - https://github.com/microsoft/rushstack/blob/master/apps/rush/CHANGELOG.md) - Find + https://github.com/microsoft/rushstack/blob/main/apps/rush/CHANGELOG.md) - Find out what's new in the latest version - [API Reference](https://api.rushstack.io/pages/rush-lib/) diff --git a/libraries/rush-lib/assets/rush-init/[dot]travis.yml b/libraries/rush-lib/assets/rush-init/[dot]travis.yml index d35302fe6d4..c49100e6abf 100644 --- a/libraries/rush-lib/assets/rush-init/[dot]travis.yml +++ b/libraries/rush-lib/assets/rush-init/[dot]travis.yml @@ -5,7 +5,7 @@ script: - set -e - echo 'Checking for missing change logs...' && echo -en 'travis_fold:start:change\\r' - - git fetch origin master:refs/remotes/origin/master -a + - git fetch origin main:refs/remotes/origin/main -a - node common/scripts/install-run-rush.js change -v - echo -en 'travis_fold:end:change\\r' diff --git a/libraries/rush-lib/assets/rush-init/common/config/rush/command-line.json b/libraries/rush-lib/assets/rush-init/common/config/rush/command-line.json index 2621abd2a3f..9336e4ff502 100644 --- a/libraries/rush-lib/assets/rush-init/common/config/rush/command-line.json +++ b/libraries/rush-lib/assets/rush-init/common/config/rush/command-line.json @@ -93,7 +93,7 @@ * * Thus, warnings do not interfere with local development, but they will cause a CI job to fail, because * the Rush process itself returns a nonzero exit code if there are any warnings or errors. This is by design. - * In an active monorepo, we've found that if you allow any warnings in your master branch, it inadvertently + * In an active monorepo, we've found that if you allow any warnings in your main branch, it inadvertently * teaches developers to ignore warnings, which quickly leads to a situation where so many "expected" warnings * have accumulated that warnings no longer serve any useful purpose. * diff --git a/libraries/rush-lib/assets/rush-init/rush.json b/libraries/rush-lib/assets/rush-init/rush.json index 6ad461470a4..95a68ebfbbb 100644 --- a/libraries/rush-lib/assets/rush-init/rush.json +++ b/libraries/rush-lib/assets/rush-init/rush.json @@ -283,24 +283,24 @@ * The URL of this Git repository, used by "rush change" to determine the base branch for your PR. * * The "rush change" command needs to determine which files are affected by your PR diff. - * If you merged or cherry-picked commits from the master branch into your PR branch, those commits + * If you merged or cherry-picked commits from the main branch into your PR branch, those commits * should be excluded from this diff (since they belong to some other PR). In order to do that, * Rush needs to know where to find the base branch for your PR. This information cannot be * determined from Git alone, since the "pull request" feature is not a Git concept. Ideally * Rush would use a vendor-specific protocol to query the information from GitHub, Azure DevOps, etc. - * But to keep things simple, "rush change" simply assumes that your PR is against the "master" branch + * But to keep things simple, "rush change" simply assumes that your PR is against the "main" branch * of the Git remote indicated by the repository.url setting in rush.json. If you are working in * a GitHub "fork" of the real repo, this setting will be different from the repository URL of your * your PR branch, and in this situation "rush change" will also automatically invoke "git fetch" - * to retrieve the latest activity for the remote master branch. + * to retrieve the latest activity for the remote main branch. */ /*[LINE "HYPOTHETICAL"]*/ "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" + * The default value is "main" */ - /*[LINE "HYPOTHETICAL"]*/ "defaultBranch": "master", + /*[LINE "HYPOTHETICAL"]*/ "defaultBranch": "main", /** * The default remote. This tells "rush change" which remote to compare against if the remote URL is diff --git a/libraries/rush-lib/src/api/RushConfiguration.ts b/libraries/rush-lib/src/api/RushConfiguration.ts index 80d93555da2..9f9df7cf9fc 100644 --- a/libraries/rush-lib/src/api/RushConfiguration.ts +++ b/libraries/rush-lib/src/api/RushConfiguration.ts @@ -43,7 +43,7 @@ const DependencyAnalyzerModule: typeof DependencyAnalyzerModuleType = Import.laz ); const MINIMUM_SUPPORTED_RUSH_JSON_VERSION: string = '0.0.0'; -const DEFAULT_BRANCH: string = 'master'; +const DEFAULT_BRANCH: string = 'main'; const DEFAULT_REMOTE: string = 'origin'; /** diff --git a/libraries/rush-lib/src/cli/actions/ChangeAction.ts b/libraries/rush-lib/src/cli/actions/ChangeAction.ts index d8eea11b21f..9bb2994d439 100644 --- a/libraries/rush-lib/src/cli/actions/ChangeAction.ts +++ b/libraries/rush-lib/src/cli/actions/ChangeAction.ts @@ -120,7 +120,7 @@ export class ChangeAction extends BaseRushAction { description: 'If this parameter is specified, compare the checked out branch with the specified branch to ' + 'determine which projects were changed. If this parameter is not specified, the checked out branch ' + - 'is compared against the "master" branch.' + 'is compared against the "main" branch.' }); this._overwriteFlagParameter = this.defineFlagParameter({ diff --git a/libraries/rush-lib/src/cli/test/__snapshots__/CommandLineHelp.test.ts.snap b/libraries/rush-lib/src/cli/test/__snapshots__/CommandLineHelp.test.ts.snap index 2959329c9e2..023ed6cb6cd 100644 --- a/libraries/rush-lib/src/cli/test/__snapshots__/CommandLineHelp.test.ts.snap +++ b/libraries/rush-lib/src/cli/test/__snapshots__/CommandLineHelp.test.ts.snap @@ -285,7 +285,7 @@ Optional arguments: out branch with the specified branch to determine which projects were changed. If this parameter is not specified, the checked out branch is compared against - the \\"master\\" branch. + the \\"main\\" branch. --overwrite If a changefile already exists, overwrite without prompting (or erroring in --bulk mode). --email EMAIL The email address to use in changefiles. If this diff --git a/libraries/rush-lib/src/logic/Git.ts b/libraries/rush-lib/src/logic/Git.ts index 15c72be342f..7ca4026ccbd 100644 --- a/libraries/rush-lib/src/logic/Git.ts +++ b/libraries/rush-lib/src/logic/Git.ts @@ -298,7 +298,7 @@ export class Git { * Gets the remote default branch that maps to the provided repository url. * This method is used by 'Rush change' to find the default remote branch to compare against. * If repository url is not provided or if there is no match, returns the default remote's - * default branch 'origin/master'. + * default branch 'origin/main'. * If there are more than one matches, returns the first remote's default branch. * * @param rushConfiguration - rush configuration diff --git a/libraries/rush-lib/src/logic/pnpm/PnpmYamlCommon.ts b/libraries/rush-lib/src/logic/pnpm/PnpmYamlCommon.ts index 2df1433f98b..4a53460c3ab 100644 --- a/libraries/rush-lib/src/logic/pnpm/PnpmYamlCommon.ts +++ b/libraries/rush-lib/src/logic/pnpm/PnpmYamlCommon.ts @@ -9,7 +9,7 @@ export interface IYamlDumpOptions { } // This is based on PNPM's own configuration: -// https://github.com/pnpm/pnpm-shrinkwrap/blob/master/src/write.ts +// https://github.com/pnpm/pnpm-shrinkwrap/blob/main/src/write.ts export const PNPM_SHRINKWRAP_YAML_FORMAT: IYamlDumpOptions = { lineWidth: 1000, noCompatMode: true, diff --git a/libraries/rush-lib/src/schemas/rush.schema.json b/libraries/rush-lib/src/schemas/rush.schema.json index 9c08d81bc3b..33ff08f9bee 100644 --- a/libraries/rush-lib/src/schemas/rush.schema.json +++ b/libraries/rush-lib/src/schemas/rush.schema.json @@ -222,7 +222,7 @@ } }, "defaultBranch": { - "description": "The default branch name. This tells \"rush change\" which remote branch to compare against. The default value is \"master\"", + "description": "The default branch name. This tells \"rush change\" which remote branch to compare against. The default value is \"main\"", "type": "string" }, "defaultRemote": { diff --git a/libraries/rush-sdk/README.md b/libraries/rush-sdk/README.md index 21e8480be4e..c0322a3a390 100644 --- a/libraries/rush-sdk/README.md +++ b/libraries/rush-sdk/README.md @@ -23,7 +23,7 @@ Verbose logging can be turn on by set environment variable `RUSH_SDK_DEBUG` to ` ## Links - [CHANGELOG.md]( - https://github.com/microsoft/rushstack/blob/master/apps/rush/CHANGELOG.md) - Find + https://github.com/microsoft/rushstack/blob/main/apps/rush/CHANGELOG.md) - Find out what's new in the latest version - [API Reference](https://api.rushstack.io/pages/rush-lib/) diff --git a/libraries/rushell/src/ParseError.ts b/libraries/rushell/src/ParseError.ts index 5bdd7f9d1d6..a5c374897e5 100644 --- a/libraries/rushell/src/ParseError.ts +++ b/libraries/rushell/src/ParseError.ts @@ -28,7 +28,7 @@ export class ParseError extends Error { // Boilerplate for extending a system class // - // https://github.com/microsoft/TypeScript-wiki/blob/master/Breaking-Changes.md#extending-built-ins-like-error-array-and-map-may-no-longer-work + // https://github.com/microsoft/TypeScript-wiki/blob/main/Breaking-Changes.md#extending-built-ins-like-error-array-and-map-may-no-longer-work // // IMPORTANT: The prototype must also be set on any classes which extend this one (this as any).__proto__ = ParseError.prototype; // eslint-disable-line @typescript-eslint/no-explicit-any diff --git a/libraries/stream-collator/README.md b/libraries/stream-collator/README.md index 8b010f1f5a9..ae248f51fea 100644 --- a/libraries/stream-collator/README.md +++ b/libraries/stream-collator/README.md @@ -50,7 +50,7 @@ all background streams which have been completed will be emitted. ## Links - [CHANGELOG.md]( - https://github.com/microsoft/rushstack/blob/master/libraries/stream-collator/CHANGELOG.md) - Find + https://github.com/microsoft/rushstack/blob/main/libraries/stream-collator/CHANGELOG.md) - Find out what's new in the latest version - [API Reference](https://rushstack.io/pages/api/stream-collator/) diff --git a/libraries/terminal/README.md b/libraries/terminal/README.md index f7413f3ed1f..355f5a2afc1 100644 --- a/libraries/terminal/README.md +++ b/libraries/terminal/README.md @@ -46,7 +46,7 @@ capable of matching substrings that span multiple chunks. ## Links - [CHANGELOG.md]( - https://github.com/microsoft/rushstack/blob/master/libraries/terminal/CHANGELOG.md) - Find + https://github.com/microsoft/rushstack/blob/main/libraries/terminal/CHANGELOG.md) - Find out what's new in the latest version - [API Reference](https://rushstack.io/pages/api/terminal/) diff --git a/libraries/tree-pattern/README.md b/libraries/tree-pattern/README.md index ccbc7a447a3..26093953686 100644 --- a/libraries/tree-pattern/README.md +++ b/libraries/tree-pattern/README.md @@ -141,7 +141,7 @@ separate patterns. ## Links - [CHANGELOG.md]( - https://github.com/microsoft/rushstack/blob/master/libraries/tree-pattern/CHANGELOG.md) - Find + https://github.com/microsoft/rushstack/blob/main/libraries/tree-pattern/CHANGELOG.md) - Find out what's new in the latest version - [API Reference](https://rushstack.io/pages/api/tree-pattern/) diff --git a/libraries/ts-command-line/README.md b/libraries/ts-command-line/README.md index d11d4f20ae9..f49d5716373 100644 --- a/libraries/ts-command-line/README.md +++ b/libraries/ts-command-line/README.md @@ -139,7 +139,7 @@ When we run `widget --verbose push --force`, the `PushAction.onExecute()` method --- -**For a more complete example, take a look at the [ts-command-line-test](https://github.com/microsoft/rushstack/tree/master/build-tests/ts-command-line-test) sample project.** +**For a more complete example, take a look at the [ts-command-line-test](https://github.com/microsoft/rushstack/tree/main/build-tests/ts-command-line-test) sample project.** --- @@ -238,7 +238,7 @@ You can also mix the two models. For example, we could augment the `WidgetComma ## Links - [CHANGELOG.md]( - https://github.com/microsoft/rushstack/blob/master/libraries/ts-command-line/CHANGELOG.md) - Find + https://github.com/microsoft/rushstack/blob/main/libraries/ts-command-line/CHANGELOG.md) - Find out what's new in the latest version - [API Reference](https://rushstack.io/pages/api/ts-command-line/) diff --git a/libraries/ts-command-line/src/providers/CommandLineParserExitError.ts b/libraries/ts-command-line/src/providers/CommandLineParserExitError.ts index 6c0bd9bf130..5151cd9f38d 100644 --- a/libraries/ts-command-line/src/providers/CommandLineParserExitError.ts +++ b/libraries/ts-command-line/src/providers/CommandLineParserExitError.ts @@ -10,7 +10,7 @@ export class CommandLineParserExitError extends Error { super(message); // Manually set the prototype, as we can no longer extend built-in classes like Error, Array, Map, etc - // https://github.com/microsoft/TypeScript-wiki/blob/master/Breaking-Changes.md#extending-built-ins-like-error-array-and-map-may-no-longer-work + // https://github.com/microsoft/TypeScript-wiki/blob/main/Breaking-Changes.md#extending-built-ins-like-error-array-and-map-may-no-longer-work // // Note: the prototype must also be set on any classes which extend this one (this as any).__proto__ = CommandLineParserExitError.prototype; // eslint-disable-line @typescript-eslint/no-explicit-any diff --git a/libraries/typings-generator/README.md b/libraries/typings-generator/README.md index 02f48e3cbf4..e4f688ea905 100644 --- a/libraries/typings-generator/README.md +++ b/libraries/typings-generator/README.md @@ -58,7 +58,7 @@ return TypeScript declarations for the file it is called with. ### `terminal` -Optionally provide a [Terminal](https://github.com/microsoft/rushstack/blob/master/libraries/node-core-library/src/Terminal/Terminal.ts) +Optionally provide a [Terminal](https://github.com/microsoft/rushstack/blob/main/libraries/node-core-library/src/Terminal/Terminal.ts) object for logging. If one isn't provided, logs will go to the console. ### `globsToIgnore` @@ -125,7 +125,7 @@ is set to `IExportStyles`. If not specified, the interface name will be `IExport ## Links -- [CHANGELOG.md](https://github.com/microsoft/rushstack/blob/master/libraries/typings-generator/CHANGELOG.md) - Find +- [CHANGELOG.md](https://github.com/microsoft/rushstack/blob/main/libraries/typings-generator/CHANGELOG.md) - Find out what's new in the latest version - [API Reference](https://rushstack.io/pages/api/typings-generator/) diff --git a/rigs/heft-node-rig/README.md b/rigs/heft-node-rig/README.md index 836caa6b37a..38ce1b084a4 100644 --- a/rigs/heft-node-rig/README.md +++ b/rigs/heft-node-rig/README.md @@ -18,13 +18,13 @@ To enable it, add a **rig.json** file to your project, as shown below: ``` The config files provided by this rig profile can be found in the [heft-node-rig/profiles/default]( -https://github.com/microsoft/rushstack/tree/master/rigs/heft-node-rig/profiles/default) source folder. +https://github.com/microsoft/rushstack/tree/main/rigs/heft-node-rig/profiles/default) source folder. ## Links - [CHANGELOG.md]( - https://github.com/microsoft/rushstack/blob/master/rigs/heft-node-rig/CHANGELOG.md) - Find + https://github.com/microsoft/rushstack/blob/main/rigs/heft-node-rig/CHANGELOG.md) - Find out what's new in the latest version `@rushstack/heft-node-rig` is part of the [Rush Stack](https://rushstack.io/) family of projects. diff --git a/rigs/heft-web-rig/README.md b/rigs/heft-web-rig/README.md index 10c16ca2807..e47077809bf 100644 --- a/rigs/heft-web-rig/README.md +++ b/rigs/heft-web-rig/README.md @@ -23,13 +23,13 @@ To enable it, add a **rig.json** file to your project, as shown below: ``` The config files provided by this rig profile can be found in the [heft-web-rig/profiles/library]( -https://github.com/microsoft/rushstack/tree/master/rigs/heft-web-rig/profiles/library) source folder. +https://github.com/microsoft/rushstack/tree/main/rigs/heft-web-rig/profiles/library) source folder. ## Links - [CHANGELOG.md]( - https://github.com/microsoft/rushstack/blob/master/rigs/heft-web-rig/CHANGELOG.md) - Find + https://github.com/microsoft/rushstack/blob/main/rigs/heft-web-rig/CHANGELOG.md) - Find out what's new in the latest version `@rushstack/heft-web-rig` is part of the [Rush Stack](https://rushstack.io/) family of projects. diff --git a/rush-plugins/rush-amazon-s3-build-cache-plugin/README.md b/rush-plugins/rush-amazon-s3-build-cache-plugin/README.md index d0bcc759d61..11f50a1b778 100644 --- a/rush-plugins/rush-amazon-s3-build-cache-plugin/README.md +++ b/rush-plugins/rush-amazon-s3-build-cache-plugin/README.md @@ -5,5 +5,5 @@ This is a Rush plugin for using Amazon S3 as cloud build cache provider during t ## Links - [CHANGELOG.md]( - https://github.com/microsoft/rushstack/blob/master/rush-plugins/rush-amazon-s3-build-cache-plugin/CHANGELOG.md) - Find + https://github.com/microsoft/rushstack/blob/main/rush-plugins/rush-amazon-s3-build-cache-plugin/CHANGELOG.md) - Find out what's new in the latest version diff --git a/rush-plugins/rush-amazon-s3-build-cache-plugin/package.json b/rush-plugins/rush-amazon-s3-build-cache-plugin/package.json index 530d63c8127..4533631e15c 100644 --- a/rush-plugins/rush-amazon-s3-build-cache-plugin/package.json +++ b/rush-plugins/rush-amazon-s3-build-cache-plugin/package.json @@ -4,7 +4,8 @@ "description": "Rush plugin for Amazon S3 cloud build cache", "repository": { "type": "git", - "url": "https://github.com/microsoft/rushstack/tree/master/heft-plugins/heft-webpack5-plugin" + "url": "https://github.com/microsoft/rushstack", + "directory": "rush-plugins/rush-amazon-s3-build-cache-plugin" }, "homepage": "https://rushjs.io", "main": "lib/index.js", diff --git a/rush-plugins/rush-azure-storage-build-cache-plugin/package.json b/rush-plugins/rush-azure-storage-build-cache-plugin/package.json index 6d3ae56db7d..03fee6a71d4 100644 --- a/rush-plugins/rush-azure-storage-build-cache-plugin/package.json +++ b/rush-plugins/rush-azure-storage-build-cache-plugin/package.json @@ -4,7 +4,8 @@ "description": "Rush plugin for Azure storage cloud build cache", "repository": { "type": "git", - "url": "https://github.com/microsoft/rushstack/tree/master/heft-plugins/heft-webpack5-plugin" + "url": "https://github.com/microsoft/rushstack", + "directory": "heft-plugins/heft-webpack5-plugin" }, "homepage": "https://rushjs.io", "main": "lib/index.js", diff --git a/rush.json b/rush.json index 36f6f75fd31..b650d277455 100644 --- a/rush.json +++ b/rush.json @@ -274,24 +274,24 @@ * The URL of this Git repository, used by "rush change" to determine the base branch for your PR. * * The "rush change" command needs to determine which files are affected by your PR diff. - * If you merged or cherry-picked commits from the master branch into your PR branch, those commits + * If you merged or cherry-picked commits from the main branch into your PR branch, those commits * should be excluded from this diff (since they belong to some other PR). In order to do that, * Rush needs to know where to find the base branch for your PR. This information cannot be * determined from Git alone, since the "pull request" feature is not a Git concept. Ideally * Rush would use a vendor-specific protocol to query the information from GitHub, Azure DevOps, etc. - * But to keep things simple, "rush change" simply assumes that your PR is against the "master" branch + * But to keep things simple, "rush change" simply assumes that your PR is against the "main" branch * of the Git remote indicated by the repository.url setting in rush.json. If you are working in * a GitHub "fork" of the real repo, this setting will be different from the repository URL of your * your PR branch, and in this situation "rush change" will also automatically invoke "git fetch" - * to retrieve the latest activity for the remote master branch. + * to retrieve the latest activity for the remote main branch. */ - "urls": ["https://github.com/microsoft/rushstack.git"] + "urls": ["https://github.com/microsoft/rushstack.git"], /** * The default branch name. This tells "rush change" which remote branch to compare against. - * The default value is "master" + * The default value is "main" */ - // "defaultBranch": "master", + "defaultBranch": "main" /** * The default remote. This tells "rush change" which remote to compare against if the remote URL is diff --git a/webpack/loader-load-themed-styles/README.md b/webpack/loader-load-themed-styles/README.md index e28dc15fb76..f1472c1c5e6 100644 --- a/webpack/loader-load-themed-styles/README.md +++ b/webpack/loader-load-themed-styles/README.md @@ -87,7 +87,7 @@ changes to the DOM. ## Links - [CHANGELOG.md]( - https://github.com/microsoft/rushstack/blob/master/webpack/loader-load-themed-styles/CHANGELOG.md) - Find + https://github.com/microsoft/rushstack/blob/main/webpack/loader-load-themed-styles/CHANGELOG.md) - Find out what's new in the latest version `@microsoft/loader-load-themed-styles` is part of the [Rush Stack](https://rushstack.io/) family of projects. diff --git a/webpack/loader-raw-script/README.md b/webpack/loader-raw-script/README.md index 3bd2c807cf2..1827d53f79d 100644 --- a/webpack/loader-raw-script/README.md +++ b/webpack/loader-raw-script/README.md @@ -19,7 +19,7 @@ require("@rushstack/loader-raw-script!path/to/script.js"); ## Links - [CHANGELOG.md]( - https://github.com/microsoft/rushstack/blob/master/webpack/loader-raw-script/CHANGELOG.md) - Find + https://github.com/microsoft/rushstack/blob/main/webpack/loader-raw-script/CHANGELOG.md) - Find out what's new in the latest version `@rushstack/loader-raw-script` is part of the [Rush Stack](https://rushstack.io/) family of projects. diff --git a/webpack/localization-plugin/README.md b/webpack/localization-plugin/README.md index 1354fd477f1..84e41bc4fb6 100644 --- a/webpack/localization-plugin/README.md +++ b/webpack/localization-plugin/README.md @@ -14,32 +14,32 @@ support for generating typings. There are three example projects in this repository that make use of this plugin: -- [Project 1](https://github.com/microsoft/rushstack/tree/master/build-tests/localization-plugin-test-01) +- [Project 1](https://github.com/microsoft/rushstack/tree/main/build-tests/localization-plugin-test-01) - This project contains two webpack entrypoints (one with an async chunk, one without), without any localized resources - The output is a single, non-localized variant -- [Project 2](https://github.com/microsoft/rushstack/tree/master/build-tests/localization-plugin-test-02) +- [Project 2](https://github.com/microsoft/rushstack/tree/main/build-tests/localization-plugin-test-02) - This project contains three webpack entrypoints: - - [`indexA.ts`](https://github.com/microsoft/rushstack/tree/master/build-tests/localization-plugin-test-02/src/indexA.ts) + - [`indexA.ts`](https://github.com/microsoft/rushstack/tree/main/build-tests/localization-plugin-test-02/src/indexA.ts) directly references two `.loc.json` files and one `.resx` file, and dynamically imports an async chunk with localized data, and an async chunk without localized data - - [`indexB.ts`](https://github.com/microsoft/rushstack/tree/master/build-tests/localization-plugin-test-02/src/indexB.ts) + - [`indexB.ts`](https://github.com/microsoft/rushstack/tree/main/build-tests/localization-plugin-test-02/src/indexB.ts) directly references two `.loc.json` files - - [`indexC.ts`](https://github.com/microsoft/rushstack/tree/master/build-tests/localization-plugin-test-02/src/indexC.ts) + - [`indexC.ts`](https://github.com/microsoft/rushstack/tree/main/build-tests/localization-plugin-test-02/src/indexC.ts) directly references no localized resources, and dynamically imports an async chunk without localized data - The webpack config contains and references Spanish translations for most of the English strings in the resource files - The output contains English, Spanish, and "passthrough" localized variants of files that contain localized data, and a non-localized variant of the files that do not contain localized data -- [Project 3](https://github.com/microsoft/rushstack/tree/master/build-tests/localization-plugin-test-03) +- [Project 3](https://github.com/microsoft/rushstack/tree/main/build-tests/localization-plugin-test-03) - This project contains four webpack entrypoints: - - [`indexA.ts`](https://github.com/microsoft/rushstack/tree/master/build-tests/localization-plugin-test-03/src/indexA.ts) + - [`indexA.ts`](https://github.com/microsoft/rushstack/tree/main/build-tests/localization-plugin-test-03/src/indexA.ts) directly references one `.loc.json` file, one `.resx.json` file, and one `.resx` file, and dynamically imports an async chunk with localized data, and an async chunk without localized data - - [`indexB.ts`](https://github.com/microsoft/rushstack/tree/master/build-tests/localization-plugin-test-03/src/indexB.ts) + - [`indexB.ts`](https://github.com/microsoft/rushstack/tree/main/build-tests/localization-plugin-test-03/src/indexB.ts) directly references one `.loc.json` file and one `.resx.json` file - - [`indexC.ts`](https://github.com/microsoft/rushstack/tree/master/build-tests/localization-plugin-test-03/src/indexC.ts) + - [`indexC.ts`](https://github.com/microsoft/rushstack/tree/main/build-tests/localization-plugin-test-03/src/indexC.ts) directly references no localized resources, and dynamically imports an async chunk with localized data - - [`indexD.ts`](https://github.com/microsoft/rushstack/tree/master/build-tests/localization-plugin-test-03/src/indexD.ts) + - [`indexD.ts`](https://github.com/microsoft/rushstack/tree/main/build-tests/localization-plugin-test-03/src/indexD.ts) directly references no localized resources, and dynamically imports an async chunk without localized data - The webpack config contains or references Spanish translations for some of the English strings in the resource files - The output contains English, Spanish, "passthrough," and two pseudo-localized variants of files that contain @@ -50,14 +50,14 @@ There are three example projects in this repository that make use of this plugin [`.resx`](https://docs.microsoft.com/en-us/dotnet/framework/resources/creating-resource-files-for-desktop-apps#resources-in-resx-files) is an XML format for resource data. It is primarily used in .NET development, and it is supported by some translation services. See an example of a `.resx` file -[here](https://github.com/microsoft/rushstack/tree/master/build-tests/localization-plugin-test-02/src/strings5.resx). +[here](https://github.com/microsoft/rushstack/tree/main/build-tests/localization-plugin-test-02/src/strings5.resx). Note that the `` and `` elements are not required. Also note that although the `.resx` supports many different types of localized data including strings and binary data, **only strings** are supported by this plugin. `.loc.json` is a very simple `JSON` schema for specifying localized string and translator comments. See an example of a `.loc.json` file -[here](https://github.com/microsoft/rushstack/tree/master/build-tests/localization-plugin-test-02/src/strings3.loc.json). +[here](https://github.com/microsoft/rushstack/tree/main/build-tests/localization-plugin-test-02/src/strings3.loc.json). For most projects, `.loc.json` is a simpler format to use. However for large projects, projects that already use translation services that support `.resx`, or engineers who are already experienced .NET developers, `.resx` @@ -282,7 +282,7 @@ syntax. This option is not recommended. ## Links -- [CHANGELOG.md](https://github.com/microsoft/rushstack/blob/master/webpack/localization-plugin/CHANGELOG.md) - Find +- [CHANGELOG.md](https://github.com/microsoft/rushstack/blob/main/webpack/localization-plugin/CHANGELOG.md) - Find out what's new in the latest version `@rushstack/localization-plugin` is part of the [Rush Stack](https://rushstack.io/) family of projects. diff --git a/webpack/module-minifier-plugin/README.md b/webpack/module-minifier-plugin/README.md index 9b15c717fdd..73a31ccd2a0 100644 --- a/webpack/module-minifier-plugin/README.md +++ b/webpack/module-minifier-plugin/README.md @@ -55,7 +55,7 @@ optimization: { ## Links - [CHANGELOG.md]( - https://github.com/microsoft/rushstack/blob/master/webpack/module-minifier-plugin/CHANGELOG.md) - Find + https://github.com/microsoft/rushstack/blob/main/webpack/module-minifier-plugin/CHANGELOG.md) - Find out what's new in the latest version `@rushstack/module-minifier-plugin` is part of the [Rush Stack](https://rushstack.io/) family of projects. diff --git a/webpack/set-webpack-public-path-plugin/README.md b/webpack/set-webpack-public-path-plugin/README.md index 2e22039b371..319d6f57a03 100644 --- a/webpack/set-webpack-public-path-plugin/README.md +++ b/webpack/set-webpack-public-path-plugin/README.md @@ -181,7 +181,7 @@ gulp.src('finizlied/webpack/bundle/path') ## Links - [CHANGELOG.md]( - https://github.com/microsoft/rushstack/blob/master/webpack/set-webpack-public-path-plugin/CHANGELOG.md) - Find + https://github.com/microsoft/rushstack/blob/main/webpack/set-webpack-public-path-plugin/CHANGELOG.md) - Find out what's new in the latest version `@rushstack/set-webpack-public-path-plugin` is part of the [Rush Stack](https://rushstack.io/) family of projects.