npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, πŸ‘‹, I’m Ryan HefnerΒ  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you πŸ™

Β© 2024 – Pkg Stats / Ryan Hefner

@raae/gatsby-plugin-starter

v1.7.0

Published

A starter to bootstrap your next Gatsby Plugin β€” automatic release to npm with semantic-release out of the box πŸ“¦ πŸͺ„

Downloads

21

Readme

@raae/gatsby-plugin-starter

A starter to bootstrap your next Gatsby Plugin
β€” automatic release to npm with semantic-release out of the box

Β 

Tweet by @Ash_Hitchcock: almost forgot thanks to @raae the Gatsby Plugin starter ... made the plugin blazingly fast to write, with full Semantic Release to NPM Raising hands

Β 
Heads up: This package is NOT to be used as a Gatsby Plugin; it's a template for you to bootstrap your own plugin.

Β 

A message or two or three from Queen Raae πŸ‘‘

1-on-1 Emergency Gatsby Call

Are you stuck on a reef in the sharky waters around the Gatsby islands? Check out 1-on-1 Emergency Gatsby Call with Queen Raae to get friendly advice you can put into action immediately from a seasoned Gatsby developer.

Stay updated and get the most out of Gatsby

Learn how to get the most out of Gatsby and stay updated on the template by subscribing to daily emails from Queen Raae and Cap'n Ola.

Video Walkthrough

Watch Queen Raae use this starter to create a new Gatsby plugin in a unauthorized and rum-fueled treasure hunt in the sharky waters around the Gatsby islands on YouTube.

Β 

Create your next Gatsby Plugin

Get started

  1. Use this template to create a new repository based on the code in this repository, but with a clean history. There is no need to drag all the commits of this repository by forking.
  2. Select the correct owner and give it a name according to the Gatsby Plugin naming standard.

Note: You will get a message about failing releases, this is expected and will sort itself out when you are ready for your first release.

Make it yours

  1. Clone your new repository onto your machine
  2. Make the readme template the root template (mv README_TEMPLATE.md README.md)
  3. Delete the changelog (rm CHANGELOG.md)
  4. Search and replace @raae/gatsby-plugin-starter with the name of your plugin
  5. Search and replace github.com/queen-raae/gatsby-plugin-starter with the link to your repository
  6. Search and replace [email protected] with your email address
  7. Search and replace @raae with your GitHub username
  8. Change the description in plugin/package.json
  9. Change the tag line in README.md
  10. Run yarn install
  11. Commit changes git commit -a -m "chore: rename all the things"
  12. Create an initial tag (git tag v0.0.0 -a -m "Initial tag") and push it (git push origin --tags)

Develop and test

Check the CONTRIBUTING.md file.

Release

The project uses conventional commits and semantic versioning to automate releases by utalizing the semantic-release project and GitHub Actions.

As the project owner, you need to add an NPM token to your repository secrets so that Semantic Release can do its thing πŸ’ͺ

  • Create an automation access token on npmjs.com/ (Avatar -> Access Token).
  • Add NPM_TOKEN to your repository secrets (Settings -> Secret -> Action) with the value from above.

Semantic Release Settings

Commits to the main branch will result in a new release while committing to a next branch will result in a pre-release. The releases follow Semantic Versioning, and your commit messages will decide the following version number.

  • Commits message titles prefixed by fix:, fix(<scope>): and docs(README): will result in a patch version update
  • Commits message titles prefixed by feat:, feat(<scope>): will result in a minor version update
  • Commits message footers containing BREAKING CHANGE: or BREAKING CHANGES: will result in a major version update

In addition to automating releases, Semantic Release creates and updates a CHANGELOG.md based on the above commit rules.

Check the .releaserc file, the .github/workflows/release.yml and the Semantic Release documentation for more details.

Β 

Questions, Feedback, and Suggestions

If you have any questions, feedback, or suggestions, head on over to discussions.

Found a bug?

If you find a bug, please open an issue and create a pull request to fix it if you are able.