npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@wormhole-labs/dev-config

v1.2.0

Published

Shared development configuration and tooling for Wormhole Labs projects

Readme

@wormhole-labs/dev-config

Shared development configuration and tooling for Wormhole Labs projects. This repository serves as a centralized source for linting, formatting, commit conventions, and release automation configurations.

Overview

This package provides:

  • Conventional Commits - Standardized commit message format with validation
  • CommitLint - Enforce commit message conventions
  • Prettier - Code formatting configuration
  • ESLint - Linting configuration for TypeScript/JavaScript
  • Release Please - Automated versioning and changelog generation
  • Husky - Git hooks for pre-commit and commit-msg validation
  • GitHub Actions - CI/CD workflows for automation

Installation

Install the package in your project:

npm install --save-dev @wormhole-labs/dev-config

Or with pnpm:

pnpm add -D @wormhole-labs/dev-config

Quick Setup

1. Conventional Commits & CommitLint

Create .commitlintrc.js in your project root:

export default {
  extends: ['@wormhole-labs/dev-config/commitlint'],
};

Note: This package uses ES modules for commitlint configuration to ensure compatibility with modern tooling and GitHub Actions.

2. Prettier Configuration

Create .prettierrc.js:

export default {
  ...require('@wormhole-labs/dev-config/prettier'),
};

3. ESLint Configuration

Create eslint.config.js:

import wormholeConfig from '@wormhole-labs/dev-config/eslint';

export default [
  ...wormholeConfig,
  // Your custom rules here
];

4. Husky Git Hooks

Set up git hooks by running:

npx husky init
npx husky add .husky/commit-msg 'npx --no -- commitlint --edit $1'
npx husky add .husky/pre-commit 'npm run lint && npm run format:check'

Commit Message Format

We follow the Conventional Commits specification:

type(scope): description

[optional body]

[optional footer(s)]

Types

  • feat: New feature
  • fix: Bug fix
  • docs: Documentation changes
  • style: Code style changes (formatting, missing semicolons, etc)
  • refactor: Code changes that neither fix bugs nor add features
  • perf: Performance improvements
  • test: Adding or updating tests
  • build: Changes to build system or dependencies
  • ci: CI/CD configuration changes
  • chore: Other changes that don't modify src or test files
  • revert: Reverts a previous commit

Examples

# Feature
git commit -m "feat(connect): add Solana wallet support"

# Bug fix
git commit -m "fix(portal): resolve navigation timeout issue"

# Breaking change
git commit -m "feat(api)!: change response format

BREAKING CHANGE: API responses now use camelCase instead of snake_case"

# Multiple scopes
git commit -m "fix(connect,portal): synchronize wallet state"

Release Automation

This package includes Release Please configuration for automated versioning and changelog generation.

Setting Up Release Please

  1. Copy the workflow from this repo's .github/workflows/release.yml
  2. Configure your repository secrets:
    • RELEASE_TOKEN: GitHub token with write permissions
    • NPM_TOKEN: NPM automation token (for publishing)

How It Works

  1. PRs with conventional commits trigger Release Please
  2. Release Please creates/updates a PR with version bumps and changelog
  3. Merging the release PR triggers:
    • GitHub release creation
    • NPM package publishing (if configured)
    • Changelog updates

Security

Protected Workflows

All release workflows include multiple security layers:

  1. CODEOWNERS - Workflow changes require maintainer approval
  2. Protected Environments - Production deployments need manual approval
  3. Team Validation - Only team members can trigger releases
  4. Audit Logging - All actions are logged for review

Setting Up Security

  1. Create a CODEOWNERS file:
# CODEOWNERS
.github/workflows/* @wormholelabs-xyz/release-engineers
package.json @wormholelabs-xyz/maintainers
  1. Configure branch protection:

    • Require pull request reviews
    • Require status checks to pass
    • Include administrators
    • Restrict who can push
  2. Set up protected environments in GitHub:

    • Go to Settings → Environments
    • Create "production" environment
    • Add required reviewers
    • Set deployment timeout

Development

Prerequisites

  • Node.js >= 18
  • npm >= 9 or pnpm >= 8

Local Development

# Install dependencies
pnpm install

# Lint code
pnpm lint

# Format code
pnpm format

# Validate everything
pnpm validate

Testing Configurations

To test configurations in other projects:

# Link this package locally
cd /path/to/dev-config
npm link

# Use in another project
cd /path/to/your-project
npm link @wormhole-labs/dev-config

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes using conventional commits
  4. Ensure all tests pass
  5. Submit a pull request

License

MIT © Wormhole Labs