@emulsify/cli 1.5.0 → 1.7.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 +89 -1
- package/dist/handlers/componentInstall.js +9 -5
- package/dist/handlers/componentList.js +1 -1
- package/dist/handlers/init.js +1 -1
- package/dist/handlers/systemInstall.js +27 -11
- package/dist/index.js +13 -21
- package/dist/node_modules/.package-lock.json +34 -43
- package/dist/node_modules/@types/node/LICENSE +0 -0
- package/dist/node_modules/@types/node/README.md +3 -3
- package/dist/node_modules/@types/node/assert.d.ts +33 -31
- package/dist/node_modules/@types/node/async_hooks.d.ts +29 -21
- package/dist/node_modules/@types/node/buffer.d.ts +67 -3
- package/dist/node_modules/@types/node/child_process.d.ts +230 -62
- package/dist/node_modules/@types/node/cluster.d.ts +62 -27
- package/dist/node_modules/@types/node/console.d.ts +6 -6
- package/dist/node_modules/@types/node/constants.d.ts +12 -11
- package/dist/node_modules/@types/node/crypto.d.ts +338 -240
- package/dist/node_modules/@types/node/dgram.d.ts +50 -14
- package/dist/node_modules/@types/node/dns.d.ts +183 -54
- package/dist/node_modules/@types/node/domain.d.ts +4 -4
- package/dist/node_modules/@types/node/events.d.ts +4 -4
- package/dist/node_modules/@types/node/fs/promises.d.ts +105 -39
- package/dist/node_modules/@types/node/fs.d.ts +440 -126
- package/dist/node_modules/@types/node/globals.d.ts +176 -24
- package/dist/node_modules/@types/node/globals.global.d.ts +0 -0
- package/dist/node_modules/@types/node/http.d.ts +309 -218
- package/dist/node_modules/@types/node/http2.d.ts +345 -98
- package/dist/node_modules/@types/node/https.d.ts +250 -118
- package/dist/node_modules/@types/node/index.d.ts +1 -2
- package/dist/node_modules/@types/node/inspector.d.ts +2 -3
- package/dist/node_modules/@types/node/module.d.ts +4 -4
- package/dist/node_modules/@types/node/net.d.ts +42 -14
- package/dist/node_modules/@types/node/os.d.ts +5 -4
- package/dist/node_modules/@types/node/package.json +10 -8
- package/dist/node_modules/@types/node/path.d.ts +35 -24
- package/dist/node_modules/@types/node/perf_hooks.d.ts +5 -5
- package/dist/node_modules/@types/node/process.d.ts +62 -23
- package/dist/node_modules/@types/node/punycode.d.ts +3 -3
- package/dist/node_modules/@types/node/querystring.d.ts +15 -5
- package/dist/node_modules/@types/node/readline.d.ts +16 -6
- package/dist/node_modules/@types/node/repl.d.ts +13 -7
- package/dist/node_modules/@types/node/stream.d.ts +190 -31
- package/dist/node_modules/@types/node/string_decoder.d.ts +3 -3
- package/dist/node_modules/@types/node/timers.d.ts +6 -6
- package/dist/node_modules/@types/node/tls.d.ts +113 -30
- package/dist/node_modules/@types/node/trace_events.d.ts +3 -3
- package/dist/node_modules/@types/node/ts4.8/assert.d.ts +130 -0
- package/dist/node_modules/@types/node/ts4.8/async_hooks.d.ts +237 -0
- package/dist/node_modules/@types/node/ts4.8/buffer.d.ts +89 -0
- package/dist/node_modules/@types/node/ts4.8/child_process.d.ts +682 -0
- package/dist/node_modules/@types/node/ts4.8/cluster.d.ts +300 -0
- package/dist/node_modules/@types/node/ts4.8/console.d.ts +142 -0
- package/dist/node_modules/@types/node/ts4.8/constants.d.ts +19 -0
- package/dist/node_modules/@types/node/ts4.8/crypto.d.ts +1287 -0
- package/dist/node_modules/@types/node/ts4.8/dgram.d.ts +180 -0
- package/dist/node_modules/@types/node/ts4.8/dns.d.ts +516 -0
- package/dist/node_modules/@types/node/ts4.8/domain.d.ts +27 -0
- package/dist/node_modules/@types/node/ts4.8/events.d.ts +82 -0
- package/dist/node_modules/@types/node/ts4.8/fs/promises.d.ts +634 -0
- package/dist/node_modules/@types/node/ts4.8/fs.d.ts +2587 -0
- package/dist/node_modules/@types/node/ts4.8/globals.d.ts +763 -0
- package/dist/node_modules/@types/node/ts4.8/globals.global.d.ts +1 -0
- package/dist/node_modules/@types/node/ts4.8/http.d.ts +580 -0
- package/dist/node_modules/@types/node/ts4.8/http2.d.ts +1208 -0
- package/dist/node_modules/@types/node/ts4.8/https.d.ts +274 -0
- package/dist/node_modules/@types/node/ts4.8/index.d.ts +53 -0
- package/dist/node_modules/@types/node/ts4.8/inspector.d.ts +3050 -0
- package/dist/node_modules/@types/node/ts4.8/module.d.ts +56 -0
- package/dist/node_modules/@types/node/ts4.8/net.d.ts +324 -0
- package/dist/node_modules/@types/node/ts4.8/os.d.ts +243 -0
- package/dist/node_modules/@types/node/ts4.8/path.d.ts +168 -0
- package/dist/node_modules/@types/node/ts4.8/perf_hooks.d.ts +274 -0
- package/dist/node_modules/@types/node/ts4.8/process.d.ts +452 -0
- package/dist/node_modules/@types/node/ts4.8/punycode.d.ts +78 -0
- package/dist/node_modules/@types/node/ts4.8/querystring.d.ts +41 -0
- package/dist/node_modules/@types/node/ts4.8/readline.d.ts +184 -0
- package/dist/node_modules/@types/node/ts4.8/repl.d.ts +404 -0
- package/dist/node_modules/@types/node/ts4.8/stream.d.ts +518 -0
- package/dist/node_modules/@types/node/ts4.8/string_decoder.d.ts +10 -0
- package/dist/node_modules/@types/node/ts4.8/timers.d.ts +19 -0
- package/dist/node_modules/@types/node/ts4.8/tls.d.ts +866 -0
- package/dist/node_modules/@types/node/ts4.8/trace_events.d.ts +64 -0
- package/dist/node_modules/@types/node/ts4.8/tty.d.ts +69 -0
- package/dist/node_modules/@types/node/ts4.8/url.d.ts +187 -0
- package/dist/node_modules/@types/node/ts4.8/util.d.ts +278 -0
- package/dist/node_modules/@types/node/ts4.8/v8.d.ts +189 -0
- package/dist/node_modules/@types/node/ts4.8/vm.d.ts +155 -0
- package/dist/node_modules/@types/node/ts4.8/wasi.d.ts +88 -0
- package/dist/node_modules/@types/node/ts4.8/worker_threads.d.ts +241 -0
- package/dist/node_modules/@types/node/ts4.8/zlib.d.ts +364 -0
- package/dist/node_modules/@types/node/tty.d.ts +4 -4
- package/dist/node_modules/@types/node/url.d.ts +75 -7
- package/dist/node_modules/@types/node/util.d.ts +103 -41
- package/dist/node_modules/@types/node/v8.d.ts +4 -5
- package/dist/node_modules/@types/node/vm.d.ts +7 -7
- package/dist/node_modules/@types/node/wasi.d.ts +3 -4
- package/dist/node_modules/@types/node/worker_threads.d.ts +8 -8
- package/dist/node_modules/@types/node/zlib.d.ts +13 -13
- package/dist/node_modules/@types/progress/LICENSE +0 -0
- package/dist/node_modules/@types/progress/README.md +2 -3
- package/dist/node_modules/@types/progress/index.d.ts +0 -5
- package/dist/node_modules/@types/progress/package.json +6 -6
- package/dist/node_modules/ajv-formats/node_modules/ajv/README.md +20 -5
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2019.d.ts +3 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2019.js +7 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2019.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2020.d.ts +3 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2020.js +7 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2020.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/ajv.d.ts +3 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/ajv.js +7 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/ajv.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/code.d.ts +6 -5
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/code.js +9 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/code.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/index.d.ts +2 -2
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/index.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/scope.d.ts +5 -5
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/scope.js +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/errors.js +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/errors.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/index.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/index.js +9 -10
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/index.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/parse.js +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/parse.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/serialize.js +19 -8
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/serialize.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/types.d.ts +2 -2
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/names.js +6 -6
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/names.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/ref_error.d.ts +2 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/ref_error.js +3 -3
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/ref_error.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/resolve.d.ts +6 -6
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/resolve.js +16 -14
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/resolve.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/rules.d.ts +2 -2
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/util.d.ts +2 -2
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/util.js +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/util.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/dataType.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/dataType.js +2 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/index.js +12 -2
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/index.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/subschema.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/core.d.ts +7 -5
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/core.js +22 -18
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/core.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/jtd.d.ts +4 -2
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/jtd.js +7 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/jtd.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/equal.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/parseJson.js +2 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/parseJson.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/re2.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/ucs2length.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/uri.d.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/uri.js +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/uri.js.map +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/standalone/index.js +8 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/standalone/index.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/index.d.ts +25 -19
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/json-schema.d.ts +15 -14
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/jtd-schema.d.ts +31 -25
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +2 -2
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/code.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/ref.js +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/index.js +10 -3
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/types.js +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/errors.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/format.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +3 -3
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/properties.js +8 -5
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/ref.js +3 -2
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +3 -3
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/type.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/values.js +10 -7
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/values.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/const.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/enum.js +4 -3
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/index.d.ts +2 -2
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +3 -3
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/required.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/2019.ts +4 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/2020.ts +4 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/ajv.ts +4 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/codegen/code.ts +8 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/codegen/index.ts +25 -5
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/index.ts +8 -8
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/jtd/parse.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/jtd/serialize.ts +21 -15
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/jtd/types.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/ref_error.ts +4 -3
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/resolve.ts +18 -15
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/rules.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/validate/dataType.ts +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/validate/index.ts +11 -2
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/core.ts +13 -2
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/jtd.ts +4 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/runtime/parseJson.ts +2 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/runtime/uri.ts +6 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/standalone/index.ts +9 -2
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/types/index.ts +14 -3
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/types/json-schema.ts +2 -4
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/types/jtd-schema.ts +25 -16
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/core/ref.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/discriminator/index.ts +11 -3
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/properties.ts +13 -6
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/ref.ts +3 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/values.ts +10 -7
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/enum.ts +5 -3
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/package.json +40 -38
- package/dist/node_modules/commander/Readme.md +407 -169
- package/dist/node_modules/commander/esm.mjs +13 -1
- package/dist/node_modules/commander/index.js +13 -2206
- package/dist/node_modules/commander/lib/argument.js +145 -0
- package/dist/node_modules/commander/lib/command.js +2299 -0
- package/dist/node_modules/commander/lib/error.js +43 -0
- package/dist/node_modules/commander/lib/help.js +457 -0
- package/dist/node_modules/commander/lib/option.js +327 -0
- package/dist/node_modules/commander/lib/suggestSimilar.js +100 -0
- package/dist/node_modules/commander/package.json +46 -34
- package/dist/node_modules/commander/typings/esm.d.mts +3 -0
- package/dist/node_modules/commander/typings/index.d.ts +889 -617
- package/dist/node_modules/debug/README.md +3 -0
- package/dist/node_modules/debug/package.json +1 -1
- package/dist/node_modules/debug/src/common.js +1 -1
- package/dist/node_modules/fs-extra/README.md +3 -5
- package/dist/node_modules/fs-extra/lib/{copy-sync → copy}/copy-sync.js +11 -8
- package/dist/node_modules/fs-extra/lib/copy/copy.js +12 -9
- package/dist/node_modules/fs-extra/lib/copy/index.js +2 -1
- package/dist/node_modules/fs-extra/lib/empty/index.js +10 -19
- package/dist/node_modules/fs-extra/lib/ensure/index.js +15 -15
- package/dist/node_modules/fs-extra/lib/ensure/link.js +10 -7
- package/dist/node_modules/fs-extra/lib/ensure/symlink.js +34 -15
- package/dist/node_modules/fs-extra/lib/fs/index.js +8 -10
- package/dist/node_modules/fs-extra/lib/index.js +1 -12
- package/dist/node_modules/fs-extra/lib/json/output-json-sync.js +1 -1
- package/dist/node_modules/fs-extra/lib/json/output-json.js +1 -1
- package/dist/node_modules/fs-extra/lib/mkdirs/make-dir.js +16 -130
- package/dist/node_modules/fs-extra/lib/mkdirs/utils.js +21 -0
- package/dist/node_modules/fs-extra/lib/move/index.js +2 -1
- package/dist/node_modules/fs-extra/lib/{move-sync → move}/move-sync.js +12 -5
- package/dist/node_modules/fs-extra/lib/move/move.js +14 -4
- package/dist/node_modules/fs-extra/lib/remove/index.js +15 -2
- package/dist/node_modules/fs-extra/lib/util/stat.js +60 -45
- package/dist/node_modules/fs-extra/package.json +7 -10
- package/dist/node_modules/graceful-fs/LICENSE +1 -1
- package/dist/node_modules/graceful-fs/graceful-fs.js +23 -4
- package/dist/node_modules/graceful-fs/package.json +6 -3
- package/dist/node_modules/graceful-fs/polyfills.js +39 -30
- package/dist/node_modules/punycode/README.md +29 -3
- package/dist/node_modules/punycode/package.json +7 -7
- package/dist/node_modules/punycode/punycode.es6.js +25 -22
- package/dist/node_modules/punycode/punycode.js +25 -22
- package/dist/node_modules/ramda/dist/ramda.js +4 -4
- package/dist/node_modules/ramda/dist/ramda.min.js +1 -1
- package/dist/node_modules/ramda/es/trim.js +1 -1
- package/dist/node_modules/ramda/package.json +1 -1
- package/dist/node_modules/ramda/src/trim.js +1 -1
- package/dist/node_modules/universalify/README.md +1 -1
- package/dist/node_modules/universalify/index.js +6 -6
- package/dist/node_modules/universalify/package.json +2 -2
- package/dist/package.json +5 -6
- package/dist/schemas/variant.json +28 -5
- package/dist/util/cache/cloneIntoCache.js +1 -1
- package/dist/util/cache/getCachedItemPath.js +4 -2
- package/dist/util/cache/getJsonFromCachedFile.js +2 -2
- package/dist/util/getGitRepoNameFromUrl.js +1 -1
- package/dist/util/getRepositoryLatestTag.js +16 -0
- package/dist/util/platform/getInitSuccessMessageForPlatform.js +4 -3
- package/dist/util/project/buildComponentDependencyList.js +20 -0
- package/package.json +6 -7
- package/dist/node_modules/at-least-node/LICENSE +0 -6
- package/dist/node_modules/at-least-node/README.md +0 -25
- package/dist/node_modules/at-least-node/index.js +0 -5
- package/dist/node_modules/at-least-node/package.json +0 -32
- package/dist/node_modules/commander/CHANGELOG.md +0 -440
- package/dist/node_modules/fs-extra/CHANGELOG.md +0 -902
- package/dist/node_modules/fs-extra/lib/copy-sync/index.js +0 -5
- package/dist/node_modules/fs-extra/lib/move-sync/index.js +0 -5
- /package/dist/node_modules/fs-extra/lib/{output → output-file}/index.js +0 -0
package/dist/package.json
CHANGED
|
@@ -42,14 +42,13 @@
|
|
|
42
42
|
"@semantic-release/github": "^8.0.2",
|
|
43
43
|
"@semantic-release/npm": "^8.0.3",
|
|
44
44
|
"@types/chalk": "^2.2.0",
|
|
45
|
-
"@types/commander": "^2.12.2",
|
|
46
45
|
"@types/fs-extra": "^9.0.8",
|
|
47
46
|
"@types/jest": "^26.0.20",
|
|
48
47
|
"@types/node": "^14.14.25",
|
|
49
48
|
"@types/ramda": "^0.27.38",
|
|
50
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
51
|
-
"@typescript-eslint/parser": "^
|
|
52
|
-
"eslint": "^
|
|
49
|
+
"@typescript-eslint/eslint-plugin": "^5.12.1",
|
|
50
|
+
"@typescript-eslint/parser": "^5.12.1",
|
|
51
|
+
"eslint": "^8.9.0",
|
|
53
52
|
"eslint-config-prettier": "^7.2.0",
|
|
54
53
|
"eslint-plugin-prettier": "^4.0.0",
|
|
55
54
|
"eslint-plugin-security": "^1.4.0",
|
|
@@ -69,9 +68,9 @@
|
|
|
69
68
|
"ajv": "^7.2.4",
|
|
70
69
|
"ajv-formats": "^2.1.1",
|
|
71
70
|
"chalk": "^4.1.0",
|
|
72
|
-
"commander": "^
|
|
71
|
+
"commander": "^12.0.0",
|
|
73
72
|
"consola": "^2.15.3",
|
|
74
|
-
"fs-extra": "^
|
|
73
|
+
"fs-extra": "^10.0.0",
|
|
75
74
|
"progress": "^2.0.3",
|
|
76
75
|
"ramda": "^0.27.1",
|
|
77
76
|
"simple-git": "^2.36.1"
|
|
@@ -7,7 +7,9 @@
|
|
|
7
7
|
"platform": {
|
|
8
8
|
"type": "string",
|
|
9
9
|
"description": "Name of the variant, usually indicating the platform for which the variant is intended, such as WordPress, or Drupal9",
|
|
10
|
-
"enum": [
|
|
10
|
+
"enum": [
|
|
11
|
+
"drupal"
|
|
12
|
+
]
|
|
11
13
|
},
|
|
12
14
|
"structureImplementations": {
|
|
13
15
|
"type": "array",
|
|
@@ -25,7 +27,10 @@
|
|
|
25
27
|
}
|
|
26
28
|
},
|
|
27
29
|
"additionalProperties": false,
|
|
28
|
-
"required": [
|
|
30
|
+
"required": [
|
|
31
|
+
"name",
|
|
32
|
+
"directory"
|
|
33
|
+
]
|
|
29
34
|
}
|
|
30
35
|
},
|
|
31
36
|
"components": {
|
|
@@ -49,10 +54,20 @@
|
|
|
49
54
|
"required": {
|
|
50
55
|
"type": "boolean",
|
|
51
56
|
"description": "Boolean indicating whether or not the component is required"
|
|
57
|
+
},
|
|
58
|
+
"dependency": {
|
|
59
|
+
"type": "array",
|
|
60
|
+
"description": "Array of all components that are dependencies of the current component",
|
|
61
|
+
"items": {
|
|
62
|
+
"type": "string"
|
|
63
|
+
}
|
|
52
64
|
}
|
|
53
65
|
},
|
|
54
66
|
"additionalProperties": false,
|
|
55
|
-
"required": [
|
|
67
|
+
"required": [
|
|
68
|
+
"name",
|
|
69
|
+
"structure"
|
|
70
|
+
]
|
|
56
71
|
}
|
|
57
72
|
},
|
|
58
73
|
"directories": {
|
|
@@ -79,7 +94,11 @@
|
|
|
79
94
|
}
|
|
80
95
|
},
|
|
81
96
|
"additionalProperties": false,
|
|
82
|
-
"required": [
|
|
97
|
+
"required": [
|
|
98
|
+
"name",
|
|
99
|
+
"path",
|
|
100
|
+
"destinationPath"
|
|
101
|
+
]
|
|
83
102
|
}
|
|
84
103
|
},
|
|
85
104
|
"files": {
|
|
@@ -106,7 +125,11 @@
|
|
|
106
125
|
}
|
|
107
126
|
},
|
|
108
127
|
"additionalProperties": false,
|
|
109
|
-
"required": [
|
|
128
|
+
"required": [
|
|
129
|
+
"name",
|
|
130
|
+
"path",
|
|
131
|
+
"destinationPath"
|
|
132
|
+
]
|
|
110
133
|
}
|
|
111
134
|
}
|
|
112
135
|
},
|
|
@@ -9,7 +9,7 @@ const path_1 = require("path");
|
|
|
9
9
|
const getCachedItemPath_1 = __importDefault(require("./getCachedItemPath"));
|
|
10
10
|
function cloneIntoCache(bucket, itemPath) {
|
|
11
11
|
return async ({ repository, checkout }) => {
|
|
12
|
-
const destination = (0, getCachedItemPath_1.default)(bucket, itemPath);
|
|
12
|
+
const destination = (0, getCachedItemPath_1.default)(bucket, itemPath, checkout);
|
|
13
13
|
const parentDir = (0, path_1.dirname)(destination);
|
|
14
14
|
if ((0, fs_1.existsSync)(destination)) {
|
|
15
15
|
return;
|
|
@@ -7,11 +7,13 @@ const path_1 = require("path");
|
|
|
7
7
|
const crypto_1 = require("crypto");
|
|
8
8
|
const constants_1 = require("../../lib/constants");
|
|
9
9
|
const findFileInCurrentPath_1 = __importDefault(require("../fs/findFileInCurrentPath"));
|
|
10
|
-
function getCachedItemPath(bucket, itemPath) {
|
|
10
|
+
function getCachedItemPath(bucket, itemPath, checkout) {
|
|
11
11
|
const projectPath = (0, findFileInCurrentPath_1.default)(constants_1.EMULSIFY_PROJECT_CONFIG_FILE);
|
|
12
12
|
if (!projectPath) {
|
|
13
13
|
throw new Error(`Unable to find ${constants_1.EMULSIFY_PROJECT_CONFIG_FILE}`);
|
|
14
14
|
}
|
|
15
|
-
return (0, path_1.join)(constants_1.CACHE_DIR, bucket, (0, crypto_1.createHash)('md5')
|
|
15
|
+
return (0, path_1.join)(constants_1.CACHE_DIR, bucket, (0, crypto_1.createHash)('md5')
|
|
16
|
+
.update(`MBR${String(projectPath)}${String(checkout)}`)
|
|
17
|
+
.digest('hex'), ...itemPath);
|
|
16
18
|
}
|
|
17
19
|
exports.default = getCachedItemPath;
|
|
@@ -5,7 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const getCachedItemPath_1 = __importDefault(require("./getCachedItemPath"));
|
|
7
7
|
const loadJsonFile_1 = __importDefault(require("../fs/loadJsonFile"));
|
|
8
|
-
async function getJsonFromCachedFile(bucket, itemPath, fileName) {
|
|
9
|
-
return (0, loadJsonFile_1.default)((0, getCachedItemPath_1.default)(bucket, [...itemPath, fileName]));
|
|
8
|
+
async function getJsonFromCachedFile(bucket, itemPath, checkout, fileName) {
|
|
9
|
+
return (0, loadJsonFile_1.default)((0, getCachedItemPath_1.default)(bucket, [...itemPath, fileName], checkout));
|
|
10
10
|
}
|
|
11
11
|
exports.default = getJsonFromCachedFile;
|
|
@@ -8,7 +8,7 @@ function getGitRepoNameFromUrl(url) {
|
|
|
8
8
|
const parts = url.split('/');
|
|
9
9
|
const gitName = ramda_1.default.last(parts);
|
|
10
10
|
if (!gitName.includes('.git')) {
|
|
11
|
-
|
|
11
|
+
throw new Error('The repository URL must end in .git.');
|
|
12
12
|
}
|
|
13
13
|
return ramda_1.default.head(gitName.split('.'));
|
|
14
14
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const simple_git_1 = __importDefault(require("simple-git"));
|
|
7
|
+
const git = (0, simple_git_1.default)();
|
|
8
|
+
async function getRepositoryLatestTag(url) {
|
|
9
|
+
const repositoryTags = await git
|
|
10
|
+
.init()
|
|
11
|
+
.addRemote('origin', url)
|
|
12
|
+
.fetch()
|
|
13
|
+
.tags();
|
|
14
|
+
return repositoryTags.latest;
|
|
15
|
+
}
|
|
16
|
+
exports.default = getRepositoryLatestTag;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const chalk_1 = require("chalk");
|
|
4
|
-
function getInitSuccessMessageForPlatform(platform) {
|
|
4
|
+
function getInitSuccessMessageForPlatform(platform, directory) {
|
|
5
5
|
if (platform === 'drupal') {
|
|
6
6
|
return [
|
|
7
7
|
{
|
|
@@ -18,14 +18,15 @@ function getInitSuccessMessageForPlatform(platform) {
|
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
20
|
method: 'info',
|
|
21
|
-
message:
|
|
21
|
+
message: `Once the requirements have been installed, you will need to select a component system to use, as Emulsify does not come with components by default. To do this, navigate to your theme directory (${directory}), and choose a command below.`,
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
24
|
method: 'verbose',
|
|
25
25
|
message: `
|
|
26
26
|
${(0, chalk_1.cyan)('List systems')}: emulsify system list
|
|
27
27
|
${(0, chalk_1.cyan)('Install a system')}: emulsify system install "system-name"
|
|
28
|
-
${(0, chalk_1.cyan)('Install default system')}: emulsify system install compound
|
|
28
|
+
${(0, chalk_1.cyan)('Install default system with default components')}: emulsify system install compound
|
|
29
|
+
${(0, chalk_1.cyan)('Install default system with all components')}: emulsify system install compound --all
|
|
29
30
|
`,
|
|
30
31
|
},
|
|
31
32
|
];
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
function buildComponentDependencyList(components, name) {
|
|
4
|
+
const rootComponent = components.filter((component) => component.name == name);
|
|
5
|
+
if (rootComponent.length == 0)
|
|
6
|
+
return [];
|
|
7
|
+
let finalList = [name];
|
|
8
|
+
if (rootComponent.length > 0) {
|
|
9
|
+
const list = rootComponent[0].dependency;
|
|
10
|
+
if (list && list.length > 0) {
|
|
11
|
+
list.forEach((componentName) => {
|
|
12
|
+
finalList = [
|
|
13
|
+
...new Set(finalList.concat(buildComponentDependencyList(components, componentName))),
|
|
14
|
+
];
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
return finalList;
|
|
19
|
+
}
|
|
20
|
+
exports.default = buildComponentDependencyList;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emulsify/cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.1",
|
|
4
4
|
"description": "Command line interface for Emulsify",
|
|
5
5
|
"repository": "git@github.com:emulsify-ds/emulsify-cli.git",
|
|
6
6
|
"author": "Patrick Coffey <patrickcoffey48@gmail.com>",
|
|
@@ -42,14 +42,13 @@
|
|
|
42
42
|
"@semantic-release/github": "^8.0.2",
|
|
43
43
|
"@semantic-release/npm": "^8.0.3",
|
|
44
44
|
"@types/chalk": "^2.2.0",
|
|
45
|
-
"@types/commander": "^2.12.2",
|
|
46
45
|
"@types/fs-extra": "^9.0.8",
|
|
47
46
|
"@types/jest": "^26.0.20",
|
|
48
47
|
"@types/node": "^14.14.25",
|
|
49
48
|
"@types/ramda": "^0.27.38",
|
|
50
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
51
|
-
"@typescript-eslint/parser": "^
|
|
52
|
-
"eslint": "^
|
|
49
|
+
"@typescript-eslint/eslint-plugin": "^5.12.1",
|
|
50
|
+
"@typescript-eslint/parser": "^5.12.1",
|
|
51
|
+
"eslint": "^8.9.0",
|
|
53
52
|
"eslint-config-prettier": "^7.2.0",
|
|
54
53
|
"eslint-plugin-prettier": "^4.0.0",
|
|
55
54
|
"eslint-plugin-security": "^1.4.0",
|
|
@@ -69,9 +68,9 @@
|
|
|
69
68
|
"ajv": "^7.2.4",
|
|
70
69
|
"ajv-formats": "^2.1.1",
|
|
71
70
|
"chalk": "^4.1.0",
|
|
72
|
-
"commander": "^
|
|
71
|
+
"commander": "^12.0.0",
|
|
73
72
|
"consola": "^2.15.3",
|
|
74
|
-
"fs-extra": "^
|
|
73
|
+
"fs-extra": "^10.0.0",
|
|
75
74
|
"progress": "^2.0.3",
|
|
76
75
|
"ramda": "^0.27.1",
|
|
77
76
|
"simple-git": "^2.36.1"
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
The ISC License
|
|
2
|
-
Copyright (c) 2020 Ryan Zimmerman <opensrc@ryanzim.com>
|
|
3
|
-
|
|
4
|
-
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
|
|
5
|
-
|
|
6
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# at-least-node
|
|
2
|
-
|
|
3
|
-

|
|
4
|
-

|
|
5
|
-

|
|
6
|
-
|
|
7
|
-
Sometimes you need to check if you're on _at least_ a given Node.js version, but you don't want to pull in the whole [`semver`](https://www.npmjs.com/package/semver) kitchen sink. That's what `at-least-node` is for.
|
|
8
|
-
|
|
9
|
-
| Package | Size |
|
|
10
|
-
| --------------- | ------- |
|
|
11
|
-
| `at-least-node` | 2.6 kB |
|
|
12
|
-
| `semver` | 75.5 kB |
|
|
13
|
-
|
|
14
|
-
```js
|
|
15
|
-
const atLeastNode = require('at-least-node')
|
|
16
|
-
atLeastNode('10.12.0')
|
|
17
|
-
// -> true on Node 10.12.0+, false on anything below that
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
When passing in a version string:
|
|
21
|
-
|
|
22
|
-
- You cannot include a leading `v` (i.e. `v10.12.0`)
|
|
23
|
-
- You cannot omit sections (i.e. `10.12`)
|
|
24
|
-
- You cannot use pre-releases (i.e. `1.0.0-beta`)
|
|
25
|
-
- There is no input validation, if you make a mistake, the resulting behavior is undefined
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "at-least-node",
|
|
3
|
-
"version": "1.0.0",
|
|
4
|
-
"description": "Lightweight Node.js version sniffing/comparison",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"semver",
|
|
7
|
-
"feature"
|
|
8
|
-
],
|
|
9
|
-
"homepage": "https://github.com/RyanZim/at-least-node#readme",
|
|
10
|
-
"bugs": {
|
|
11
|
-
"url": "https://github.com/RyanZim/at-least-node/issues"
|
|
12
|
-
},
|
|
13
|
-
"repository": {
|
|
14
|
-
"type": "git",
|
|
15
|
-
"url": "git+https://github.com/RyanZim/at-least-node.git"
|
|
16
|
-
},
|
|
17
|
-
"license": "ISC",
|
|
18
|
-
"author": "Ryan Zimmerman <opensrc@ryanzim.com>",
|
|
19
|
-
"main": "index.js",
|
|
20
|
-
"files": [],
|
|
21
|
-
"scripts": {
|
|
22
|
-
"test": "ava"
|
|
23
|
-
},
|
|
24
|
-
"devDependencies": {
|
|
25
|
-
"ava": "^3.1.0",
|
|
26
|
-
"rewire": "^4.0.1",
|
|
27
|
-
"semver": "^7.1.2"
|
|
28
|
-
},
|
|
29
|
-
"engines": {
|
|
30
|
-
"node": ">= 4.0.0"
|
|
31
|
-
}
|
|
32
|
-
}
|