ReviewOS

also looking at this

stacks/ts-analytics

feat(stx): one-line stx integration (plugins: ['@stacksjs/ts-analytics']) + fix library build

#123
Closed glennmichael123 wants to merge feat/stx-integration into main
11 files +331 -13
src/index.tsmodified+5-0
Changes to src/index.ts
@@ -363,3 +363,8 @@ export {
363363 lookupFromHeaders,
364364 lookupIP,
365365} from './geolocation'
366
367// stx integration. The plugin is the package's DEFAULT export so stx resolves
368// `plugins: ['@stacksjs/ts-analytics']` to it directly (no subpath). Config is
369// read from the top-level `analytics: { appId }` key. See ./integrations/stx.
370export { default, type StxAnalyticsConfig, stxPlugin } from './integrations/stx'