@slicemachine/init 2.0.0 → 2.0.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.
- package/bin/slicemachine-init.js +0 -0
- package/dist/SliceMachineInitProcess.d.ts +48 -48
- 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/helper-validator-identifier/lib/index.cjs +1 -1
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.js +1 -1
- package/dist/_node_modules/@babel/highlight/lib/index.cjs +3 -3
- package/dist/_node_modules/@babel/highlight/lib/index.js +3 -3
- 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 +4 -4
- package/dist/_node_modules/@nodelib/fs.stat/out/index.js +4 -4
- package/dist/_node_modules/@nodelib/fs.stat/out/providers/async.cjs +1 -1
- package/dist/_node_modules/@nodelib/fs.stat/out/providers/async.js +1 -1
- package/dist/_node_modules/@nodelib/fs.stat/out/providers/sync.cjs +1 -1
- package/dist/_node_modules/@nodelib/fs.stat/out/providers/sync.js +1 -1
- package/dist/_node_modules/@nodelib/fs.stat/out/settings.cjs +1 -1
- package/dist/_node_modules/@nodelib/fs.stat/out/settings.js +1 -1
- package/dist/_node_modules/@nodelib/fs.walk/out/index.cjs +4 -4
- package/dist/_node_modules/@nodelib/fs.walk/out/index.js +4 -4
- package/dist/_node_modules/@nodelib/fs.walk/out/providers/async.cjs +1 -1
- package/dist/_node_modules/@nodelib/fs.walk/out/providers/async.js +1 -1
- package/dist/_node_modules/@nodelib/fs.walk/out/providers/sync.cjs +1 -1
- package/dist/_node_modules/@nodelib/fs.walk/out/providers/sync.js +1 -1
- package/dist/_node_modules/@nodelib/fs.walk/out/settings.cjs +1 -1
- package/dist/_node_modules/@nodelib/fs.walk/out/settings.js +1 -1
- package/dist/_node_modules/camelcase-keys/index.cjs +1 -1
- package/dist/_node_modules/camelcase-keys/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/js-tokens/index.cjs +1 -1
- package/dist/_node_modules/js-tokens/index.js +1 -1
- package/dist/_node_modules/map-obj/index.cjs +1 -1
- package/dist/_node_modules/map-obj/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/meow/_node_modules/normalize-package-data/lib/fixer.cjs +1 -1
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/fixer.js +1 -1
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/index.cjs +1 -1
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/index.js +1 -1
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/fixer.cjs +1 -1
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/fixer.js +1 -1
- package/dist/_node_modules/micromatch/index.cjs +1 -1
- package/dist/_node_modules/micromatch/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/picomatch/index.cjs +1 -1
- package/dist/_node_modules/picomatch/index.js +1 -1
- package/dist/_virtual/index10.cjs +2 -2
- package/dist/_virtual/index10.js +2 -2
- package/dist/_virtual/index11.cjs +10 -2
- package/dist/_virtual/index11.cjs.map +1 -1
- package/dist/_virtual/index11.js +11 -2
- package/dist/_virtual/index11.js.map +1 -1
- package/dist/_virtual/index12.cjs +2 -10
- package/dist/_virtual/index12.cjs.map +1 -1
- package/dist/_virtual/index12.js +2 -11
- package/dist/_virtual/index12.js.map +1 -1
- package/dist/_virtual/index13.cjs +2 -2
- package/dist/_virtual/index13.js +2 -2
- package/dist/_virtual/index14.cjs +2 -10
- package/dist/_virtual/index14.cjs.map +1 -1
- package/dist/_virtual/index14.js +2 -11
- package/dist/_virtual/index14.js.map +1 -1
- package/dist/_virtual/index15.cjs +2 -2
- package/dist/_virtual/index15.js +2 -2
- package/dist/_virtual/index16.cjs +10 -2
- package/dist/_virtual/index16.cjs.map +1 -1
- package/dist/_virtual/index16.js +11 -2
- package/dist/_virtual/index16.js.map +1 -1
- package/dist/_virtual/index3.cjs +2 -2
- package/dist/_virtual/index3.js +6 -6
- package/dist/_virtual/index4.cjs +2 -2
- package/dist/_virtual/index4.js +6 -6
- package/dist/_virtual/index5.cjs +10 -2
- package/dist/_virtual/index5.cjs.map +1 -1
- package/dist/_virtual/index5.js +11 -2
- package/dist/_virtual/index5.js.map +1 -1
- package/dist/_virtual/index6.cjs +2 -2
- package/dist/_virtual/index6.js +2 -2
- package/dist/_virtual/index7.cjs +2 -10
- package/dist/_virtual/index7.cjs.map +1 -1
- package/dist/_virtual/index7.js +2 -11
- package/dist/_virtual/index7.js.map +1 -1
- package/dist/cli.d.ts +1 -1
- package/dist/constants.d.ts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/lib/assertExists.d.ts +1 -1
- package/dist/lib/framework.d.ts +45 -45
- package/dist/lib/getExecuteCommand.d.ts +5 -5
- package/dist/lib/getRunScriptCommand.d.ts +5 -5
- package/dist/lib/listr.d.ts +3 -3
- package/dist/lib/prompt.d.ts +10 -10
- package/dist/lib/repositoryDomain.d.ts +25 -25
- package/dist/packages/init/_node_modules/globby/index.cjs +1 -1
- package/dist/packages/init/_node_modules/globby/index.js +1 -1
- package/dist/packages/init/package.json.cjs +3 -3
- package/dist/packages/init/package.json.js +3 -3
- package/package.json +3 -3
package/dist/_virtual/index7.cjs
CHANGED
|
@@ -1,13 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
get exports() {
|
|
6
|
-
return exports.exports;
|
|
7
|
-
},
|
|
8
|
-
set exports(v) {
|
|
9
|
-
exports.exports = v;
|
|
10
|
-
}
|
|
11
|
-
};
|
|
12
|
-
exports.__module = lib;
|
|
3
|
+
var pathType = {};
|
|
4
|
+
exports.__exports = pathType;
|
|
13
5
|
//# sourceMappingURL=index7.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index7.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index7.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
package/dist/_virtual/index7.js
CHANGED
|
@@ -1,14 +1,5 @@
|
|
|
1
|
-
var
|
|
2
|
-
var lib = {
|
|
3
|
-
get exports() {
|
|
4
|
-
return libExports;
|
|
5
|
-
},
|
|
6
|
-
set exports(v) {
|
|
7
|
-
libExports = v;
|
|
8
|
-
}
|
|
9
|
-
};
|
|
1
|
+
var pathType = {};
|
|
10
2
|
export {
|
|
11
|
-
|
|
12
|
-
libExports as exports
|
|
3
|
+
pathType as __exports
|
|
13
4
|
};
|
|
14
5
|
//# sourceMappingURL=index7.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index7.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index7.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/dist/cli.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
package/dist/constants.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const START_SCRIPT_KEY = "slicemachine";
|
|
2
|
-
export declare const START_SCRIPT_VALUE = "start-slicemachine";
|
|
1
|
+
export declare const START_SCRIPT_KEY = "slicemachine";
|
|
2
|
+
export declare const START_SCRIPT_VALUE = "start-slicemachine";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type { SliceMachineInitProcessOptions } from "./SliceMachineInitProcess";
|
|
2
|
-
export { createSliceMachineInitProcess, SliceMachineInitProcess, } from "./SliceMachineInitProcess";
|
|
1
|
+
export type { SliceMachineInitProcessOptions } from "./SliceMachineInitProcess";
|
|
2
|
+
export { createSliceMachineInitProcess, SliceMachineInitProcess, } from "./SliceMachineInitProcess";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function assertExists<T>(value: T, message: string): asserts value is NonNullable<T>;
|
|
1
|
+
export declare function assertExists<T>(value: T, message: string): asserts value is NonNullable<T>;
|
package/dist/lib/framework.d.ts
CHANGED
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
export type Framework = {
|
|
2
|
-
/**
|
|
3
|
-
* Framework's human readable name.
|
|
4
|
-
*/
|
|
5
|
-
name: string;
|
|
6
|
-
/**
|
|
7
|
-
* Framework's name sent to Prismic
|
|
8
|
-
*/
|
|
9
|
-
prismicName: string;
|
|
10
|
-
/**
|
|
11
|
-
* A link to the Prismic documentation for the framework
|
|
12
|
-
*/
|
|
13
|
-
prismicDocumentation: string;
|
|
14
|
-
/**
|
|
15
|
-
* Package name of the adapter responsible for this framework
|
|
16
|
-
*/
|
|
17
|
-
adapterName: string;
|
|
18
|
-
/**
|
|
19
|
-
* A package name/semver range map defining framework compatibility
|
|
20
|
-
* requirements.
|
|
21
|
-
*
|
|
22
|
-
* Project should match all entries to be considered compatible.
|
|
23
|
-
*/
|
|
24
|
-
compatibility: Record<string, string>;
|
|
25
|
-
/**
|
|
26
|
-
* A package name/semver range map defining development dependencies to be
|
|
27
|
-
* installed. Typically Slice Machine and the framework's adapter.
|
|
28
|
-
*
|
|
29
|
-
* @remarks
|
|
30
|
-
* Dependencies required to work with the framework (e.g. `@prismicio/next`
|
|
31
|
-
* for Next.js) should not be defined here. Those are to be defined by the
|
|
32
|
-
* adapter.
|
|
33
|
-
*/
|
|
34
|
-
devDependencies: Record<string, string>;
|
|
35
|
-
};
|
|
36
|
-
/**
|
|
37
|
-
* Frameworks we support, orders shouldn't matter much but is respected (the
|
|
38
|
-
* higher it is the more priority it has in case multiple matches)
|
|
39
|
-
*/
|
|
40
|
-
export declare const FRAMEWORKS: Record<string, Framework>;
|
|
41
|
-
/**
|
|
42
|
-
* Universal package used when framework is not supported.
|
|
43
|
-
*/
|
|
44
|
-
export declare const UNIVERSAL: Framework;
|
|
45
|
-
export declare const detectFramework: (cwd: string) => Promise<Framework>;
|
|
1
|
+
export type Framework = {
|
|
2
|
+
/**
|
|
3
|
+
* Framework's human readable name.
|
|
4
|
+
*/
|
|
5
|
+
name: string;
|
|
6
|
+
/**
|
|
7
|
+
* Framework's name sent to Prismic
|
|
8
|
+
*/
|
|
9
|
+
prismicName: string;
|
|
10
|
+
/**
|
|
11
|
+
* A link to the Prismic documentation for the framework
|
|
12
|
+
*/
|
|
13
|
+
prismicDocumentation: string;
|
|
14
|
+
/**
|
|
15
|
+
* Package name of the adapter responsible for this framework
|
|
16
|
+
*/
|
|
17
|
+
adapterName: string;
|
|
18
|
+
/**
|
|
19
|
+
* A package name/semver range map defining framework compatibility
|
|
20
|
+
* requirements.
|
|
21
|
+
*
|
|
22
|
+
* Project should match all entries to be considered compatible.
|
|
23
|
+
*/
|
|
24
|
+
compatibility: Record<string, string>;
|
|
25
|
+
/**
|
|
26
|
+
* A package name/semver range map defining development dependencies to be
|
|
27
|
+
* installed. Typically Slice Machine and the framework's adapter.
|
|
28
|
+
*
|
|
29
|
+
* @remarks
|
|
30
|
+
* Dependencies required to work with the framework (e.g. `@prismicio/next`
|
|
31
|
+
* for Next.js) should not be defined here. Those are to be defined by the
|
|
32
|
+
* adapter.
|
|
33
|
+
*/
|
|
34
|
+
devDependencies: Record<string, string>;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* Frameworks we support, orders shouldn't matter much but is respected (the
|
|
38
|
+
* higher it is the more priority it has in case multiple matches)
|
|
39
|
+
*/
|
|
40
|
+
export declare const FRAMEWORKS: Record<string, Framework>;
|
|
41
|
+
/**
|
|
42
|
+
* Universal package used when framework is not supported.
|
|
43
|
+
*/
|
|
44
|
+
export declare const UNIVERSAL: Framework;
|
|
45
|
+
export declare const detectFramework: (cwd: string) => Promise<Framework>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PackageManager } from "@slicemachine/manager";
|
|
2
|
-
export declare const getExecuteCommand: (args: {
|
|
3
|
-
agent: PackageManager;
|
|
4
|
-
script: string;
|
|
5
|
-
}) => Promise<string>;
|
|
1
|
+
import { PackageManager } from "@slicemachine/manager";
|
|
2
|
+
export declare const getExecuteCommand: (args: {
|
|
3
|
+
agent: PackageManager;
|
|
4
|
+
script: string;
|
|
5
|
+
}) => Promise<string>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PackageManager } from "@slicemachine/manager";
|
|
2
|
-
export declare const getRunScriptCommand: (args: {
|
|
3
|
-
agent: PackageManager;
|
|
4
|
-
script: string;
|
|
5
|
-
}) => Promise<string>;
|
|
1
|
+
import { PackageManager } from "@slicemachine/manager";
|
|
2
|
+
export declare const getRunScriptCommand: (args: {
|
|
3
|
+
agent: PackageManager;
|
|
4
|
+
script: string;
|
|
5
|
+
}) => Promise<string>;
|
package/dist/lib/listr.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import Listr from "listr";
|
|
2
|
-
export declare const listr: (tasks: Listr.ListrTask<any>[], options?: Listr.ListrOptions<any> | undefined) => Listr;
|
|
3
|
-
export declare const listrRun: (tasks: Listr.ListrTask<any>[], options?: Listr.ListrOptions<any> | undefined) => Promise<void>;
|
|
1
|
+
import Listr from "listr";
|
|
2
|
+
export declare const listr: (tasks: Listr.ListrTask<any>[], options?: Listr.ListrOptions<any> | undefined) => Listr;
|
|
3
|
+
export declare const listrRun: (tasks: Listr.ListrTask<any>[], options?: Listr.ListrOptions<any> | undefined) => Promise<void>;
|
package/dist/lib/prompt.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import prompts from "prompts";
|
|
2
|
-
type promptArgs<TValue = unknown, TProperty extends string = string> = prompts.PromptObject<TProperty> & {
|
|
3
|
-
onRender?: (this: {
|
|
4
|
-
msg: string;
|
|
5
|
-
value?: TValue;
|
|
6
|
-
initial?: TValue;
|
|
7
|
-
}) => void;
|
|
8
|
-
};
|
|
9
|
-
export declare const prompt: <TReturn, TProperty extends string = string>(question: promptArgs<TReturn, TProperty>) => Promise<Record<TProperty, TReturn>>;
|
|
10
|
-
export {};
|
|
1
|
+
import prompts from "prompts";
|
|
2
|
+
type promptArgs<TValue = unknown, TProperty extends string = string> = prompts.PromptObject<TProperty> & {
|
|
3
|
+
onRender?: (this: {
|
|
4
|
+
msg: string;
|
|
5
|
+
value?: TValue;
|
|
6
|
+
initial?: TValue;
|
|
7
|
+
}) => void;
|
|
8
|
+
};
|
|
9
|
+
export declare const prompt: <TReturn, TProperty extends string = string>(question: promptArgs<TReturn, TProperty>) => Promise<Record<TProperty, TReturn>>;
|
|
10
|
+
export {};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
export declare const getRandomRepositoryDomain: () => string;
|
|
2
|
-
export declare const formatRepositoryDomain: (rawDomain: string) => string;
|
|
3
|
-
export declare const ValidationErrors: {
|
|
4
|
-
readonly LessThan4: "LessThan4";
|
|
5
|
-
readonly MoreThan30: "MoreThan30";
|
|
6
|
-
readonly AlreadyExists: "AlreadyExists";
|
|
7
|
-
};
|
|
8
|
-
type ValidationErrors = (typeof ValidationErrors)[keyof typeof ValidationErrors];
|
|
9
|
-
type ValidateRepositoryDomainArgs = {
|
|
10
|
-
domain: string;
|
|
11
|
-
};
|
|
12
|
-
type ValidateRepositoryDomainReturnType = Record<Exclude<ValidationErrors, "AlreadyExists"> | "hasErrors", boolean>;
|
|
13
|
-
export declare const validateRepositoryDomain: (args: ValidateRepositoryDomainArgs) => ValidateRepositoryDomainReturnType;
|
|
14
|
-
type ValidateRepositoryDomainAndAvailabilityArgs = {
|
|
15
|
-
domain: string;
|
|
16
|
-
existsFn: (domain: string) => boolean | Promise<boolean>;
|
|
17
|
-
};
|
|
18
|
-
type ValidateRepositoryDomainAndAvailabilityReturnType = Record<ValidationErrors | "hasErrors", boolean>;
|
|
19
|
-
export declare const validateRepositoryDomainAndAvailability: (args: ValidateRepositoryDomainAndAvailabilityArgs) => Promise<ValidateRepositoryDomainAndAvailabilityReturnType>;
|
|
20
|
-
type GetErrorMessageForRepositoryDomainValidationArgs = {
|
|
21
|
-
validation: ValidateRepositoryDomainReturnType | ValidateRepositoryDomainAndAvailabilityReturnType;
|
|
22
|
-
displayDomain?: string;
|
|
23
|
-
};
|
|
24
|
-
export declare const getErrorMessageForRepositoryDomainValidation: (args: GetErrorMessageForRepositoryDomainValidationArgs) => string | null;
|
|
25
|
-
export {};
|
|
1
|
+
export declare const getRandomRepositoryDomain: () => string;
|
|
2
|
+
export declare const formatRepositoryDomain: (rawDomain: string) => string;
|
|
3
|
+
export declare const ValidationErrors: {
|
|
4
|
+
readonly LessThan4: "LessThan4";
|
|
5
|
+
readonly MoreThan30: "MoreThan30";
|
|
6
|
+
readonly AlreadyExists: "AlreadyExists";
|
|
7
|
+
};
|
|
8
|
+
type ValidationErrors = (typeof ValidationErrors)[keyof typeof ValidationErrors];
|
|
9
|
+
type ValidateRepositoryDomainArgs = {
|
|
10
|
+
domain: string;
|
|
11
|
+
};
|
|
12
|
+
type ValidateRepositoryDomainReturnType = Record<Exclude<ValidationErrors, "AlreadyExists"> | "hasErrors", boolean>;
|
|
13
|
+
export declare const validateRepositoryDomain: (args: ValidateRepositoryDomainArgs) => ValidateRepositoryDomainReturnType;
|
|
14
|
+
type ValidateRepositoryDomainAndAvailabilityArgs = {
|
|
15
|
+
domain: string;
|
|
16
|
+
existsFn: (domain: string) => boolean | Promise<boolean>;
|
|
17
|
+
};
|
|
18
|
+
type ValidateRepositoryDomainAndAvailabilityReturnType = Record<ValidationErrors | "hasErrors", boolean>;
|
|
19
|
+
export declare const validateRepositoryDomainAndAvailability: (args: ValidateRepositoryDomainAndAvailabilityArgs) => Promise<ValidateRepositoryDomainAndAvailabilityReturnType>;
|
|
20
|
+
type GetErrorMessageForRepositoryDomainValidationArgs = {
|
|
21
|
+
validation: ValidateRepositoryDomainReturnType | ValidateRepositoryDomainAndAvailabilityReturnType;
|
|
22
|
+
displayDomain?: string;
|
|
23
|
+
};
|
|
24
|
+
export declare const getErrorMessageForRepositoryDomainValidation: (args: GetErrorMessageForRepositoryDomainValidationArgs) => string | null;
|
|
25
|
+
export {};
|
|
@@ -7,7 +7,7 @@ const index = require('./../../../../_node_modules/fast-glob/out/index.cjs');
|
|
|
7
7
|
require('./../../../../_node_modules/dir-glob/index.cjs');
|
|
8
8
|
const ignore = require("./ignore.cjs");
|
|
9
9
|
const utilities = require("./utilities.cjs");
|
|
10
|
-
const index$1 = require("../../../../_virtual/
|
|
10
|
+
const index$1 = require("../../../../_virtual/index4.cjs");
|
|
11
11
|
const assertPatternsInput = (patterns) => {
|
|
12
12
|
if (patterns.some((pattern) => typeof pattern !== "string")) {
|
|
13
13
|
throw new TypeError("Patterns must be a string or an array of strings");
|
|
@@ -5,7 +5,7 @@ import out from './../../../../_node_modules/fast-glob/out/index.js';
|
|
|
5
5
|
import './../../../../_node_modules/dir-glob/index.js';
|
|
6
6
|
import { isIgnoredByIgnoreFiles, GITIGNORE_FILES_PATTERN } from "./ignore.js";
|
|
7
7
|
import { toPath, isNegativePattern } from "./utilities.js";
|
|
8
|
-
import { exports as dirGlobExports } from "../../../../_virtual/
|
|
8
|
+
import { exports as dirGlobExports } from "../../../../_virtual/index4.js";
|
|
9
9
|
const assertPatternsInput = (patterns) => {
|
|
10
10
|
if (patterns.some((pattern) => typeof pattern !== "string")) {
|
|
11
11
|
throw new TypeError("Patterns must be a string or an array of strings");
|
|
@@ -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.0.
|
|
4
|
+
const version = "2.0.1";
|
|
5
5
|
const description = "Init Prismic Slice Machine in your project";
|
|
6
6
|
const keywords = [
|
|
7
7
|
"typescript",
|
|
@@ -54,7 +54,7 @@ const scripts = {
|
|
|
54
54
|
const dependencies = {
|
|
55
55
|
"@antfu/ni": "^0.20.0",
|
|
56
56
|
"@lihbr/listr-update-renderer": "^0.5.3",
|
|
57
|
-
"@slicemachine/manager": "0.2.
|
|
57
|
+
"@slicemachine/manager": "0.2.1",
|
|
58
58
|
chalk: "^4.1.2",
|
|
59
59
|
globby: "^13.1.3",
|
|
60
60
|
listr: "^0.14.3",
|
|
@@ -92,7 +92,7 @@ const devDependencies = {
|
|
|
92
92
|
"vite-plugin-sdk": "^0.1.1",
|
|
93
93
|
vitest: "^0.27.3"
|
|
94
94
|
};
|
|
95
|
-
const gitHead = "
|
|
95
|
+
const gitHead = "cad80345015bd1b8a9ffc1d60db482a81ab8442a";
|
|
96
96
|
const pkg = {
|
|
97
97
|
name,
|
|
98
98
|
version,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const name = "@slicemachine/init";
|
|
2
|
-
const version = "2.0.
|
|
2
|
+
const version = "2.0.1";
|
|
3
3
|
const description = "Init Prismic Slice Machine in your project";
|
|
4
4
|
const keywords = [
|
|
5
5
|
"typescript",
|
|
@@ -52,7 +52,7 @@ const scripts = {
|
|
|
52
52
|
const dependencies = {
|
|
53
53
|
"@antfu/ni": "^0.20.0",
|
|
54
54
|
"@lihbr/listr-update-renderer": "^0.5.3",
|
|
55
|
-
"@slicemachine/manager": "0.2.
|
|
55
|
+
"@slicemachine/manager": "0.2.1",
|
|
56
56
|
chalk: "^4.1.2",
|
|
57
57
|
globby: "^13.1.3",
|
|
58
58
|
listr: "^0.14.3",
|
|
@@ -90,7 +90,7 @@ const devDependencies = {
|
|
|
90
90
|
"vite-plugin-sdk": "^0.1.1",
|
|
91
91
|
vitest: "^0.27.3"
|
|
92
92
|
};
|
|
93
|
-
const gitHead = "
|
|
93
|
+
const gitHead = "cad80345015bd1b8a9ffc1d60db482a81ab8442a";
|
|
94
94
|
const pkg = {
|
|
95
95
|
name,
|
|
96
96
|
version,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slicemachine/init",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "Init Prismic Slice Machine in your project",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"@antfu/ni": "^0.20.0",
|
|
55
55
|
"@lihbr/listr-update-renderer": "^0.5.3",
|
|
56
|
-
"@slicemachine/manager": "0.2.
|
|
56
|
+
"@slicemachine/manager": "0.2.1",
|
|
57
57
|
"chalk": "^4.1.2",
|
|
58
58
|
"globby": "^13.1.3",
|
|
59
59
|
"listr": "^0.14.3",
|
|
@@ -91,5 +91,5 @@
|
|
|
91
91
|
"vite-plugin-sdk": "^0.1.1",
|
|
92
92
|
"vitest": "^0.27.3"
|
|
93
93
|
},
|
|
94
|
-
"gitHead": "
|
|
94
|
+
"gitHead": "cad80345015bd1b8a9ffc1d60db482a81ab8442a"
|
|
95
95
|
}
|