Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Tool to simplify building a Gatsby site. For more information see Motivation and Implementation below.
# using npm:
npm install gatsby carraway
# using yarn:
yarn add gatsby carraway
Create a gatsby.config.json
file in your repos root or add a gatsby
field to your package.json
, with the following structure:
{
"siteMetadata": {},
"plugins": []
}
This will act the basis for the Gatsby site Carraway builds.
To build your Gatsby site with Carraway, run:
carraway build
To run your Gatsby site in development mode with Carraway, run:
carraway develop
To clean up the artifacts created by Gatsby and Carraway, run:
carraway clean
While building my website, the website for my surname, the AtomLinter website, and AtomBuild website I became very interested with idea of separating the content of a website from the code that renders it to a webpage.
Gatsby does a lot of the work for us by letting us isolate how data and content is handled from the React code that renders it. The framework then takes this one step further by allowing you to isolate entire website themes, and slotting in content and data.
Carraway aims to take this functionality to the next step with the goal of creating Gatsby sites with repos that contain no code, just the site's data, content, and configuration.
Sites using Carraway will still be using Gatsby, and you will have to configure it as such. However instead of configuring Gatsby in a gatsby-config.js
at the repo's root, Carraway sites will be configured using JSON in a gatsby.config.json
file at the repo's root or under the gatsby
field in the repo's package.json
.
In The Great Gatsby the reader follows the tale of narrator Nick Carraway as he recalls his summer with the titular character Jay Gatsby. Through the course of the book Nick befriends Gatsby and helps him attain a lifelong muse.
Similar to this dynamic of classic American literature, our Carraway simply hopes to make things easier for us and Gatsby.
Much like the character its named after, this package is rather simple.
Carraway creates a gatsby-config.js
for Gatsby to interact with, and invokes Gatsby for you. This lets us declare our site's configuration somewhere else, while providing it to Gatsby when Gatsby needs it.
Copyright Kepler Sticka-Jones 2019. Licensed ISC.
FAQs
Tool to simplify creating a Gatsby site
The npm package carraway receives a total of 6 weekly downloads. As such, carraway popularity was classified as not popular.
We found that carraway demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.