@slicemachine/init 2.10.44-beta.4 → 2.10.44
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/bin/slicemachine-init.js +28 -0
- 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/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/reader.cjs +1 -1
- package/dist/_node_modules/fast-glob/out/readers/reader.js +1 -1
- 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/get-stream/index.cjs +1 -1
- package/dist/_node_modules/get-stream/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-type/index.cjs +1 -1
- package/dist/_node_modules/path-type/index.js +1 -1
- package/dist/_node_modules/signal-exit/index.cjs +1 -1
- package/dist/_node_modules/signal-exit/index.js +1 -1
- package/dist/_virtual/index11.cjs +2 -2
- package/dist/_virtual/index11.js +2 -2
- package/dist/_virtual/index12.cjs +2 -2
- package/dist/_virtual/index12.js +2 -2
- package/dist/_virtual/index13.cjs +2 -2
- package/dist/_virtual/index13.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 +7 -5
- package/dist/packages/init/package.json.cjs.map +1 -1
- package/dist/packages/init/package.json.js +7 -5
- package/dist/packages/init/package.json.js.map +1 -1
- package/package.json +7 -5
package/bin/slicemachine-init.js
CHANGED
|
@@ -1,3 +1,31 @@
|
|
|
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
|
+
);
|
|
13
|
+
|
|
14
|
+
const requiredVersion = pkg.engines.node;
|
|
15
|
+
|
|
16
|
+
if (!requiredVersion) {
|
|
17
|
+
throw new Error("Missing engines.node in package.json.");
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
const currentVersion = process.version;
|
|
21
|
+
|
|
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
|
+
);
|
|
29
|
+
}
|
|
30
|
+
|
|
3
31
|
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/index11.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/index11.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/index11.cjs");
|
|
3
3
|
require("../../../js-tokens/index.cjs");
|
|
4
4
|
require("../../helper-validator-identifier/lib/index.cjs");
|
|
5
5
|
const chalk = require("chalk");
|
|
@@ -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/index5.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/index5.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/index7.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/index8.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/index7.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/index8.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/index6.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/index6.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/index6.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/index6.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/index6.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/index6.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/index6.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/index6.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/index6.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/index6.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/index6.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/index6.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/index6.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/index6.js";
|
|
4
4
|
Object.defineProperty(entry, "__esModule", { value: true });
|
|
5
5
|
const utils = utils$1;
|
|
6
6
|
class EntryTransformer {
|
|
@@ -4,7 +4,7 @@ const require$$0 = require("path");
|
|
|
4
4
|
require("../../../@nodelib/fs.stat/out/index.cjs");
|
|
5
5
|
require("../utils/index.cjs");
|
|
6
6
|
const index = require("../../../../_virtual/index15.cjs");
|
|
7
|
-
const index$1 = require("../../../../_virtual/
|
|
7
|
+
const index$1 = require("../../../../_virtual/index6.cjs");
|
|
8
8
|
Object.defineProperty(reader.__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 "../../../@nodelib/fs.stat/out/index.js";
|
|
4
4
|
import "../utils/index.js";
|
|
5
5
|
import { __exports as out } from "../../../../_virtual/index15.js";
|
|
6
|
-
import { __exports as utils$1 } from "../../../../_virtual/
|
|
6
|
+
import { __exports as utils$1 } from "../../../../_virtual/index6.js";
|
|
7
7
|
Object.defineProperty(reader, "__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/index13.cjs");
|
|
4
4
|
const require$$0 = require("buffer");
|
|
5
5
|
const require$$0$2 = require("stream");
|
|
6
6
|
const require$$0$1 = require("util");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getDefaultExportFromCjs } from "../../_virtual/_commonjsHelpers.js";
|
|
2
|
-
import { __module as getStream$2 } from "../../_virtual/
|
|
2
|
+
import { __module as getStream$2 } from "../../_virtual/index13.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,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/index4.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/index4.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
|
const _commonjsHelpers = require("../../_virtual/_commonjsHelpers.cjs");
|
|
3
|
-
const index = require("../../_virtual/
|
|
3
|
+
const index = require("../../_virtual/index12.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/
|
|
2
|
+
import { __module as signalExit } from "../../_virtual/index12.js";
|
|
3
3
|
import require$$0 from "assert";
|
|
4
4
|
import { __require as requireSignals } from "./signals.js";
|
|
5
5
|
import require$$2 from "events";
|
package/dist/_virtual/index11.js
CHANGED
package/dist/_virtual/index12.js
CHANGED
package/dist/_virtual/index13.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.44
|
|
4
|
+
const version = "2.10.44";
|
|
5
5
|
const description = "Init Prismic Slice Machine in your project";
|
|
6
6
|
const keywords = [
|
|
7
7
|
"typescript",
|
|
@@ -95,10 +95,12 @@ const devDependencies = {
|
|
|
95
95
|
"vite-plugin-sdk": "0.1.1",
|
|
96
96
|
vitest: "0.32.0"
|
|
97
97
|
};
|
|
98
|
+
const engines = {
|
|
99
|
+
node: ">=20.19.0"
|
|
100
|
+
};
|
|
98
101
|
const publishConfig = {
|
|
99
102
|
access: "public"
|
|
100
103
|
};
|
|
101
|
-
const stableVersion = "2.10.43";
|
|
102
104
|
const pkg = {
|
|
103
105
|
name,
|
|
104
106
|
version,
|
|
@@ -117,8 +119,8 @@ const pkg = {
|
|
|
117
119
|
scripts,
|
|
118
120
|
dependencies,
|
|
119
121
|
devDependencies,
|
|
120
|
-
|
|
121
|
-
|
|
122
|
+
engines,
|
|
123
|
+
publishConfig
|
|
122
124
|
};
|
|
123
125
|
exports.author = author;
|
|
124
126
|
exports.bin = bin;
|
|
@@ -126,6 +128,7 @@ exports.default = pkg;
|
|
|
126
128
|
exports.dependencies = dependencies;
|
|
127
129
|
exports.description = description;
|
|
128
130
|
exports.devDependencies = devDependencies;
|
|
131
|
+
exports.engines = engines;
|
|
129
132
|
exports.exports = exports$1;
|
|
130
133
|
exports.files = files;
|
|
131
134
|
exports.keywords = keywords;
|
|
@@ -136,7 +139,6 @@ exports.name = name;
|
|
|
136
139
|
exports.publishConfig = publishConfig;
|
|
137
140
|
exports.repository = repository;
|
|
138
141
|
exports.scripts = scripts;
|
|
139
|
-
exports.stableVersion = stableVersion;
|
|
140
142
|
exports.type = type;
|
|
141
143
|
exports.types = types;
|
|
142
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.44
|
|
2
|
+
const version = "2.10.44";
|
|
3
3
|
const description = "Init Prismic Slice Machine in your project";
|
|
4
4
|
const keywords = [
|
|
5
5
|
"typescript",
|
|
@@ -93,10 +93,12 @@ const devDependencies = {
|
|
|
93
93
|
"vite-plugin-sdk": "0.1.1",
|
|
94
94
|
vitest: "0.32.0"
|
|
95
95
|
};
|
|
96
|
+
const engines = {
|
|
97
|
+
node: ">=20.19.0"
|
|
98
|
+
};
|
|
96
99
|
const publishConfig = {
|
|
97
100
|
access: "public"
|
|
98
101
|
};
|
|
99
|
-
const stableVersion = "2.10.43";
|
|
100
102
|
const pkg = {
|
|
101
103
|
name,
|
|
102
104
|
version,
|
|
@@ -115,8 +117,8 @@ const pkg = {
|
|
|
115
117
|
scripts,
|
|
116
118
|
dependencies,
|
|
117
119
|
devDependencies,
|
|
118
|
-
|
|
119
|
-
|
|
120
|
+
engines,
|
|
121
|
+
publishConfig
|
|
120
122
|
};
|
|
121
123
|
export {
|
|
122
124
|
author,
|
|
@@ -125,6 +127,7 @@ export {
|
|
|
125
127
|
dependencies,
|
|
126
128
|
description,
|
|
127
129
|
devDependencies,
|
|
130
|
+
engines,
|
|
128
131
|
exports,
|
|
129
132
|
files,
|
|
130
133
|
keywords,
|
|
@@ -135,7 +138,6 @@ export {
|
|
|
135
138
|
publishConfig,
|
|
136
139
|
repository,
|
|
137
140
|
scripts,
|
|
138
|
-
stableVersion,
|
|
139
141
|
type,
|
|
140
142
|
types,
|
|
141
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.44
|
|
3
|
+
"version": "2.10.44",
|
|
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.26.1
|
|
57
|
+
"@slicemachine/manager": "0.26.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.86
|
|
71
|
+
"@slicemachine/plugin-kit": "0.4.86",
|
|
72
72
|
"@types/listr": "0.14.4",
|
|
73
73
|
"@types/prompts": "2.4.3",
|
|
74
74
|
"@types/semver": "7.3.13",
|
|
@@ -94,8 +94,10 @@
|
|
|
94
94
|
"vite-plugin-sdk": "0.1.1",
|
|
95
95
|
"vitest": "0.32.0"
|
|
96
96
|
},
|
|
97
|
+
"engines": {
|
|
98
|
+
"node": ">=20.19.0"
|
|
99
|
+
},
|
|
97
100
|
"publishConfig": {
|
|
98
101
|
"access": "public"
|
|
99
|
-
}
|
|
100
|
-
"stableVersion": "2.10.43"
|
|
102
|
+
}
|
|
101
103
|
}
|