@slicemachine/init 2.4.3 → 2.4.4-dev-next-release.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/dist/SliceMachineInitProcess.cjs +104 -31
- package/dist/SliceMachineInitProcess.cjs.map +1 -1
- package/dist/SliceMachineInitProcess.d.ts +4 -0
- package/dist/SliceMachineInitProcess.js +106 -33
- package/dist/SliceMachineInitProcess.js.map +1 -1
- package/dist/_node_modules/@babel/code-frame/lib/index.cjs +2 -2
- package/dist/_node_modules/@babel/code-frame/lib/index.js +2 -2
- 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 +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/get-stream/index.cjs +1 -1
- package/dist/_node_modules/get-stream/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/lines-and-columns/build/index.cjs +1 -1
- package/dist/_node_modules/lines-and-columns/build/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/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/parse-json/index.cjs +2 -2
- package/dist/_node_modules/parse-json/index.js +2 -2
- 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/index10.cjs +2 -2
- package/dist/_virtual/index10.js +2 -2
- 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/index14.cjs +2 -2
- package/dist/_virtual/index14.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/index17.cjs +2 -2
- package/dist/_virtual/index17.js +2 -2
- package/dist/_virtual/index18.cjs +2 -2
- package/dist/_virtual/index18.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/cli.cjs +17 -7
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +17 -7
- package/dist/cli.js.map +1 -1
- package/dist/constants.cjs +4 -0
- package/dist/constants.cjs.map +1 -1
- package/dist/constants.d.ts +2 -0
- package/dist/constants.js +4 -0
- package/dist/constants.js.map +1 -1
- package/dist/packages/init/package.json.cjs +6 -5
- package/dist/packages/init/package.json.cjs.map +1 -1
- package/dist/packages/init/package.json.js +6 -5
- package/dist/packages/init/package.json.js.map +1 -1
- package/package.json +6 -5
- package/src/SliceMachineInitProcess.ts +163 -46
- package/src/cli.ts +17 -7
- package/src/constants.ts +2 -0
package/dist/_virtual/index16.js
CHANGED
package/dist/_virtual/index17.js
CHANGED
package/dist/_virtual/index18.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
package/dist/cli.cjs
CHANGED
|
@@ -3,7 +3,7 @@ const index = require('./_node_modules/meow/index.cjs');
|
|
|
3
3
|
const _package = require("./packages/init/package.json.cjs");
|
|
4
4
|
const SliceMachineInitProcess = require("./SliceMachineInitProcess.cjs");
|
|
5
5
|
const cli = index(`
|
|
6
|
-
|
|
6
|
+
Slice Machine init CLI help
|
|
7
7
|
|
|
8
8
|
DOCUMENTATION
|
|
9
9
|
https://prismic.io/docs
|
|
@@ -15,13 +15,15 @@ USAGE
|
|
|
15
15
|
$ npx @slicemachine/init
|
|
16
16
|
|
|
17
17
|
OPTIONS
|
|
18
|
-
--repository, -r
|
|
18
|
+
--repository, -r Specify a Prismic repository to use
|
|
19
|
+
--starter, -s Specify a starter to use
|
|
20
|
+
--directory-name, -d Name of a new directory for the starter
|
|
19
21
|
|
|
20
|
-
--no-push
|
|
21
|
-
--no-push-slices
|
|
22
|
-
--no-push-custom-types
|
|
23
|
-
--no-push-documents
|
|
24
|
-
--no-start-slicemachine
|
|
22
|
+
--no-push Don't push anything to Prismic
|
|
23
|
+
--no-push-slices Don't push slices to Prismic
|
|
24
|
+
--no-push-custom-types Don't push types to Prismic
|
|
25
|
+
--no-push-documents Don't push documents to Prismic
|
|
26
|
+
--no-start-slicemachine Don't run Slice Machine
|
|
25
27
|
|
|
26
28
|
--help, -h Display CLI help
|
|
27
29
|
--version, -v Display CLI version
|
|
@@ -32,6 +34,14 @@ OPTIONS
|
|
|
32
34
|
type: "string",
|
|
33
35
|
alias: "r"
|
|
34
36
|
},
|
|
37
|
+
starter: {
|
|
38
|
+
type: "string",
|
|
39
|
+
alias: "s"
|
|
40
|
+
},
|
|
41
|
+
directoryName: {
|
|
42
|
+
type: "string",
|
|
43
|
+
alias: "d"
|
|
44
|
+
},
|
|
35
45
|
push: {
|
|
36
46
|
type: "boolean",
|
|
37
47
|
default: true
|
package/dist/cli.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.cjs","sources":["../../src/cli.ts"],"sourcesContent":["import meow from \"meow\";\n\nimport { name as pkgName, version as pkgVersion } from \"../package.json\";\nimport { createSliceMachineInitProcess } from \"./SliceMachineInitProcess\";\n\nconst cli = meow(\n\t`\
|
|
1
|
+
{"version":3,"file":"cli.cjs","sources":["../../src/cli.ts"],"sourcesContent":["import meow from \"meow\";\n\nimport { name as pkgName, version as pkgVersion } from \"../package.json\";\nimport { createSliceMachineInitProcess } from \"./SliceMachineInitProcess\";\n\nconst cli = meow(\n\t`\nSlice Machine init CLI help\n\nDOCUMENTATION\n https://prismic.io/docs\n\nVERSION\n ${pkgName}@${pkgVersion}\n\nUSAGE\n $ npx @slicemachine/init\n\nOPTIONS\n --repository, -r Specify a Prismic repository to use\n --starter, -s Specify a starter to use\n --directory-name, -d Name of a new directory for the starter\n\n --no-push Don't push anything to Prismic\n --no-push-slices Don't push slices to Prismic\n --no-push-custom-types Don't push types to Prismic\n --no-push-documents Don't push documents to Prismic\n --no-start-slicemachine Don't run Slice Machine\n\n --help, -h Display CLI help\n --version, -v Display CLI version\n`,\n\t{\n\t\timportMeta: import.meta,\n\t\tflags: {\n\t\t\trepository: {\n\t\t\t\ttype: \"string\",\n\t\t\t\talias: \"r\",\n\t\t\t},\n\t\t\tstarter: {\n\t\t\t\ttype: \"string\",\n\t\t\t\talias: \"s\",\n\t\t\t},\n\t\t\tdirectoryName: {\n\t\t\t\ttype: \"string\",\n\t\t\t\talias: \"d\",\n\t\t\t},\n\t\t\tpush: {\n\t\t\t\ttype: \"boolean\",\n\t\t\t\tdefault: true,\n\t\t\t},\n\t\t\tpushSlices: {\n\t\t\t\ttype: \"boolean\",\n\t\t\t\tdefault: true,\n\t\t\t},\n\t\t\tpushCustomTypes: {\n\t\t\t\ttype: \"boolean\",\n\t\t\t\tdefault: true,\n\t\t\t},\n\t\t\tpushDocuments: {\n\t\t\t\ttype: \"boolean\",\n\t\t\t\tdefault: true,\n\t\t\t},\n\t\t\tstartSlicemachine: {\n\t\t\t\ttype: \"boolean\",\n\t\t\t\tdefault: true,\n\t\t\t},\n\t\t\thelp: {\n\t\t\t\ttype: \"boolean\",\n\t\t\t\talias: \"h\",\n\t\t\t\tdefault: false,\n\t\t\t},\n\t\t\tversion: {\n\t\t\t\ttype: \"boolean\",\n\t\t\t\talias: \"v\",\n\t\t\t\tdefault: false,\n\t\t\t},\n\t\t},\n\t\tdescription: false,\n\t\tautoHelp: false,\n\t\tautoVersion: false,\n\t\tallowUnknownFlags: false,\n\t},\n);\n\nif (cli.flags.help) {\n\tcli.showHelp();\n} else if (cli.flags.version) {\n\t// eslint-disable-next-line no-console\n\tconsole.log(`${pkgName}@${pkgVersion}`);\n\tprocess.exit(0);\n} else {\n\tconst initProcess = createSliceMachineInitProcess({\n\t\t...cli.flags,\n\t\tinput: cli.input,\n\t});\n\n\tinitProcess.run();\n}\n"],"names":["meow","pkgName","pkgVersion","createSliceMachineInitProcess"],"mappings":";;;;AAKA,MAAM,MAAMA,MACX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOGC,SAAW,QAAAC;;;;;;;;;;;;;;;;;;GAmBd;AAAA,EACC,YAAY,EAAA,KAAA,OAAA,aAAA,cAAA,QAAA,KAAA,EAAA,cAAA,UAAA,EAAA,OAAA,SAAA,iBAAA,SAAA,cAAA,OAAA,IAAA,IAAA,WAAA,SAAA,OAAA,EAAA,KAAA;AAAA,EACZ,OAAO;AAAA,IACN,YAAY;AAAA,MACX,MAAM;AAAA,MACN,OAAO;AAAA,IACP;AAAA,IACD,SAAS;AAAA,MACR,MAAM;AAAA,MACN,OAAO;AAAA,IACP;AAAA,IACD,eAAe;AAAA,MACd,MAAM;AAAA,MACN,OAAO;AAAA,IACP;AAAA,IACD,MAAM;AAAA,MACL,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA,IACD,YAAY;AAAA,MACX,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA,IACD,iBAAiB;AAAA,MAChB,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA,IACD,eAAe;AAAA,MACd,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA,IACD,mBAAmB;AAAA,MAClB,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA,IACD,MAAM;AAAA,MACL,MAAM;AAAA,MACN,OAAO;AAAA,MACP,SAAS;AAAA,IACT;AAAA,IACD,SAAS;AAAA,MACR,MAAM;AAAA,MACN,OAAO;AAAA,MACP,SAAS;AAAA,IACT;AAAA,EACD;AAAA,EACD,aAAa;AAAA,EACb,UAAU;AAAA,EACV,aAAa;AAAA,EACb,mBAAmB;AACnB,CAAA;AAGF,IAAI,IAAI,MAAM,MAAM;AACnB,MAAI,SAAQ;AACZ,WAAU,IAAI,MAAM,SAAS;AAErB,UAAA,IAAI,GAAGD,SAAAA,QAAWC,SAAAA,SAAY;AACtC,UAAQ,KAAK,CAAC;AACd,OAAM;AACN,QAAM,cAAcC,wBAAAA,8BAA8B;AAAA,IACjD,GAAG,IAAI;AAAA,IACP,OAAO,IAAI;AAAA,EAAA,CACX;AAED,cAAY,IAAG;AACf;"}
|
package/dist/cli.js
CHANGED
|
@@ -2,7 +2,7 @@ import meow from './_node_modules/meow/index.js';
|
|
|
2
2
|
import { name, version } from "./packages/init/package.json.js";
|
|
3
3
|
import { createSliceMachineInitProcess } from "./SliceMachineInitProcess.js";
|
|
4
4
|
const cli = meow(`
|
|
5
|
-
|
|
5
|
+
Slice Machine init CLI help
|
|
6
6
|
|
|
7
7
|
DOCUMENTATION
|
|
8
8
|
https://prismic.io/docs
|
|
@@ -14,13 +14,15 @@ USAGE
|
|
|
14
14
|
$ npx @slicemachine/init
|
|
15
15
|
|
|
16
16
|
OPTIONS
|
|
17
|
-
--repository, -r
|
|
17
|
+
--repository, -r Specify a Prismic repository to use
|
|
18
|
+
--starter, -s Specify a starter to use
|
|
19
|
+
--directory-name, -d Name of a new directory for the starter
|
|
18
20
|
|
|
19
|
-
--no-push
|
|
20
|
-
--no-push-slices
|
|
21
|
-
--no-push-custom-types
|
|
22
|
-
--no-push-documents
|
|
23
|
-
--no-start-slicemachine
|
|
21
|
+
--no-push Don't push anything to Prismic
|
|
22
|
+
--no-push-slices Don't push slices to Prismic
|
|
23
|
+
--no-push-custom-types Don't push types to Prismic
|
|
24
|
+
--no-push-documents Don't push documents to Prismic
|
|
25
|
+
--no-start-slicemachine Don't run Slice Machine
|
|
24
26
|
|
|
25
27
|
--help, -h Display CLI help
|
|
26
28
|
--version, -v Display CLI version
|
|
@@ -31,6 +33,14 @@ OPTIONS
|
|
|
31
33
|
type: "string",
|
|
32
34
|
alias: "r"
|
|
33
35
|
},
|
|
36
|
+
starter: {
|
|
37
|
+
type: "string",
|
|
38
|
+
alias: "s"
|
|
39
|
+
},
|
|
40
|
+
directoryName: {
|
|
41
|
+
type: "string",
|
|
42
|
+
alias: "d"
|
|
43
|
+
},
|
|
34
44
|
push: {
|
|
35
45
|
type: "boolean",
|
|
36
46
|
default: true
|
package/dist/cli.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.js","sources":["../../src/cli.ts"],"sourcesContent":["import meow from \"meow\";\n\nimport { name as pkgName, version as pkgVersion } from \"../package.json\";\nimport { createSliceMachineInitProcess } from \"./SliceMachineInitProcess\";\n\nconst cli = meow(\n\t`\
|
|
1
|
+
{"version":3,"file":"cli.js","sources":["../../src/cli.ts"],"sourcesContent":["import meow from \"meow\";\n\nimport { name as pkgName, version as pkgVersion } from \"../package.json\";\nimport { createSliceMachineInitProcess } from \"./SliceMachineInitProcess\";\n\nconst cli = meow(\n\t`\nSlice Machine init CLI help\n\nDOCUMENTATION\n https://prismic.io/docs\n\nVERSION\n ${pkgName}@${pkgVersion}\n\nUSAGE\n $ npx @slicemachine/init\n\nOPTIONS\n --repository, -r Specify a Prismic repository to use\n --starter, -s Specify a starter to use\n --directory-name, -d Name of a new directory for the starter\n\n --no-push Don't push anything to Prismic\n --no-push-slices Don't push slices to Prismic\n --no-push-custom-types Don't push types to Prismic\n --no-push-documents Don't push documents to Prismic\n --no-start-slicemachine Don't run Slice Machine\n\n --help, -h Display CLI help\n --version, -v Display CLI version\n`,\n\t{\n\t\timportMeta: import.meta,\n\t\tflags: {\n\t\t\trepository: {\n\t\t\t\ttype: \"string\",\n\t\t\t\talias: \"r\",\n\t\t\t},\n\t\t\tstarter: {\n\t\t\t\ttype: \"string\",\n\t\t\t\talias: \"s\",\n\t\t\t},\n\t\t\tdirectoryName: {\n\t\t\t\ttype: \"string\",\n\t\t\t\talias: \"d\",\n\t\t\t},\n\t\t\tpush: {\n\t\t\t\ttype: \"boolean\",\n\t\t\t\tdefault: true,\n\t\t\t},\n\t\t\tpushSlices: {\n\t\t\t\ttype: \"boolean\",\n\t\t\t\tdefault: true,\n\t\t\t},\n\t\t\tpushCustomTypes: {\n\t\t\t\ttype: \"boolean\",\n\t\t\t\tdefault: true,\n\t\t\t},\n\t\t\tpushDocuments: {\n\t\t\t\ttype: \"boolean\",\n\t\t\t\tdefault: true,\n\t\t\t},\n\t\t\tstartSlicemachine: {\n\t\t\t\ttype: \"boolean\",\n\t\t\t\tdefault: true,\n\t\t\t},\n\t\t\thelp: {\n\t\t\t\ttype: \"boolean\",\n\t\t\t\talias: \"h\",\n\t\t\t\tdefault: false,\n\t\t\t},\n\t\t\tversion: {\n\t\t\t\ttype: \"boolean\",\n\t\t\t\talias: \"v\",\n\t\t\t\tdefault: false,\n\t\t\t},\n\t\t},\n\t\tdescription: false,\n\t\tautoHelp: false,\n\t\tautoVersion: false,\n\t\tallowUnknownFlags: false,\n\t},\n);\n\nif (cli.flags.help) {\n\tcli.showHelp();\n} else if (cli.flags.version) {\n\t// eslint-disable-next-line no-console\n\tconsole.log(`${pkgName}@${pkgVersion}`);\n\tprocess.exit(0);\n} else {\n\tconst initProcess = createSliceMachineInitProcess({\n\t\t...cli.flags,\n\t\tinput: cli.input,\n\t});\n\n\tinitProcess.run();\n}\n"],"names":["pkgName","pkgVersion"],"mappings":";;;AAKA,MAAM,MAAM,KACX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOGA,QAAWC;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA,GAmBd;AAAA,EACC,YAAY;AAAA,EACZ,OAAO;AAAA,IACN,YAAY;AAAA,MACX,MAAM;AAAA,MACN,OAAO;AAAA,IACP;AAAA,IACD,SAAS;AAAA,MACR,MAAM;AAAA,MACN,OAAO;AAAA,IACP;AAAA,IACD,eAAe;AAAA,MACd,MAAM;AAAA,MACN,OAAO;AAAA,IACP;AAAA,IACD,MAAM;AAAA,MACL,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA,IACD,YAAY;AAAA,MACX,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA,IACD,iBAAiB;AAAA,MAChB,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA,IACD,eAAe;AAAA,MACd,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA,IACD,mBAAmB;AAAA,MAClB,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA,IACD,MAAM;AAAA,MACL,MAAM;AAAA,MACN,OAAO;AAAA,MACP,SAAS;AAAA,IACT;AAAA,IACD,SAAS;AAAA,MACR,MAAM;AAAA,MACN,OAAO;AAAA,MACP,SAAS;AAAA,IACT;AAAA,EACD;AAAA,EACD,aAAa;AAAA,EACb,UAAU;AAAA,EACV,aAAa;AAAA,EACb,mBAAmB;AACnB,CAAA;AAGF,IAAI,IAAI,MAAM,MAAM;AACnB,MAAI,SAAQ;AACZ,WAAU,IAAI,MAAM,SAAS;AAErB,UAAA,IAAI,GAAGD,QAAWC,SAAY;AACtC,UAAQ,KAAK,CAAC;AACd,OAAM;AACN,QAAM,cAAc,8BAA8B;AAAA,IACjD,GAAG,IAAI;AAAA,IACP,OAAO,IAAI;AAAA,EAAA,CACX;AAED,cAAY,IAAG;AACf;"}
|
package/dist/constants.cjs
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const START_SCRIPT_KEY = "slicemachine";
|
|
4
4
|
const START_SCRIPT_VALUE = "start-slicemachine";
|
|
5
|
+
const GIGET_PROVIDER = "github";
|
|
6
|
+
const GIGET_ORGANIZATION = "prismicio-community";
|
|
7
|
+
exports.GIGET_ORGANIZATION = GIGET_ORGANIZATION;
|
|
8
|
+
exports.GIGET_PROVIDER = GIGET_PROVIDER;
|
|
5
9
|
exports.START_SCRIPT_KEY = START_SCRIPT_KEY;
|
|
6
10
|
exports.START_SCRIPT_VALUE = START_SCRIPT_VALUE;
|
|
7
11
|
//# sourceMappingURL=constants.cjs.map
|
package/dist/constants.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.cjs","sources":["../../src/constants.ts"],"sourcesContent":["// Those contants should be unique to the init script, if they are needed elsewhere then they should be extracted to the manager\nexport const START_SCRIPT_KEY = \"slicemachine\";\nexport const START_SCRIPT_VALUE = \"start-slicemachine\";\n"],"names":[],"mappings":";;AACO,MAAM,mBAAmB;AACzB,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"constants.cjs","sources":["../../src/constants.ts"],"sourcesContent":["// Those contants should be unique to the init script, if they are needed elsewhere then they should be extracted to the manager\nexport const START_SCRIPT_KEY = \"slicemachine\";\nexport const START_SCRIPT_VALUE = \"start-slicemachine\";\nexport const GIGET_PROVIDER = \"github\";\nexport const GIGET_ORGANIZATION = \"prismicio-community\";\n"],"names":[],"mappings":";;AACO,MAAM,mBAAmB;AACzB,MAAM,qBAAqB;AAC3B,MAAM,iBAAiB;AACvB,MAAM,qBAAqB;;;;;"}
|
package/dist/constants.d.ts
CHANGED
package/dist/constants.js
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
const START_SCRIPT_KEY = "slicemachine";
|
|
2
2
|
const START_SCRIPT_VALUE = "start-slicemachine";
|
|
3
|
+
const GIGET_PROVIDER = "github";
|
|
4
|
+
const GIGET_ORGANIZATION = "prismicio-community";
|
|
3
5
|
export {
|
|
6
|
+
GIGET_ORGANIZATION,
|
|
7
|
+
GIGET_PROVIDER,
|
|
4
8
|
START_SCRIPT_KEY,
|
|
5
9
|
START_SCRIPT_VALUE
|
|
6
10
|
};
|
package/dist/constants.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sources":["../../src/constants.ts"],"sourcesContent":["// Those contants should be unique to the init script, if they are needed elsewhere then they should be extracted to the manager\nexport const START_SCRIPT_KEY = \"slicemachine\";\nexport const START_SCRIPT_VALUE = \"start-slicemachine\";\n"],"names":[],"mappings":"AACO,MAAM,mBAAmB;AACzB,MAAM,qBAAqB;"}
|
|
1
|
+
{"version":3,"file":"constants.js","sources":["../../src/constants.ts"],"sourcesContent":["// Those contants should be unique to the init script, if they are needed elsewhere then they should be extracted to the manager\nexport const START_SCRIPT_KEY = \"slicemachine\";\nexport const START_SCRIPT_VALUE = \"start-slicemachine\";\nexport const GIGET_PROVIDER = \"github\";\nexport const GIGET_ORGANIZATION = \"prismicio-community\";\n"],"names":[],"mappings":"AACO,MAAM,mBAAmB;AACzB,MAAM,qBAAqB;AAC3B,MAAM,iBAAiB;AACvB,MAAM,qBAAqB;"}
|
|
@@ -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.4.
|
|
4
|
+
const version = "2.4.4-dev-next-release.1";
|
|
5
5
|
const description = "Init Prismic Slice Machine in your project";
|
|
6
6
|
const keywords = [
|
|
7
7
|
"typescript",
|
|
@@ -42,7 +42,7 @@ const scripts = {
|
|
|
42
42
|
dev: "vite build --watch",
|
|
43
43
|
format: "prettier --write .",
|
|
44
44
|
lint: "eslint --max-warnings 0 --ext .js,.ts .",
|
|
45
|
-
prepack: "
|
|
45
|
+
prepack: "$npm_execpath run build",
|
|
46
46
|
size: "size-limit",
|
|
47
47
|
test: "yarn lint && yarn types && yarn unit && yarn build && yarn size",
|
|
48
48
|
types: "tsc --noEmit",
|
|
@@ -54,8 +54,9 @@ 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.9.1",
|
|
57
|
+
"@slicemachine/manager": "^0.9.2-dev-next-release.1",
|
|
58
58
|
chalk: "^4.1.2",
|
|
59
|
+
giget: "^1.1.2",
|
|
59
60
|
globby: "^13.1.3",
|
|
60
61
|
listr: "^0.14.3",
|
|
61
62
|
"log-symbols": "^4.1.0",
|
|
@@ -66,7 +67,7 @@ const dependencies = {
|
|
|
66
67
|
};
|
|
67
68
|
const devDependencies = {
|
|
68
69
|
"@size-limit/preset-small-lib": "8.2.4",
|
|
69
|
-
"@slicemachine/plugin-kit": "0.4.
|
|
70
|
+
"@slicemachine/plugin-kit": "0.4.12-dev-next-release.1",
|
|
70
71
|
"@types/listr": "0.14.4",
|
|
71
72
|
"@types/prompts": "2.4.3",
|
|
72
73
|
"@types/semver": "7.3.13",
|
|
@@ -92,7 +93,7 @@ const devDependencies = {
|
|
|
92
93
|
"vite-plugin-sdk": "0.1.1",
|
|
93
94
|
vitest: "0.32.0"
|
|
94
95
|
};
|
|
95
|
-
const gitHead = "
|
|
96
|
+
const gitHead = "2f048d9021e6332a3c82d297cc047820e7f6754a";
|
|
96
97
|
const pkg = {
|
|
97
98
|
name,
|
|
98
99
|
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.4.
|
|
2
|
+
const version = "2.4.4-dev-next-release.1";
|
|
3
3
|
const description = "Init Prismic Slice Machine in your project";
|
|
4
4
|
const keywords = [
|
|
5
5
|
"typescript",
|
|
@@ -40,7 +40,7 @@ const scripts = {
|
|
|
40
40
|
dev: "vite build --watch",
|
|
41
41
|
format: "prettier --write .",
|
|
42
42
|
lint: "eslint --max-warnings 0 --ext .js,.ts .",
|
|
43
|
-
prepack: "
|
|
43
|
+
prepack: "$npm_execpath run build",
|
|
44
44
|
size: "size-limit",
|
|
45
45
|
test: "yarn lint && yarn types && yarn unit && yarn build && yarn size",
|
|
46
46
|
types: "tsc --noEmit",
|
|
@@ -52,8 +52,9 @@ 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.9.1",
|
|
55
|
+
"@slicemachine/manager": "^0.9.2-dev-next-release.1",
|
|
56
56
|
chalk: "^4.1.2",
|
|
57
|
+
giget: "^1.1.2",
|
|
57
58
|
globby: "^13.1.3",
|
|
58
59
|
listr: "^0.14.3",
|
|
59
60
|
"log-symbols": "^4.1.0",
|
|
@@ -64,7 +65,7 @@ const dependencies = {
|
|
|
64
65
|
};
|
|
65
66
|
const devDependencies = {
|
|
66
67
|
"@size-limit/preset-small-lib": "8.2.4",
|
|
67
|
-
"@slicemachine/plugin-kit": "0.4.
|
|
68
|
+
"@slicemachine/plugin-kit": "0.4.12-dev-next-release.1",
|
|
68
69
|
"@types/listr": "0.14.4",
|
|
69
70
|
"@types/prompts": "2.4.3",
|
|
70
71
|
"@types/semver": "7.3.13",
|
|
@@ -90,7 +91,7 @@ const devDependencies = {
|
|
|
90
91
|
"vite-plugin-sdk": "0.1.1",
|
|
91
92
|
vitest: "0.32.0"
|
|
92
93
|
};
|
|
93
|
-
const gitHead = "
|
|
94
|
+
const gitHead = "2f048d9021e6332a3c82d297cc047820e7f6754a";
|
|
94
95
|
const pkg = {
|
|
95
96
|
name,
|
|
96
97
|
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.4.
|
|
3
|
+
"version": "2.4.4-dev-next-release.1",
|
|
4
4
|
"description": "Init Prismic Slice Machine in your project",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"dev": "vite build --watch",
|
|
42
42
|
"format": "prettier --write .",
|
|
43
43
|
"lint": "eslint --max-warnings 0 --ext .js,.ts .",
|
|
44
|
-
"prepack": "
|
|
44
|
+
"prepack": "$npm_execpath run build",
|
|
45
45
|
"size": "size-limit",
|
|
46
46
|
"test": "yarn lint && yarn types && yarn unit && yarn build && yarn size",
|
|
47
47
|
"types": "tsc --noEmit",
|
|
@@ -53,8 +53,9 @@
|
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"@antfu/ni": "^0.20.0",
|
|
55
55
|
"@lihbr/listr-update-renderer": "^0.5.3",
|
|
56
|
-
"@slicemachine/manager": "^0.9.1",
|
|
56
|
+
"@slicemachine/manager": "^0.9.2-dev-next-release.1",
|
|
57
57
|
"chalk": "^4.1.2",
|
|
58
|
+
"giget": "^1.1.2",
|
|
58
59
|
"globby": "^13.1.3",
|
|
59
60
|
"listr": "^0.14.3",
|
|
60
61
|
"log-symbols": "^4.1.0",
|
|
@@ -65,7 +66,7 @@
|
|
|
65
66
|
},
|
|
66
67
|
"devDependencies": {
|
|
67
68
|
"@size-limit/preset-small-lib": "8.2.4",
|
|
68
|
-
"@slicemachine/plugin-kit": "0.4.
|
|
69
|
+
"@slicemachine/plugin-kit": "0.4.12-dev-next-release.1",
|
|
69
70
|
"@types/listr": "0.14.4",
|
|
70
71
|
"@types/prompts": "2.4.3",
|
|
71
72
|
"@types/semver": "7.3.13",
|
|
@@ -91,5 +92,5 @@
|
|
|
91
92
|
"vite-plugin-sdk": "0.1.1",
|
|
92
93
|
"vitest": "0.32.0"
|
|
93
94
|
},
|
|
94
|
-
"gitHead": "
|
|
95
|
+
"gitHead": "2f048d9021e6332a3c82d297cc047820e7f6754a"
|
|
95
96
|
}
|