@storm-software/workspace-tools
Version:
Tools for managing a Storm workspace, including various Nx generators and executors for common development tasks.
131 lines (114 loc) • 2.15 kB
TypeScript
import { c as BaseGeneratorResult } from './types-JAmmWnp1.js';
import * as _nx_devkit from '@nx/devkit';
import { Tree } from '@nx/devkit';
import { S as StormWorkspaceConfig } from './types-B0erLKyc.js';
// Generated by @storm-software/untyped
// Do not edit this file directly
interface BrowserLibraryGeneratorSchema {
/**
* Directory
*
* The directory to create the library in
*
*/
directory: string,
/**
* Name
*
* The name of the library
*
*/
name: string,
/**
* Description
*
* The description of the library
*
*/
description?: string,
/**
* Build Executor
*
* The executor to use for building the library
*
* @default "@storm-software/workspace-tools:unbuild"
*/
buildExecutor?: string,
/**
* Platform
*
* The platform to target with the library
*
* @default "browser"
*
* @enum browser,neutral
*/
platform?: string,
/**
* Import Path
*
* The import path for the library
*
*/
importPath?: string,
/**
* Tags
*
* The tags for the library
*
*/
tags?: string,
/**
* Unit Test Runner
*
* The unit test runner to use
*
*
* @enum jest,vitest,none
*/
unitTestRunner?: string,
/**
* Test Environment
*
* The test environment to use
*
*
* @enum jsdom,node
*/
testEnvironment?: string,
/**
* Pascal Case Files
*
* Use PascalCase for file names
*
* @default false
*/
pascalCaseFiles?: boolean,
/**
* Strict
*
* Enable strict mode
*
* @default true
*/
strict?: boolean,
/**
* Publishable
*
* Make the library publishable
*
* @default false
*/
publishable?: boolean,
/**
* Buildable
*
* Make the library buildable
*
* @default true
*/
buildable?: boolean,
}
declare function browserLibraryGeneratorFn(tree: Tree, schema: BrowserLibraryGeneratorSchema, config?: StormWorkspaceConfig): Promise<null>;
declare const _default: (tree: Tree, _options: BrowserLibraryGeneratorSchema) => Promise<_nx_devkit.GeneratorCallback | BaseGeneratorResult>;
export { type BrowserLibraryGeneratorSchema as B, _default as _, browserLibraryGeneratorFn as b };