chore(work): finish 01-scaffold-core-analytics-package
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"updated_at": "2026-05-18T11:29:56.999Z",
|
"updated_at": "2026-05-18T11:33:07.052Z",
|
||||||
"epics": {
|
"epics": {
|
||||||
"binder-wrap-helper": {
|
"binder-wrap-helper": {
|
||||||
"status": "done",
|
"status": "done",
|
||||||
@@ -247,10 +247,10 @@
|
|||||||
"prd": "docs/work/prds/product-analytics-channel.prd.md",
|
"prd": "docs/work/prds/product-analytics-channel.prd.md",
|
||||||
"stories": {
|
"stories": {
|
||||||
"01-scaffold-core-analytics-package": {
|
"01-scaffold-core-analytics-package": {
|
||||||
"status": "in-progress",
|
"status": "done",
|
||||||
"title": "Scaffold @repo/core-analytics package with IAnalytics and NoopAnalytics",
|
"title": "Scaffold @repo/core-analytics package with IAnalytics and NoopAnalytics",
|
||||||
"ac_total": 2,
|
"ac_total": 2,
|
||||||
"ac_completed": 1,
|
"ac_completed": 2,
|
||||||
"depends_on": [],
|
"depends_on": [],
|
||||||
"blocks": []
|
"blocks": []
|
||||||
},
|
},
|
||||||
@@ -348,8 +348,13 @@
|
|||||||
"ready": [
|
"ready": [
|
||||||
{
|
{
|
||||||
"epic": "product-analytics-channel",
|
"epic": "product-analytics-channel",
|
||||||
"story": "01-scaffold-core-analytics-package",
|
"story": "02-recording-analytics",
|
||||||
"title": "Scaffold @repo/core-analytics package with IAnalytics and NoopAnalytics"
|
"title": "Add RecordingAnalytics to @repo/core-testing"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"epic": "product-analytics-channel",
|
||||||
|
"story": "03-analyzed-brand-and-with-analytics-wrapper",
|
||||||
|
"title": "Add Analyzed brand and withAnalytics wrapper"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"epic": "product-analytics-channel",
|
"epic": "product-analytics-channel",
|
||||||
@@ -358,22 +363,6 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"blocked": [
|
"blocked": [
|
||||||
{
|
|
||||||
"epic": "product-analytics-channel",
|
|
||||||
"story": "02-recording-analytics",
|
|
||||||
"title": "Add RecordingAnalytics to @repo/core-testing",
|
|
||||||
"waiting_on": [
|
|
||||||
"product-analytics-channel/01-scaffold-core-analytics-package"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"epic": "product-analytics-channel",
|
|
||||||
"story": "03-analyzed-brand-and-with-analytics-wrapper",
|
|
||||||
"title": "Add Analyzed brand and withAnalytics wrapper",
|
|
||||||
"waiting_on": [
|
|
||||||
"product-analytics-channel/01-scaffold-core-analytics-package"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"epic": "product-analytics-channel",
|
"epic": "product-analytics-channel",
|
||||||
"story": "04-manifest-schema-and-wire-use-case",
|
"story": "04-manifest-schema-and-wire-use-case",
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ id: 01-scaffold-core-analytics-package
|
|||||||
epic: product-analytics-channel
|
epic: product-analytics-channel
|
||||||
title: Scaffold @repo/core-analytics package with IAnalytics and NoopAnalytics
|
title: Scaffold @repo/core-analytics package with IAnalytics and NoopAnalytics
|
||||||
type: technical-story
|
type: technical-story
|
||||||
status: in-progress
|
status: done
|
||||||
feature: core-analytics
|
feature: core-analytics
|
||||||
depends-on: []
|
depends-on: []
|
||||||
blocks:
|
blocks:
|
||||||
@@ -14,7 +14,7 @@ blocks:
|
|||||||
08-react-provider,
|
08-react-provider,
|
||||||
]
|
]
|
||||||
created: 2026-05-18T12:00:00Z
|
created: 2026-05-18T12:00:00Z
|
||||||
updated: 2026-05-18T11:29:56.831Z
|
updated: 2026-05-18T11:33:06.880Z
|
||||||
---
|
---
|
||||||
|
|
||||||
## Goal
|
## Goal
|
||||||
@@ -49,4 +49,4 @@ All downstream stories depend on `IAnalytics` existing as the contract surface.
|
|||||||
## Tasks
|
## Tasks
|
||||||
|
|
||||||
- [x] Run `pnpm turbo gen core-package analytics` to scaffold `@repo/core-analytics` — verify the generator output compiles and all gates pass on this commit alone.
|
- [x] Run `pnpm turbo gen core-package analytics` to scaffold `@repo/core-analytics` — verify the generator output compiles and all gates pass on this commit alone.
|
||||||
- [ ] Replace generator placeholder content with `IAnalytics` interface (`track`, `identify`, `pageView`, `flush`), `AnalyticsAttributeValue` + `AnalyticsUser` types, and `NoopAnalytics` implementation (`flush()` returns `Promise.resolve()`); add sibling tests covering all four methods; export everything from the package root barrel — all gates pass on this commit.
|
- [x] Replace generator placeholder content with `IAnalytics` interface (`track`, `identify`, `pageView`, `flush`), `AnalyticsAttributeValue` + `AnalyticsUser` types, and `NoopAnalytics` implementation (`flush()` returns `Promise.resolve()`); add sibling tests covering all four methods; export everything from the package root barrel — all gates pass on this commit.
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ type: epic
|
|||||||
status: in-progress
|
status: in-progress
|
||||||
features: [core-analytics, core-shared, core-testing, core-eslint]
|
features: [core-analytics, core-shared, core-testing, core-eslint]
|
||||||
created: 2026-05-18T12:00:00Z
|
created: 2026-05-18T12:00:00Z
|
||||||
updated: 2026-05-18T10:46:27.080Z
|
updated: 2026-05-18T11:33:06.880Z
|
||||||
---
|
---
|
||||||
|
|
||||||
## Goal
|
## Goal
|
||||||
@@ -19,7 +19,7 @@ Consumers routinely bolt analytics SDKs on at the React component layer, bypassi
|
|||||||
|
|
||||||
## Stories
|
## Stories
|
||||||
|
|
||||||
- [ ] [01 — Scaffold @repo/core-analytics package](01-scaffold-core-analytics-package/_story.md)
|
- [x] [01 — Scaffold @repo/core-analytics package](01-scaffold-core-analytics-package/_story.md)
|
||||||
- [ ] [02 — Add RecordingAnalytics to @repo/core-testing](02-recording-analytics/_story.md)
|
- [ ] [02 — Add RecordingAnalytics to @repo/core-testing](02-recording-analytics/_story.md)
|
||||||
- [ ] [03 — Add Analyzed brand and withAnalytics wrapper](03-analyzed-brand-and-with-analytics-wrapper/_story.md)
|
- [ ] [03 — Add Analyzed brand and withAnalytics wrapper](03-analyzed-brand-and-with-analytics-wrapper/_story.md)
|
||||||
- [ ] [04 — Extend manifest schema and wireUseCase with analyticsEvents](04-manifest-schema-and-wire-use-case/_story.md)
|
- [ ] [04 — Extend manifest schema and wireUseCase with analyticsEvents](04-manifest-schema-and-wire-use-case/_story.md)
|
||||||
|
|||||||
Reference in New Issue
Block a user