Skip to content

Commit

Permalink
Fix misspelled library name in docs and templates
Browse files Browse the repository at this point in the history
  • Loading branch information
Pessimistress committed Oct 3, 2024
1 parent b52ea8c commit 6b9ef82
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ body:
attributes:
value: |
Thank you for taking the time to report a bug!
You may find answers faster by searching in [the documentation](https://visgl.github.io/react-maplibre-gl/search) and [existing issues](https://github.com/visgl/react-maplibre-gl/issue).
If you are unsure whether it is a bug in your own implementation or the library itself, consider starting a conversation in [Discussions](https://github.com/visgl/react-maplibre-gl/discussions) instead.
You may find answers faster by searching in [the documentation](https://visgl.github.io/react-maplibre/search) and [existing issues](https://github.com/visgl/react-maplibre/issue).
If you are unsure whether it is a bug in your own implementation or the library itself, consider starting a conversation in [Discussions](https://github.com/visgl/react-maplibre/discussions) instead.
- type: textarea
attributes:
label: Description
Expand All @@ -33,7 +33,7 @@ body:
label: Environment
description: |
Example:
- **Framework version**: react-maplibre-gl@7.0.0
- **Framework version**: @vis.gl/react-maplibre@1.0.0
- **Map library**: maplibre-gl@4.7.0
- **Browser**: Chrome 129.0
- **OS**: iOS 16.1
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: I have a question / I need help
url: https://github.com/visgl/react-maplibre-gl/discussions
url: https://github.com/visgl/react-maplibre/discussions
about: Ask generic questions or request help here
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ body:
- type: markdown
attributes:
value: |
Tell us what you are using react-maplibre-gl for and how we can make it better.
Tell us what you are using react-maplibre for and how we can make it better.
This project is maintained by volunteers and sponsoring companies. While we cannot promise a timeline for any specific feature, we try to prioritize those that will benefit the most users.
- type: textarea
attributes:
Expand Down
2 changes: 1 addition & 1 deletion docs/upgrade-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

```patch
- import {Map, Marker} from 'react-map-gl/maplibre';
+ import {Map, Marker} from 'react-maplibre-gl';
+ import {Map, Marker} from '@vis.gl/react-maplibre';
```

The following Mapbox-only props from `react-map-gl`'s Map component are removed:
Expand Down
2 changes: 1 addition & 1 deletion examples/controls/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Example: Controls

Demonstrates how various control components can be used with react-maplibre-gl.
Demonstrates how various control components can be used with react-maplibre.

## Usage

Expand Down
8 changes: 4 additions & 4 deletions scripts/update-release-branch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ VERSION=`echo "$1.0"`
echo "Updating branch to ${BRANCH}..."

# Replace source links in docs and examples
find docs -iname "*.md" -type f -exec sed -i '' -E "s/react-maplibre-gl\/(tree|blob)\/(master|[0-9\.]+-release)/react-maplibre-gl\/tree\/${BRANCH}/g" {} \;
find examples -maxdepth 0 -iname "*.md" -type f -exec sed -i '' -E "s/react-maplibre-gl\/(tree|blob)\/(master|[0-9\.]+-release)/react-maplibre-gl\/tree\/${BRANCH}/g" {} \;
find examples/*/src -iname "*.js" -type f -exec sed -i '' -E "s/react-maplibre-gl\/(tree|blob)\/(master|[0-9\.]+-release)/react-maplibre-gl\/tree\/${BRANCH}/g" {} \;
find docs -iname "*.md" -type f -exec sed -i '' -E "s/react-maplibre\/(tree|blob)\/(master|[0-9\.]+-release)/react-maplibre\/tree\/${BRANCH}/g" {} \;
find examples -maxdepth 0 -iname "*.md" -type f -exec sed -i '' -E "s/react-maplibre\/(tree|blob)\/(master|[0-9\.]+-release)/react-maplibre\/tree\/${BRANCH}/g" {} \;
find examples/*/src -iname "*.js" -type f -exec sed -i '' -E "s/react-maplibre\/(tree|blob)\/(master|[0-9\.]+-release)/react-maplibre\/tree\/${BRANCH}/g" {} \;

# Bump dependencies in examples
update_dep() {
FILE=$1
VERSION=$2
cat $FILE | jq ".dependencies |= . + \
with_entries(select(.key | match(\"react-maplibre-gl\")) | .value |= \"^${VERSION}\")" > temp
with_entries(select(.key | match(\"react-maplibre\")) | .value |= \"^${VERSION}\")" > temp
mv temp $FILE
}

Expand Down

0 comments on commit 6b9ef82

Please sign in to comment.