Skip to content

Commit 7d8150f

Browse files
committed
Update docs
1 parent 8f67bad commit 7d8150f

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

docs/guide/mrt-utilities.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,12 @@ Use when you need to emit metrics from the same process that serves requests (e.
151151

152152
## Data Store In Development
153153

154-
If your app reads MRT data-store entries locally, import from the `data-store` subpath and run with the Node `development` condition:
154+
The production MRT data store is not available during local development because it depends on deployed runtime infrastructure. `@salesforce/mrt-utilities` provides an equivalent development data-store implementation for local use.
155+
156+
To use that local equivalent, import from the `data-store` subpath and run Node with the `dev-data-store` condition:
155157

156158
```bash
157-
node --conditions development server.js
159+
node --conditions dev-data-store server.js
158160
```
159161

160162
```typescript

packages/mrt-utilities/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ export const createApp = (): Express => {
5050

5151
## Development data-store usage
5252

53-
Use the `data-store` subpath with Node's `development` condition to load the pseudo local data-store implementation:
53+
Use the `data-store` subpath with Node's `dev-data-store` condition to load the pseudo local data-store implementation:
5454

5555
```bash
56-
node --conditions development your-app.js
56+
node --conditions dev-data-store your-app.js
5757
```
5858

5959
```ts

0 commit comments

Comments
 (0)