npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

gatsby-theme-prismic-starter

v0.1.0

Published

A Gatsby Starter Theme With Prismic CMS

Downloads

6

Readme

🌈 gatsby-theme-prismic-starter

⚠️ Gatsby Themes are currently experimental ⚠️

A Gatsby Starter Theme with Headless CMS Prismic. Based on gatsby-starter-default.

License: MIT npm version

🚀 Instructions

Quick Start

  1. Create a directory for your new website

  2. Initialize your package.json with yarn init

  3. Install gatsby, react, react-dom and the theme yarn add gatsby react react-dom gatsby-theme-prismic-starter

  4. Add a gatsby-config.js file to activate and controll the theme:

    module.exports = {
    __experimentalThemes: [
     {
       resolve: "gatsby-theme-prismic-starter",
       options: {
         // SITE METADATA
         siteUrl: "http://localhost:8000/", // Important for gatsby-plugin-sitemap
         title: "gatsby-theme-prismic-starter",
         author: "Dennis Kossowski",
         description: "A GatsbyJS Theme With Headless CMS Prismic.",
    
         // MANIFEST OPTIONS
         name: "Gatsby Theme Prismic Starter",
         short_name: "Prismic Theme",
         start_url: "/",
         background_color: "#663399",
         theme_color: "#663399",
         display: "minimal-ui",
         // icon: `src/images/gatsby-icon.png`,
    
         // PRISMIC OPTIONS
         repositoryName: "your-prismic-repository-name",
         // It's highly recommended to define your Prismic API access token trough a .env file
         // Just create a .env in your root directory with following content: "API_KEY="your-key-here"
         // If you want to define the access token in this options you can do it (at your own risk):
         //accessToken: "your-access-token",
    
         // TYPOGRAPHY OPTIONS
         // To configure your own typography just add a "config" directory with typography.js
         // pathToConfigModule: "config/typography.js"
       }
     }
     ]};
  5. run gatsby develop and build your site!

After you started the develop server, open localhost:8000/ for further information how this theme works!

🤔 What's inside

Dependencies:

  • @emotion/core
  • @emotion/styled
  • emotion-theming
  • gatsby-plugin-emotion
  • @mdx-js/mdx
  • @mdx-js/react
  • @mdx-js/tag
  • dotenv
  • gatsby-image
  • gatsby-plugin-compile-es6-packages
  • gatsby-plugin-manifest
  • gatsby-plugin-page-creator
  • gatsby-plugin-react-helmet
  • gatsby-plugin-sharp
  • gatsby-plugin-sitemap
  • gatsby-plugin-typography
  • gatsby-source-filesystem
  • gatsby-source-prismic
  • gatsby-transformer-sharp
  • mkdirp
  • prop-types
  • react-helmet
  • react-typography
  • typography

emotion for styling typography for easy font-theming gatsby-plugin-sitemap for sitemap support mdx-plugin for JSX in Markdown gatsby-source-prismic for pulling data into Gatsby from prismic.io repositories

Components:

  • seo.js

Include the SEO component import { SEO } from 'gatsby-theme-prismic-starter'


🔄 Changelog

All notable changes to this project will be documented in this file.

[0.1.0] – 2019-05-03

⚠️ Removed

Dependencies:

  • @fortawesome/fontawesome-svg-core
  • @fortawesome/free-solid-svg-icons
  • @fortawesome/react-fontawesome
  • gatsby-plugin-netlify
  • react-grid-system

Removed this packages to make the theme more flexible if you want to use other similar dependencies.

If you have used this packages just reinstall them in your project.

[0.0.8] – 2019-05-01

Added

  • NEW: mdx support ✨ Just add a .mdx file in your pages folder