Skip to content

Instantly share code, notes, and snippets.

@michaellperry
Created April 10, 2022 14:03
Show Gist options
  • Save michaellperry/b8f6051c17ffa101decd877ec0b63fa5 to your computer and use it in GitHub Desktop.
Save michaellperry/b8f6051c17ffa101decd877ec0b63fa5 to your computer and use it in GitHub Desktop.
Upgrade gatsby.js and all plugins to the latest version
cat package.json | jq -r '.dependencies | keys | map(select(startswith("gatsby")) | "\(.)@latest") | join(" ")' | xargs npm
i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment