@slicemachine/init 2.10.51 → 2.10.52-alpha.lg-starter-tracking.1

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.
Files changed (64) hide show
  1. package/dist/SliceMachineInitProcess.cjs +4 -1
  2. package/dist/SliceMachineInitProcess.cjs.map +1 -1
  3. package/dist/SliceMachineInitProcess.js +4 -1
  4. package/dist/SliceMachineInitProcess.js.map +1 -1
  5. package/dist/_node_modules/@babel/code-frame/lib/index.cjs +1 -1
  6. package/dist/_node_modules/@babel/code-frame/lib/index.js +1 -1
  7. package/dist/_node_modules/cross-spawn/index.cjs +1 -1
  8. package/dist/_node_modules/cross-spawn/index.js +1 -1
  9. package/dist/_node_modules/dir-glob/index.cjs +2 -2
  10. package/dist/_node_modules/dir-glob/index.js +2 -2
  11. package/dist/_node_modules/fast-glob/out/index.cjs +1 -1
  12. package/dist/_node_modules/fast-glob/out/index.js +1 -1
  13. package/dist/_node_modules/fast-glob/out/managers/tasks.cjs +1 -1
  14. package/dist/_node_modules/fast-glob/out/managers/tasks.js +1 -1
  15. package/dist/_node_modules/fast-glob/out/providers/filters/deep.cjs +1 -1
  16. package/dist/_node_modules/fast-glob/out/providers/filters/deep.js +1 -1
  17. package/dist/_node_modules/fast-glob/out/providers/filters/entry.cjs +1 -1
  18. package/dist/_node_modules/fast-glob/out/providers/filters/entry.js +1 -1
  19. package/dist/_node_modules/fast-glob/out/providers/filters/error.cjs +1 -1
  20. package/dist/_node_modules/fast-glob/out/providers/filters/error.js +1 -1
  21. package/dist/_node_modules/fast-glob/out/providers/matchers/matcher.cjs +1 -1
  22. package/dist/_node_modules/fast-glob/out/providers/matchers/matcher.js +1 -1
  23. package/dist/_node_modules/fast-glob/out/providers/transformers/entry.cjs +1 -1
  24. package/dist/_node_modules/fast-glob/out/providers/transformers/entry.js +1 -1
  25. package/dist/_node_modules/fast-glob/out/readers/reader.cjs +1 -1
  26. package/dist/_node_modules/fast-glob/out/readers/reader.js +1 -1
  27. package/dist/_node_modules/fast-glob/out/utils/index.cjs +1 -1
  28. package/dist/_node_modules/fast-glob/out/utils/index.js +1 -1
  29. package/dist/_node_modules/get-stream/index.cjs +1 -1
  30. package/dist/_node_modules/get-stream/index.js +1 -1
  31. package/dist/_node_modules/lines-and-columns/build/index.cjs +1 -1
  32. package/dist/_node_modules/lines-and-columns/build/index.js +1 -1
  33. package/dist/_node_modules/map-obj/index.cjs +1 -1
  34. package/dist/_node_modules/map-obj/index.js +1 -1
  35. package/dist/_node_modules/parse-json/index.cjs +2 -2
  36. package/dist/_node_modules/parse-json/index.js +2 -2
  37. package/dist/_node_modules/path-type/index.cjs +1 -1
  38. package/dist/_node_modules/path-type/index.js +1 -1
  39. package/dist/_node_modules/signal-exit/index.cjs +1 -1
  40. package/dist/_node_modules/signal-exit/index.js +1 -1
  41. package/dist/_virtual/index10.cjs +2 -2
  42. package/dist/_virtual/index10.js +2 -2
  43. package/dist/_virtual/index11.cjs +2 -2
  44. package/dist/_virtual/index11.js +2 -2
  45. package/dist/_virtual/index12.cjs +2 -2
  46. package/dist/_virtual/index12.js +2 -2
  47. package/dist/_virtual/index3.cjs +2 -2
  48. package/dist/_virtual/index3.js +2 -2
  49. package/dist/_virtual/index4.cjs +2 -2
  50. package/dist/_virtual/index4.js +2 -2
  51. package/dist/_virtual/index5.cjs +2 -2
  52. package/dist/_virtual/index5.js +2 -2
  53. package/dist/_virtual/index6.cjs +2 -2
  54. package/dist/_virtual/index6.js +2 -2
  55. package/dist/_virtual/index7.cjs +2 -2
  56. package/dist/_virtual/index7.js +2 -2
  57. package/dist/_virtual/index9.cjs +2 -2
  58. package/dist/_virtual/index9.js +2 -2
  59. package/dist/packages/init/package.json.cjs +5 -2
  60. package/dist/packages/init/package.json.cjs.map +1 -1
  61. package/dist/packages/init/package.json.js +5 -2
  62. package/dist/packages/init/package.json.js.map +1 -1
  63. package/package.json +5 -4
  64. package/src/SliceMachineInitProcess.ts +3 -0
@@ -1,5 +1,5 @@
1
1
  import { getDefaultExportFromCjs } from "../../_virtual/_commonjsHelpers.js";
2
- import { __module as getStream$2 } from "../../_virtual/index10.js";
2
+ import { __module as getStream$2 } from "../../_virtual/index12.js";
3
3
  import require$$0 from "buffer";
4
4
  import require$$0$2 from "stream";
5
5
  import require$$0$1 from "util";
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const index = require("../../../_virtual/index12.cjs");
2
+ const index = require("../../../_virtual/index10.cjs");
3
3
  (function(exports2) {
4
4
  exports2.__esModule = true;
5
5
  exports2.LinesAndColumns = void 0;
@@ -1,4 +1,4 @@
1
- import { __exports as build } from "../../../_virtual/index12.js";
1
+ import { __exports as build } from "../../../_virtual/index10.js";
2
2
  (function(exports) {
3
3
  exports.__esModule = true;
4
4
  exports.LinesAndColumns = void 0;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  const _commonjsHelpers = require("../../_virtual/_commonjsHelpers.cjs");
3
- const index = require("../../_virtual/index7.cjs");
3
+ const index = require("../../_virtual/index3.cjs");
4
4
  const isObject = (value) => typeof value === "object" && value !== null;
5
5
  const mapObjectSkip = Symbol("skip");
6
6
  const isObjectCustom = (value) => isObject(value) && !(value instanceof RegExp) && !(value instanceof Error) && !(value instanceof Date);
@@ -1,5 +1,5 @@
1
1
  import { getDefaultExportFromCjs } from "../../_virtual/_commonjsHelpers.js";
2
- import { __module as mapObj } from "../../_virtual/index7.js";
2
+ import { __module as mapObj } from "../../_virtual/index3.js";
3
3
  const isObject = (value) => typeof value === "object" && value !== null;
4
4
  const mapObjectSkip = Symbol("skip");
5
5
  const isObjectCustom = (value) => isObject(value) && !(value instanceof RegExp) && !(value instanceof Error) && !(value instanceof Date);
@@ -4,8 +4,8 @@ const index$1 = require("../error-ex/index.cjs");
4
4
  const index$2 = require("../json-parse-even-better-errors/index.cjs");
5
5
  require("../lines-and-columns/build/index.cjs");
6
6
  require("../@babel/code-frame/lib/index.cjs");
7
- const index = require("../../_virtual/index11.cjs");
8
- const index$3 = require("../../_virtual/index12.cjs");
7
+ const index = require("../../_virtual/index9.cjs");
8
+ const index$3 = require("../../_virtual/index10.cjs");
9
9
  const errorEx = index$1.errorEx_1;
10
10
  const fallback = index$2.jsonParseEvenBetterErrors;
11
11
  const { default: LinesAndColumns } = index$3.__exports;
@@ -3,8 +3,8 @@ import { e as errorEx_1 } from "../error-ex/index.js";
3
3
  import { j as jsonParseEvenBetterErrors } from "../json-parse-even-better-errors/index.js";
4
4
  import "../lines-and-columns/build/index.js";
5
5
  import "../@babel/code-frame/lib/index.js";
6
- import { __exports as lib } from "../../_virtual/index11.js";
7
- import { __exports as build } from "../../_virtual/index12.js";
6
+ import { __exports as lib } from "../../_virtual/index9.js";
7
+ import { __exports as build } from "../../_virtual/index10.js";
8
8
  const errorEx = errorEx_1;
9
9
  const fallback = jsonParseEvenBetterErrors;
10
10
  const { default: LinesAndColumns } = build;
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const index = require("../../_virtual/index6.cjs");
2
+ const index = require("../../_virtual/index7.cjs");
3
3
  const require$$0 = require("util");
4
4
  const require$$0$1 = require("fs");
5
5
  const { promisify } = require$$0;
@@ -1,4 +1,4 @@
1
- import { __exports as pathType } from "../../_virtual/index6.js";
1
+ import { __exports as pathType } from "../../_virtual/index7.js";
2
2
  import require$$0 from "util";
3
3
  import require$$0$1 from "fs";
4
4
  const { promisify } = require$$0;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  const _commonjsHelpers = require("../../_virtual/_commonjsHelpers.cjs");
3
- const index = require("../../_virtual/index9.cjs");
3
+ const index = require("../../_virtual/index11.cjs");
4
4
  const require$$0 = require("assert");
5
5
  const signals$1 = require("./signals.cjs");
6
6
  const require$$2 = require("events");
@@ -1,5 +1,5 @@
1
1
  import { commonjsGlobal, getDefaultExportFromCjs } from "../../_virtual/_commonjsHelpers.js";
2
- import { __module as signalExit } from "../../_virtual/index9.js";
2
+ import { __module as signalExit } from "../../_virtual/index11.js";
3
3
  import require$$0 from "assert";
4
4
  import { __require as requireSignals } from "./signals.js";
5
5
  import require$$2 from "events";
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- var getStream = { exports: {} };
4
- exports.__module = getStream;
3
+ var build = {};
4
+ exports.__exports = build;
5
5
  //# sourceMappingURL=index10.cjs.map
@@ -1,5 +1,5 @@
1
- var getStream = { exports: {} };
1
+ var build = {};
2
2
  export {
3
- getStream as __module
3
+ build as __exports
4
4
  };
5
5
  //# sourceMappingURL=index10.js.map
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- var lib = {};
4
- exports.__exports = lib;
3
+ var signalExit = { exports: {} };
4
+ exports.__module = signalExit;
5
5
  //# sourceMappingURL=index11.cjs.map
@@ -1,5 +1,5 @@
1
- var lib = {};
1
+ var signalExit = { exports: {} };
2
2
  export {
3
- lib as __exports
3
+ signalExit as __module
4
4
  };
5
5
  //# sourceMappingURL=index11.js.map
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- var build = {};
4
- exports.__exports = build;
3
+ var getStream = { exports: {} };
4
+ exports.__module = getStream;
5
5
  //# sourceMappingURL=index12.cjs.map
@@ -1,5 +1,5 @@
1
- var build = {};
1
+ var getStream = { exports: {} };
2
2
  export {
3
- build as __exports
3
+ getStream as __module
4
4
  };
5
5
  //# sourceMappingURL=index12.js.map
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- var crossSpawn = { exports: {} };
4
- exports.__module = crossSpawn;
3
+ var mapObj = { exports: {} };
4
+ exports.__module = mapObj;
5
5
  //# sourceMappingURL=index3.cjs.map
@@ -1,5 +1,5 @@
1
- var crossSpawn = { exports: {} };
1
+ var mapObj = { exports: {} };
2
2
  export {
3
- crossSpawn as __module
3
+ mapObj as __module
4
4
  };
5
5
  //# sourceMappingURL=index3.js.map
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- var utils = {};
4
- exports.__exports = utils;
3
+ var crossSpawn = { exports: {} };
4
+ exports.__module = crossSpawn;
5
5
  //# sourceMappingURL=index4.cjs.map
@@ -1,5 +1,5 @@
1
- var utils = {};
1
+ var crossSpawn = { exports: {} };
2
2
  export {
3
- utils as __exports
3
+ crossSpawn as __module
4
4
  };
5
5
  //# sourceMappingURL=index4.js.map
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- var dirGlob = { exports: {} };
4
- exports.__module = dirGlob;
3
+ var utils = {};
4
+ exports.__exports = utils;
5
5
  //# sourceMappingURL=index5.cjs.map
@@ -1,5 +1,5 @@
1
- var dirGlob = { exports: {} };
1
+ var utils = {};
2
2
  export {
3
- dirGlob as __module
3
+ utils as __exports
4
4
  };
5
5
  //# sourceMappingURL=index5.js.map
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- var pathType = {};
4
- exports.__exports = pathType;
3
+ var dirGlob = { exports: {} };
4
+ exports.__module = dirGlob;
5
5
  //# sourceMappingURL=index6.cjs.map
@@ -1,5 +1,5 @@
1
- var pathType = {};
1
+ var dirGlob = { exports: {} };
2
2
  export {
3
- pathType as __exports
3
+ dirGlob as __module
4
4
  };
5
5
  //# sourceMappingURL=index6.js.map
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- var mapObj = { exports: {} };
4
- exports.__module = mapObj;
3
+ var pathType = {};
4
+ exports.__exports = pathType;
5
5
  //# sourceMappingURL=index7.cjs.map
@@ -1,5 +1,5 @@
1
- var mapObj = { exports: {} };
1
+ var pathType = {};
2
2
  export {
3
- mapObj as __module
3
+ pathType as __exports
4
4
  };
5
5
  //# sourceMappingURL=index7.js.map
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- var signalExit = { exports: {} };
4
- exports.__module = signalExit;
3
+ var lib = {};
4
+ exports.__exports = lib;
5
5
  //# sourceMappingURL=index9.cjs.map
@@ -1,5 +1,5 @@
1
- var signalExit = { exports: {} };
1
+ var lib = {};
2
2
  export {
3
- signalExit as __module
3
+ lib as __exports
4
4
  };
5
5
  //# sourceMappingURL=index9.js.map
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const name = "@slicemachine/init";
4
- const version = "2.10.51";
4
+ const version = "2.10.52-alpha.lg-starter-tracking.1";
5
5
  const description = "Init Prismic Slice Machine in your project";
6
6
  const keywords = [
7
7
  "typescript",
@@ -101,6 +101,7 @@ const engines = {
101
101
  const publishConfig = {
102
102
  access: "public"
103
103
  };
104
+ const stableVersion = "2.10.51";
104
105
  const pkg = {
105
106
  name,
106
107
  version,
@@ -120,7 +121,8 @@ const pkg = {
120
121
  dependencies,
121
122
  devDependencies,
122
123
  engines,
123
- publishConfig
124
+ publishConfig,
125
+ stableVersion
124
126
  };
125
127
  exports.author = author;
126
128
  exports.bin = bin;
@@ -139,6 +141,7 @@ exports.name = name;
139
141
  exports.publishConfig = publishConfig;
140
142
  exports.repository = repository;
141
143
  exports.scripts = scripts;
144
+ exports.stableVersion = stableVersion;
142
145
  exports.type = type;
143
146
  exports.types = types;
144
147
  exports.version = version;
@@ -1 +1 @@
1
- {"version":3,"file":"package.json.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"package.json.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,5 +1,5 @@
1
1
  const name = "@slicemachine/init";
2
- const version = "2.10.51";
2
+ const version = "2.10.52-alpha.lg-starter-tracking.1";
3
3
  const description = "Init Prismic Slice Machine in your project";
4
4
  const keywords = [
5
5
  "typescript",
@@ -99,6 +99,7 @@ const engines = {
99
99
  const publishConfig = {
100
100
  access: "public"
101
101
  };
102
+ const stableVersion = "2.10.51";
102
103
  const pkg = {
103
104
  name,
104
105
  version,
@@ -118,7 +119,8 @@ const pkg = {
118
119
  dependencies,
119
120
  devDependencies,
120
121
  engines,
121
- publishConfig
122
+ publishConfig,
123
+ stableVersion
122
124
  };
123
125
  export {
124
126
  author,
@@ -138,6 +140,7 @@ export {
138
140
  publishConfig,
139
141
  repository,
140
142
  scripts,
143
+ stableVersion,
141
144
  type,
142
145
  types,
143
146
  version
@@ -1 +1 @@
1
- {"version":3,"file":"package.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"package.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slicemachine/init",
3
- "version": "2.10.51",
3
+ "version": "2.10.52-alpha.lg-starter-tracking.1",
4
4
  "description": "Init Prismic Slice Machine in your project",
5
5
  "keywords": [
6
6
  "typescript",
@@ -54,7 +54,7 @@
54
54
  "@antfu/ni": "^0.20.0",
55
55
  "@lihbr/listr-update-renderer": "^0.5.3",
56
56
  "@sentry/node": "^7.116.0",
57
- "@slicemachine/manager": "0.27.1",
57
+ "@slicemachine/manager": "0.27.2-alpha.lg-starter-tracking.1",
58
58
  "chalk": "^4.1.2",
59
59
  "giget": "^1.1.2",
60
60
  "globby": "^13.1.3",
@@ -68,7 +68,7 @@
68
68
  },
69
69
  "devDependencies": {
70
70
  "@size-limit/preset-small-lib": "8.2.4",
71
- "@slicemachine/plugin-kit": "0.4.93",
71
+ "@slicemachine/plugin-kit": "0.4.94-alpha.lg-starter-tracking.1",
72
72
  "@types/listr": "0.14.4",
73
73
  "@types/prompts": "2.4.3",
74
74
  "@types/semver": "7.3.13",
@@ -99,5 +99,6 @@
99
99
  },
100
100
  "publishConfig": {
101
101
  "access": "public"
102
- }
102
+ },
103
+ "stableVersion": "2.10.51"
103
104
  }
@@ -150,6 +150,7 @@ export class SliceMachineInitProcess {
150
150
  await this.manager.telemetry.track({
151
151
  event: "command:init:start",
152
152
  repository: this.options.repository,
153
+ starter: this.options.starter,
153
154
  });
154
155
 
155
156
  await this.detectEnvironment();
@@ -202,6 +203,7 @@ export class SliceMachineInitProcess {
202
203
  event: "command:init:end",
203
204
  framework: this.context.framework.sliceMachineTelemetryID,
204
205
  repository: this.context.repository.domain,
206
+ starter: this.options.starter,
205
207
  success: true,
206
208
  });
207
209
 
@@ -300,6 +302,7 @@ Continue with next steps in Slice Machine.
300
302
  event: "command:init:end",
301
303
  framework: this.context.framework?.sliceMachineTelemetryID ?? "unknown",
302
304
  repository: this.context.repository?.domain || "",
305
+ starter: this.options.starter,
303
306
  success: false,
304
307
  error: safeError,
305
308
  });