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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@z1lms/create-edutech

v1.0.5

Published

CLI tool to create and manage Edutech monorepo workspaces

Readme

Edutech Platform Workspace

This is a monorepo workspace for managing multiple edutech portals.

🚀 Quick Start

Prerequisites

  • Node.js 18+
  • pnpm 8+
  • Git

Installation

# Install dependencies
pnpm install

# Add your first portal
pnpm run portal:add academic

# Start development
pnpm run dev

📁 Project Structure

workspace/
├── portals/          # Individual portal applications
│   ├── academic/     # Academic portal
│   ├── cbt/         # Computer-based test portal
│   └── ...          # Other portals
├── shared/           # Shared components and utilities
├── scripts/          # CLI tools for portal management
├── .edutechrc        # Workspace configuration
├── turbo.json        # Build pipeline configuration
└── package.json      # Workspace dependencies

🔧 Portal Management

Add a Portal

# Add a portal with default theme
pnpm run portal:add <portal-name>

# Add with specific theme
pnpm run portal:add <portal-name> --theme <theme-name>

Update a Portal

# Update to latest version
pnpm run portal:update <portal-name>

# Force update (overwrites local changes)
pnpm run portal:update <portal-name> --force

Remove a Portal

# Remove with confirmation
pnpm run portal:remove <portal-name>

# Remove without backup
pnpm run portal:remove <portal-name> --no-backup

List Portals

# List all portals
pnpm run portal:list

# List installed portals only
pnpm run portal:list --installed

# List available portals
pnpm run portal:list --available

# Show portal details
pnpm run portal:list --details <portal-name>

🛠️ Development

Start Development Servers

# Start all portals
pnpm run dev

# Start specific portal
cd portals/<portal-name>
npm run dev

Build for Production

# Build all portals
pnpm run build

# Build specific portal
pnpm run build:portal ./portals/<portal-name>

Lint

pnpm run lint

📦 Portals

Portals are individual Next.js applications that:

  • Use output: 'export' for static builds
  • Share components from /shared
  • Can have their own themes and configurations
  • Are independently deployable

🔌 Shared Components

The /shared directory contains reusable components, hooks, and utilities:

// Import shared components
import { Button, Card } from "@shared/components/ui";
import { useAuth } from "@shared/hooks/useAuth";
import { cn } from "@shared/lib/utils";

⚙️ Configuration

.edutechrc

{
  "institution": "your-institution",
  "registryUrl": "https://raw.githubusercontent.com/z1lms/edutech-portal-registry/main/registry.json",
  "createdAt": "2024-01-15T10:00:00.000Z"
}

Environment Variables

  • Add .env.local files in individual portals for local development
  • Shared variables can be added to root .env file

🚀 Deployment

Manual Deployment

  1. Build portals: pnpm run build
  2. Deploy static files from portals/*/out/ to your web server

CI/CD Deployment

GitHub Actions workflow automatically:

  • Builds changed portals
  • Deploys to configured server
  • Updates deployment information

🔄 Updating

Update All Portals

# Update all installed portals
for portal in portals/*/; do
  portal_name=$(basename "$portal")
  pnpm run portal:update $portal_name
done

Update Registry Cache

# Refresh available portals list
pnpm run portal:list --refresh

🆘 Troubleshooting

Portal Not Found

# Refresh registry
pnpm run portal:list --refresh

# Check available portals
pnpm run portal:list --available

Build Errors

# Clean and rebuild
rm -rf node_modules .turbo
pnpm install
pnpm run build

Dependency Issues

# Update all dependencies
pnpm update --latest

📚 Additional Resources