Skip to content

Commit

Permalink
chore(cli): remove reliance on node-machine-id (#7545)
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoerge authored Sep 25, 2024
1 parent 0396ec2 commit de9c29b
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion packages/@sanity/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@
"esbuild-register": "^3.5.0",
"get-it": "^8.6.5",
"groq-js": "^1.13.0",
"node-machine-id": "^1.1.12",
"pkg-dir": "^5.0.0",
"prettier": "^3.3.0",
"semver": "^7.3.5",
Expand Down
2 changes: 0 additions & 2 deletions packages/@sanity/cli/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import path from 'node:path'

import chalk from 'chalk'
import dotenv from 'dotenv'
import {machineId} from 'node-machine-id'
import resolveFrom from 'resolve-from'

import {CliCommand} from './__telemetry__/cli.telemetry'
Expand Down Expand Up @@ -85,7 +84,6 @@ export async function runCli(cliRoot: string, {cliVersion}: {cliVersion: string}
)

telemetry.updateUserProperties({
deviceId: await machineId(),
runtimeVersion: process.version,
runtime: detectRuntime(),
cliVersion: pkg.version,
Expand Down
1 change: 0 additions & 1 deletion packages/@sanity/cli/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ export interface CliBaseCommandContext {
}

export interface TelemetryUserProperties {
deviceId: string
runtime: string
runtimeVersion: string
cliVersion: string
Expand Down
3 changes: 0 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit de9c29b

Please sign in to comment.