Skip to content

Instantly share code, notes, and snippets.

@dingo-d
Created April 7, 2020 12:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dingo-d/c7af6424aba3cacf8943668f79659ec6 to your computer and use it in GitHub Desktop.
Save dingo-d/c7af6424aba3cacf8943668f79659ec6 to your computer and use it in GitHub Desktop.
A simple shell command script to extract packages and their versions from Gutenberg WP editor. Once in the 'packages' directory you can run this script
for package in $(ls -1); do echo $package; jq -r .version $package/package.json; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment