Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
@moltin/gatsby-theme-moltin
Advanced tools
Gatsby theme for building Moltin powered eCommerce websites
🛍 Gatsby theme for building Moltin powered eCommerce websites.
yarn add @moltin/gatsby-theme-moltin
// In your gatsby-config.js
plugins: [
{
resolve: `@moltin/gatsby-theme-moltin`,
options: {
clientId: '...',
// See additional options below
},
},
]
Option | Default | Required | Description |
---|---|---|---|
clientId | null | Yes | Your Moltin Client ID |
basePath | / | No | Useful if you wish to mount your store at /store |
productsPath | products | No | Change the path to products |
collectionsPath | collections | No | Change the path to collections |
categoriesPath | categories | No | Change the path to categories |
brandsPath | brands | No | Change the path to brands |
You can use Gatsby component shadowing to change the behaviour/appearance of components.
If you wanted to change the default /categories
page, you could create the following file inside your Gatsby project.
// src/@moltin/gatsby-theme-moltin/components/CategorySection
import React from 'react'
import { Link } from 'gatsby'
import { ProductGrid } from '@moltin/gatsby-theme-moltin'
const CatalogSection = ({ id, path, name, description, products }) => {
return (
<section key={id}>
<h2>
<Link to={path}>{name}</Link>
</h2>
<p>{description}</p>
<ProductGrid products={products} />
</section>
)
}
export default CatalogSection
FAQs
Gatsby theme for building Moltin powered eCommerce websites
The npm package @moltin/gatsby-theme-moltin receives a total of 8 weekly downloads. As such, @moltin/gatsby-theme-moltin popularity was classified as not popular.
We found that @moltin/gatsby-theme-moltin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.