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

@goedelsoup/nx-weaver

v0.1.0

Published

Nx plugin for OpenTelemetry Weaver integration

Readme

Nx Weaver Plugin

An Nx plugin for integrating OpenTelemetry Weaver into your Nx workspace. This plugin provides executors and generators to validate, generate, and manage Weaver configurations and generated code.

Features

  • Validate Executor: Validate Weaver configuration files and schemas
  • Generate Executor: Generate code from Weaver configurations
  • Docs Executor: Generate documentation from Weaver configurations
  • Clean Executor: Clean generated Weaver assets
  • Init Generator: Initialize Weaver configuration in your workspace
  • Setup Project Generator: Set up Weaver for specific projects

Documentation

For comprehensive documentation, see the Documentation Guide.

Installation

pnpm add @goedelsoup/nx-weaver

Usage

Initializing Weaver in Your Workspace

nx generate @goedelsoup/nx-weaver:init

This will create a default weaver.yaml configuration file in your workspace root.

Setting Up Weaver for a Specific Project

nx generate @goedelsoup/nx-weaver:setup-project my-project

This will create a project-specific Weaver configuration and documentation.

Running Executors

Validate Configuration

nx run my-project:validate

Options:

  • --config: Path to the Weaver configuration file (default: weaver.yaml)
  • --schema: Path to the schema file to validate against
  • --verbose: Enable verbose output
  • --dryRun: Perform a dry run without making changes

Generate Code

nx run my-project:generate

Options:

  • --config: Path to the Weaver configuration file (default: weaver.yaml)
  • --output: Output directory for generated files
  • --template: Template to use for code generation
  • --verbose: Enable verbose output
  • --dryRun: Perform a dry run without making changes

Generate Documentation

nx run my-project:docs

Options:

  • --config: Path to the Weaver configuration file (default: weaver.yaml)
  • --output: Output directory for documentation files
  • --format: Output format (markdown, html, or json)
  • --verbose: Enable verbose output
  • --dryRun: Perform a dry run without making changes

Clean Generated Files

nx run my-project:clean

Options:

  • --patterns: File patterns to clean
  • --output: Output directory to clean
  • --verbose: Enable verbose output
  • --dryRun: Perform a dry run without making changes

Configuration

Weaver Configuration File (weaver.yaml)

version: "1.0"
name: "my-weaver-workspace"

# Component definitions
components:
  my-service:
    name: "my-service"
    type: "service"
    language: "typescript"
    path: "./src"

# Pipeline definitions
pipelines:
  my-pipeline:
    name: "my-pipeline"
    components: ["my-service"]

# Output configuration
output:
  directory: "./generated"
  format: "typescript"

Project Configuration

Add Weaver targets to your project.json:

{
  "targets": {
    "validate": {
      "executor": "@goedelsoup/nx-weaver:validate",
      "options": {
        "config": "weaver.yaml"
      }
    },
    "generate": {
      "executor": "@goedelsoup/nx-weaver:generate",
      "options": {
        "config": "weaver.yaml",
        "output": "generated"
      }
    },
    "docs": {
      "executor": "@goedelsoup/nx-weaver:docs",
      "options": {
        "config": "weaver.yaml",
        "output": "docs",
        "format": "markdown"
      }
    },
    "clean": {
      "executor": "@goedelsoup/nx-weaver:clean",
      "options": {
        "patterns": ["generated/**/*"]
      }
    }
  }
}