Files
hugocasa b86f8960fc fix(windmill-utils-internal): move config to subpath export (#9045)
The config module imports node:fs/promises (stat, mkdir), which breaks
non-Node bundlers like the Cloudflare Workers build of the hub. The
windmill SPA frontend got away with it via tree-shaking, but stricter
runtimes choke on the bare node: import even when unused.

Stop re-exporting ./config from the main entry and expose it via a
windmill-utils-internal/config subpath instead. CLI code already
deep-imports the source file, so it is unaffected. Bumps the package
to 1.4.0 and updates the frontend dependency to match.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-05 20:39:06 +02:00

15 lines
512 B
TypeScript

/**
* @fileoverview Main entry point for windmill-utils-internal package
*
* This module provides utilities for handling Windmill flows, scripts, and schemas:
* - Inline script extraction and replacement
* - Path utilities for different programming languages
* - Schema parsing and conversion utilities
* - Cross-platform path constants
*/
export * from "./inline-scripts";
export * from "./path-utils";
export * from "./parse";
export * from "./deploy";
export { SEP, DELIMITER } from "./constants";