Edenlans SDK
SDK For Edenlans Smart Contracts
Features
tsup
A quick, easy-to-use, and zero config bundler powered by esbuild. This allows for dual publishing esm and cjs . It also produces only one type definition file for each entrypoint.
vitest
A testing framework. Uses Vite for building your code, so look through the Vite docs if you need to add plugins.
dprint
A pluggable and configurable code formatting platform written in Rust. Faster alternative to Prettier.
ESLint and TypeScript ESLint
Linter that helps you find problems in your code.
npm-run-all
Run dprint, TypeScript, and ESLint checks in parallel.
Github Actions
Run all your checks on each commit.
pre-commit hook
Uses husky to register a pre-commit hook and nano-staged (lint-staged alternative) to run commands only on changed files.
Ensure all files are formatted before they are committed and run linters on changed files.
Renovate
Automatically opens PRs to update dependencies. Automerges patch and minor updates, but not major updates or any typescript
updates. Also pins all devDependencies
) to use exact versions (no ^
before version signifying that the latest patch version can be matched, only the version specified can be used).