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

@ycforge/pilot

v1.0.2

Published

Build/Deployment Orchestrator (Project C) for the serverless-tools ecosystem. Plugin contracts are exposed via the @ycforge/pilot/contracts subpath export.

Downloads

419

Readme

@ycforge/pilot

Build/Deployment Orchestrator (Project C) для экосистемы serverless-tools.

Плагин-контракты (Builder, Materializer, Artifact, Terraform model, ResourceReference, diagnostics, versioning) — часть публичного API этого пакета и экспортируются через subpath export:

import type { Builder, BuildContext, Artifact } from '@ycforge/pilot/contracts';

Отдельного SDK-пакета нет. Контракты не требуют знания внутренностей C (Constitution I) и не имеют runtime-зависимостей (FR-019).

Contract versioning

Действуют две независимые линии версионирования (уточнение 2026-09-03, IDEA.md §43):

  1. Plugin API (@ycforge/pilot/contracts): любой breaking change (Builder/Materializer API, Artifact, diagnostics) — это major-версия пакета + MIGRATION.md в корне пакета, без исключений. Текущая версия экспортируется как CONTRACT_VERSION и равна semver major пакета (проверяется тестом).
  2. Форматы .ycsf/*.yaml: обязательное поле version: 1 на верхнем уровне каждого файла. Breaking change формата поднимает только это поле и НЕ требует major-бампа plugin API.

Плагин объявляет peer-зависимость на диапазон major-версий @ycforge/pilot; несовместимость отклоняется C при загрузке плагина, до запуска builders.

Artifact store (spec 028)

ycsf build writes one store descriptor per app to .ycsf/artifacts/<appId>/artifact.json ({ "version": 1, "type": "<package-scope>:<kind>", "value": ... }, canonical JSON.stringify). Standalone ycsf materialize reads the store (or an explicit --artifacts <dir> root) instead of requiring an in-process build first; .ycsf/artifacts/ is git-ignored and is not part of the build fingerprint (spec 022).

App identities (spec 028)

Map-form app definitions whose builder key follows the artifact-type convention (ycforge:function, ycforge:docker-image, ycforge:frontend, ycforge:api-gateway) derive a resource identity from @ycforge/pilot/contracts (ARTIFACT_TYPE_DOMAIN_MAP → functions|containers|buckets|gateways). These identities are handed to Project B composers via BuildContext.appIdentities, so ${resources.<domain>.<app_id>.<property>} references resolve without entries in .ycsf/resources.yaml; an app colliding with an explicit resource is a validation error, never a silent merge.

Разработка

pnpm install
pnpm --filter @ycforge/pilot test     # unit + type tests (vitest typecheck)
pnpm --filter @ycforge/pilot build    # ESM + CJS + d.ts (tsup)
pnpm --filter @ycforge-example/contracts-plugin test  # gate SC-003