@owngames/lint-staged

Lint Staged Configuration


License
MIT
Install
npm install @owngames/lint-staged@0.0.1--canary.c4d9dc1.0

Documentation

@owngames/packages

Monorepo (via πŸ“¦ pnpm and πŸ”Ί turbo) for tools I use frequently in various projects, people, and companies I work with.

πŸ“¦οΈ Packages

πŸ”§ Configuration

Originally was all-in-one as @owngames/codestyle, these have been broken out for separate maintainability and ala-carte implementation.

Spoiler: They are opinionated, but can be overriden, extended, or ignored. πŸ™ˆ

πŸ–ΌοΈ Design System

Built with radix-ui and stitches. A tree-shakeable design system that you can use as much of, or as little of, as you would like.

⚑ Release Management Tools

  • @owngames/conventional-gitmoji
    • Map gitmoji to conventional-commits
      • feat => ✨️
      • fix => πŸ›οΈ
      • ci => πŸ‘·οΈ
      • fix-ci => πŸ’šοΈ
      • .... => πŸ€”
    • Allows you to keep semver consistent by expanding both
    • You most likely do not need to use this, unless you are using this for your separate tooling. This is more of a configuration stop-gap for ...
  • @owngames/git-cz
    • cli prompt for (expanded) conventional commits and conventional branches as no one needs to remember all the different types
      • πŸ“ Formats your commit message for you
      • πŸ–²οΈ Integrate with your Issue Tracking System
      • πŸ”’ Customize which commit types get which semver
  • @owngames/semantic
    • Automatic Semantic Versioning through semantic-release with support for gitmoji.
  • @owngames/release-notes-generator
    • You guessed it, a custom release-notes-generator.
    • πŸ“ See the latest output at the releases page.

🎲 Misc

πŸ”œ Coming Soon(ish)

  • next-notion
    • Next.js implementation for @owngames/notion

🎁 Bonus

πŸ‘·οΈ CI/CD Overview

  • πŸ“¦ pnpm workspaces
  • :octocat: GitHub Actions for CI/CD
    • Plus release management through npm
  • πŸ”ΊοΈ turbo for monorepo management
    • cache: local / remote & team development
    • cache: github actions
  • πŸ‘·οΈ tsup for typescript builds (w/ some config)
  • πŸ€–οΈ Renovate for Patch + Minor Package Management
  • πŸ€–οΈ Kodiak to β€œAutomate (our) GitHub Pull Requests’
  • πŸ€–οΈ Automatic Semantic Versioning w/ Conventional Commits
    • 😜️ Commits & Versioning (Release Notes) made more fun by a few of the packages in this repo

:octocat: CI/CD Workflows

  • βš—οΈ **pull**:
    • Branch(es):
      • main|canary|develop
    • Script(s):
      • lint|test|build
  • πŸ”€οΈ **push**:
    • Branch(es):
      • main|canary|develop
      • (ci|feature|fix|refactor|release)/**
    • Script(s):
      • lint|test|build|semantic-release
    • Note(s):
      • [b] necessary for semantic-release
        • Pre-relase branches (aka !main):
          • Handled in root release.config
          • Can be overriden in any package
      • [b] necessary for build when not on main
  • πŸŒƒοΈ **weekly**:
    • Branch(es):
      • main
    • Script(s):
      • lint|test|build|semantic-release
    • Note(s):
      • [b] not necessary for semantic-release