@slicemachine/init 0.1.1-dev-plugins-validation.1 → 0.1.1-dev-plugins-validation.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slicemachine/init",
3
- "version": "0.1.1-dev-plugins-validation.1",
3
+ "version": "0.1.1-dev-plugins-validation.0",
4
4
  "description": "Init Prismic Slice Machine in your project",
5
5
  "keywords": [
6
6
  "typescript",
@@ -53,7 +53,7 @@
53
53
  "dependencies": {
54
54
  "@antfu/ni": "^0.20.0",
55
55
  "@lihbr/listr-update-renderer": "^0.5.3",
56
- "@slicemachine/manager": "0.1.1-dev-plugins-validation.1",
56
+ "@slicemachine/manager": "0.1.1-dev-plugins-validation.0",
57
57
  "chalk": "^4.1.2",
58
58
  "globby": "^13.1.3",
59
59
  "listr": "^0.14.3",
@@ -65,7 +65,7 @@
65
65
  },
66
66
  "devDependencies": {
67
67
  "@size-limit/preset-small-lib": "^8.2.4",
68
- "@slicemachine/plugin-kit": "0.1.8-dev-plugins-validation.1",
68
+ "@slicemachine/plugin-kit": "0.1.8-dev-plugins-validation.0",
69
69
  "@types/listr": "^0.14.4",
70
70
  "@types/prompts": "^2.4.3",
71
71
  "@types/semver": "^7.3.13",
@@ -90,5 +90,5 @@
90
90
  "vite-plugin-sdk": "^0.1.1",
91
91
  "vitest": "^0.27.3"
92
92
  },
93
- "gitHead": "be509347c1cfaed23c9b9f714051a38436d4d9de"
93
+ "gitHead": "65a2f9c1a92fac240e7b7ba8074758e757661b94"
94
94
  }
@@ -15,6 +15,7 @@ import {
15
15
  PackageManager,
16
16
  } from "@slicemachine/manager";
17
17
 
18
+ import pkg from "../package.json";
18
19
  import { detectFramework, Framework } from "./lib/framework";
19
20
  import { getRunScriptCommand } from "./lib/getRunScriptCommand";
20
21
  import { getExecuteCommand } from "./lib/getExecuteCommand";
@@ -89,7 +90,10 @@ export class SliceMachineInitProcess {
89
90
  )} Init command started\n`,
90
91
  );
91
92
 
92
- await this.manager.telemetry.initTelemetry();
93
+ await this.manager.telemetry.initTelemetry({
94
+ appName: pkg.name,
95
+ appVersion: pkg.version,
96
+ });
93
97
  await this.manager.telemetry.track({
94
98
  event: "command:init:start",
95
99
  repository: this.options.repository,