@slicemachine/init 2.10.56 → 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.
- package/README.md +8 -0
- package/bin/slicemachine-init.js +93 -23
- package/dist/_node_modules/@babel/code-frame/lib/index.cjs +1 -1
- package/dist/_node_modules/@babel/code-frame/lib/index.js +1 -1
- package/dist/_node_modules/@babel/highlight/lib/index.cjs +1 -1
- package/dist/_node_modules/@babel/highlight/lib/index.js +1 -1
- package/dist/_node_modules/@nodelib/fs.scandir/out/providers/async.cjs +1 -1
- package/dist/_node_modules/@nodelib/fs.scandir/out/providers/async.js +1 -1
- package/dist/_node_modules/@nodelib/fs.scandir/out/providers/sync.cjs +1 -1
- package/dist/_node_modules/@nodelib/fs.scandir/out/providers/sync.js +1 -1
- package/dist/_node_modules/@nodelib/fs.scandir/out/settings.cjs +1 -1
- package/dist/_node_modules/@nodelib/fs.scandir/out/settings.js +1 -1
- package/dist/_node_modules/@nodelib/fs.stat/out/index.cjs +1 -1
- package/dist/_node_modules/@nodelib/fs.stat/out/index.js +1 -1
- package/dist/_node_modules/@nodelib/fs.walk/out/index.cjs +1 -1
- package/dist/_node_modules/@nodelib/fs.walk/out/index.js +1 -1
- package/dist/_node_modules/cross-spawn/index.cjs +1 -1
- package/dist/_node_modules/cross-spawn/index.js +1 -1
- package/dist/_node_modules/dir-glob/index.cjs +2 -2
- package/dist/_node_modules/dir-glob/index.js +2 -2
- package/dist/_node_modules/fast-glob/out/index.cjs +1 -1
- package/dist/_node_modules/fast-glob/out/index.js +1 -1
- package/dist/_node_modules/fast-glob/out/managers/tasks.cjs +1 -1
- package/dist/_node_modules/fast-glob/out/managers/tasks.js +1 -1
- package/dist/_node_modules/fast-glob/out/providers/filters/deep.cjs +1 -1
- package/dist/_node_modules/fast-glob/out/providers/filters/deep.js +1 -1
- package/dist/_node_modules/fast-glob/out/providers/filters/entry.cjs +1 -1
- package/dist/_node_modules/fast-glob/out/providers/filters/entry.js +1 -1
- package/dist/_node_modules/fast-glob/out/providers/filters/error.cjs +1 -1
- package/dist/_node_modules/fast-glob/out/providers/filters/error.js +1 -1
- package/dist/_node_modules/fast-glob/out/providers/matchers/matcher.cjs +1 -1
- package/dist/_node_modules/fast-glob/out/providers/matchers/matcher.js +1 -1
- package/dist/_node_modules/fast-glob/out/providers/transformers/entry.cjs +1 -1
- package/dist/_node_modules/fast-glob/out/providers/transformers/entry.js +1 -1
- package/dist/_node_modules/fast-glob/out/readers/async.cjs +1 -1
- package/dist/_node_modules/fast-glob/out/readers/async.js +1 -1
- package/dist/_node_modules/fast-glob/out/readers/reader.cjs +2 -2
- package/dist/_node_modules/fast-glob/out/readers/reader.js +2 -2
- package/dist/_node_modules/fast-glob/out/readers/stream.cjs +2 -2
- package/dist/_node_modules/fast-glob/out/readers/stream.js +2 -2
- package/dist/_node_modules/fast-glob/out/readers/sync.cjs +2 -2
- package/dist/_node_modules/fast-glob/out/readers/sync.js +2 -2
- package/dist/_node_modules/fast-glob/out/utils/index.cjs +1 -1
- package/dist/_node_modules/fast-glob/out/utils/index.js +1 -1
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/index.cjs +1 -1
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/index.js +1 -1
- package/dist/_node_modules/path-key/index.cjs +1 -1
- package/dist/_node_modules/path-key/index.js +1 -1
- package/dist/_node_modules/path-type/index.cjs +1 -1
- package/dist/_node_modules/path-type/index.js +1 -1
- package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/index.cjs +1 -1
- package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/index.js +1 -1
- package/dist/_virtual/index13.cjs +2 -2
- package/dist/_virtual/index13.js +2 -2
- package/dist/_virtual/index15.cjs +2 -2
- package/dist/_virtual/index15.js +2 -2
- package/dist/_virtual/index16.cjs +2 -2
- package/dist/_virtual/index16.js +2 -2
- package/dist/_virtual/index19.cjs +2 -2
- package/dist/_virtual/index19.js +2 -2
- package/dist/_virtual/index4.cjs +2 -2
- package/dist/_virtual/index4.js +2 -2
- package/dist/_virtual/index5.cjs +2 -2
- package/dist/_virtual/index5.js +2 -2
- package/dist/_virtual/index6.cjs +2 -2
- package/dist/_virtual/index6.js +2 -2
- package/dist/_virtual/index7.cjs +2 -2
- package/dist/_virtual/index7.js +2 -2
- package/dist/_virtual/index8.cjs +2 -2
- package/dist/_virtual/index8.js +2 -2
- package/dist/packages/init/package.json.cjs +1 -1
- package/dist/packages/init/package.json.js +1 -1
- package/package.json +3 -3
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]
|
package/bin/slicemachine-init.js
CHANGED
|
@@ -1,31 +1,101 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
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
|
-
|
|
6
|
+
import { createRequire } from "node:module";
|
|
7
|
+
import { setTimeout } from "node:timers/promises";
|
|
8
|
+
import { parseArgs } from "node:util";
|
|
15
9
|
|
|
16
|
-
|
|
17
|
-
|
|
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
|
-
|
|
55
|
+
--force sets up a project with the deprecated Slice Machine. It is not recommended:
|
|
21
56
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
|
|
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/
|
|
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/
|
|
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/
|
|
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");
|
|
@@ -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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const _commonjsHelpers = require("../../_virtual/_commonjsHelpers.cjs");
|
|
3
|
-
const index = require("../../_virtual/
|
|
3
|
+
const index = require("../../_virtual/index4.cjs");
|
|
4
4
|
const require$$0 = require("child_process");
|
|
5
5
|
const parse$1 = require("./lib/parse.cjs");
|
|
6
6
|
const enoent$1 = require("./lib/enoent.cjs");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getDefaultExportFromCjs } from "../../_virtual/_commonjsHelpers.js";
|
|
2
|
-
import { __module as crossSpawn$1 } from "../../_virtual/
|
|
2
|
+
import { __module as crossSpawn$1 } from "../../_virtual/index4.js";
|
|
3
3
|
import require$$0 from "child_process";
|
|
4
4
|
import { p as parse_1 } from "./lib/parse.js";
|
|
5
5
|
import { e as enoent$1 } from "./lib/enoent.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const _commonjsHelpers = require("../../_virtual/_commonjsHelpers.cjs");
|
|
3
|
-
const index = require("../../_virtual/
|
|
3
|
+
const index = require("../../_virtual/index6.cjs");
|
|
4
4
|
const require$$0 = require("path");
|
|
5
5
|
require("../path-type/index.cjs");
|
|
6
|
-
const index$1 = require("../../_virtual/
|
|
6
|
+
const index$1 = require("../../_virtual/index7.cjs");
|
|
7
7
|
const path = require$$0;
|
|
8
8
|
const pathType = index$1.__exports;
|
|
9
9
|
const getExtensions = (extensions) => extensions.length > 1 ? `{${extensions.join(",")}}` : extensions[0];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { getDefaultExportFromCjs } from "../../_virtual/_commonjsHelpers.js";
|
|
2
|
-
import { __module as dirGlob$1 } from "../../_virtual/
|
|
2
|
+
import { __module as dirGlob$1 } from "../../_virtual/index6.js";
|
|
3
3
|
import require$$0 from "path";
|
|
4
4
|
import "../path-type/index.js";
|
|
5
|
-
import { __exports as pathType$1 } from "../../_virtual/
|
|
5
|
+
import { __exports as pathType$1 } from "../../_virtual/index7.js";
|
|
6
6
|
const path = require$$0;
|
|
7
7
|
const pathType = pathType$1;
|
|
8
8
|
const getExtensions = (extensions) => extensions.length > 1 ? `{${extensions.join(",")}}` : extensions[0];
|
|
@@ -8,7 +8,7 @@ require("./providers/sync.cjs");
|
|
|
8
8
|
require("./settings.cjs");
|
|
9
9
|
require("./utils/index.cjs");
|
|
10
10
|
const sync = require("../../../_virtual/sync.cjs");
|
|
11
|
-
const index = require("../../../_virtual/
|
|
11
|
+
const index = require("../../../_virtual/index5.cjs");
|
|
12
12
|
const stream = require("../../../_virtual/stream.cjs");
|
|
13
13
|
const patterns = require("../../../_virtual/patterns.cjs");
|
|
14
14
|
const settings = require("../../../_virtual/settings.cjs");
|
|
@@ -7,7 +7,7 @@ import "./providers/sync.js";
|
|
|
7
7
|
import "./settings.js";
|
|
8
8
|
import "./utils/index.js";
|
|
9
9
|
import { __exports as sync } from "../../../_virtual/sync.js";
|
|
10
|
-
import { __exports as utils$1 } from "../../../_virtual/
|
|
10
|
+
import { __exports as utils$1 } from "../../../_virtual/index5.js";
|
|
11
11
|
import { __exports as stream } from "../../../_virtual/stream.js";
|
|
12
12
|
import { __exports as patterns } from "../../../_virtual/patterns.js";
|
|
13
13
|
import { __exports as settings } from "../../../_virtual/settings.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const tasks = require("../../../../_virtual/tasks.cjs");
|
|
3
3
|
require("../utils/index.cjs");
|
|
4
|
-
const index = require("../../../../_virtual/
|
|
4
|
+
const index = require("../../../../_virtual/index5.cjs");
|
|
5
5
|
Object.defineProperty(tasks.__exports, "__esModule", { value: true });
|
|
6
6
|
tasks.__exports.convertPatternGroupToTask = tasks.__exports.convertPatternGroupsToTasks = tasks.__exports.groupPatternsByBaseDirectory = tasks.__exports.getNegativePatternsAsPositive = tasks.__exports.getPositivePatterns = tasks.__exports.convertPatternsToTasks = tasks.__exports.generate = void 0;
|
|
7
7
|
const utils = index.__exports;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __exports as tasks } from "../../../../_virtual/tasks.js";
|
|
2
2
|
import "../utils/index.js";
|
|
3
|
-
import { __exports as utils$1 } from "../../../../_virtual/
|
|
3
|
+
import { __exports as utils$1 } from "../../../../_virtual/index5.js";
|
|
4
4
|
Object.defineProperty(tasks, "__esModule", { value: true });
|
|
5
5
|
tasks.convertPatternGroupToTask = tasks.convertPatternGroupsToTasks = tasks.groupPatternsByBaseDirectory = tasks.getNegativePatternsAsPositive = tasks.getPositivePatterns = tasks.convertPatternsToTasks = tasks.generate = void 0;
|
|
6
6
|
const utils = utils$1;
|
|
@@ -3,7 +3,7 @@ const deep = require("../../../../../_virtual/deep.cjs");
|
|
|
3
3
|
require("../../utils/index.cjs");
|
|
4
4
|
require("../matchers/partial.cjs");
|
|
5
5
|
const partial = require("../../../../../_virtual/partial.cjs");
|
|
6
|
-
const index = require("../../../../../_virtual/
|
|
6
|
+
const index = require("../../../../../_virtual/index5.cjs");
|
|
7
7
|
Object.defineProperty(deep.__exports, "__esModule", { value: true });
|
|
8
8
|
const utils = index.__exports;
|
|
9
9
|
const partial_1 = partial.__exports;
|
|
@@ -2,7 +2,7 @@ import { __exports as deep } from "../../../../../_virtual/deep.js";
|
|
|
2
2
|
import "../../utils/index.js";
|
|
3
3
|
import "../matchers/partial.js";
|
|
4
4
|
import { __exports as partial } from "../../../../../_virtual/partial.js";
|
|
5
|
-
import { __exports as utils$1 } from "../../../../../_virtual/
|
|
5
|
+
import { __exports as utils$1 } from "../../../../../_virtual/index5.js";
|
|
6
6
|
Object.defineProperty(deep, "__esModule", { value: true });
|
|
7
7
|
const utils = utils$1;
|
|
8
8
|
const partial_1 = partial;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const entry = require("../../../../../_virtual/entry.cjs");
|
|
3
3
|
require("../../utils/index.cjs");
|
|
4
|
-
const index = require("../../../../../_virtual/
|
|
4
|
+
const index = require("../../../../../_virtual/index5.cjs");
|
|
5
5
|
Object.defineProperty(entry.__exports, "__esModule", { value: true });
|
|
6
6
|
const utils = index.__exports;
|
|
7
7
|
class EntryFilter {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __exports as entry } from "../../../../../_virtual/entry.js";
|
|
2
2
|
import "../../utils/index.js";
|
|
3
|
-
import { __exports as utils$1 } from "../../../../../_virtual/
|
|
3
|
+
import { __exports as utils$1 } from "../../../../../_virtual/index5.js";
|
|
4
4
|
Object.defineProperty(entry, "__esModule", { value: true });
|
|
5
5
|
const utils = utils$1;
|
|
6
6
|
class EntryFilter {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const error = require("../../../../../_virtual/error.cjs");
|
|
3
3
|
require("../../utils/index.cjs");
|
|
4
|
-
const index = require("../../../../../_virtual/
|
|
4
|
+
const index = require("../../../../../_virtual/index5.cjs");
|
|
5
5
|
Object.defineProperty(error.__exports, "__esModule", { value: true });
|
|
6
6
|
const utils = index.__exports;
|
|
7
7
|
class ErrorFilter {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __exports as error } from "../../../../../_virtual/error.js";
|
|
2
2
|
import "../../utils/index.js";
|
|
3
|
-
import { __exports as utils$1 } from "../../../../../_virtual/
|
|
3
|
+
import { __exports as utils$1 } from "../../../../../_virtual/index5.js";
|
|
4
4
|
Object.defineProperty(error, "__esModule", { value: true });
|
|
5
5
|
const utils = utils$1;
|
|
6
6
|
class ErrorFilter {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const matcher = require("../../../../../_virtual/matcher.cjs");
|
|
3
3
|
require("../../utils/index.cjs");
|
|
4
|
-
const index = require("../../../../../_virtual/
|
|
4
|
+
const index = require("../../../../../_virtual/index5.cjs");
|
|
5
5
|
Object.defineProperty(matcher.__exports, "__esModule", { value: true });
|
|
6
6
|
const utils = index.__exports;
|
|
7
7
|
class Matcher {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __exports as matcher } from "../../../../../_virtual/matcher.js";
|
|
2
2
|
import "../../utils/index.js";
|
|
3
|
-
import { __exports as utils$1 } from "../../../../../_virtual/
|
|
3
|
+
import { __exports as utils$1 } from "../../../../../_virtual/index5.js";
|
|
4
4
|
Object.defineProperty(matcher, "__esModule", { value: true });
|
|
5
5
|
const utils = utils$1;
|
|
6
6
|
class Matcher {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const entry = require("../../../../../_virtual/entry2.cjs");
|
|
3
3
|
require("../../utils/index.cjs");
|
|
4
|
-
const index = require("../../../../../_virtual/
|
|
4
|
+
const index = require("../../../../../_virtual/index5.cjs");
|
|
5
5
|
Object.defineProperty(entry.__exports, "__esModule", { value: true });
|
|
6
6
|
const utils = index.__exports;
|
|
7
7
|
class EntryTransformer {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __exports as entry } from "../../../../../_virtual/entry2.js";
|
|
2
2
|
import "../../utils/index.js";
|
|
3
|
-
import { __exports as utils$1 } from "../../../../../_virtual/
|
|
3
|
+
import { __exports as utils$1 } from "../../../../../_virtual/index5.js";
|
|
4
4
|
Object.defineProperty(entry, "__esModule", { value: true });
|
|
5
5
|
const utils = utils$1;
|
|
6
6
|
class EntryTransformer {
|
|
@@ -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/
|
|
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/
|
|
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,8 +3,8 @@ 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/
|
|
7
|
-
const index$1 = require("../../../../_virtual/
|
|
6
|
+
const index = require("../../../../_virtual/index14.cjs");
|
|
7
|
+
const index$1 = require("../../../../_virtual/index5.cjs");
|
|
8
8
|
Object.defineProperty(reader.__exports, "__esModule", { value: true });
|
|
9
9
|
const path = require$$0;
|
|
10
10
|
const fsStat = index.__exports;
|
|
@@ -2,8 +2,8 @@ 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/
|
|
6
|
-
import { __exports as utils$1 } from "../../../../_virtual/
|
|
5
|
+
import { __exports as out } from "../../../../_virtual/index14.js";
|
|
6
|
+
import { __exports as utils$1 } from "../../../../_virtual/index5.js";
|
|
7
7
|
Object.defineProperty(reader, "__esModule", { value: true });
|
|
8
8
|
const path = require$$0;
|
|
9
9
|
const fsStat = out;
|
|
@@ -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/
|
|
9
|
-
const index$1 = require("../../../../_virtual/
|
|
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/
|
|
8
|
-
import { __exports as out$1 } from "../../../../_virtual/
|
|
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/
|
|
8
|
-
const index$1 = require("../../../../_virtual/
|
|
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/
|
|
7
|
-
import { __exports as out$1 } from "../../../../_virtual/
|
|
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,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index$1 = require("../../../../../_virtual/
|
|
3
|
+
const index$1 = require("../../../../../_virtual/index8.cjs");
|
|
4
4
|
const gitHostInfo = require("./git-host-info.cjs");
|
|
5
5
|
const gitHost = require("./git-host.cjs");
|
|
6
6
|
const index = require('./../_node_modules/lru-cache/index.cjs');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __module as lib } from "../../../../../_virtual/
|
|
1
|
+
import { __module as lib } from "../../../../../_virtual/index8.js";
|
|
2
2
|
import { g as gitHostInfo } from "./git-host-info.js";
|
|
3
3
|
import { g as gitHost } from "./git-host.js";
|
|
4
4
|
import { l as lruCache } from './../_node_modules/lru-cache/index.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("../../_virtual/
|
|
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/
|
|
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/
|
|
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/
|
|
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";
|
package/dist/_virtual/index13.js
CHANGED
package/dist/_virtual/index15.js
CHANGED
package/dist/_virtual/index16.js
CHANGED
package/dist/_virtual/index19.js
CHANGED
package/dist/_virtual/index4.cjs
CHANGED
package/dist/_virtual/index4.js
CHANGED
package/dist/_virtual/index5.cjs
CHANGED
package/dist/_virtual/index5.js
CHANGED
package/dist/_virtual/index6.cjs
CHANGED
package/dist/_virtual/index6.js
CHANGED
package/dist/_virtual/index7.cjs
CHANGED
package/dist/_virtual/index7.js
CHANGED
package/dist/_virtual/index8.cjs
CHANGED
package/dist/_virtual/index8.js
CHANGED
|
@@ -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.
|
|
4
|
+
const version = "2.10.57";
|
|
5
5
|
const description = "Init Prismic Slice Machine in your project";
|
|
6
6
|
const keywords = [
|
|
7
7
|
"typescript",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slicemachine/init",
|
|
3
|
-
"version": "2.10.
|
|
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.
|
|
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.
|
|
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",
|