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

@archon-research/uikit-cli

v0.7.0

Published

CLI for managing local uikit package linking in consumer workspaces

Readme

@archon-research/uikit-cli

CLI tool for local package linking during active development with consumer repositories.

Setup (One-time)

1. Configure npm prefix for writable global packages

If using nix-managed Node.js, configure npm to use a writable location:

npm config set prefix ~/.npm-global

Add to your shell profile (e.g., ~/.zshrc):

export PATH="$HOME/.npm-global/bin:$PATH"

2. Link CLI in uikit monorepo

From the uikit repository root:

npm link --workspace packages/uikit-cli

This makes the CLI available globally via workspace linking.

3. Link CLI into consumer repository

From your consumer repository root:

npm link @archon-research/uikit-cli --workspace <workspace-name>

Example for a consuming project:

cd /path/to/your-project/ts
npm link @archon-research/uikit-cli --workspace ui

Usage

Run lint and format tools without downstream installs

From any consumer workspace:

./node_modules/.bin/uikit-cli lint -c ./.oxlintrc.ts src panda.config.ts vite.config.ts
./node_modules/.bin/uikit-cli format -c ./.oxfmtrc.ts --write "src/**/*.ts" "src/**/*.tsx" panda.config.ts vite.config.ts

The CLI runs uikit-cli-managed oxlint and oxfmt versions internally (resolved via its lockfile), so downstream workspaces do not need to declare those tool packages directly.

If your consumer workspace prefers to run tooling directly, it can install and invoke oxlint/oxfmt itself. In that setup, @archon-research/oxlint-config and @archon-research/oxfmt-config remain reusable config packages, while uikit-cli remains an optional workflow wrapper.

Link uikit packages into a consumer repository

From your consumer repository:

./node_modules/.bin/uikit-cli link

This command links all @archon-research/* packages from your local uikit monorepo into your consumer project, allowing you to develop packages and see changes immediately.

Verify links are working:

./node_modules/.bin/uikit-cli link --verify

Add this script to your consumer's package.json:

{
  "scripts": {
    "uikit:link": "./node_modules/.bin/uikit-cli link",
    "uikit:unlink": "./node_modules/.bin/uikit-cli unlink"
  }
}

Restore registry versions

When co-development is complete, restore published versions from npm:

./node_modules/.bin/uikit-cli unlink

How it works

The CLI manages local development links by:

  1. Auto-registering local @archon-research/* packages from your uikit checkout via npm link
  2. Linking only consumer workspaces that actually depend on those packages
  3. Cleaning up shadow installs and Vite caches to ensure symlinks work correctly
  4. Using --preserve-symlinks flag and bundling to avoid ES module resolution issues

The CLI automatically detects the consumer workspace root and all dependent packages, working from any directory within the workspace.

The CLI auto-discovers the local uikit monorepo for typical sibling-checkout layouts.

Requirements

  • Local clone of the uikit monorepo
  • Node.js 24+ and npm installed
  • Writable npm prefix configured (see Setup)

Troubleshooting

"EACCES: permission denied" when using npm link

You need to configure npm to use a writable prefix location. See Setup step 1 above.

"ENOENT: no such file or directory" errors

Use the workspace-based linking approach (Setup steps 2-3) instead of global npm link. The CLI bundle includes --preserve-symlinks to handle ES module resolution with symlinks.

Links not working after linking

Run with --verify flag to check link status:

./node_modules/.bin/uikit-cli link --verify

Development workflow

In a consumer workspace:

# One-time setup (see Setup section above)
npm link @archon-research/uikit-cli --workspace <workspace-name>

# Link uikit packages for local development
npm run uikit:link

# Verify links
npm run uikit:link -- --verify

# Later, restore registry versions
npm run uikit:unlink

Debug mode

Run with debug output:

UIKIT_DEBUG=1 ./node_modules/.bin/uikit-cli link --verify

Or use the --debug flag:

./node_modules/.bin/uikit-cli link --debug --verify