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

@hewnventures/levrops-tenant-kit

v1.0.0

Published

Tenant-safe Cursor slash commands for consuming LevrOps capabilities

Downloads

35

Readme

@hewnventures/levrops-tenant-kit

Tenant-safe Cursor slash commands for consuming LevrOps capabilities.

Purpose

This package distributes tenant-safe Cursor slash commands that enable tenant developers to consume LevrOps capabilities without needing access to the private LevrOps repository.

Installation

npx @hewnventures/levrops-tenant-kit init

This installs:

  • Cursor slash commands to .cursor/commands/
  • Command runner script to scripts/levrops_cmd.mjs

Configuration

Create a .env file in your repo root:

LEVROPS_BASE_URL=https://api.levrops.com
LEVROPS_TENANT=your-tenant-slug
LEVROPS_PROPERTY=your-property-slug
LEVROPS_API_KEY=your-api-key-here

⚠️ Do NOT commit .env to version control!

Usage

After installation, use these Cursor slash commands:

/capability_list

List all available LevrOps capabilities.

/capability_enable <slug>

Enable a capability for the current property.

/capability_enable editorial

/capability_scaffold <slug>

Scaffold thin UI adapters for a capability.

/capability_scaffold editorial

/capability_verify

Verify tenant/property wiring is correct.

/capability_build <slug> ["mini-prompt"]

Feature concierge that automatically:

  • Enables existing capabilities
  • Creates local-only features
  • Proposes upstream capabilities

Example Workflow

# 1. Install commands
npx @hewnventures/levrops-tenant-kit init

# 2. Configure .env file (see above)

# 3. In Cursor, verify setup
/capability_verify

# 4. List available capabilities
/capability_list

# 5. Enable a capability
/capability_enable editorial

# 6. Scaffold UI adapters
/capability_scaffold editorial

Safety Guarantees

This package:

  • ✅ Never modifies LevrOps backend schemas
  • ✅ Never creates LevrOps migrations
  • ✅ Never runs platform guardrails
  • ✅ Only calls LevrOps APIs
  • ✅ Only scaffolds UI adapters

What This Package Does NOT Do

  • ❌ Does NOT expose platform-level commands
  • ❌ Does NOT modify deploy scripts
  • ❌ Does NOT assume internal DB schemas
  • ❌ Does NOT import or reference levrops.v2 code

Documentation

See assets/docs/tenant-dev.md for complete documentation.

License

MIT

Release Process

This package uses Changesets for version management and automated publishing.

Making Changes

  1. Make your changes to the package
  2. Run npx changeset in the package root
  3. Select the type of change:
    • patch: Bug fixes, minor updates
    • minor: New features (backward compatible)
    • major: Breaking changes
  4. Describe your changes
  5. Commit the changeset file along with your changes

Release Flow

  1. Developer creates changeset: After making changes, run npx changeset and commit the changeset file
  2. CI creates version PR: When changesets are present, CI automatically creates a PR titled "chore(release): version packages"
  3. Review and merge: Review the version PR, then merge it
  4. Automatic publish: Merging the version PR triggers automatic publishing to npm

Example

# 1. Make changes
# ... edit files ...

# 2. Create changeset
npx changeset
# Select: patch, minor, or major
# Describe changes

# 3. Commit
git add .
git commit -m "feat: add new capability command"

# 4. Push and wait for CI
git push origin feature-branch
# CI will create version PR automatically

# 5. Merge version PR to trigger publish

Safety Guarantees

  • ✅ No surprise releases: Requires explicit changeset
  • ✅ No manual npm publish: Fully automated via CI
  • ✅ Idempotent: Safe to rerun workflows
  • ✅ Auditable: All releases tracked via changesets and PRs

Required Secrets

The publish workflow requires:

  • NPM_TOKEN: npm Automation token with publish permissions
    • Create at: https://www.npmjs.com/settings/[org]/tokens
    • Type: Automation token
    • Add to GitHub repository secrets

Troubleshooting

Version PR not created?

  • Ensure changeset files exist in .changeset/ directory
  • Check that changesets were committed to the branch

Publish not triggered?

  • Verify version changed (check workflow logs)
  • Ensure NPM_TOKEN secret is configured
  • Check npm registry permissions

Publish fails?

  • Verify package.json includes publishConfig.access: "public"
  • Check npm token has publish permissions
  • Review workflow logs for specific errors

Support

For issues or questions, contact the LevrOps team.