@roxyon/deploy-core
v0.2.0
Published
Shared deploy pipeline for Roxyon tooling — project detection, archiving, and the build/upload/poll orchestration used by @roxyon/cli and @roxyon/mcp.
Downloads
213
Readme
@roxyon/deploy-core
The shared deploy pipeline behind @roxyon/cli
and @roxyon/mcp: project-type
detection, deterministic archiving, and the build → upload → poll orchestration.
You normally use the CLI or the MCP server, not this directly.
npm i @roxyon/deploy-coreimport { Roxyon } from '@roxyon/api-client';
import { deployProject } from '@roxyon/deploy-core';
const outcome = await deployProject({
cwd: process.cwd(),
roxyon: new Roxyon({ sessionToken: process.env.ROXYON_TOKEN }),
reporter: { step: console.log, log: console.log },
});Exports
deployProject()— readsroxyon.json, builds if configured, packs (minus.roxyonignore/.gitignore), uploads, and for app runtimes polls until the deploy is live or failed. The console creates the application on the first deploy.detectRuntime()/buildProjectConfig()— forroxyon initpackDirectory()/buildIgnore()/listFiles()— the archiverloadProjectConfig()/saveProjectConfig()—roxyon.jsonloadCredentials()/saveCredentials()—~/.roxyon/config.json
MIT · part of roxyon-devtools
