@slicemachine/init 0.1.1-dev-plugins.7 → 0.1.1-dev-plugins.8
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/__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 +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/camelcase-keys/index.cjs +1 -1
- package/dist/__node_modules/camelcase-keys/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/cross-spawn/lib/util/resolveCommand.cjs +1 -1
- package/dist/__node_modules/cross-spawn/lib/util/resolveCommand.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/globby/index.cjs +1 -1
- package/dist/__node_modules/globby/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-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/picomatch/index.cjs +1 -1
- package/dist/__node_modules/picomatch/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 +6 -6
- 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 +10 -2
- package/dist/_virtual/index15.cjs.map +1 -1
- package/dist/_virtual/index15.js +11 -2
- package/dist/_virtual/index15.js.map +1 -1
- 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 +6 -6
- package/dist/_virtual/index18.cjs +10 -2
- package/dist/_virtual/index18.cjs.map +1 -1
- package/dist/_virtual/index18.js +11 -2
- package/dist/_virtual/index18.js.map +1 -1
- package/dist/_virtual/index19.cjs +2 -2
- package/dist/_virtual/index19.js +2 -2
- package/dist/_virtual/index20.cjs +2 -10
- package/dist/_virtual/index20.cjs.map +1 -1
- package/dist/_virtual/index20.js +2 -11
- package/dist/_virtual/index20.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 +2 -2
- package/dist/_virtual/index5.js +6 -6
- package/dist/_virtual/index6.cjs +2 -10
- package/dist/_virtual/index6.cjs.map +1 -1
- package/dist/_virtual/index6.js +2 -11
- package/dist/_virtual/index6.js.map +1 -1
- package/dist/_virtual/index7.cjs +2 -2
- package/dist/_virtual/index7.js +2 -2
- package/dist/_virtual/index8.cjs +10 -2
- package/dist/_virtual/index8.cjs.map +1 -1
- package/dist/_virtual/index8.js +11 -2
- package/dist/_virtual/index8.js.map +1 -1
- package/dist/_virtual/index9.cjs +2 -2
- package/dist/_virtual/index9.js +6 -6
- package/dist/cli.cjs +1 -1
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +1 -1
- package/dist/cli.js.map +1 -1
- package/dist/packages/init/__node_modules/execa/index.cjs +1 -1
- package/dist/packages/init/__node_modules/execa/index.js +1 -1
- package/dist/packages/init/__node_modules/execa/lib/kill.cjs +1 -1
- package/dist/packages/init/__node_modules/execa/lib/kill.js +1 -1
- package/dist/packages/init/__node_modules/execa/lib/stream.cjs +1 -1
- package/dist/packages/init/__node_modules/execa/lib/stream.js +1 -1
- package/dist/packages/init/__node_modules/get-stream/index.cjs +1 -1
- package/dist/packages/init/__node_modules/get-stream/index.js +1 -1
- package/dist/packages/init/package.json.cjs +1 -1
- package/dist/packages/init/package.json.js +1 -1
- package/package.json +3 -3
- package/src/cli.ts +1 -1
package/dist/_virtual/index9.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
exports.exports = {};
|
|
4
|
-
var
|
|
4
|
+
var getStream = {
|
|
5
5
|
get exports() {
|
|
6
6
|
return exports.exports;
|
|
7
7
|
},
|
|
@@ -9,5 +9,5 @@ var signalExit = {
|
|
|
9
9
|
exports.exports = v;
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
|
-
exports.__module =
|
|
12
|
+
exports.__module = getStream;
|
|
13
13
|
//# sourceMappingURL=index9.cjs.map
|
package/dist/_virtual/index9.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var getStreamExports = {};
|
|
2
|
+
var getStream = {
|
|
3
3
|
get exports() {
|
|
4
|
-
return
|
|
4
|
+
return getStreamExports;
|
|
5
5
|
},
|
|
6
6
|
set exports(v) {
|
|
7
|
-
|
|
7
|
+
getStreamExports = v;
|
|
8
8
|
}
|
|
9
9
|
};
|
|
10
10
|
export {
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
getStream as __module,
|
|
12
|
+
getStreamExports as exports
|
|
13
13
|
};
|
|
14
14
|
//# sourceMappingURL=index9.js.map
|
package/dist/cli.cjs
CHANGED
|
@@ -17,7 +17,7 @@ USAGE
|
|
|
17
17
|
OPTIONS
|
|
18
18
|
--repository, -r Specify a Prismic repository to use
|
|
19
19
|
|
|
20
|
-
--no-push For starters, prevent
|
|
20
|
+
--no-push For starters, prevent anything from being pushed
|
|
21
21
|
--no-push-slices For starters, prevent slices from being pushed
|
|
22
22
|
--no-push-custom-types For starters, prevent custom types from being pushed
|
|
23
23
|
--no-push-documents For starters, prevent documents from being pushed
|
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`\nPrismic Slice Machine Init CLI\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\n --no-push For starters, prevent
|
|
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`\nPrismic Slice Machine Init CLI\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\n --no-push For starters, prevent anything from being pushed\n --no-push-slices For starters, prevent slices from being pushed\n --no-push-custom-types For starters, prevent custom types from being pushed\n --no-push-documents For starters, prevent documents from being pushed\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\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\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;;;;;;;;;;;;;;;GAgBd;AAAA,EACC,YAAY,EAAA,KAAA,OAAA,aAAA,cAAA,IAAA,SAAA,KAAA,GAAA,IAAA,UAAA,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,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,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
|
@@ -16,7 +16,7 @@ USAGE
|
|
|
16
16
|
OPTIONS
|
|
17
17
|
--repository, -r Specify a Prismic repository to use
|
|
18
18
|
|
|
19
|
-
--no-push For starters, prevent
|
|
19
|
+
--no-push For starters, prevent anything from being pushed
|
|
20
20
|
--no-push-slices For starters, prevent slices from being pushed
|
|
21
21
|
--no-push-custom-types For starters, prevent custom types from being pushed
|
|
22
22
|
--no-push-documents For starters, prevent documents from being pushed
|
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`\nPrismic Slice Machine Init CLI\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\n --no-push For starters, prevent
|
|
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`\nPrismic Slice Machine Init CLI\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\n --no-push For starters, prevent anything from being pushed\n --no-push-slices For starters, prevent slices from being pushed\n --no-push-custom-types For starters, prevent custom types from being pushed\n --no-push-documents For starters, prevent documents from being pushed\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\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\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,GAgBd;AAAA,EACC,YAAY;AAAA,EACZ,OAAO;AAAA,IACN,YAAY;AAAA,MACX,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,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;"}
|
|
@@ -14,7 +14,7 @@ const kill = require("./lib/kill.cjs");
|
|
|
14
14
|
const stream = require("./lib/stream.cjs");
|
|
15
15
|
const promise = require("./lib/promise.cjs");
|
|
16
16
|
const command = require("./lib/command.cjs");
|
|
17
|
-
const index$1 = require("../../../../_virtual/
|
|
17
|
+
const index$1 = require("../../../../_virtual/index4.cjs");
|
|
18
18
|
const DEFAULT_MAX_BUFFER = 1e3 * 1e3 * 100;
|
|
19
19
|
const getEnv = ({ env: envOption, extendEnv, preferLocal, localDir, execPath }) => {
|
|
20
20
|
const env = extendEnv ? { ...process.env, ...envOption } : envOption;
|
|
@@ -12,7 +12,7 @@ import { validateTimeout, setupTimeout, setExitHandler, spawnedKill, spawnedCanc
|
|
|
12
12
|
import { handleInput, makeAllStream, getSpawnedResult } from "./lib/stream.js";
|
|
13
13
|
import { mergePromise, getSpawnedPromise } from "./lib/promise.js";
|
|
14
14
|
import { parseCommand, joinCommand, getEscapedCommand } from "./lib/command.js";
|
|
15
|
-
import { exports as crossSpawnExports } from "../../../../_virtual/
|
|
15
|
+
import { exports as crossSpawnExports } from "../../../../_virtual/index4.js";
|
|
16
16
|
const DEFAULT_MAX_BUFFER = 1e3 * 1e3 * 100;
|
|
17
17
|
const getEnv = ({ env: envOption, extendEnv, preferLocal, localDir, execPath }) => {
|
|
18
18
|
const env = extendEnv ? { ...process.env, ...envOption } : envOption;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const os = require("node:os");
|
|
4
4
|
require('./../../../../../__node_modules/signal-exit/index.cjs');
|
|
5
|
-
const index = require("../../../../../_virtual/
|
|
5
|
+
const index = require("../../../../../_virtual/index8.cjs");
|
|
6
6
|
const DEFAULT_FORCE_KILL_TIMEOUT = 1e3 * 5;
|
|
7
7
|
const spawnedKill = (kill, signal = "SIGTERM", options = {}) => {
|
|
8
8
|
const killResult = kill(signal);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import os from "node:os";
|
|
2
2
|
import './../../../../../__node_modules/signal-exit/index.js';
|
|
3
|
-
import { exports as signalExitExports } from "../../../../../_virtual/
|
|
3
|
+
import { exports as signalExitExports } from "../../../../../_virtual/index8.js";
|
|
4
4
|
const DEFAULT_FORCE_KILL_TIMEOUT = 1e3 * 5;
|
|
5
5
|
const spawnedKill = (kill, signal = "SIGTERM", options = {}) => {
|
|
6
6
|
const killResult = kill(signal);
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const index = require("../../is-stream/index.cjs");
|
|
4
4
|
require("../../get-stream/index.cjs");
|
|
5
5
|
const index$1 = require('./../../../../../__node_modules/merge-stream/index.cjs');
|
|
6
|
-
const index$2 = require("../../../../../_virtual/
|
|
6
|
+
const index$2 = require("../../../../../_virtual/index9.cjs");
|
|
7
7
|
const handleInput = (spawned, input) => {
|
|
8
8
|
if (input === void 0 || spawned.stdin === void 0) {
|
|
9
9
|
return;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isStream } from "../../is-stream/index.js";
|
|
2
2
|
import "../../get-stream/index.js";
|
|
3
3
|
import mergeStream from './../../../../../__node_modules/merge-stream/index.js';
|
|
4
|
-
import { exports as getStreamExports } from "../../../../../_virtual/
|
|
4
|
+
import { exports as getStreamExports } from "../../../../../_virtual/index9.js";
|
|
5
5
|
const handleInput = (spawned, input) => {
|
|
6
6
|
if (input === void 0 || spawned.stdin === void 0) {
|
|
7
7
|
return;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { exports as getStreamExports, __module as getStream$1 } from "../../../../_virtual/
|
|
1
|
+
import { exports as getStreamExports, __module as getStream$1 } from "../../../../_virtual/index9.js";
|
|
2
2
|
import require$$0$2 from "buffer";
|
|
3
3
|
import require$$0 from "stream";
|
|
4
4
|
import require$$0$1 from "util";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const name = "@slicemachine/init";
|
|
4
|
-
const version = "0.1.1-dev-plugins.
|
|
4
|
+
const version = "0.1.1-dev-plugins.8";
|
|
5
5
|
exports.name = name;
|
|
6
6
|
exports.version = version;
|
|
7
7
|
//# sourceMappingURL=package.json.cjs.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slicemachine/init",
|
|
3
|
-
"version": "0.1.1-dev-plugins.
|
|
3
|
+
"version": "0.1.1-dev-plugins.8",
|
|
4
4
|
"description": "Init Prismic Slice Machine in your project",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@antfu/ni": "^0.18.8",
|
|
53
53
|
"@lihbr/listr-update-renderer": "^0.5.3",
|
|
54
|
-
"@slicemachine/manager": "0.1.1-dev-plugins.
|
|
54
|
+
"@slicemachine/manager": "0.1.1-dev-plugins.8",
|
|
55
55
|
"chalk": "^4.1.2",
|
|
56
56
|
"execa": "^6.1.0",
|
|
57
57
|
"globby": "^13.1.3",
|
|
@@ -88,5 +88,5 @@
|
|
|
88
88
|
"vite-plugin-sdk": "^0.1.0",
|
|
89
89
|
"vitest": "^0.26.1"
|
|
90
90
|
},
|
|
91
|
-
"gitHead": "
|
|
91
|
+
"gitHead": "668cf53052ece9eedc53d4299ee8f428511a7cc0"
|
|
92
92
|
}
|
package/src/cli.ts
CHANGED
|
@@ -19,7 +19,7 @@ USAGE
|
|
|
19
19
|
OPTIONS
|
|
20
20
|
--repository, -r Specify a Prismic repository to use
|
|
21
21
|
|
|
22
|
-
--no-push For starters, prevent
|
|
22
|
+
--no-push For starters, prevent anything from being pushed
|
|
23
23
|
--no-push-slices For starters, prevent slices from being pushed
|
|
24
24
|
--no-push-custom-types For starters, prevent custom types from being pushed
|
|
25
25
|
--no-push-documents For starters, prevent documents from being pushed
|