Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update scripts to TypeScript #484

Merged
merged 15 commits into from
Nov 8, 2024

Conversation

KiwiKilian
Copy link
Collaborator

I've migrated all scripts to TypeScript. Along the way, I've:

  • Dropped the custom react-docgen branch from rnmapbox
  • Use async node fs methods
  • Dropped unmaintained node-dir dependency
  • Rename generate to codegen as a more common used script name (we generate not only docs but also styles implementation)
  • Replaced fetching the style spec by using the @maplibre/maplibre-gl-style-spec package

Only the symbolStyle of Annotation seems to drop with the new setup. TBH I don't really understand the usecase, why this object is exposed via the ref. Maybe it should be removed anyway?

@tyrauber
Copy link
Collaborator

tyrauber commented Nov 8, 2024

Love dropping the unmaintained dependencies and simplified codegen. Also using the @maplibre/maplibre-gl-style-spec package versus manually fetching the json. So awesome! Thank you.

@tyrauber tyrauber merged commit bf685f3 into maplibre:main Nov 8, 2024
4 checks passed
@KiwiKilian KiwiKilian deleted the feat/improve-docs branch November 13, 2024 06:10
Copy link

github-actions bot commented Dec 2, 2024

🎉 This PR is included in version 10.0.0-beta.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants