You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

update-gatsby-dependencies

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

update-gatsby-dependencies

A package that will update gatsby v4 dependencies from alpha to beta

1.0.8
Source
npm
Version published
Weekly downloads
51
1600%
Maintainers
1
Weekly downloads
 
Created
Source

update-gatsby-dependencies

A package that will primarily help a developer update gatsby v4 dependencies from alpha to beta (but also has support for other minor features)

Usage

go to the directory where the package.json file is and run:

 npx update-gatsby-dependencies

this will output a string you can use to update your alpha packages to beta

Specifying a command

you can also specify an install command but the program defaults to npm i

 npx update-gatsby-dependencies yarn add

adding flags

 npx update-gatsby-dependencies npm i -f

Specifying a package type

you can also specify a package type to look for

PACKAGE_TYPE='Gatsby' npx update-gatsby-dependencies

would look for all gatsby packages that include gatsby in their name

npm i gatsby@next gatsby-awesome-pagination@next gatsby-plugin-image@next

Using custom tags

lastly, you can specify the version tag for every install at once if needed.

GATSBY_VERSION_TAG='apple' npx update-gatsby-dependencies

would produce

npm i gatsby@apple gatsby-awesome-pagination@apple gatsby-plugin-image@apple

Hope this helps!

have fun updating to gatsby 4!

Keywords

gatsby

FAQs

Package last updated on 17 Sep 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts