Coder Social home page Coder Social logo

subgraph-monorepo's Introduction

Subgraph monorepo

Monorepo for all Tapioca subgraphs.

Setup

Prerequisites

  • node version 18+ (only even major version numbers are supported)
  • pnpm version v8.3.0+
  • goldsky latest version

Install dependencies

pnpm install

Git rules

Note: this section will be updated in the future.

  • Branch off of dev
  • Create PR to dev
  • dev -> main

Git messages

Please using following pattern as commit messages.

<emoji> <type>: <short summary>
   │       │           │
   │       │           └─⫸ Summary in present tense. Not capitalized. No period at the end.
   │       │
   │       │
   │       └─⫸ Commit Type: feat|wip|fix|docs|refactor|test|chore
   │
   │
   └─⫸ Commit Type Emoji: ⭐|✏️|🔧|📕|♻️|🧪|🎨|💾

Type and Emoji

  • ⭐ feat: add a new feature
  • ✏️ wip: feature in progress
  • 🔧 fix: fix a bug
  • 📕 docs: documentation or README changes
  • ♻️ refactor: refactor code without changing public API
  • 🧪 test: implement ot change tests
  • 🎨 style: changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)",
  • 💾 chore: update codebase without directly impacting written code (ex: bump a dependency, CI/CD change, lint, etc.).

Short summary

Use the short summary field to provide a succinct description of the change:

  • use the imperative, present tense: "change" not "changed" nor "changes"
  • don't capitalize the first letter
  • no dot (.) at the end

Inspired by angular's CONTRIB.md.

Recommended VS code settings.json file

To allow for best formatting and linting experience, you may use following settings.json file. Place it in .vscode folder in the root of each app or package.

{
  "editor.codeActionsOnSave": {
    "source.organizeImports": "explicit",
  },
  "editor.formatOnPaste": true,
  "editor.formatOnType": true,
  "editor.formatOnSave": true,
  "editor.formatOnSaveMode": "file",
  "[typescript]": {
      "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[javascript]": {
      "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[typescriptreact]": {
      "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "git.openRepositoryInParentFolders": "always",
}

subgraph-monorepo's People

Contributors

0xshippor avatar

Stargazers

Capy avatar

Watchers

Capy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.