Skip to content

mttschltz/life

Repository files navigation

Installation

  1. Install dependencies
yarn
  1. Run development server
develop:matt-fyi
  1. Or create production build
build:matt-fyi

Development Environment

Editor

Install VSCode with the following extensions:

Environment

Configure Docker to run as non-root user. Required for visual regression tests.

Development

Debugging

  • Pre-commit: npx lint-staged -d
  • Github Workflows: Install act and execute commands like
    • act -s SLACK_BOT_TOKEN=<token> -W "./.github/workflows/slack-tests.yml"

Decisions

Dependencies

TODOs and issues

Codebase quality

Developer experience

General

  • Intellisense for GraphQL. only works for one project at a time. Need to toggle between Life and matt.fyi. See graphql.config.yml.

matt-fyi

  • Generate types for GraphQL query inside createPages.ts.

  • Non-optional fields should not be typed as optional. gatsby-plugin-typegen applies Maybe utility type to all fields.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published