doxa-maps/library/index.js
doxa-maps d5ba21fa76 doxa-maps — portable bundler for embeddable JAMstack maps
Standalone repo that builds embeddable JAMstack map bundles (web components),
composes them into a lazy-loaded SPA via layouts/, and optionally wraps a
Capacitor Android/iOS app — one build, choose your output/CDN. Diátaxis docs.

History reset to a single clean commit; no PII, IPs, or internal terms.
2026-09-10 01:53:07 +00:00

41 lines
1.9 KiB
JavaScript

/**
* @map — public surface re-exports.
*
* Convention: bundles import from this barrel for the most-used pieces, OR
* subpath-import from '@map/components/X.vue' / '/composables/Y.js'
* etc. for surgical imports that tree-shake more cleanly.
*
* Add re-exports as `map-core` grows during migration. Keep this file thin —
* a fat barrel kills tree-shaking. Subpath imports are preferred.
*/
// Components — populated during migration-001+
// export { default as SemanticTreeLegend } from './components/legends/SemanticTreeLegend.vue'
// export { default as PeopleGroupDetail } from './components/PeopleGroupDetail.vue'
// Composables — populated during migration-001+
// export { useMapData } from './composables/useMapData.js'
// export { useMapLayers } from './composables/useMapLayers.js'
// export { useDoxaSearch } from './composables/useDoxaSearch.js'
// Colors — the old monolith shims (colorStrategies.js / colors.js /
// prayerColors.js) are retired to ../_archive/ (see its README). Import the
// real modules directly: './colors/_registry.js' (COLOR_MODES,
// getColorStrategy, buildColorExpression), './colors/language-family.js',
// './colors/engagement.js', './colors/adoption.js', './colors/prayer-progress.js'.
// export * from './colors/_registry.js'
// Utils — populated during migration-001+
// export { default as DataSourceManager } from './utils/DataSourceManager.js'
// Stores — Pinia stores live at './stores/<name>.js' and are intentionally NOT
// re-exported here. Bundle entries should subpath-import them as
// `@map/stores/dataStore.js` (or mapStore / uiStore) for tree-shaking
// reasons. Keeping this barrel thin avoids pulling pinia into bundles that
// don't need it.
// Data lookup tables — JSON in './data/' (e.g. langFamilyByLanguage.json) —
// subpath-import as `@map/data/langFamilyByLanguage.json`. Not
// re-exported (would force JSON into the barrel chunk).
export const MAP_CORE_VERSION = '0.1.0'