Skip to content

Commit

Permalink
docs: rename "master" to "main" in package.json repository fields (#784)
Browse files Browse the repository at this point in the history
This updates the "Repository" links on npmjs.com package pages; right now, following those links gives a redirect, "Branch master was renamed to main."
  • Loading branch information
joshkel authored Oct 5, 2022
1 parent 7c290d1 commit 80e8833
Show file tree
Hide file tree
Showing 17 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion packages/babel-plugin-add-jsx-attribute/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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é <[email protected]>",
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-plugin-remove-jsx-attribute/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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é <[email protected]>",
"publishConfig": {
"access": "public"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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é <[email protected]>",
"publishConfig": {
"access": "public"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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é <[email protected]>",
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-plugin-svg-dynamic-title/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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é <[email protected]>",
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-plugin-svg-em-dimensions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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é <[email protected]>",
"publishConfig": {
"access": "public"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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é <[email protected]>",
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-plugin-transform-svg-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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é <[email protected]>",
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-preset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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é <[email protected]>",
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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é <[email protected]>",
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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é <[email protected]>",
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/hast-util-to-babel-ast/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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é <[email protected]>",
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-jsx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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é <[email protected]>",
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-prettier/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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é <[email protected]>",
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-svgo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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é <[email protected]>",
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/rollup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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é <[email protected]>",
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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é <[email protected]>",
"publishConfig": {
"access": "public"
Expand Down

0 comments on commit 80e8833

Please sign in to comment.