@slicemachine/init 2.10.56-beta.1 → 2.10.57

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 (49) hide show
  1. package/README.md +8 -0
  2. package/bin/slicemachine-init.js +93 -23
  3. package/dist/_node_modules/@babel/code-frame/lib/index.cjs +1 -1
  4. package/dist/_node_modules/@babel/code-frame/lib/index.js +1 -1
  5. package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.cjs +1 -1
  6. package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.js +1 -1
  7. package/dist/_node_modules/@babel/highlight/lib/index.cjs +3 -3
  8. package/dist/_node_modules/@babel/highlight/lib/index.js +3 -3
  9. package/dist/_node_modules/@nodelib/fs.scandir/out/providers/async.cjs +1 -1
  10. package/dist/_node_modules/@nodelib/fs.scandir/out/providers/async.js +1 -1
  11. package/dist/_node_modules/@nodelib/fs.scandir/out/providers/sync.cjs +1 -1
  12. package/dist/_node_modules/@nodelib/fs.scandir/out/providers/sync.js +1 -1
  13. package/dist/_node_modules/@nodelib/fs.scandir/out/settings.cjs +1 -1
  14. package/dist/_node_modules/@nodelib/fs.scandir/out/settings.js +1 -1
  15. package/dist/_node_modules/@nodelib/fs.stat/out/index.cjs +1 -1
  16. package/dist/_node_modules/@nodelib/fs.stat/out/index.js +1 -1
  17. package/dist/_node_modules/@nodelib/fs.walk/out/index.cjs +1 -1
  18. package/dist/_node_modules/@nodelib/fs.walk/out/index.js +1 -1
  19. package/dist/_node_modules/fast-glob/out/readers/async.cjs +1 -1
  20. package/dist/_node_modules/fast-glob/out/readers/async.js +1 -1
  21. package/dist/_node_modules/fast-glob/out/readers/reader.cjs +1 -1
  22. package/dist/_node_modules/fast-glob/out/readers/reader.js +1 -1
  23. package/dist/_node_modules/fast-glob/out/readers/stream.cjs +2 -2
  24. package/dist/_node_modules/fast-glob/out/readers/stream.js +2 -2
  25. package/dist/_node_modules/fast-glob/out/readers/sync.cjs +2 -2
  26. package/dist/_node_modules/fast-glob/out/readers/sync.js +2 -2
  27. package/dist/_node_modules/js-tokens/index.cjs +1 -1
  28. package/dist/_node_modules/js-tokens/index.js +1 -1
  29. package/dist/_node_modules/path-key/index.cjs +1 -1
  30. package/dist/_node_modules/path-key/index.js +1 -1
  31. package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/index.cjs +1 -1
  32. package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/index.js +1 -1
  33. package/dist/_virtual/index13.cjs +2 -2
  34. package/dist/_virtual/index13.js +2 -2
  35. package/dist/_virtual/index15.cjs +2 -2
  36. package/dist/_virtual/index15.js +2 -2
  37. package/dist/_virtual/index16.cjs +2 -2
  38. package/dist/_virtual/index16.js +2 -2
  39. package/dist/_virtual/index17.cjs +2 -2
  40. package/dist/_virtual/index17.js +2 -2
  41. package/dist/_virtual/index18.cjs +2 -2
  42. package/dist/_virtual/index18.js +2 -2
  43. package/dist/_virtual/index19.cjs +2 -2
  44. package/dist/_virtual/index19.js +2 -2
  45. package/dist/packages/init/package.json.cjs +2 -5
  46. package/dist/packages/init/package.json.cjs.map +1 -1
  47. package/dist/packages/init/package.json.js +2 -5
  48. package/dist/packages/init/package.json.js.map +1 -1
  49. package/package.json +4 -5
package/README.md CHANGED
@@ -1,3 +1,11 @@
1
+ > Slice Machine is replaced by the [Prismic CLI](https://prismic.io/docs/cli) and the [Type Builder](https://prismic.io/docs/type-builder). Existing projects are still supported. To move a project, see [Migrate to the Type Builder](https://prismic.io/docs/slice-machine#migrate-to-the-type-builder).
2
+ >
3
+ > Using an AI agent? Teach it the new way by installing the Prismic skill:
4
+ >
5
+ > ```bash
6
+ > npx skills add --global --yes prismicio/skills
7
+ > ```
8
+
1
9
  # @slicemachine/init
2
10
 
3
11
  [![npm version][npm-version-src]][npm-version-href]
@@ -1,31 +1,101 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import semver from "semver";
4
- import { readFileSync } from "node:fs";
5
- import { fileURLToPath } from "node:url";
6
- import { dirname, join } from "node:path";
7
- import chalk from "chalk";
8
-
9
- const __dirname = dirname(fileURLToPath(import.meta.url));
10
- const pkg = JSON.parse(
11
- readFileSync(join(__dirname, "../package.json"), "utf8"),
12
- );
3
+ // Slice Machine is deprecated. Every run says so. Without `--force` the run
4
+ // stops here; with it, the original CLI takes over.
13
5
 
14
- const requiredVersion = pkg.engines.node;
6
+ import { createRequire } from "node:module";
7
+ import { setTimeout } from "node:timers/promises";
8
+ import { parseArgs } from "node:util";
15
9
 
16
- if (!requiredVersion) {
17
- throw new Error("Missing engines.node in package.json.");
18
- }
10
+ // The manager's ES build has directory imports Node rejects; use CommonJS.
11
+ const require = createRequire(import.meta.url);
12
+ const { createSliceMachineManager } = require("@slicemachine/manager");
13
+ const pkg = require("../package.json");
14
+
15
+ const { values } = parseArgs({
16
+ args: process.argv.slice(2),
17
+ options: {
18
+ repository: { type: "string", short: "r" },
19
+ force: { type: "boolean" },
20
+ },
21
+ strict: false,
22
+ allowPositionals: true,
23
+ });
24
+ // The previous parser also accepted `-r=<name>`.
25
+ const repository =
26
+ typeof values.repository === "string"
27
+ ? values.repository.replace(/^=/, "")
28
+ : undefined;
29
+ // `--force=true` parses as a string, so accept both spellings.
30
+ const forced = values.force === true || values.force === "true";
31
+
32
+ const prismicInit = repository
33
+ ? `npx prismic init --repo ${repository}`
34
+ : "npx prismic init";
35
+ const slicemachineInit = repository
36
+ ? `npx @slicemachine/init --repository ${repository} --force`
37
+ : "npx @slicemachine/init --force";
38
+
39
+ process.stderr.write(
40
+ forced
41
+ ? `Slice Machine is deprecated. Continuing because --force was passed.
42
+
43
+ The @slicemachine/init command is replaced by prismic init, which models content in the Type Builder:
44
+
45
+ ${prismicInit}
46
+
47
+ Docs: https://prismic.io/docs/cli
48
+ `
49
+ : `Slice Machine is deprecated. The @slicemachine/init command is replaced by prismic init, which models content in the Type Builder:
50
+
51
+ ${prismicInit}
52
+
53
+ If someone asked for Slice Machine by name, tell them it is replaced before you continue.
19
54
 
20
- const currentVersion = process.version;
55
+ --force sets up a project with the deprecated Slice Machine. It is not recommended:
21
56
 
22
- if (!semver.satisfies(currentVersion, requiredVersion)) {
23
- console.warn(
24
- chalk.yellow(
25
- `⚠️ Warning: You are using Node.js ${currentVersion}, but this tool requires ${requiredVersion}.\n` +
26
- ` Some features may not work correctly. Please upgrade your Node.js version.\n`,
27
- ),
28
- );
57
+ ${slicemachineInit}
58
+
59
+ Confirm that is what you want before using it. If the choice is not yours, wait for an answer.
60
+
61
+ Working with an AI agent? Install the Prismic skill so it knows the current workflow:
62
+
63
+ npx skills add --global --yes prismicio/skills
64
+
65
+ Docs: https://prismic.io/docs/cli
66
+ Existing Slice Machine projects: https://prismic.io/docs/slice-machine
67
+ `,
68
+ );
69
+
70
+ try {
71
+ const manager = createSliceMachineManager();
72
+ await manager.telemetry.initTelemetry({
73
+ appName: pkg.name,
74
+ appVersion: pkg.version,
75
+ });
76
+ const tracked = manager.telemetry
77
+ .track({
78
+ event: "command:init:deprecation",
79
+ repository,
80
+ forced,
81
+ })
82
+ // A forced run does not await this, so it must handle its own
83
+ // rejection. An unhandled one would take the process down.
84
+ .catch(() => undefined);
85
+ // A forced run has the rest of the command to deliver the event.
86
+ if (!forced) {
87
+ await Promise.race([tracked, setTimeout(3000)]);
88
+ }
89
+ } catch {
90
+ // Telemetry never blocks the message.
91
+ }
92
+
93
+ if (!forced) {
94
+ process.exit(1);
29
95
  }
30
96
 
31
- import("../dist/cli.cjs");
97
+ // The CLI parses its own flags and rejects unknown ones, so hide `--force`.
98
+ process.argv = process.argv.filter(
99
+ (argument) => argument !== "--force" && !argument.startsWith("--force="),
100
+ );
101
+ await import("../dist/cli.cjs");
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  const index = require("../../../../_virtual/index9.cjs");
3
3
  require("../../highlight/lib/index.cjs");
4
- const index$1 = require("../../../../_virtual/index13.cjs");
4
+ const index$1 = require("../../../../_virtual/index15.cjs");
5
5
  Object.defineProperty(index.__exports, "__esModule", {
6
6
  value: true
7
7
  });
@@ -1,6 +1,6 @@
1
1
  import { __exports as lib } from "../../../../_virtual/index9.js";
2
2
  import "../../highlight/lib/index.js";
3
- import { __exports as lib$1 } from "../../../../_virtual/index13.js";
3
+ import { __exports as lib$1 } from "../../../../_virtual/index15.js";
4
4
  Object.defineProperty(lib, "__esModule", {
5
5
  value: true
6
6
  });
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const index = require("../../../../_virtual/index17.cjs");
2
+ const index = require("../../../../_virtual/index18.cjs");
3
3
  require("./identifier.cjs");
4
4
  require("./keyword.cjs");
5
5
  const identifier = require("../../../../_virtual/identifier.cjs");
@@ -1,4 +1,4 @@
1
- import { __exports as lib } from "../../../../_virtual/index17.js";
1
+ import { __exports as lib } from "../../../../_virtual/index18.js";
2
2
  import "./identifier.js";
3
3
  import "./keyword.js";
4
4
  import { __exports as identifier } from "../../../../_virtual/identifier.js";
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
- const index = require("../../../../_virtual/index13.cjs");
2
+ const index = require("../../../../_virtual/index15.cjs");
3
3
  require("../../../js-tokens/index.cjs");
4
4
  require("../../helper-validator-identifier/lib/index.cjs");
5
5
  const chalk = require("chalk");
6
- const index$1 = require("../../../../_virtual/index16.cjs");
7
- const index$2 = require("../../../../_virtual/index17.cjs");
6
+ const index$1 = require("../../../../_virtual/index17.cjs");
7
+ const index$2 = require("../../../../_virtual/index18.cjs");
8
8
  Object.defineProperty(index.__exports, "__esModule", {
9
9
  value: true
10
10
  });
@@ -1,9 +1,9 @@
1
- import { __exports as lib } from "../../../../_virtual/index13.js";
1
+ import { __exports as lib } from "../../../../_virtual/index15.js";
2
2
  import "../../../js-tokens/index.js";
3
3
  import "../../helper-validator-identifier/lib/index.js";
4
4
  import chalk from "chalk";
5
- import { __exports as jsTokens } from "../../../../_virtual/index16.js";
6
- import { __exports as lib$1 } from "../../../../_virtual/index17.js";
5
+ import { __exports as jsTokens } from "../../../../_virtual/index17.js";
6
+ import { __exports as lib$1 } from "../../../../_virtual/index18.js";
7
7
  Object.defineProperty(lib, "__esModule", {
8
8
  value: true
9
9
  });
@@ -7,7 +7,7 @@ require("../utils/index.cjs");
7
7
  require("./common.cjs");
8
8
  const constants = require("../../../../../_virtual/constants.cjs");
9
9
  const common$1 = require("../../../../../_virtual/common2.cjs");
10
- const index$1 = require("../../../../../_virtual/index15.cjs");
10
+ const index$1 = require("../../../../../_virtual/index14.cjs");
11
11
  const index$2 = require("../../../../../_virtual/index21.cjs");
12
12
  Object.defineProperty(async.__exports, "__esModule", { value: true });
13
13
  async.__exports.readdir = async.__exports.readdirWithFileTypes = async.__exports.read = void 0;
@@ -6,7 +6,7 @@ import "../utils/index.js";
6
6
  import "./common.js";
7
7
  import { __exports as constants } from "../../../../../_virtual/constants.js";
8
8
  import { __exports as common$1 } from "../../../../../_virtual/common2.js";
9
- import { __exports as out } from "../../../../../_virtual/index15.js";
9
+ import { __exports as out } from "../../../../../_virtual/index14.js";
10
10
  import { __exports as utils$1 } from "../../../../../_virtual/index21.js";
11
11
  Object.defineProperty(async, "__esModule", { value: true });
12
12
  async.readdir = async.readdirWithFileTypes = async.read = void 0;
@@ -7,7 +7,7 @@ require("./common.cjs");
7
7
  const constants = require("../../../../../_virtual/constants.cjs");
8
8
  const common$1 = require("../../../../../_virtual/common2.cjs");
9
9
  const index = require("../../../../../_virtual/index21.cjs");
10
- const index$1 = require("../../../../../_virtual/index15.cjs");
10
+ const index$1 = require("../../../../../_virtual/index14.cjs");
11
11
  Object.defineProperty(sync.__exports, "__esModule", { value: true });
12
12
  sync.__exports.readdir = sync.__exports.readdirWithFileTypes = sync.__exports.read = void 0;
13
13
  const fsStat = index$1.__exports;
@@ -6,7 +6,7 @@ import "./common.js";
6
6
  import { __exports as constants } from "../../../../../_virtual/constants.js";
7
7
  import { __exports as common$1 } from "../../../../../_virtual/common2.js";
8
8
  import { __exports as utils$1 } from "../../../../../_virtual/index21.js";
9
- import { __exports as out } from "../../../../../_virtual/index15.js";
9
+ import { __exports as out } from "../../../../../_virtual/index14.js";
10
10
  Object.defineProperty(sync, "__esModule", { value: true });
11
11
  sync.readdir = sync.readdirWithFileTypes = sync.read = void 0;
12
12
  const fsStat = out;
@@ -4,7 +4,7 @@ const require$$0 = require("path");
4
4
  require("../../fs.stat/out/index.cjs");
5
5
  require("./adapters/fs.cjs");
6
6
  const fs$1 = require("../../../../_virtual/fs3.cjs");
7
- const index = require("../../../../_virtual/index15.cjs");
7
+ const index = require("../../../../_virtual/index14.cjs");
8
8
  Object.defineProperty(settings.__exports, "__esModule", { value: true });
9
9
  const path = require$$0;
10
10
  const fsStat = index.__exports;
@@ -3,7 +3,7 @@ import require$$0 from "path";
3
3
  import "../../fs.stat/out/index.js";
4
4
  import "./adapters/fs.js";
5
5
  import { __exports as fs$1 } from "../../../../_virtual/fs3.js";
6
- import { __exports as out } from "../../../../_virtual/index15.js";
6
+ import { __exports as out } from "../../../../_virtual/index14.js";
7
7
  Object.defineProperty(settings, "__esModule", { value: true });
8
8
  const path = require$$0;
9
9
  const fsStat = out;
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const index = require("../../../../_virtual/index15.cjs");
2
+ const index = require("../../../../_virtual/index14.cjs");
3
3
  require("./providers/async.cjs");
4
4
  require("./providers/sync.cjs");
5
5
  require("./settings.cjs");
@@ -1,4 +1,4 @@
1
- import { __exports as out } from "../../../../_virtual/index15.js";
1
+ import { __exports as out } from "../../../../_virtual/index14.js";
2
2
  import "./providers/async.js";
3
3
  import "./providers/sync.js";
4
4
  import "./settings.js";
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const index = require("../../../../_virtual/index14.cjs");
2
+ const index = require("../../../../_virtual/index13.cjs");
3
3
  require("./providers/async.cjs");
4
4
  require("./providers/stream.cjs");
5
5
  require("./providers/sync.cjs");
@@ -1,4 +1,4 @@
1
- import { __exports as out } from "../../../../_virtual/index14.js";
1
+ import { __exports as out } from "../../../../_virtual/index13.js";
2
2
  import "./providers/async.js";
3
3
  import "./providers/stream.js";
4
4
  import "./providers/sync.js";
@@ -4,7 +4,7 @@ require("../../../@nodelib/fs.walk/out/index.cjs");
4
4
  require("./reader.cjs");
5
5
  require("./stream.cjs");
6
6
  const reader = require("../../../../_virtual/reader.cjs");
7
- const index = require("../../../../_virtual/index14.cjs");
7
+ const index = require("../../../../_virtual/index13.cjs");
8
8
  const stream = require("../../../../_virtual/stream2.cjs");
9
9
  Object.defineProperty(async.__exports, "__esModule", { value: true });
10
10
  const fsWalk = index.__exports;
@@ -3,7 +3,7 @@ import "../../../@nodelib/fs.walk/out/index.js";
3
3
  import "./reader.js";
4
4
  import "./stream.js";
5
5
  import { __exports as reader } from "../../../../_virtual/reader.js";
6
- import { __exports as out } from "../../../../_virtual/index14.js";
6
+ import { __exports as out } from "../../../../_virtual/index13.js";
7
7
  import { __exports as stream } from "../../../../_virtual/stream2.js";
8
8
  Object.defineProperty(async, "__esModule", { value: true });
9
9
  const fsWalk = out;
@@ -3,7 +3,7 @@ const reader = require("../../../../_virtual/reader.cjs");
3
3
  const require$$0 = require("path");
4
4
  require("../../../@nodelib/fs.stat/out/index.cjs");
5
5
  require("../utils/index.cjs");
6
- const index = require("../../../../_virtual/index15.cjs");
6
+ const index = require("../../../../_virtual/index14.cjs");
7
7
  const index$1 = require("../../../../_virtual/index5.cjs");
8
8
  Object.defineProperty(reader.__exports, "__esModule", { value: true });
9
9
  const path = require$$0;
@@ -2,7 +2,7 @@ import { __exports as reader } from "../../../../_virtual/reader.js";
2
2
  import require$$0 from "path";
3
3
  import "../../../@nodelib/fs.stat/out/index.js";
4
4
  import "../utils/index.js";
5
- import { __exports as out } from "../../../../_virtual/index15.js";
5
+ import { __exports as out } from "../../../../_virtual/index14.js";
6
6
  import { __exports as utils$1 } from "../../../../_virtual/index5.js";
7
7
  Object.defineProperty(reader, "__esModule", { value: true });
8
8
  const path = require$$0;
@@ -5,8 +5,8 @@ require("../../../@nodelib/fs.stat/out/index.cjs");
5
5
  require("../../../@nodelib/fs.walk/out/index.cjs");
6
6
  require("./reader.cjs");
7
7
  const reader = require("../../../../_virtual/reader.cjs");
8
- const index = require("../../../../_virtual/index14.cjs");
9
- const index$1 = require("../../../../_virtual/index15.cjs");
8
+ const index = require("../../../../_virtual/index13.cjs");
9
+ const index$1 = require("../../../../_virtual/index14.cjs");
10
10
  Object.defineProperty(stream.__exports, "__esModule", { value: true });
11
11
  const stream_1 = require$$0;
12
12
  const fsStat = index$1.__exports;
@@ -4,8 +4,8 @@ import "../../../@nodelib/fs.stat/out/index.js";
4
4
  import "../../../@nodelib/fs.walk/out/index.js";
5
5
  import "./reader.js";
6
6
  import { __exports as reader } from "../../../../_virtual/reader.js";
7
- import { __exports as out } from "../../../../_virtual/index14.js";
8
- import { __exports as out$1 } from "../../../../_virtual/index15.js";
7
+ import { __exports as out } from "../../../../_virtual/index13.js";
8
+ import { __exports as out$1 } from "../../../../_virtual/index14.js";
9
9
  Object.defineProperty(stream, "__esModule", { value: true });
10
10
  const stream_1 = require$$0;
11
11
  const fsStat = out$1;
@@ -4,8 +4,8 @@ require("../../../@nodelib/fs.stat/out/index.cjs");
4
4
  require("../../../@nodelib/fs.walk/out/index.cjs");
5
5
  require("./reader.cjs");
6
6
  const reader = require("../../../../_virtual/reader.cjs");
7
- const index = require("../../../../_virtual/index14.cjs");
8
- const index$1 = require("../../../../_virtual/index15.cjs");
7
+ const index = require("../../../../_virtual/index13.cjs");
8
+ const index$1 = require("../../../../_virtual/index14.cjs");
9
9
  Object.defineProperty(sync.__exports, "__esModule", { value: true });
10
10
  const fsStat = index$1.__exports;
11
11
  const fsWalk = index.__exports;
@@ -3,8 +3,8 @@ import "../../../@nodelib/fs.stat/out/index.js";
3
3
  import "../../../@nodelib/fs.walk/out/index.js";
4
4
  import "./reader.js";
5
5
  import { __exports as reader } from "../../../../_virtual/reader.js";
6
- import { __exports as out } from "../../../../_virtual/index14.js";
7
- import { __exports as out$1 } from "../../../../_virtual/index15.js";
6
+ import { __exports as out } from "../../../../_virtual/index13.js";
7
+ import { __exports as out$1 } from "../../../../_virtual/index14.js";
8
8
  Object.defineProperty(sync, "__esModule", { value: true });
9
9
  const fsStat = out$1;
10
10
  const fsWalk = out;
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const index = require("../../_virtual/index16.cjs");
2
+ const index = require("../../_virtual/index17.cjs");
3
3
  Object.defineProperty(index.__exports, "__esModule", {
4
4
  value: true
5
5
  });
@@ -1,4 +1,4 @@
1
- import { __exports as jsTokens } from "../../_virtual/index16.js";
1
+ import { __exports as jsTokens } from "../../_virtual/index17.js";
2
2
  Object.defineProperty(jsTokens, "__esModule", {
3
3
  value: true
4
4
  });
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index = require("../../_virtual/index19.cjs");
3
+ const index = require("../../_virtual/index16.cjs");
4
4
  const pathKey = (options = {}) => {
5
5
  const environment = options.env || process.env;
6
6
  const platform = options.platform || process.platform;
@@ -1,4 +1,4 @@
1
- import { __module as pathKey$1 } from "../../_virtual/index19.js";
1
+ import { __module as pathKey$1 } from "../../_virtual/index16.js";
2
2
  const pathKey = (options = {}) => {
3
3
  const environment = options.env || process.env;
4
4
  const platform = options.platform || process.platform;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index$1 = require("../../../../_virtual/index18.cjs");
3
+ const index$1 = require("../../../../_virtual/index19.cjs");
4
4
  const require$$0 = require("url");
5
5
  const gitHostInfo = require("./git-host-info.cjs");
6
6
  const gitHost = require("./git-host.cjs");
@@ -1,4 +1,4 @@
1
- import { __module as hostedGitInfo } from "../../../../_virtual/index18.js";
1
+ import { __module as hostedGitInfo } from "../../../../_virtual/index19.js";
2
2
  import require$$0 from "url";
3
3
  import { g as gitHostInfo } from "./git-host-info.js";
4
4
  import { g as gitHost } from "./git-host.js";
@@ -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 out = {};
4
+ exports.__exports = out;
5
5
  //# sourceMappingURL=index13.cjs.map
@@ -1,5 +1,5 @@
1
- var lib = {};
1
+ var out = {};
2
2
  export {
3
- lib as __exports
3
+ out as __exports
4
4
  };
5
5
  //# sourceMappingURL=index13.js.map
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- var out = {};
4
- exports.__exports = out;
3
+ var lib = {};
4
+ exports.__exports = lib;
5
5
  //# sourceMappingURL=index15.cjs.map
@@ -1,5 +1,5 @@
1
- var out = {};
1
+ var lib = {};
2
2
  export {
3
- out as __exports
3
+ lib as __exports
4
4
  };
5
5
  //# sourceMappingURL=index15.js.map
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- var jsTokens = {};
4
- exports.__exports = jsTokens;
3
+ var pathKey = { exports: {} };
4
+ exports.__module = pathKey;
5
5
  //# sourceMappingURL=index16.cjs.map
@@ -1,5 +1,5 @@
1
- var jsTokens = {};
1
+ var pathKey = { exports: {} };
2
2
  export {
3
- jsTokens as __exports
3
+ pathKey as __module
4
4
  };
5
5
  //# sourceMappingURL=index16.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 jsTokens = {};
4
+ exports.__exports = jsTokens;
5
5
  //# sourceMappingURL=index17.cjs.map
@@ -1,5 +1,5 @@
1
- var lib = {};
1
+ var jsTokens = {};
2
2
  export {
3
- lib as __exports
3
+ jsTokens as __exports
4
4
  };
5
5
  //# sourceMappingURL=index17.js.map
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- var hostedGitInfo = { exports: {} };
4
- exports.__module = hostedGitInfo;
3
+ var lib = {};
4
+ exports.__exports = lib;
5
5
  //# sourceMappingURL=index18.cjs.map
@@ -1,5 +1,5 @@
1
- var hostedGitInfo = { exports: {} };
1
+ var lib = {};
2
2
  export {
3
- hostedGitInfo as __module
3
+ lib as __exports
4
4
  };
5
5
  //# sourceMappingURL=index18.js.map
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- var pathKey = { exports: {} };
4
- exports.__module = pathKey;
3
+ var hostedGitInfo = { exports: {} };
4
+ exports.__module = hostedGitInfo;
5
5
  //# sourceMappingURL=index19.cjs.map
@@ -1,5 +1,5 @@
1
- var pathKey = { exports: {} };
1
+ var hostedGitInfo = { exports: {} };
2
2
  export {
3
- pathKey as __module
3
+ hostedGitInfo as __module
4
4
  };
5
5
  //# sourceMappingURL=index19.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.56-beta.1";
4
+ const version = "2.10.57";
5
5
  const description = "Init Prismic Slice Machine in your project";
6
6
  const keywords = [
7
7
  "typescript",
@@ -101,7 +101,6 @@ const engines = {
101
101
  const publishConfig = {
102
102
  access: "public"
103
103
  };
104
- const stableVersion = "2.10.55";
105
104
  const pkg = {
106
105
  name,
107
106
  version,
@@ -121,8 +120,7 @@ const pkg = {
121
120
  dependencies,
122
121
  devDependencies,
123
122
  engines,
124
- publishConfig,
125
- stableVersion
123
+ publishConfig
126
124
  };
127
125
  exports.author = author;
128
126
  exports.bin = bin;
@@ -141,7 +139,6 @@ exports.name = name;
141
139
  exports.publishConfig = publishConfig;
142
140
  exports.repository = repository;
143
141
  exports.scripts = scripts;
144
- exports.stableVersion = stableVersion;
145
142
  exports.type = type;
146
143
  exports.types = types;
147
144
  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.56-beta.1";
2
+ const version = "2.10.57";
3
3
  const description = "Init Prismic Slice Machine in your project";
4
4
  const keywords = [
5
5
  "typescript",
@@ -99,7 +99,6 @@ const engines = {
99
99
  const publishConfig = {
100
100
  access: "public"
101
101
  };
102
- const stableVersion = "2.10.55";
103
102
  const pkg = {
104
103
  name,
105
104
  version,
@@ -119,8 +118,7 @@ const pkg = {
119
118
  dependencies,
120
119
  devDependencies,
121
120
  engines,
122
- publishConfig,
123
- stableVersion
121
+ publishConfig
124
122
  };
125
123
  export {
126
124
  author,
@@ -140,7 +138,6 @@ export {
140
138
  publishConfig,
141
139
  repository,
142
140
  scripts,
143
- stableVersion,
144
141
  type,
145
142
  types,
146
143
  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.56-beta.1",
3
+ "version": "2.10.57",
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.5-beta.1",
57
+ "@slicemachine/manager": "0.27.6",
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.97-beta.1",
71
+ "@slicemachine/plugin-kit": "0.4.98",
72
72
  "@types/listr": "0.14.4",
73
73
  "@types/prompts": "2.4.3",
74
74
  "@types/semver": "7.3.13",
@@ -99,6 +99,5 @@
99
99
  },
100
100
  "publishConfig": {
101
101
  "access": "public"
102
- },
103
- "stableVersion": "2.10.55"
102
+ }
104
103
  }