UNPKG

@storm-software/workspace-tools

Version:

Tools for managing a Storm workspace, including various Nx generators and executors for common development tasks.

123 lines (107 loc) 1.74 kB
import { ExecutorContext } from '@nx/devkit'; // Generated by @storm-software/untyped // Do not edit this file directly interface CargoPublishExecutorSchema { /** * Output Path * * The output path for the build * * @default "dist/{projectRoot}" * * @format path */ outputPath?: string, /** * Cargo.toml Path * * The path to the Cargo.toml file * * @default "{projectRoot}/Cargo.toml" * * @format path */ package?: string, /** * Toolchain * * The type of toolchain to use for the build * * @default "stable" * * @enum stable,beta,nightly */ toolchain?: string, /** * Target * * The target to build * */ target?: string, /** * All Targets * * Build all targets * */ allTargets?: boolean, /** * Profile * * The profile to build * */ profile?: string, /** * Release * * Build in release mode * */ release?: boolean, /** * Features * * The features to build * * * @oneOf [object Object],[object Object] */ features?: string, /** * All Features * * Build all features * */ allFeatures?: boolean, /** * Registry * * The registry to publish to * */ registry?: string, /** * Package Root * * The path to the package root * * * @format path */ packageRoot?: string, /** * Dry Run * * Perform a dry run * */ dryRun?: boolean, } declare function runExecutor(options: CargoPublishExecutorSchema, context: ExecutorContext): Promise<{ success: boolean; }>; declare const getRegistryVersion: (name: string, version: string, registry: string) => Promise<string>; export { type CargoPublishExecutorSchema as C, getRegistryVersion as g, runExecutor as r };