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

quidproquo-cli

v0.1.34

Published

The qpq CLI — build, dev and deploy orchestration for QPQ apps

Readme

quidproquo-cli

The qpq command line tool: build, dev, and deploy orchestration for quidproquo apps.

An app scaffolded with create-qpq-app already depends on this and aliases the common commands in its npm scripts, so npm run dev and npm run deploy are the usual way in. Everything else you call as qpq directly.

npm install --save-dev quidproquo-cli
npx qpq

Running qpq with no command opens an interactive menu. Every command also takes --app and --deployment (an entry in apps/<app>/deploy.config.json).

Commands

Local development

| Command | Does | | --- | --- | | qpq go:dev | Runs the full local stack, api and web, in one process | | qpq go:dev:api | Just the api dev server, with hot reload | | qpq go:dev:web | Just the views microfrontend dev servers | | qpq migrate [app] | Runs pending migrations against the local dev store once, then exits |

Deploying

| Command | Does | | --- | --- | | qpq setup | Prepares a cloud environment for its first deploy: checks every step (credentials, IAM, hosted zones, bucket names, CDK bootstrap, then the account, domain and bootstrap stacks with the GitHub OIDC provider and deploy role they create), shows what is already in place, and runs the ones you tick in order. Services are deployed afterwards with qpq go or qpq go:docker. --check only reports, --yes runs everything, --only <ids> a subset | | qpq go [svc] [stack] | Deploys services. Interactive unless you pass the positional args | | qpq go:docker | The same, but deploys in parallel via docker. --build-only and --from-build split it across machines (see below) | | qpq synth [service] | Synthesises the configs to dist/apps/<app>/infrastructure without deploying | | qpq teardown | Destroys the web, api, and inf stacks for selected services | | qpq clear-resources | Empties selected buckets and tables. Data only, stacks are untouched |

For go, svc is all, a comma-separated list, or one of account, domain, bootstrap. stack is all, inf, api, web, or views. A full all all or all api deploy also publishes federated backends.

Splitting a docker deploy across machines

qpq go:docker can stop after its build half and resume from the result on another machine, so a CI deploy of a multi-service app can run one job per service and phase while keeping the orders a single go:docker all all enforces: every inf stack lands before any api stack, and each api deploy is followed by its federated publish.

| Command | Does | | --- | --- | | qpq go:docker <svc> <stack> --build-only | Builds the workspace, bundles the api, views and federated remote, synthesises the CDK assembly and writes a manifest. No docker needed. AWS credentials are, since cdk synth looks up hosted zones and VPCs | | qpq go:docker <svc> <stack> --from-build | Deploys the chosen stack from that saved build without rebuilding. After api it also publishes the federated remote. Needs docker and the same --deployment; the workspace does not need to be built |

The build prints the directories that make up each service's saved build: dist/qpq/go-docker/<app>/<svc> (the assembly and the manifest), plus dist/apps/<app>/services/<svc>/views and dist/apps/<app>/services/<svc>/service-remote-published when the service has them. Upload those as the job's artifact. A build made with all can deploy any stack. One made with a single stack can only deploy that stack, so a build for inf cannot deploy api and skip the publish.

The CI shape is a build matrix (<svc> all --build-only, one job per service, in parallel), then <svc> inf --from-build for every service, then api and web, then views, each job downloading its artifact first. The qpq:predeploy hook runs in the build half only. The saved build holds your bundled code and synthesised templates, never credentials; keep the artifact retention short all the same.

GO_DOCKER_BUILD_CONCURRENCY caps how many bundles and synths run at once and defaults to the machine's core count. GO_DOCKER_DEPLOY_CONCURRENCY caps the deploy containers and defaults to unlimited.

Federated remotes

| Command | Does | | --- | --- | | qpq publish | Build, upload, and deploy federated remotes | | qpq publish:build | Build them locally | | qpq publish:upload | Upload the built version directories. Nothing goes live | | qpq publish:deploy | Flip the manifests to the uploaded versions |

Splitting upload from deploy is what makes a rollback a manifest change rather than a redeploy.

Workspace

| Command | Does | | --- | --- | | qpq prep | Regenerates apps/<app>/tsconfig.federated.json | | qpq check:circular | Scans workspace sources for circular imports. --warn to report without failing | | qpq hooks <name> | Runs qpq:<name> in every app and package that defines it, dependency ordered and in parallel |

Platforms

The target platform comes from your app's deploy.config.json, so the same commands work whichever one an environment uses. AWS and docker are supported today.

Status

Pre-1.0. The whole quidproquo-* family releases in lockstep, so versions that share a number were built and tested together. Expect APIs to move between releases, and pin your versions.

Documentation

docs.quidproquojs.com

License

MIT. See LICENSE.