Socket
Book a DemoInstallSign in
Socket

@sonarsource/marketing-gatsby-boilerplate

Package Overview
Dependencies
Maintainers
0
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sonarsource/marketing-gatsby-boilerplate

## **Purpose**

6.0.0
latest
npmnpm
Version published
Weekly downloads
176
-4.35%
Maintainers
0
Weekly downloads
 
Created
Source

Boilerplate commands

Purpose

  • Initialize a new Gatsby/Kentico Kontent/Netlify project while respecting the Martech team standards
  • Streamline development (Git workflow, Netlify synchronization, Kentico Kontent environments)
  • (To be implemented) Allow for easy update of existing projects using the boilerplate

How to use it

You can see the list of commands by running npx @sonarsource/marketing-gatsby-boilerplate -h.

for reach command, you can obtain even more informations on it (arguments, options, etc) by running npx @sonarsource/marketing-gatsby-boilerplate COMMAND -h (example: npx @sonarsource/marketing-gatsby-boilerplate release -h)

Table of contents

  • Getting started
  • Commands
  • Migrations
  • Gatsby
  • Testing
  • Styling

Commands

Create an environment

After creating a branch, you can create an environment dedicated to it by running the environment --create --scope production or environment --create --scope develop command, depending on the environment you want to work from. If an environment already exists, you'll be asked wether to use it, or delete and re-create it.

This new environment will be yours to play with, creating migrations, modifying content, etc.

Finish an environment

Once done with your changes, you will need to run the environment --finish command. This command will delete your Kontent environment, and run any new migrations you have created against the source environment (a.k.a the environment your environment was cloned from).

Release --create and --finish

For these, see the Release process

Troubleshooting

Netlify Forbidden error

Error: Netlify error

Solution:

Log out of Netlify using yarn netlify logout, and re-run your command. Also make sure the account you are logging in has access to the Netlify projects setup in the status.json file

FAQs

Package last updated on 05 Aug 2025

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.