src/package-exports
Interfaces
| Interface | Description |
|---|---|
| ExportModulePathLayout | - |
Functions
| Function | Description |
|---|---|
| exportGlobForTopLevelSegment | - |
| prepareNewPackageExports | - |
| resolveExportModulePathLayout | Validates an export module path from parsePath and returns how to upsert package.json exports (glob on the first folder segment, or an explicit ./stem entry for allowlisted root files). |
| stripTemplateExportPlaceholders | Remove template placeholder export keys/values (e.g. ./__group-name__/*). |
| upsertExplicitExport | - |
| upsertExportGlob | - |
| upsertPackageExportForModule | - |
| upsertPackageJsonExportsForModule | - |
References
importGlobForTopLevelSegment
Re-exports importGlobForTopLevelSegment
importsFromExports
Re-exports importsFromExports
ROOT_IMPORT_CATCHALL
Re-exports ROOT_IMPORT_CATCHALL
stripTemplateImportPlaceholders
Re-exports stripTemplateImportPlaceholders
upsertImportGlob
Re-exports upsertImportGlob