yarn-spinner-loader/src/core.ts

26 lines
586 B
TypeScript
Raw Normal View History

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,
LoadedYarnFile,
YarnProject,
SchemaValidationError,
RunnerOptions,
TextResult,
OptionsResult,
CommandResult,
RuntimeResult,
} from './types';