@emulsify/cli 1.1.0 → 1.4.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/README.md +5 -4
- package/dist/handlers/componentInstall.js +35 -16
- package/dist/handlers/componentList.js +11 -11
- package/dist/handlers/hofs/withProgressBar.js +16 -0
- package/dist/handlers/init.js +63 -59
- package/dist/handlers/systemInstall.js +46 -18
- package/dist/handlers/systemList.js +1 -1
- package/dist/index.js +3 -1
- package/dist/lib/constants.js +4 -3
- package/dist/lib/log.js +5 -4
- package/dist/node_modules/.package-lock.json +68 -7
- package/dist/node_modules/@types/node/LICENSE +21 -0
- package/dist/node_modules/@types/node/README.md +16 -0
- package/dist/node_modules/@types/node/assert.d.ts +128 -0
- package/dist/node_modules/@types/node/async_hooks.d.ts +229 -0
- package/dist/node_modules/@types/node/buffer.d.ts +25 -0
- package/dist/node_modules/@types/node/child_process.d.ts +514 -0
- package/dist/node_modules/@types/node/cluster.d.ts +265 -0
- package/dist/node_modules/@types/node/console.d.ts +142 -0
- package/dist/node_modules/@types/node/constants.d.ts +18 -0
- package/dist/node_modules/@types/node/crypto.d.ts +1189 -0
- package/dist/node_modules/@types/node/dgram.d.ts +144 -0
- package/dist/node_modules/@types/node/dns.d.ts +387 -0
- package/dist/node_modules/@types/node/domain.d.ts +27 -0
- package/dist/node_modules/@types/node/events.d.ts +82 -0
- package/dist/node_modules/@types/node/fs/promises.d.ts +568 -0
- package/dist/node_modules/@types/node/fs.d.ts +2273 -0
- package/dist/node_modules/@types/node/globals.d.ts +613 -0
- package/dist/node_modules/@types/node/globals.global.d.ts +1 -0
- package/dist/node_modules/@types/node/http.d.ts +490 -0
- package/dist/node_modules/@types/node/http2.d.ts +961 -0
- package/dist/node_modules/@types/node/https.d.ts +142 -0
- package/dist/node_modules/@types/node/index.d.ts +99 -0
- package/dist/node_modules/@types/node/inspector.d.ts +3051 -0
- package/dist/node_modules/@types/node/module.d.ts +56 -0
- package/dist/node_modules/@types/node/net.d.ts +296 -0
- package/dist/node_modules/@types/node/os.d.ts +242 -0
- package/dist/node_modules/@types/node/package.json +230 -0
- package/dist/node_modules/@types/node/path.d.ts +157 -0
- package/dist/node_modules/@types/node/perf_hooks.d.ts +274 -0
- package/dist/node_modules/@types/node/process.d.ts +413 -0
- package/dist/node_modules/@types/node/punycode.d.ts +78 -0
- package/dist/node_modules/@types/node/querystring.d.ts +31 -0
- package/dist/node_modules/@types/node/readline.d.ts +174 -0
- package/dist/node_modules/@types/node/repl.d.ts +398 -0
- package/dist/node_modules/@types/node/stream.d.ts +359 -0
- package/dist/node_modules/@types/node/string_decoder.d.ts +10 -0
- package/dist/node_modules/@types/node/timers.d.ts +19 -0
- package/dist/node_modules/@types/node/tls.d.ts +783 -0
- package/dist/node_modules/@types/node/trace_events.d.ts +64 -0
- package/dist/node_modules/@types/node/tty.d.ts +69 -0
- package/dist/node_modules/@types/node/url.d.ts +119 -0
- package/dist/node_modules/@types/node/util.d.ts +216 -0
- package/dist/node_modules/@types/node/v8.d.ts +190 -0
- package/dist/node_modules/@types/node/vm.d.ts +155 -0
- package/dist/node_modules/@types/node/wasi.d.ts +89 -0
- package/dist/node_modules/@types/node/worker_threads.d.ts +241 -0
- package/dist/node_modules/@types/node/zlib.d.ts +364 -0
- package/dist/node_modules/@types/progress/LICENSE +21 -0
- package/dist/node_modules/@types/progress/README.md +16 -0
- package/dist/node_modules/@types/progress/index.d.ts +148 -0
- package/dist/node_modules/@types/progress/package.json +27 -0
- package/dist/node_modules/ajv-formats/LICENSE +21 -0
- package/dist/node_modules/ajv-formats/README.md +123 -0
- package/dist/node_modules/ajv-formats/dist/formats.d.ts +9 -0
- package/dist/node_modules/ajv-formats/dist/formats.js +173 -0
- package/dist/node_modules/ajv-formats/dist/formats.js.map +1 -0
- package/dist/node_modules/ajv-formats/dist/index.d.ts +15 -0
- package/dist/node_modules/ajv-formats/dist/index.js +37 -0
- package/dist/node_modules/ajv-formats/dist/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/dist/limit.d.ts +10 -0
- package/dist/node_modules/ajv-formats/dist/limit.js +69 -0
- package/dist/node_modules/ajv-formats/dist/limit.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/.runkit_example.js +23 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/LICENSE +22 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/README.md +192 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2019.d.ts +17 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2019.js +55 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2019.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2020.d.ts +17 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2020.js +49 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2020.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/ajv.d.ts +16 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/ajv.js +44 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/ajv.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/code.d.ts +39 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/code.js +147 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/code.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/index.d.ts +79 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/index.js +697 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/scope.d.ts +79 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/scope.js +143 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/errors.d.ts +13 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/errors.js +123 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/errors.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/index.d.ts +80 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/index.js +243 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/parse.d.ts +4 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/parse.js +350 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/parse.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/serialize.d.ts +4 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/serialize.js +218 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/serialize.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/types.d.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/types.js +14 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/types.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/names.d.ts +20 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/names.js +28 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/names.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/ref_error.d.ts +5 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/ref_error.js +12 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/ref_error.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/resolve.d.ts +12 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/resolve.js +153 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/resolve.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/rules.d.ts +28 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/rules.js +26 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/rules.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/util.d.ts +40 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/util.js +178 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/util.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/applicability.d.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/applicability.js +19 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/applicability.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +4 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/dataType.d.ts +17 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/dataType.js +202 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/defaults.d.ts +2 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/defaults.js +35 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/index.d.ts +42 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/index.js +510 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/keyword.d.ts +8 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/keyword.js +124 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/subschema.d.ts +47 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/subschema.js +81 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/core.d.ts +171 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/core.js +614 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/core.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/jtd.d.ts +45 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/jtd.js +66 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/jtd.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/data.json +13 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +2 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +28 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +53 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +17 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +57 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +14 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +90 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +39 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts +2 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +30 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +48 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +17 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +51 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +90 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +55 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-draft-06.json +137 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-secure.json +88 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/jtd-schema.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/jtd-schema.js +118 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/jtd-schema.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/equal.d.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/equal.js +7 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/equal.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/parseJson.d.ts +18 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/parseJson.js +184 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/parseJson.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/quote.d.ts +5 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/quote.js +30 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/quote.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/re2.d.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/re2.js +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/re2.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/timestamp.d.ts +5 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/timestamp.js +42 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/timestamp.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/ucs2length.d.ts +5 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/ucs2length.js +24 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/ucs2length.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/validation_error.d.ts +7 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/validation_error.js +11 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/validation_error.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/standalone/index.d.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/standalone/index.js +83 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/standalone/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/standalone/instance.d.ts +12 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/standalone/instance.js +35 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/standalone/instance.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/index.d.ts +177 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/index.js +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/json-schema.d.ts +124 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/json-schema.js +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/json-schema.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/jtd-schema.d.ts +168 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/jtd-schema.js +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/jtd-schema.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +8 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +106 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/allOf.js +23 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +4 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +7 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +21 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +11 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/if.js +66 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +13 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/index.js +44 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +5 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items.js +52 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items2020.js +30 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +4 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/not.js +26 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/properties.js +54 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/code.d.ts +17 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/code.js +131 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/code.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/id.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/id.js +10 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/id.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/index.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/index.js +16 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/ref.d.ts +8 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/ref.js +122 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +5 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/index.js +93 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +10 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/types.js +9 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/draft2020.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/draft2020.js +23 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/draft2020.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/draft7.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/draft7.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +5 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +30 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +5 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +51 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/index.js +9 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +16 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +10 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/errors.d.ts +9 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/errors.js +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/errors.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/format.d.ts +8 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/format.js +92 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/index.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/index.js +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +71 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +5 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/elements.js +24 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/enum.js +43 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +9 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/error.js +20 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/error.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +10 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/index.js +29 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +5 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/metadata.js +25 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +4 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/nullable.js +22 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +15 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +22 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/properties.js +146 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +4 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/ref.js +66 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +10 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/type.js +69 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/type.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/union.js +12 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/union.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +5 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/values.js +48 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/values.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/metadata.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/metadata.js +18 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/metadata.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/next.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/next.js +8 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/next.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/index.js +7 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +40 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +65 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/const.d.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/const.js +25 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +5 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +12 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +8 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/enum.js +47 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/index.d.ts +16 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/index.js +33 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/index.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitContains.js +15 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitItems.js +24 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitLength.js +27 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +11 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +3 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +8 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +8 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/pattern.js +24 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/required.d.ts +8 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/required.js +79 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +9 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/2019.ts +78 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/2020.ts +72 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/ajv.ts +67 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/codegen/code.ts +160 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/codegen/index.ts +832 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/codegen/scope.ts +215 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/errors.ts +184 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/index.ts +324 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/jtd/parse.ts +411 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/jtd/serialize.ts +260 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/jtd/types.ts +16 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/names.ts +27 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/ref_error.ts +12 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/resolve.ts +146 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/rules.ts +50 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/util.ts +213 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/validate/applicability.ts +22 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/validate/boolSchema.ts +47 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/validate/dataType.ts +229 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/validate/defaults.ts +32 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/validate/index.ts +573 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/validate/keyword.ts +171 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/validate/subschema.ts +135 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/core.ts +880 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/jtd.ts +129 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/data.json +13 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +28 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +53 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +17 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +57 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +14 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +90 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +39 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +30 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +48 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +17 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +51 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +90 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +55 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-draft-06.json +137 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-draft-07.json +151 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/json-schema-secure.json +88 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/refs/jtd-schema.ts +130 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/runtime/equal.ts +7 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/runtime/parseJson.ts +176 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/runtime/quote.ts +31 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/runtime/re2.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/runtime/timestamp.ts +46 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/runtime/ucs2length.ts +20 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/runtime/validation_error.ts +13 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/standalone/index.ts +93 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/standalone/instance.ts +36 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/types/index.ts +233 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/types/json-schema.ts +189 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/types/jtd-schema.ts +264 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +56 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +118 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +22 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +14 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/contains.ts +109 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +112 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +11 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/if.ts +80 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/index.ts +53 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/items.ts +59 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +36 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/not.ts +38 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +82 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +91 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +12 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/properties.ts +57 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +50 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +13 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/code.ts +168 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/core/id.ts +10 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/core/index.ts +16 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/core/ref.ts +129 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/discriminator/index.ts +102 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/discriminator/types.ts +12 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/draft2020.ts +23 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/draft7.ts +17 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +31 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +51 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/dynamic/index.ts +9 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +14 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +10 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/errors.ts +18 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/format/format.ts +120 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/format/index.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +89 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/elements.ts +32 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/enum.ts +45 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/error.ts +23 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/index.ts +37 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +24 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +21 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +15 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/properties.ts +177 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/ref.ts +74 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/type.ts +75 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/union.ts +12 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/values.ts +55 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/metadata.ts +17 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/next.ts +8 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +7 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +47 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +85 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/const.ts +28 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +23 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/enum.ts +52 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/index.ts +49 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +16 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +26 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +30 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +42 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +26 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +34 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/pattern.ts +28 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/required.ts +98 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +79 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/package.json +124 -0
- package/dist/node_modules/ajv-formats/package.json +74 -0
- package/dist/node_modules/ajv-formats/src/formats.ts +232 -0
- package/dist/node_modules/ajv-formats/src/index.ts +62 -0
- package/dist/node_modules/ajv-formats/src/limit.ts +99 -0
- package/dist/node_modules/consola/CHANGELOG.md +706 -0
- package/dist/node_modules/consola/README.md +288 -0
- package/dist/node_modules/consola/dist/consola.browser.js +1 -0
- package/dist/node_modules/consola/dist/consola.js +1 -0
- package/dist/node_modules/consola/package.json +80 -0
- package/dist/node_modules/consola/src/browser.js +20 -0
- package/dist/node_modules/consola/src/consola.js +327 -0
- package/dist/node_modules/consola/src/index.js +7 -0
- package/dist/node_modules/consola/src/logLevels.js +11 -0
- package/dist/node_modules/consola/src/node.js +36 -0
- package/dist/node_modules/consola/src/reporters/basic.js +72 -0
- package/dist/node_modules/consola/src/reporters/browser.js +54 -0
- package/dist/node_modules/consola/src/reporters/fancy.js +87 -0
- package/dist/node_modules/consola/src/reporters/index.js +5 -0
- package/dist/node_modules/consola/src/reporters/json.js +9 -0
- package/dist/node_modules/consola/src/reporters/winston.js +45 -0
- package/dist/node_modules/consola/src/types.js +50 -0
- package/dist/node_modules/consola/src/utils/chalk.js +37 -0
- package/dist/node_modules/consola/src/utils/date.js +5 -0
- package/dist/node_modules/consola/src/utils/error.js +16 -0
- package/dist/node_modules/consola/src/utils/fancy.js +10 -0
- package/dist/node_modules/consola/src/utils/format.js +30 -0
- package/dist/node_modules/consola/src/utils/global.js +38 -0
- package/dist/node_modules/consola/src/utils/index.js +23 -0
- package/dist/node_modules/consola/src/utils/stream.js +20 -0
- package/dist/node_modules/consola/src/utils/string.js +41 -0
- package/dist/node_modules/consola/types/consola.d.ts +182 -0
- package/dist/node_modules/debug/LICENSE +10 -9
- package/dist/node_modules/debug/README.md +24 -1
- package/dist/node_modules/debug/package.json +6 -6
- package/dist/node_modules/debug/src/common.js +1 -1
- package/dist/node_modules/progress/CHANGELOG.md +115 -0
- package/dist/node_modules/progress/LICENSE +22 -0
- package/dist/node_modules/progress/Makefile +8 -0
- package/dist/node_modules/progress/Readme.md +146 -0
- package/dist/node_modules/progress/index.js +1 -0
- package/dist/node_modules/progress/lib/node-progress.js +236 -0
- package/dist/node_modules/progress/package.json +26 -0
- package/dist/node_modules/simple-git/CHANGELOG.md +35 -0
- package/dist/node_modules/simple-git/package.json +6 -2
- package/dist/node_modules/simple-git/readme.md +8 -1
- package/dist/node_modules/simple-git/src/lib/api.d.ts +2 -0
- package/dist/node_modules/simple-git/src/lib/api.js +2 -0
- package/dist/node_modules/simple-git/src/lib/api.js.map +1 -1
- package/dist/node_modules/simple-git/src/lib/errors/git-plugin-error.d.ts +2 -2
- package/dist/node_modules/simple-git/src/lib/git-factory.d.ts +1 -0
- package/dist/node_modules/simple-git/src/lib/git-factory.js +1 -0
- package/dist/node_modules/simple-git/src/lib/git-factory.js.map +1 -1
- package/dist/node_modules/simple-git/src/lib/plugins/completion-detection.plugin.d.ts +3 -0
- package/dist/node_modules/simple-git/src/lib/plugins/completion-detection.plugin.js +80 -0
- package/dist/node_modules/simple-git/src/lib/plugins/completion-detection.plugin.js.map +1 -0
- package/dist/node_modules/simple-git/src/lib/plugins/index.d.ts +1 -0
- package/dist/node_modules/simple-git/src/lib/plugins/index.js +1 -0
- package/dist/node_modules/simple-git/src/lib/plugins/index.js.map +1 -1
- package/dist/node_modules/simple-git/src/lib/plugins/simple-git-plugin.d.ts +1 -0
- package/dist/node_modules/simple-git/src/lib/responses/StatusSummary.d.ts +12 -33
- package/dist/node_modules/simple-git/src/lib/responses/StatusSummary.js +2 -22
- package/dist/node_modules/simple-git/src/lib/responses/StatusSummary.js.map +1 -1
- package/dist/node_modules/simple-git/src/lib/runners/git-executor-chain.js +9 -23
- package/dist/node_modules/simple-git/src/lib/runners/git-executor-chain.js.map +1 -1
- package/dist/node_modules/simple-git/src/lib/simple-git-api.js +2 -1
- package/dist/node_modules/simple-git/src/lib/simple-git-api.js.map +1 -1
- package/dist/node_modules/simple-git/src/lib/tasks/grep.d.ts +12 -0
- package/dist/node_modules/simple-git/src/lib/tasks/grep.js +76 -0
- package/dist/node_modules/simple-git/src/lib/tasks/grep.js.map +1 -0
- package/dist/node_modules/simple-git/src/lib/types/index.d.ts +16 -0
- package/dist/node_modules/simple-git/src/lib/utils/util.d.ts +2 -0
- package/dist/node_modules/simple-git/src/lib/utils/util.js +6 -1
- package/dist/node_modules/simple-git/src/lib/utils/util.js.map +1 -1
- package/dist/node_modules/simple-git/typings/response.d.ts +38 -1
- package/dist/node_modules/simple-git/typings/simple-git.d.ts +7 -0
- package/dist/node_modules/simple-git/typings/types.d.ts +2 -1
- package/dist/package.json +7 -3
- package/dist/schemas/system.json +74 -0
- package/dist/schemas/variant.json +137 -0
- package/dist/scripts/jsonSchemaToTs.js +5 -5
- package/dist/util/cache/cloneIntoCache.js +6 -6
- package/dist/util/cache/copyItemFromCache.js +3 -3
- package/dist/util/cache/getCachedItemCheckout.js +2 -2
- package/dist/util/cache/getCachedItemPath.js +2 -2
- package/dist/util/cache/getJsonFromCachedFile.js +1 -1
- package/dist/util/fs/executeScript.js +1 -1
- package/dist/util/fs/findFileInCurrentPath.js +5 -5
- package/dist/util/platform/getDrupalInfo.js +4 -4
- package/dist/util/platform/getInitSuccessMessageForPlatform.js +35 -0
- package/dist/util/platform/getPlatformInfo.js +1 -1
- package/dist/util/project/getEmulsifyConfig.js +2 -2
- package/dist/util/project/installComponentFromCache.js +4 -4
- package/dist/util/project/installDependencies.js +1 -1
- package/dist/util/project/installGeneralAssetsFromCache.js +3 -3
- package/dist/util/project/setEmulsifyConfig.js +3 -3
- package/dist/util/strToMachineName.js +5 -2
- package/package.json +8 -4
|
@@ -11,6 +11,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
11
11
|
};
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
13
|
__exportStar(require("./command-config-prefixing-plugin"), exports);
|
|
14
|
+
__exportStar(require("./completion-detection.plugin"), exports);
|
|
14
15
|
__exportStar(require("./error-detection.plugin"), exports);
|
|
15
16
|
__exportStar(require("./plugin-store"), exports);
|
|
16
17
|
__exportStar(require("./progress-monitor-plugin"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oEAAkD;AAClD,2DAAyC;AACzC,iDAA+B;AAC/B,4DAA0C;AAC1C,sDAAoC;AACpC,yDAAuC;AACvC,kDAAgC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oEAAkD;AAClD,gEAA8C;AAC9C,2DAAyC;AACzC,iDAA+B;AAC/B,4DAA0C;AAC1C,sDAAoC;AACpC,yDAAuC;AACvC,kDAAgC"}
|
|
@@ -1,39 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
/**
|
|
3
|
-
* The StatusSummary is returned as a response to getting `git().status()`
|
|
4
|
-
*/
|
|
1
|
+
import { StatusResult } from '../../../typings';
|
|
5
2
|
export declare class StatusSummary implements StatusResult {
|
|
6
|
-
not_added:
|
|
7
|
-
conflicted:
|
|
8
|
-
created:
|
|
9
|
-
deleted:
|
|
10
|
-
modified:
|
|
11
|
-
renamed:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
* in the `working_dir`.
|
|
15
|
-
*/
|
|
16
|
-
files: FileStatusResult[];
|
|
17
|
-
staged: string[];
|
|
18
|
-
/**
|
|
19
|
-
* Number of commits ahead of the tracked branch
|
|
20
|
-
*/
|
|
3
|
+
not_added: never[];
|
|
4
|
+
conflicted: never[];
|
|
5
|
+
created: never[];
|
|
6
|
+
deleted: never[];
|
|
7
|
+
modified: never[];
|
|
8
|
+
renamed: never[];
|
|
9
|
+
files: never[];
|
|
10
|
+
staged: never[];
|
|
21
11
|
ahead: number;
|
|
22
|
-
/**
|
|
23
|
-
*Number of commits behind the tracked branch
|
|
24
|
-
*/
|
|
25
12
|
behind: number;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
current: string | null;
|
|
30
|
-
/**
|
|
31
|
-
* Name of the branch being tracked
|
|
32
|
-
*/
|
|
33
|
-
tracking: string | null;
|
|
34
|
-
/**
|
|
35
|
-
* Gets whether this StatusSummary represents a clean working branch.
|
|
36
|
-
*/
|
|
13
|
+
current: null;
|
|
14
|
+
tracking: null;
|
|
15
|
+
detached: boolean;
|
|
37
16
|
isClean(): boolean;
|
|
38
17
|
}
|
|
39
18
|
export declare const parseStatusSummary: (text: string) => StatusResult;
|
|
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.parseStatusSummary = exports.StatusSummary = void 0;
|
|
4
4
|
const utils_1 = require("../utils");
|
|
5
5
|
const FileStatusSummary_1 = require("./FileStatusSummary");
|
|
6
|
-
/**
|
|
7
|
-
* The StatusSummary is returned as a response to getting `git().status()`
|
|
8
|
-
*/
|
|
9
6
|
class StatusSummary {
|
|
10
7
|
constructor() {
|
|
11
8
|
this.not_added = [];
|
|
@@ -14,32 +11,14 @@ class StatusSummary {
|
|
|
14
11
|
this.deleted = [];
|
|
15
12
|
this.modified = [];
|
|
16
13
|
this.renamed = [];
|
|
17
|
-
/**
|
|
18
|
-
* All files represented as an array of objects containing the `path` and status in `index` and
|
|
19
|
-
* in the `working_dir`.
|
|
20
|
-
*/
|
|
21
14
|
this.files = [];
|
|
22
15
|
this.staged = [];
|
|
23
|
-
/**
|
|
24
|
-
* Number of commits ahead of the tracked branch
|
|
25
|
-
*/
|
|
26
16
|
this.ahead = 0;
|
|
27
|
-
/**
|
|
28
|
-
*Number of commits behind the tracked branch
|
|
29
|
-
*/
|
|
30
17
|
this.behind = 0;
|
|
31
|
-
/**
|
|
32
|
-
* Name of the current branch
|
|
33
|
-
*/
|
|
34
18
|
this.current = null;
|
|
35
|
-
/**
|
|
36
|
-
* Name of the branch being tracked
|
|
37
|
-
*/
|
|
38
19
|
this.tracking = null;
|
|
20
|
+
this.detached = false;
|
|
39
21
|
}
|
|
40
|
-
/**
|
|
41
|
-
* Gets whether this StatusSummary represents a clean working branch.
|
|
42
|
-
*/
|
|
43
22
|
isClean() {
|
|
44
23
|
return !this.files.length;
|
|
45
24
|
}
|
|
@@ -113,6 +92,7 @@ const parsers = new Map([
|
|
|
113
92
|
result.tracking = regexResult && regexResult[1];
|
|
114
93
|
regexResult = onEmptyBranchReg.exec(line);
|
|
115
94
|
result.current = regexResult && regexResult[1] || result.current;
|
|
95
|
+
result.detached = /\(no branch\)/.test(line);
|
|
116
96
|
}]
|
|
117
97
|
]);
|
|
118
98
|
const parseStatusSummary = function (text) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StatusSummary.js","sourceRoot":"","sources":["StatusSummary.ts"],"names":[],"mappings":";;;AACA,oCAAkC;AAClC,2DAAwD;
|
|
1
|
+
{"version":3,"file":"StatusSummary.js","sourceRoot":"","sources":["StatusSummary.ts"],"names":[],"mappings":";;;AACA,oCAAkC;AAClC,2DAAwD;AAIxD,MAAa,aAAa;IAA1B;QACU,cAAS,GAAG,EAAE,CAAC;QACf,eAAU,GAAG,EAAE,CAAC;QAChB,YAAO,GAAG,EAAE,CAAC;QACb,YAAO,GAAG,EAAE,CAAC;QACb,aAAQ,GAAG,EAAE,CAAC;QACd,YAAO,GAAG,EAAE,CAAC;QACb,UAAK,GAAG,EAAE,CAAC;QACX,WAAM,GAAG,EAAE,CAAC;QACZ,UAAK,GAAG,CAAC,CAAC;QACV,WAAM,GAAG,CAAC,CAAC;QACX,YAAO,GAAG,IAAI,CAAC;QACf,aAAQ,GAAG,IAAI,CAAC;QAChB,aAAQ,GAAG,KAAK,CAAC;IAK3B,CAAC;IAHS,OAAO;QACX,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC;IAC7B,CAAC;CACH;AAlBD,sCAkBC;AAED,IAAK,mBAUJ;AAVD,WAAK,mBAAmB;IACrB,kCAAW,CAAA;IACX,oCAAa,CAAA;IACb,qCAAc,CAAA;IACd,oCAAa,CAAA;IACb,mCAAY,CAAA;IACZ,qCAAc,CAAA;IACd,sCAAe,CAAA;IACf,oCAAa,CAAA;IACb,iCAAU,CAAA;AACb,CAAC,EAVI,mBAAmB,KAAnB,mBAAmB,QAUvB;AAED,SAAS,WAAW,CAAC,IAAY;IAC9B,MAAM,MAAM,GAAG,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,CA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O,MAAM,CAAC;AACjB,CAAC,CAAC;AATW,QAAA,kBAAkB,sBAS7B;AAEF,SAAS,SAAS,CAAC,MAAoB,EAAE,OAAe;IACrD,MAAM,OAAO,GAAG,OAAO,CAAC,IAAI,EAAE,CAAC;IAC/B,QAAQ,GAAG,EAAE;QACV,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC;YACnB,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;QACxE,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC;YACnB,OAAO,IAAI,CAAC,mBAAmB,CAAC,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;QAC/E;YACG,OAAO;KACZ;IAED,SAAS,IAAI,CAAC,KAAa,EAAE,UAAkB,EAAE,IAAY;QAC1D,MAAM,GAAG,GAAG,GAAG,KAAK,GAAG,UAAU,EAAE,CAAC;QACpC,MAAM,OAAO,GAAG,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QAEjC,IAAI,OAAO,EAAE;YACV,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;SACxB;QAED,IAAI,GAAG,KAAK,IAAI,EAAE;YACf,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,qCAAiB,CAAC,IAAI,EAAE,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC;SACpE;IACJ,CAAC;AACJ,CAAC"}
|
|
@@ -120,40 +120,26 @@ class GitExecutorChain {
|
|
|
120
120
|
return new Promise((done) => {
|
|
121
121
|
const stdOut = [];
|
|
122
122
|
const stdErr = [];
|
|
123
|
-
let attempted = false;
|
|
124
123
|
let rejection;
|
|
125
|
-
function attemptClose(exitCode, event = 'retry') {
|
|
126
|
-
// closing when there is content, terminate immediately
|
|
127
|
-
if (attempted || stdErr.length || stdOut.length) {
|
|
128
|
-
logger.info(`exitCode=%s event=%s rejection=%o`, exitCode, event, rejection);
|
|
129
|
-
done({
|
|
130
|
-
stdOut,
|
|
131
|
-
stdErr,
|
|
132
|
-
exitCode,
|
|
133
|
-
rejection,
|
|
134
|
-
});
|
|
135
|
-
attempted = true;
|
|
136
|
-
}
|
|
137
|
-
// first attempt at closing but no content yet, wait briefly for the close/exit that may follow
|
|
138
|
-
if (!attempted) {
|
|
139
|
-
attempted = true;
|
|
140
|
-
setTimeout(() => attemptClose(exitCode, 'deferred'), 50);
|
|
141
|
-
logger('received %s event before content on stdOut/stdErr', event);
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
124
|
logger.info(`%s %o`, command, args);
|
|
145
125
|
logger('%O', spawnOptions);
|
|
146
126
|
const spawned = child_process_1.spawn(command, args, spawnOptions);
|
|
147
127
|
spawned.stdout.on('data', onDataReceived(stdOut, 'stdOut', logger, outputLogger.step('stdOut')));
|
|
148
128
|
spawned.stderr.on('data', onDataReceived(stdErr, 'stdErr', logger, outputLogger.step('stdErr')));
|
|
149
129
|
spawned.on('error', onErrorReceived(stdErr, logger));
|
|
150
|
-
spawned.on('close', (code) => attemptClose(code, 'close'));
|
|
151
|
-
spawned.on('exit', (code) => attemptClose(code, 'exit'));
|
|
152
130
|
if (outputHandler) {
|
|
153
131
|
logger(`Passing child process stdOut/stdErr to custom outputHandler`);
|
|
154
132
|
outputHandler(command, spawned.stdout, spawned.stderr, [...args]);
|
|
155
133
|
}
|
|
156
|
-
this._plugins.exec('spawn.after', undefined, Object.assign(Object.assign({}, pluginContext(task, args)), { spawned,
|
|
134
|
+
this._plugins.exec('spawn.after', undefined, Object.assign(Object.assign({}, pluginContext(task, args)), { spawned, close(exitCode, reason) {
|
|
135
|
+
done({
|
|
136
|
+
stdOut,
|
|
137
|
+
stdErr,
|
|
138
|
+
exitCode,
|
|
139
|
+
rejection: rejection || reason,
|
|
140
|
+
});
|
|
141
|
+
},
|
|
142
|
+
kill(reason) {
|
|
157
143
|
if (spawned.killed) {
|
|
158
144
|
return;
|
|
159
145
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"git-executor-chain.js","sourceRoot":"","sources":["git-executor-chain.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iDAAoD;AACpD,mDAA+C;AAG/C,wCAAsE;AAEtE,oCAAmF;AAEnF,+DAA0D;AAE1D,MAAa,gBAAgB;IA0B1B,YACW,SAA4B,EAC5B,UAAqB,EACrB,QAAqB;QAFrB,cAAS,GAAT,SAAS,CAAmB;QAC5B,eAAU,GAAV,UAAU,CAAW;QACrB,aAAQ,GAAR,QAAQ,CAAa;QA3BxB,WAAM,GAAiB,OAAO,CAAC,OAAO,EAAE,CAAC;QACzC,WAAM,GAAG,IAAI,uCAAiB,EAAE,CAAC;IA4BzC,CAAC;IAzBD,IAAW,MAAM;QACd,OAAO,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC;IAChC,CAAC;IAED,IAAW,GAAG;QACX,OAAO,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC;IAC1C,CAAC;IAED,IAAW,GAAG,CAAC,GAAW;QACvB,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC;IACnB,CAAC;IAED,IAAW,GAAG;QACX,OAAO,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC;IAC7B,CAAC;IAED,IAAW,aAAa;QACrB,OAAO,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC;IACvC,CAAC;IASM,KAAK;QACT,OAAO,IAAI,CAAC;IACf,CAAC;IAEM,IAAI,CAAI,IAAsB;QAClC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAEvB,OAAO,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,WAA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MAAgB,EAAE,IAAY,EAAE,MAAoB,EAAE,MAAoB;IAC/F,OAAO,CAAC,MAAc,EAAE,EAAE;QACvB,MAAM,CAAC,sBAAsB,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;QAC7C,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QACrB,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;IACtB,CAAC,CAAA;AACJ,CAAC"}
|
|
@@ -4,6 +4,7 @@ exports.SimpleGitApi = void 0;
|
|
|
4
4
|
const task_callback_1 = require("./task-callback");
|
|
5
5
|
const change_working_directory_1 = require("./tasks/change-working-directory");
|
|
6
6
|
const config_1 = require("./tasks/config");
|
|
7
|
+
const grep_1 = require("./tasks/grep");
|
|
7
8
|
const hash_object_1 = require("./tasks/hash-object");
|
|
8
9
|
const init_1 = require("./tasks/init");
|
|
9
10
|
const log_1 = require("./tasks/log");
|
|
@@ -75,5 +76,5 @@ class SimpleGitApi {
|
|
|
75
76
|
}
|
|
76
77
|
}
|
|
77
78
|
exports.SimpleGitApi = SimpleGitApi;
|
|
78
|
-
Object.assign(SimpleGitApi.prototype, config_1.default(), log_1.default());
|
|
79
|
+
Object.assign(SimpleGitApi.prototype, config_1.default(), grep_1.default(), log_1.default());
|
|
79
80
|
//# sourceMappingURL=simple-git-api.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"simple-git-api.js","sourceRoot":"","sources":["simple-git-api.ts"],"names":[],"mappings":";;;AACA,mDAA+C;AAC/C,+EAA8E;AAC9E,2CAAoC;AACpC,qDAAqD;AACrD,uCAAwC;AACxC,qCAA8B;AAC9B,yCAA0C;AAC1C,uCAAwC;AACxC,2CAA4C;AAC5C,uCAAiF;AAEjF,mCAA0G;AAE1G,MAAa,YAAY;IAEtB,YAAoB,SAA4B;QAA5B,cAAS,GAAT,SAAS,CAAmB;IAChD,CAAC;IAES,QAAQ,CAAI,IAAsB,EAAE,IAA+B;QAC1E,MAAM,KAAK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AAC,CAC/B,CAAC;QAEF,OAAO,IAAI,CAAC,QAAQ,CACjB,IAAI,EACJ,gCAAwB,CAAC,SAAS,CAAC,CACrC,CAAC;IACL,CAAC;IAED,KAAK;QACF,OAAO,IAAI,CAAC,QAAQ,CACjB,gCAAyB,CAAC,CAAC,OAAO,EAAE,GAAG,0BAAkB,CAAC,SAAS,CAAC,CAAC,CAAC,EACtE,gCAAwB,CAAC,SAAS,CAAC,CACrC,CAAC;IACL,CAAC;IAED,MAAM;QACH,OAAO,IAAI,CAAC,QAAQ,CAAC,mBAAU,CAAC,0BAAkB,CAAC,SAAS,CAAC,CAAC,EAAE,gCAAwB,CAAC,SAAS,CAAC,CAAC,CAAC;IACxG,CAAC;CACH;AA5GD,oCA4GC;AAED,MAAM,CAAC,MAAM,CAAC,YAAY,CAAC,SAAS,EAAE,gBAAM,EAAE,EAAE,cAAI,EAAE,EAAE,aAAG,EAAE,CAAC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SimpleGit } from '../../../typings';
|
|
2
|
+
export interface GitGrepQuery extends Iterable<string> {
|
|
3
|
+
/** Adds one or more terms to be grouped as an "and" to any other terms */
|
|
4
|
+
and(...and: string[]): this;
|
|
5
|
+
/** Adds one or more search terms - git.grep will "or" this to other terms */
|
|
6
|
+
param(...param: string[]): this;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Creates a new builder for a `git.grep` query with optional params
|
|
10
|
+
*/
|
|
11
|
+
export declare function grepQueryBuilder(...params: string[]): GitGrepQuery;
|
|
12
|
+
export default function (): Pick<SimpleGit, 'grep'>;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var _a;
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.grepQueryBuilder = void 0;
|
|
5
|
+
const utils_1 = require("../utils");
|
|
6
|
+
const task_1 = require("./task");
|
|
7
|
+
const disallowedOptions = ['-h'];
|
|
8
|
+
const Query = Symbol('grepQuery');
|
|
9
|
+
class GrepQuery {
|
|
10
|
+
constructor() {
|
|
11
|
+
this[_a] = [];
|
|
12
|
+
}
|
|
13
|
+
*[(_a = Query, Symbol.iterator)]() {
|
|
14
|
+
for (const query of this[Query]) {
|
|
15
|
+
yield query;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
and(...and) {
|
|
19
|
+
and.length && this[Query].push('--and', '(', ...utils_1.prefixedArray(and, '-e'), ')');
|
|
20
|
+
return this;
|
|
21
|
+
}
|
|
22
|
+
param(...param) {
|
|
23
|
+
this[Query].push(...utils_1.prefixedArray(param, '-e'));
|
|
24
|
+
return this;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Creates a new builder for a `git.grep` query with optional params
|
|
29
|
+
*/
|
|
30
|
+
function grepQueryBuilder(...params) {
|
|
31
|
+
return new GrepQuery().param(...params);
|
|
32
|
+
}
|
|
33
|
+
exports.grepQueryBuilder = grepQueryBuilder;
|
|
34
|
+
function parseGrep(grep) {
|
|
35
|
+
const paths = new Set();
|
|
36
|
+
const results = {};
|
|
37
|
+
utils_1.forEachLineWithContent(grep, (input) => {
|
|
38
|
+
const [path, line, preview] = input.split(utils_1.NULL);
|
|
39
|
+
paths.add(path);
|
|
40
|
+
(results[path] = results[path] || []).push({
|
|
41
|
+
line: utils_1.asNumber(line),
|
|
42
|
+
path,
|
|
43
|
+
preview,
|
|
44
|
+
});
|
|
45
|
+
});
|
|
46
|
+
return {
|
|
47
|
+
paths,
|
|
48
|
+
results,
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
function default_1() {
|
|
52
|
+
return {
|
|
53
|
+
grep(searchTerm) {
|
|
54
|
+
const then = utils_1.trailingFunctionArgument(arguments);
|
|
55
|
+
const options = utils_1.getTrailingOptions(arguments);
|
|
56
|
+
for (const option of disallowedOptions) {
|
|
57
|
+
if (options.includes(option)) {
|
|
58
|
+
return this._runTask(task_1.configurationErrorTask(`git.grep: use of "${option}" is not supported.`), then);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
if (typeof searchTerm === 'string') {
|
|
62
|
+
searchTerm = grepQueryBuilder().param(searchTerm);
|
|
63
|
+
}
|
|
64
|
+
const commands = ['grep', '--null', '-n', '--full-name', ...options, ...searchTerm];
|
|
65
|
+
return this._runTask({
|
|
66
|
+
commands,
|
|
67
|
+
format: 'utf-8',
|
|
68
|
+
parser(stdOut) {
|
|
69
|
+
return parseGrep(stdOut);
|
|
70
|
+
},
|
|
71
|
+
}, then);
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
exports.default = default_1;
|
|
76
|
+
//# sourceMappingURL=grep.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grep.js","sourceRoot":"","sources":["grep.ts"],"names":[],"mappings":";;;;AAEA,oCAOkB;AAElB,iCAAgD;AAEhD,MAAM,iBAAiB,GAAG,CAAC,IAAI,CAAC,CAAC;AAEjC,MAAM,KAAK,GAAG,MAAM,CAAC,WAAW,CAAC,CAAC;AAUlC,MAAM,SAAS;IAAf;QACW,QAAO,GAAa,EAAE,CAAC;IAiBlC,CAAC;IAfE,CAAE,OAFO,KAAK,EAEX,MAAM,CAAC,QAAQ,EAAC;QAChB,KAAK,MAAM,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,EAAE;YAC9B,MAAM,KAAK,CAAC;SACd;IACJ,CAAC;IAED,GAAG,CAAC,GAAG,GAAa;QACjB,GAAG,CAAC,MAAM,IAAI,IAAI,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,OAAO,EAAE,GAAG,EAAE,GAAG,qBAAa,CAAC,GAAG,EAAE,IAAI,CAAC,EAAE,GAAG,CAAC,CAAC;QAC/E,OAAO,IAAI,CAAC;IACf,CAAC;IAED,KAAK,CAAC,GAAG,KAAe;QACrB,IAAI,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,GAAG,qBAAa,CAAC,K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E;gBACjC,UAAU,GAAG,gBAAgB,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;aACpD;YAED,MAAM,QAAQ,GAAG,CAAC,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,aAAa,EAAE,GAAG,OAAO,EAAE,GAAG,UAAU,CAAC,CAAC;YAEpF,OAAO,IAAI,CAAC,QAAQ,CAAC;gBAClB,QAAQ;gBACR,MAAM,EAAE,OAAO;gBACf,MAAM,CAAC,MAAM;oBACV,OAAO,SAAS,CAAC,MAAM,CAAC,CAAC;gBAC5B,CAAC;aACH,EAAE,IAAI,CAAC,CAAC;QACZ,CAAC;KACH,CAAA;AACJ,CAAC;AA9BD,4BA8BC"}
|
|
@@ -48,6 +48,22 @@ export interface GitExecutorResult {
|
|
|
48
48
|
rejection: Maybe<Error>;
|
|
49
49
|
}
|
|
50
50
|
export interface SimpleGitPluginConfig {
|
|
51
|
+
/**
|
|
52
|
+
* Configures the events that should be used to determine when the unederlying child process has
|
|
53
|
+
* been terminated.
|
|
54
|
+
*
|
|
55
|
+
* Version 2 will default to use `onClose=true, onExit=50` to mean the `close` event will be
|
|
56
|
+
* used to immediately treat the child process as closed and start using the data from `stdOut`
|
|
57
|
+
* / `stdErr`, whereas the `exit` event will wait `50ms` before treating the child process
|
|
58
|
+
* as closed.
|
|
59
|
+
*
|
|
60
|
+
* This will be changed in version 3 to use `onClose=true, onExit=false` so that only the
|
|
61
|
+
* close event is used to determine the termination of the process.
|
|
62
|
+
*/
|
|
63
|
+
completion: {
|
|
64
|
+
onClose?: boolean | number;
|
|
65
|
+
onExit?: boolean | number;
|
|
66
|
+
};
|
|
51
67
|
/**
|
|
52
68
|
* Configures the content of errors thrown by the `simple-git` instance for each task
|
|
53
69
|
*/
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { Maybe } from '../types';
|
|
3
|
+
export declare const NULL = "\0";
|
|
3
4
|
export declare const NOOP: (...args: any[]) => void;
|
|
4
5
|
/**
|
|
5
6
|
* Returns either the source argument when it is a `Function`, or the default
|
|
@@ -40,4 +41,5 @@ export declare function bufferToString(input: Buffer | Buffer[]): string;
|
|
|
40
41
|
* Get a new object from a source object with only the listed properties.
|
|
41
42
|
*/
|
|
42
43
|
export declare function pick(source: Record<string, any>, properties: string[]): any;
|
|
44
|
+
export declare function delay(duration?: number): Promise<void>;
|
|
43
45
|
export {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.pick = exports.bufferToString = exports.prefixedArray = exports.asNumber = exports.asStringArray = exports.asArray = exports.objectToString = exports.remove = exports.including = exports.append = exports.folderExists = exports.forEachLineWithContent = exports.toLinesWithContent = exports.last = exports.first = exports.splitOn = exports.isUserFunction = exports.asFunction = exports.NOOP = void 0;
|
|
3
|
+
exports.delay = exports.pick = exports.bufferToString = exports.prefixedArray = exports.asNumber = exports.asStringArray = exports.asArray = exports.objectToString = exports.remove = exports.including = exports.append = exports.folderExists = exports.forEachLineWithContent = exports.toLinesWithContent = exports.last = exports.first = exports.splitOn = exports.isUserFunction = exports.asFunction = exports.NOOP = exports.NULL = void 0;
|
|
4
4
|
const file_exists_1 = require("@kwsites/file-exists");
|
|
5
|
+
exports.NULL = '\0';
|
|
5
6
|
const NOOP = () => {
|
|
6
7
|
};
|
|
7
8
|
exports.NOOP = NOOP;
|
|
@@ -138,4 +139,8 @@ function pick(source, properties) {
|
|
|
138
139
|
return Object.assign({}, ...properties.map((property) => property in source ? { [property]: source[property] } : {}));
|
|
139
140
|
}
|
|
140
141
|
exports.pick = pick;
|
|
142
|
+
function delay(duration = 0) {
|
|
143
|
+
return new Promise(done => setTimeout(done, duration));
|
|
144
|
+
}
|
|
145
|
+
exports.delay = delay;
|
|
141
146
|
//# sourceMappingURL=util.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"util.js","sourceRoot":"","sources":["util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AI,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC;AAC1D,CAAC;AAFD,sBAEC"}
|
|
@@ -177,6 +177,16 @@ export interface FetchResult {
|
|
|
177
177
|
}[];
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
+
/** Represents the response to git.grep */
|
|
181
|
+
export interface GrepResult {
|
|
182
|
+
paths: Set<string>;
|
|
183
|
+
results: Record<string, Array<{
|
|
184
|
+
line: number;
|
|
185
|
+
path: string;
|
|
186
|
+
preview: string;
|
|
187
|
+
}>>;
|
|
188
|
+
}
|
|
189
|
+
|
|
180
190
|
/**
|
|
181
191
|
* The `InitResult` is returned when (re)initialising a git repo.
|
|
182
192
|
*/
|
|
@@ -211,7 +221,7 @@ export interface MoveResult {
|
|
|
211
221
|
/**
|
|
212
222
|
* Array of files moved
|
|
213
223
|
*/
|
|
214
|
-
moves: Array<{from: string, to: string}>;
|
|
224
|
+
moves: Array<{ from: string, to: string }>;
|
|
215
225
|
}
|
|
216
226
|
|
|
217
227
|
export interface PullDetailFileChanges {
|
|
@@ -284,12 +294,39 @@ export interface StatusResult {
|
|
|
284
294
|
modified: string[];
|
|
285
295
|
renamed: StatusResultRenamed[];
|
|
286
296
|
staged: string[];
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* All files represented as an array of objects containing the `path` and status in `index` and
|
|
300
|
+
* in the `working_dir`.
|
|
301
|
+
*/
|
|
287
302
|
files: FileStatusResult[];
|
|
303
|
+
|
|
304
|
+
/**
|
|
305
|
+
* Number of commits ahead of the tracked branch
|
|
306
|
+
*/
|
|
288
307
|
ahead: number;
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
*Number of commits behind the tracked branch
|
|
311
|
+
*/
|
|
289
312
|
behind: number;
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* Name of the current branch
|
|
316
|
+
*/
|
|
290
317
|
current: string | null;
|
|
318
|
+
|
|
319
|
+
/**
|
|
320
|
+
* Name of the branch being tracked
|
|
321
|
+
*/
|
|
291
322
|
tracking: string | null;
|
|
292
323
|
|
|
324
|
+
/**
|
|
325
|
+
* Detached status of the working copy, for more detail of what the working branch
|
|
326
|
+
* is detached from use `git.branch()`
|
|
327
|
+
*/
|
|
328
|
+
detached: boolean;
|
|
329
|
+
|
|
293
330
|
/**
|
|
294
331
|
* Gets whether this represents a clean working branch.
|
|
295
332
|
*/
|
|
@@ -387,6 +387,13 @@ export interface SimpleGit extends SimpleGitBase {
|
|
|
387
387
|
|
|
388
388
|
getRemotes(verbose: true, callback?: types.SimpleGitTaskCallback<types.RemoteWithRefs[]>): Response<types.RemoteWithRefs[]>;
|
|
389
389
|
|
|
390
|
+
/**
|
|
391
|
+
* Search for files matching the supplied search terms
|
|
392
|
+
*/
|
|
393
|
+
grep(searchTerm: string | types.GitGrepQuery, callback?: types.SimpleGitTaskCallback<resp.GrepResult>): Response<resp.GrepResult>;
|
|
394
|
+
|
|
395
|
+
grep(searchTerm: string | types.GitGrepQuery, options?: types.TaskOptions, callback?: types.SimpleGitTaskCallback<resp.GrepResult>): Response<resp.GrepResult>;
|
|
396
|
+
|
|
390
397
|
/**
|
|
391
398
|
* List remotes by running the `ls-remote` command with any number of arbitrary options
|
|
392
399
|
* in either array of object form.
|
|
@@ -5,9 +5,10 @@ export {
|
|
|
5
5
|
outputHandler, Options, TaskOptions, SimpleGitOptions, SimpleGitProgressEvent, SimpleGitTaskCallback
|
|
6
6
|
} from '../src/lib/types';
|
|
7
7
|
|
|
8
|
+
export { ApplyOptions } from '../src/lib/tasks/apply-patch';
|
|
8
9
|
export { CheckRepoActions } from '../src/lib/tasks/check-is-repo';
|
|
9
10
|
export { CleanOptions, CleanMode } from '../src/lib/tasks/clean';
|
|
10
11
|
export { CloneOptions } from '../src/lib/tasks/clone';
|
|
11
12
|
export { GitConfigScope } from '../src/lib/tasks/config';
|
|
12
|
-
export {
|
|
13
|
+
export { GitGrepQuery, grepQueryBuilder } from '../src/lib/tasks/grep';
|
|
13
14
|
export { ResetOptions, ResetMode } from '../src/lib/tasks/reset';
|
package/dist/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"license": "GPL-2.0",
|
|
8
8
|
"private": false,
|
|
9
9
|
"engines": {
|
|
10
|
-
"node": ">=
|
|
10
|
+
"node": ">=16.13"
|
|
11
11
|
},
|
|
12
12
|
"bin": {
|
|
13
13
|
"emulsify": "dist/index.js"
|
|
@@ -62,13 +62,17 @@
|
|
|
62
62
|
"semantic-release": "^17.3.8",
|
|
63
63
|
"ts-jest": "^26.5.1",
|
|
64
64
|
"ts-node": "^9.1.1",
|
|
65
|
-
"typescript": "^4.
|
|
65
|
+
"typescript": "^4.5.2"
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|
|
68
|
-
"
|
|
68
|
+
"@types/progress": "^2.0.5",
|
|
69
|
+
"ajv": "^7.2.4",
|
|
70
|
+
"ajv-formats": "^2.1.1",
|
|
69
71
|
"chalk": "^4.1.0",
|
|
70
72
|
"commander": "^7.0.0",
|
|
73
|
+
"consola": "^2.15.3",
|
|
71
74
|
"fs-extra": "^9.1.0",
|
|
75
|
+
"progress": "^2.0.3",
|
|
72
76
|
"ramda": "^0.27.1",
|
|
73
77
|
"simple-git": "^2.36.1"
|
|
74
78
|
}
|