From 80e883355e9b696568602792576153b0b8ea0d88 Mon Sep 17 00:00:00 2001 From: Josh Kelley Date: Wed, 5 Oct 2022 12:05:09 -0400 Subject: [PATCH] docs: rename "master" to "main" in package.json repository fields (#784) This updates the "Repository" links on npmjs.com package pages; right now, following those links gives a redirect, "Branch master was renamed to main." --- packages/babel-plugin-add-jsx-attribute/package.json | 2 +- packages/babel-plugin-remove-jsx-attribute/package.json | 2 +- packages/babel-plugin-remove-jsx-empty-expression/package.json | 2 +- packages/babel-plugin-replace-jsx-attribute-value/package.json | 2 +- packages/babel-plugin-svg-dynamic-title/package.json | 2 +- packages/babel-plugin-svg-em-dimensions/package.json | 2 +- packages/babel-plugin-transform-react-native-svg/package.json | 2 +- packages/babel-plugin-transform-svg-component/package.json | 2 +- packages/babel-preset/package.json | 2 +- packages/cli/package.json | 2 +- packages/core/package.json | 2 +- packages/hast-util-to-babel-ast/package.json | 2 +- packages/plugin-jsx/package.json | 2 +- packages/plugin-prettier/package.json | 2 +- packages/plugin-svgo/package.json | 2 +- packages/rollup/package.json | 2 +- packages/webpack/package.json | 2 +- 17 files changed, 17 insertions(+), 17 deletions(-) diff --git a/packages/babel-plugin-add-jsx-attribute/package.json b/packages/babel-plugin-add-jsx-attribute/package.json index 07653473..28274602 100644 --- a/packages/babel-plugin-add-jsx-attribute/package.json +++ b/packages/babel-plugin-add-jsx-attribute/package.json @@ -11,7 +11,7 @@ }, "./package.json": "./package.json" }, - "repository": "https://github.com/gregberge/svgr/tree/master/packages/babel-plugin-add-jsx-attribute", + "repository": "https://github.com/gregberge/svgr/tree/main/packages/babel-plugin-add-jsx-attribute", "author": "Greg Bergé ", "publishConfig": { "access": "public" diff --git a/packages/babel-plugin-remove-jsx-attribute/package.json b/packages/babel-plugin-remove-jsx-attribute/package.json index c0cc6eb1..e46cc29c 100644 --- a/packages/babel-plugin-remove-jsx-attribute/package.json +++ b/packages/babel-plugin-remove-jsx-attribute/package.json @@ -11,7 +11,7 @@ }, "./package.json": "./package.json" }, - "repository": "https://github.com/gregberge/svgr/tree/master/packages/babel-plugin-remove-jsx-attribute", + "repository": "https://github.com/gregberge/svgr/tree/main/packages/babel-plugin-remove-jsx-attribute", "author": "Greg Bergé ", "publishConfig": { "access": "public" diff --git a/packages/babel-plugin-remove-jsx-empty-expression/package.json b/packages/babel-plugin-remove-jsx-empty-expression/package.json index 631a9612..32721ee0 100644 --- a/packages/babel-plugin-remove-jsx-empty-expression/package.json +++ b/packages/babel-plugin-remove-jsx-empty-expression/package.json @@ -11,7 +11,7 @@ }, "./package.json": "./package.json" }, - "repository": "https://github.com/gregberge/svgr/tree/master/packages/babel-plugin-remove-jsx-empty-expression", + "repository": "https://github.com/gregberge/svgr/tree/main/packages/babel-plugin-remove-jsx-empty-expression", "author": "Greg Bergé ", "publishConfig": { "access": "public" diff --git a/packages/babel-plugin-replace-jsx-attribute-value/package.json b/packages/babel-plugin-replace-jsx-attribute-value/package.json index bdc8c931..bc03dd3e 100644 --- a/packages/babel-plugin-replace-jsx-attribute-value/package.json +++ b/packages/babel-plugin-replace-jsx-attribute-value/package.json @@ -11,7 +11,7 @@ }, "./package.json": "./package.json" }, - "repository": "https://github.com/gregberge/svgr/tree/master/packages/babel-plugin-replace-jsx-attribute-value", + "repository": "https://github.com/gregberge/svgr/tree/main/packages/babel-plugin-replace-jsx-attribute-value", "author": "Greg Bergé ", "publishConfig": { "access": "public" diff --git a/packages/babel-plugin-svg-dynamic-title/package.json b/packages/babel-plugin-svg-dynamic-title/package.json index 23dc1013..0d2643a0 100644 --- a/packages/babel-plugin-svg-dynamic-title/package.json +++ b/packages/babel-plugin-svg-dynamic-title/package.json @@ -11,7 +11,7 @@ }, "./package.json": "./package.json" }, - "repository": "https://github.com/gregberge/svgr/tree/master/packages/babel-plugin-svg-dynamic-title", + "repository": "https://github.com/gregberge/svgr/tree/main/packages/babel-plugin-svg-dynamic-title", "author": "Greg Bergé ", "publishConfig": { "access": "public" diff --git a/packages/babel-plugin-svg-em-dimensions/package.json b/packages/babel-plugin-svg-em-dimensions/package.json index 84683975..1320d049 100644 --- a/packages/babel-plugin-svg-em-dimensions/package.json +++ b/packages/babel-plugin-svg-em-dimensions/package.json @@ -11,7 +11,7 @@ }, "./package.json": "./package.json" }, - "repository": "https://github.com/gregberge/svgr/tree/master/packages/babel-plugin-svg-em-dimensions", + "repository": "https://github.com/gregberge/svgr/tree/main/packages/babel-plugin-svg-em-dimensions", "author": "Greg Bergé ", "publishConfig": { "access": "public" diff --git a/packages/babel-plugin-transform-react-native-svg/package.json b/packages/babel-plugin-transform-react-native-svg/package.json index bb318bd6..2a4742e9 100644 --- a/packages/babel-plugin-transform-react-native-svg/package.json +++ b/packages/babel-plugin-transform-react-native-svg/package.json @@ -11,7 +11,7 @@ }, "./package.json": "./package.json" }, - "repository": "https://github.com/gregberge/svgr/tree/master/packages/babel-plugin-transform-react-native-svg", + "repository": "https://github.com/gregberge/svgr/tree/main/packages/babel-plugin-transform-react-native-svg", "author": "Greg Bergé ", "publishConfig": { "access": "public" diff --git a/packages/babel-plugin-transform-svg-component/package.json b/packages/babel-plugin-transform-svg-component/package.json index 0503bb55..a139e723 100644 --- a/packages/babel-plugin-transform-svg-component/package.json +++ b/packages/babel-plugin-transform-svg-component/package.json @@ -11,7 +11,7 @@ }, "./package.json": "./package.json" }, - "repository": "https://github.com/gregberge/svgr/tree/master/packages/babel-plugin-transform-svg-component", + "repository": "https://github.com/gregberge/svgr/tree/main/packages/babel-plugin-transform-svg-component", "author": "Greg Bergé ", "publishConfig": { "access": "public" diff --git a/packages/babel-preset/package.json b/packages/babel-preset/package.json index 152e1c24..d2289293 100644 --- a/packages/babel-preset/package.json +++ b/packages/babel-preset/package.json @@ -11,7 +11,7 @@ }, "./package.json": "./package.json" }, - "repository": "https://github.com/gregberge/svgr/tree/master/packages/babel-preset", + "repository": "https://github.com/gregberge/svgr/tree/main/packages/babel-preset", "author": "Greg Bergé ", "publishConfig": { "access": "public" diff --git a/packages/cli/package.json b/packages/cli/package.json index 1ee6b545..93302ef2 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -2,7 +2,7 @@ "name": "@svgr/cli", "description": "SVGR command line.", "version": "6.4.0", - "repository": "https://github.com/gregberge/svgr/tree/master/packages/cli", + "repository": "https://github.com/gregberge/svgr/tree/main/packages/cli", "author": "Greg Bergé ", "publishConfig": { "access": "public" diff --git a/packages/core/package.json b/packages/core/package.json index 62c6d3b3..9b095454 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -11,7 +11,7 @@ }, "./package.json": "./package.json" }, - "repository": "https://github.com/gregberge/svgr/tree/master/packages/core", + "repository": "https://github.com/gregberge/svgr/tree/main/packages/core", "author": "Greg Bergé ", "publishConfig": { "access": "public" diff --git a/packages/hast-util-to-babel-ast/package.json b/packages/hast-util-to-babel-ast/package.json index e5a56bae..4adbf0fe 100644 --- a/packages/hast-util-to-babel-ast/package.json +++ b/packages/hast-util-to-babel-ast/package.json @@ -11,7 +11,7 @@ }, "./package.json": "./package.json" }, - "repository": "https://github.com/gregberge/svgr/tree/master/packages/hast-util-to-babel-ast", + "repository": "https://github.com/gregberge/svgr/tree/main/packages/hast-util-to-babel-ast", "author": "Greg Bergé ", "publishConfig": { "access": "public" diff --git a/packages/plugin-jsx/package.json b/packages/plugin-jsx/package.json index f3774c49..4fe923ca 100644 --- a/packages/plugin-jsx/package.json +++ b/packages/plugin-jsx/package.json @@ -11,7 +11,7 @@ }, "./package.json": "./package.json" }, - "repository": "https://github.com/gregberge/svgr/tree/master/packages/plugin-jsx", + "repository": "https://github.com/gregberge/svgr/tree/main/packages/plugin-jsx", "author": "Greg Bergé ", "publishConfig": { "access": "public" diff --git a/packages/plugin-prettier/package.json b/packages/plugin-prettier/package.json index 0b97be0e..b4252df6 100644 --- a/packages/plugin-prettier/package.json +++ b/packages/plugin-prettier/package.json @@ -11,7 +11,7 @@ }, "./package.json": "./package.json" }, - "repository": "https://github.com/gregberge/svgr/tree/master/packages/plugin-prettier", + "repository": "https://github.com/gregberge/svgr/tree/main/packages/plugin-prettier", "author": "Greg Bergé ", "publishConfig": { "access": "public" diff --git a/packages/plugin-svgo/package.json b/packages/plugin-svgo/package.json index ea7dca03..daab6743 100644 --- a/packages/plugin-svgo/package.json +++ b/packages/plugin-svgo/package.json @@ -11,7 +11,7 @@ }, "./package.json": "./package.json" }, - "repository": "https://github.com/gregberge/svgr/tree/master/packages/plugin-svgo", + "repository": "https://github.com/gregberge/svgr/tree/main/packages/plugin-svgo", "author": "Greg Bergé ", "publishConfig": { "access": "public" diff --git a/packages/rollup/package.json b/packages/rollup/package.json index 8befd895..191b9eb3 100644 --- a/packages/rollup/package.json +++ b/packages/rollup/package.json @@ -11,7 +11,7 @@ }, "./package.json": "./package.json" }, - "repository": "https://github.com/gregberge/svgr/tree/master/packages/rollup", + "repository": "https://github.com/gregberge/svgr/tree/main/packages/rollup", "author": "Greg Bergé ", "publishConfig": { "access": "public" diff --git a/packages/webpack/package.json b/packages/webpack/package.json index 0ebdaecc..09c17771 100644 --- a/packages/webpack/package.json +++ b/packages/webpack/package.json @@ -11,7 +11,7 @@ }, "./package.json": "./package.json" }, - "repository": "https://github.com/gregberge/svgr/tree/master/packages/webpack", + "repository": "https://github.com/gregberge/svgr/tree/main/packages/webpack", "author": "Greg Bergé ", "publishConfig": { "access": "public"