Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More

@0xsquid/squid-types

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@0xsquid/squid-types

JS and TS types relating to 0xsquid related projects.


Version published
Weekly downloads
4.1K
decreased by-1.9%
Maintainers
3
Weekly downloads
 
Created

Squid Types

Squid types used on the data feed, pathfinder api and sdk.

LINTER & PRETTIER

This project has Prettier and ESLint linter rules installed. With Husky we ensure pre-commit and pre-push validation.

yarn lint
yarn lint:fix
yarn format

VSCODE SETUP

Create a file .vscode/settings.json for auto-saving linter and prettier formatting.

Add the following:

{
  "editor.formatOnSave": true,
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true
  },
  "[json]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  }
}

RELEASE

NPM package publishing is automated with github actions. Follow these steps:

1. Create a PR to the develop branch
  • Update version inside package.json
  • Review, approve and merge.
2. Create a PR from develop to main
  • Review, approve and merge

As the PR from (2.) is merged, the commit to main will automatically trigger a release to NPM, please make sure you correctly update the version.

FAQs

Package last updated on 22 Dec 2023

Did you know?

Socket

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.

Install

Related posts