Expose the project configuration file loader
Expose findProjectConfigFile and readProjectConfigFile through @stayingupwind/adapter/project-config so build tools can read the selected configuration without applying adapter-specific validation. The existing reader delegates to the same implementation, preserving file precedence, JSONC handling and executable TypeScript exports.
Validation: all 37 project-configuration tests pass; the adapter package builds with the new published subpath.
Summary by cubic
Exposes findProjectConfigFile and readProjectConfigFile through the new @stayingupwind/adapter/project-config subpath so build tools can read the selected config without adapter-specific validation. The adapter's existing reader now delegates to them, preserving file precedence, JSONC handling, and executable TypeScript exports. The build now emits the subpath as its own entry, and the packager's explicit BOM handling is kept portable. All 37 project-configuration tests pass, and the adapter package builds with the published subpath.
Summary by CodeRabbit
- New Features
- Added APIs for locating and reading project configuration files, including caller-specified filenames. Configuration values are returned for caller validation; when no file is found, the result contains an empty value.
- TypeScript configuration files are not executed during discovery, but are evaluated when read.
- Documentation
- Added guidance on configuration file selection, returned values, and safely evaluating TypeScript configuration.