@cedarjs/telemetry 5.0.0-canary.2385 → 5.0.0-canary.2387

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -94,7 +94,7 @@ const getInfo = async (presets = {}) => {
94
94
  yarnVersion: info.Binaries?.Yarn?.version,
95
95
  npmVersion: info.Binaries?.npm?.version,
96
96
  vsCodeVersion: info.IDEs?.VSCode?.version,
97
- redwoodVersion: presets.redwoodVersion || info.npmPackages?.["@cedarjs/core"]?.installed,
97
+ cedarVersion: presets.cedarVersion || info.npmPackages?.["@cedarjs/core"]?.installed,
98
98
  system: `${cpu.physicalCores}.${Math.round(mem.total / 1073741824)}`,
99
99
  webBundler: "vite",
100
100
  // Hardcoded as this is now the only supported bundler
@@ -152,9 +152,9 @@ const buildPayload = async () => {
152
152
  duration: argv.duration ? parseInt(argv.duration) : null,
153
153
  uid: uniqueId(),
154
154
  ci: import_ci_info.default.isCI,
155
- redwoodCi: !!process.env.REDWOOD_CI,
155
+ cedarCi: !!process.env.CEDAR_CI,
156
156
  NODE_ENV: process.env.NODE_ENV || null,
157
- ...await getInfo({ redwoodVersion: argv.rwVersion, command })
157
+ ...await getInfo({ cedarVersion: argv.rwVersion, command })
158
158
  };
159
159
  if (argv.error) {
160
160
  payload.type = "error";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/telemetry",
3
- "version": "5.0.0-canary.2385",
3
+ "version": "5.0.0-canary.2387",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/cedarjs/cedar.git",
@@ -22,8 +22,8 @@
22
22
  "test:watch": "vitest watch"
23
23
  },
24
24
  "dependencies": {
25
- "@cedarjs/project-config": "5.0.0-canary.2385",
26
- "@cedarjs/structure": "5.0.0-canary.2385",
25
+ "@cedarjs/project-config": "5.0.0-canary.2387",
26
+ "@cedarjs/structure": "5.0.0-canary.2387",
27
27
  "@whatwg-node/fetch": "0.10.13",
28
28
  "ci-info": "4.4.0",
29
29
  "envinfo": "7.21.0",