2026-04-14 16:42:10 +08:00
|
|
|
/**
|
|
|
|
|
* Yarn Spinner Loader - Core API
|
|
|
|
|
*
|
|
|
|
|
* Pure functions and types for working with Yarn Spinner.
|
|
|
|
|
* This module does NOT depend on Node.js modules.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
// Re-export yarn-spinner parser
|
|
|
|
|
export { parseYarn } from './yarn-spinner/parse/parser';
|
|
|
|
|
export { compile } from './yarn-spinner/compile/compiler';
|
|
|
|
|
export { YarnRunner } from './yarn-spinner/runtime/runner';
|
|
|
|
|
|
|
|
|
|
// Re-export types
|
|
|
|
|
export type {
|
|
|
|
|
LoadOptions,
|
|
|
|
|
LoadResult,
|
2026-04-14 23:54:04 +08:00
|
|
|
IRProgram,
|
2026-04-14 16:42:10 +08:00
|
|
|
YarnProject,
|
|
|
|
|
SchemaValidationError,
|
|
|
|
|
RunnerOptions,
|
|
|
|
|
TextResult,
|
|
|
|
|
OptionsResult,
|
|
|
|
|
CommandResult,
|
|
|
|
|
RuntimeResult,
|
|
|
|
|
} from './types';
|