From b1341b2e46a6e9b3e7a271b270fd2cda8d08ca36 Mon Sep 17 00:00:00 2001 From: Stepan Kuzmin Date: Thu, 11 Nov 2021 12:53:53 +0200 Subject: [PATCH] chore: rename master branch to main (#351) --- .github/workflows/size-limit.yml | 2 +- README.md | 4 ++-- docs/introduction.md | 2 +- src/components/MapGL/README.md | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/size-limit.yml b/.github/workflows/size-limit.yml index 824ada45..ee2c66da 100644 --- a/.github/workflows/size-limit.yml +++ b/.github/workflows/size-limit.yml @@ -3,7 +3,7 @@ name: "size" on: pull_request: branches: - - master + - main jobs: size: diff --git a/README.md b/README.md index 94c51807..e1a719a3 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Urbica React Mapbox GL JS [![Node CI](https://github.com/urbica/react-map-gl/workflows/Node%20CI/badge.svg)](https://github.com/urbica/react-map-gl/actions) -[![codecov](https://codecov.io/gh/urbica/react-map-gl/branch/master/graph/badge.svg)](https://codecov.io/gh/urbica/react-map-gl) +[![codecov](https://codecov.io/gh/urbica/react-map-gl/branch/main/graph/badge.svg)](https://codecov.io/gh/urbica/react-map-gl) [![npm](https://img.shields.io/npm/dt/@urbica/react-map-gl.svg?style=popout)](https://www.npmjs.com/package/@urbica/react-map-gl) [![npm](https://img.shields.io/npm/v/@urbica/react-map-gl.svg?style=popout)](https://www.npmjs.com/package/@urbica/react-map-gl) ![npm bundle size (scoped)](https://img.shields.io/bundlephobia/minzip/@urbica/react-map-gl.svg) @@ -24,7 +24,7 @@ This project is heavily inspired by [uber/react-map-gl](https://github.com/uber/ - [Contributing](#contributing) - [Team](#team) -![Gallery](https://raw.githubusercontent.com/urbica/react-map-gl/master/docs/gallery.jpg) +![Gallery](https://raw.githubusercontent.com/urbica/react-map-gl/main/docs/gallery.jpg) ## Installation diff --git a/docs/introduction.md b/docs/introduction.md index 2b0cbb8d..9c490d5f 100644 --- a/docs/introduction.md +++ b/docs/introduction.md @@ -4,4 +4,4 @@ To use any of Mapbox’s tools, APIs, or SDKs, you’ll need a Mapbox [access to This package is heavily inspired by [uber/react-map-gl](https://github.com/uber/react-map-gl). - + diff --git a/src/components/MapGL/README.md b/src/components/MapGL/README.md index e70a6307..6613370a 100644 --- a/src/components/MapGL/README.md +++ b/src/components/MapGL/README.md @@ -175,7 +175,7 @@ const onClick = (event) => { `mapbox-gl` emit [events](https://www.mapbox.com/mapbox-gl-js/api/#events) in response to user interactions or changes in state. -You can find full list of supported props in [eventProps](https://github.com/urbica/react-map-gl/blob/master/src/components/MapGL/eventProps.js). +You can find full list of supported props in [eventProps](https://github.com/urbica/react-map-gl/blob/main/src/components/MapGL/eventProps.js). Here is an example for `onClick` prop.