Skip to content

Commit

Permalink
Merge pull request #21436 from storybookjs/shilman/tty-telemetry
Browse files Browse the repository at this point in the history
Telemetry: Is interactive shell
  • Loading branch information
shilman committed Mar 7, 2023
2 parents 20156b9 + 00b6cc2 commit fa83aa2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion code/lib/csf-tools/package.json
@@ -1,7 +1,7 @@
{
"name": "@storybook/csf-tools",
"version": "7.0.0-beta.62",
"description": "",
"description": "Parse and manipulate CSF and Storybook config files",
"keywords": [
"storybook"
],
Expand Down
2 changes: 1 addition & 1 deletion code/lib/manager-api/package.json
@@ -1,7 +1,7 @@
{
"name": "@storybook/manager-api",
"version": "7.0.0-beta.62",
"description": "Core Storybook API & Context",
"description": "Core Storybook Manager API & Context",
"keywords": [
"storybook"
],
Expand Down
1 change: 1 addition & 0 deletions code/lib/telemetry/src/telemetry.ts
Expand Up @@ -31,6 +31,7 @@ export async function sendTelemetry(
: {
anonymousId: getAnonymousProjectId(),
inCI: Boolean(process.env.CI),
isTTY: process.stdout.isTTY,
};
const eventId = nanoid();
const body = { ...rest, eventType, eventId, sessionId, metadata, payload, context };
Expand Down
2 changes: 1 addition & 1 deletion code/lib/types/package.json
@@ -1,7 +1,7 @@
{
"name": "@storybook/types",
"version": "7.0.0-beta.62",
"description": "Core Storybook Types",
"description": "Core Storybook TS Types",
"keywords": [
"storybook"
],
Expand Down

0 comments on commit fa83aa2

Please sign in to comment.