yarn-spinner-loader/src/node.ts

25 lines
558 B
TypeScript
Raw Permalink Normal View History

2026-04-14 16:42:10 +08:00
/**
* Yarn Spinner Loader - Node.js API
*
* Functions that depend on Node.js modules (fs, path, fast-glob).
* Use this entry point when you need to load .yarnproject files from the filesystem.
*/
export {
loadYarnProject,
loadYarnProjectSync,
type LoadOptions,
type LoadResult,
type LoadedYarnFile,
LoadError,
ValidationError as LoaderValidationError,
} from './loader/index';
export {
validateYarnProject,
isYarnProject,
type SchemaValidationError,
} from './loader/validator';
export type { YarnProject } from './loader/types';