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

@mano8/astro-reparto-m8

v1.0.0

Published

Astro integration and headless client for reparto-docente-m8.

Readme

@mano8/astro-reparto-m8

CI/CD

Astro integration and headless client for reparto-docente-m8.

Classroom stages and bulk classrooms

The plugin exposes global classroom-stage schemas, API helpers, React Query hooks, and the /reparto/setup/classroom-stages starter route. Stage reads are available to authenticated users; mutation controls and the management route use the auth adapter's existing admin/superadmin capability while the backend remains authoritative.

Classroom forms submit classroom_stage_id, constrain grade to the selected stage, and generate {grade}° {stage.label} {group_code} until the label is manually changed. The bulk dialog previews an inclusive A-Z range and submits one atomic request to the process-scoped groups endpoint. Mutation feedback uses the canonical shadcn Sonner toast contract from astro-ui-m8.

The package follows the astro-prompt-m8 plugin structure: typed Zod schemas, API wrappers, auth adapter, optional starter routes, and explicit package exports. Official M8 usage requires @mano8/astro-auth-m8 because the backend accepts fa-auth-m8 tokens.

Install

npm i @mano8/astro-reparto-m8 @mano8/astro-auth-m8 zod

Quick start

import { defineConfig } from "astro/config";
import faAuth from "@mano8/astro-auth-m8";
import faReparto from "@mano8/astro-reparto-m8";

export default defineConfig({
  integrations: [
    faAuth({ apiBase: "/user" }),
    faReparto({ apiBase: "/reparto", mode: "starter" })
  ]
});

Registry skins

React UI should stay pure shadcn/Tailwind. Table and list screens should use the canonical @mano8/astro-ui-m8 data-table/state blocks, and dashboard charts should use shadcn chart patterns.

This package ships shadcn registry items under registry/r:

  • reparto-processes-table - editable process table skin using the canonical M8 data table.
  • reparto-state-panel - loading, empty, error, and unauthorized state adapter using the canonical M8 state blocks.
  • reparto-starter-views - starter copied skins for the dashboard, meeting, processes, teacher, shared, versions, and exports islands.

Consumers need shadcn configured with the usual @/components/ui/* and @/lib/utils aliases, and should install the registry items from the package:

npx shadcn add ./node_modules/@mano8/astro-reparto-m8/registry/r/reparto-starter-views.json

Regenerate registry output with:

npm run build:registry