@adobe/ccweb-add-on-core 0.1.0
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/.c8rc.json +14 -0
- package/.mocharc.json +5 -0
- package/CODE_OF_CONDUCT.md +79 -0
- package/CONTRIBUTING.md +47 -0
- package/LICENSE +21 -0
- package/README.md +11 -0
- package/dist/config/index.d.ts +26 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/index.js +26 -0
- package/dist/config/inversify.config.d.ts +28 -0
- package/dist/config/inversify.config.d.ts.map +1 -0
- package/dist/config/inversify.config.js +33 -0
- package/dist/config/inversify.types.d.ts +30 -0
- package/dist/config/inversify.types.d.ts.map +1 -0
- package/dist/config/inversify.types.js +30 -0
- package/dist/constants.d.ts +37 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/constants.js +38 -0
- package/dist/index.d.ts +28 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +28 -0
- package/dist/models/PackageJson.d.ts +61 -0
- package/dist/models/PackageJson.d.ts.map +1 -0
- package/dist/models/PackageJson.js +76 -0
- package/dist/models/PreferenceJson.d.ts +79 -0
- package/dist/models/PreferenceJson.d.ts.map +1 -0
- package/dist/models/PreferenceJson.js +88 -0
- package/dist/models/TemplateJson.d.ts +53 -0
- package/dist/models/TemplateJson.d.ts.map +1 -0
- package/dist/models/TemplateJson.js +112 -0
- package/dist/models/Types.d.ts +72 -0
- package/dist/models/Types.d.ts.map +1 -0
- package/dist/models/Types.js +25 -0
- package/dist/models/index.d.ts +28 -0
- package/dist/models/index.d.ts.map +1 -0
- package/dist/models/index.js +28 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/utilities/CLIPreferences.d.ts +45 -0
- package/dist/utilities/CLIPreferences.d.ts.map +1 -0
- package/dist/utilities/CLIPreferences.js +80 -0
- package/dist/utilities/CLIProcess.d.ts +74 -0
- package/dist/utilities/CLIProcess.d.ts.map +1 -0
- package/dist/utilities/CLIProcess.js +190 -0
- package/dist/utilities/ConsoleLogger.d.ts +64 -0
- package/dist/utilities/ConsoleLogger.d.ts.map +1 -0
- package/dist/utilities/ConsoleLogger.js +103 -0
- package/dist/utilities/Extensions.d.ts +67 -0
- package/dist/utilities/Extensions.d.ts.map +1 -0
- package/dist/utilities/Extensions.js +92 -0
- package/dist/utilities/Logger.d.ts +65 -0
- package/dist/utilities/Logger.d.ts.map +1 -0
- package/dist/utilities/Logger.js +25 -0
- package/dist/utilities/Preferences.d.ts +41 -0
- package/dist/utilities/Preferences.d.ts.map +1 -0
- package/dist/utilities/Preferences.js +25 -0
- package/dist/utilities/Process.d.ts +63 -0
- package/dist/utilities/Process.d.ts.map +1 -0
- package/dist/utilities/Process.js +25 -0
- package/dist/utilities/UncaughtExceptionHandler.d.ts +40 -0
- package/dist/utilities/UncaughtExceptionHandler.d.ts.map +1 -0
- package/dist/utilities/UncaughtExceptionHandler.js +51 -0
- package/dist/utilities/index.d.ts +32 -0
- package/dist/utilities/index.d.ts.map +1 -0
- package/dist/utilities/index.js +32 -0
- package/package.json +51 -0
- package/src/config/index.ts +26 -0
- package/src/config/inversify.config.ts +39 -0
- package/src/config/inversify.types.ts +30 -0
- package/src/constants.ts +41 -0
- package/src/index.ts +28 -0
- package/src/models/PackageJson.ts +83 -0
- package/src/models/PreferenceJson.ts +112 -0
- package/src/models/TemplateJson.ts +121 -0
- package/src/models/Types.ts +80 -0
- package/src/models/index.ts +28 -0
- package/src/test/models/PackageJson.spec.ts +198 -0
- package/src/test/models/PreferenceJson.spec.ts +184 -0
- package/src/test/models/TemplateJson.spec.ts +179 -0
- package/src/test/utilities/CLIPreferences.spec.ts +208 -0
- package/src/test/utilities/CLIProcess.spec.ts +363 -0
- package/src/test/utilities/ConsoleLogger.spec.ts +165 -0
- package/src/test/utilities/Extensions.spec.ts +240 -0
- package/src/test/utilities/UncaughtExceptionHandler.spec.ts +83 -0
- package/src/types/applicationConfigPath.d.ts +1 -0
- package/src/utilities/CLIPreferences.ts +84 -0
- package/src/utilities/CLIProcess.ts +200 -0
- package/src/utilities/ConsoleLogger.ts +111 -0
- package/src/utilities/Extensions.ts +98 -0
- package/src/utilities/Logger.ts +70 -0
- package/src/utilities/Preferences.ts +43 -0
- package/src/utilities/Process.ts +66 -0
- package/src/utilities/UncaughtExceptionHandler.ts +55 -0
- package/src/utilities/index.ts +32 -0
- package/tsconfig.json +31 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"program":{"fileNames":["../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es5.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2015.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2016.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2017.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2018.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2019.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2020.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2021.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2022.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.esnext.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.dom.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.scripthost.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../common/temp/node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.esnext.full.d.ts","../../../common/temp/node_modules/.pnpm/tslib@2.4.0/node_modules/tslib/tslib.d.ts","../src/constants.ts","../../../common/temp/node_modules/.pnpm/inversify@6.0.1/node_modules/inversify/lib/constants/metadata_keys.d.ts","../../../common/temp/node_modules/.pnpm/inversify@6.0.1/node_modules/inversify/lib/utils/factory_type.d.ts","../../../common/temp/node_modules/.pnpm/inversify@6.0.1/node_modules/inversify/lib/interfaces/interfaces.d.ts","../../../common/temp/node_modules/.pnpm/inversify@6.0.1/node_modules/inversify/lib/container/container.d.ts","../../../common/temp/node_modules/.pnpm/inversify@6.0.1/node_modules/inversify/lib/constants/literal_types.d.ts","../../../common/temp/node_modules/.pnpm/inversify@6.0.1/node_modules/inversify/lib/container/container_module.d.ts","../../../common/temp/node_modules/.pnpm/inversify@6.0.1/node_modules/inversify/lib/annotation/decorator_utils.d.ts","../../../common/temp/node_modules/.pnpm/inversify@6.0.1/node_modules/inversify/lib/annotation/injectable.d.ts","../../../common/temp/node_modules/.pnpm/inversify@6.0.1/node_modules/inversify/lib/annotation/tagged.d.ts","../../../common/temp/node_modules/.pnpm/inversify@6.0.1/node_modules/inversify/lib/annotation/named.d.ts","../../../common/temp/node_modules/.pnpm/inversify@6.0.1/node_modules/inversify/lib/annotation/lazy_service_identifier.d.ts","../../../common/temp/node_modules/.pnpm/inversify@6.0.1/node_modules/inversify/lib/annotation/inject.d.ts","../../../common/temp/node_modules/.pnpm/inversify@6.0.1/node_modules/inversify/lib/annotation/optional.d.ts","../../../common/temp/node_modules/.pnpm/inversify@6.0.1/node_modules/inversify/lib/annotation/unmanaged.d.ts","../../../common/temp/node_modules/.pnpm/inversify@6.0.1/node_modules/inversify/lib/annotation/multi_inject.d.ts","../../../common/temp/node_modules/.pnpm/inversify@6.0.1/node_modules/inversify/lib/annotation/target_name.d.ts","../../../common/temp/node_modules/.pnpm/inversify@6.0.1/node_modules/inversify/lib/annotation/post_construct.d.ts","../../../common/temp/node_modules/.pnpm/inversify@6.0.1/node_modules/inversify/lib/annotation/pre_destroy.d.ts","../../../common/temp/node_modules/.pnpm/inversify@6.0.1/node_modules/inversify/lib/planning/metadata_reader.d.ts","../../../common/temp/node_modules/.pnpm/inversify@6.0.1/node_modules/inversify/lib/utils/id.d.ts","../../../common/temp/node_modules/.pnpm/inversify@6.0.1/node_modules/inversify/lib/syntax/constraint_helpers.d.ts","../../../common/temp/node_modules/.pnpm/inversify@6.0.1/node_modules/inversify/lib/utils/serialization.d.ts","../../../common/temp/node_modules/.pnpm/inversify@6.0.1/node_modules/inversify/lib/utils/binding_utils.d.ts","../../../common/temp/node_modules/.pnpm/inversify@6.0.1/node_modules/inversify/lib/inversify.d.ts","../../../common/temp/node_modules/.pnpm/reflect-metadata@0.1.13/node_modules/reflect-metadata/index.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/assert.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/assert/strict.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/globals.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/async_hooks.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/buffer.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/child_process.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/cluster.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/console.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/constants.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/crypto.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/dgram.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/dns.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/dns/promises.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/domain.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/events.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/fs.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/fs/promises.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/http.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/http2.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/https.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/inspector.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/module.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/net.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/os.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/path.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/perf_hooks.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/process.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/punycode.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/querystring.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/readline.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/repl.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/stream.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/stream/promises.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/stream/consumers.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/stream/web.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/string_decoder.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/test.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/timers.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/timers/promises.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/tls.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/trace_events.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/tty.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/url.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/util.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/v8.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/vm.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/wasi.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/worker_threads.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/zlib.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/globals.global.d.ts","../../../common/temp/node_modules/.pnpm/@types+node@16.11.62/node_modules/@types/node/ts4.8/index.d.ts","../../../common/temp/node_modules/.pnpm/@types+fs-extra@9.0.13/node_modules/@types/fs-extra/index.d.ts","../../../common/temp/node_modules/.pnpm/@types+hjson@2.4.3/node_modules/@types/hjson/index.d.ts","../src/models/PreferenceJson.ts","../src/models/TemplateJson.ts","../src/models/PackageJson.ts","../src/models/Types.ts","../src/models/index.ts","../src/utilities/Preferences.ts","../src/utilities/CLIPreferences.ts","../../../common/temp/node_modules/.pnpm/@types+cross-spawn@6.0.2/node_modules/@types/cross-spawn/index.d.ts","../../../common/temp/node_modules/.pnpm/@types+string-template@1.0.2/node_modules/@types/string-template/index.d.ts","../src/config/inversify.types.ts","../src/utilities/Logger.ts","../src/utilities/Process.ts","../src/utilities/CLIProcess.ts","../../../common/temp/node_modules/.pnpm/chalk@4.1.1/node_modules/chalk/index.d.ts","../src/utilities/ConsoleLogger.ts","../src/utilities/Extensions.ts","../src/utilities/UncaughtExceptionHandler.ts","../src/utilities/index.ts","../src/config/inversify.config.ts","../src/config/index.ts","../src/index.ts","../src/types/applicationConfigPath.d.ts"],"fileInfos":[{"version":"f20c05dbfe50a208301d2a1da37b9931bce0466eb5a1f4fe240971b4ecc82b67","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","d11a03592451da2d1065e09e61f4e2a9bf68f780f4f6623c18b57816a9679d17","aea179452def8a6152f98f63b191b84e7cbd69b0e248c91e61fb2e52328abe8c",{"version":"9b087de7268e4efc5f215347a62656663933d63c0b1d7b624913240367b999ea","affectsGlobalScope":true},{"version":"3260e3386d9535b804205bdddb5618a9a27735bd22927f48ad54363abcd23d45","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"55f400eec64d17e888e278f4def2f254b41b89515d3b88ad75d5e05f019daddd","affectsGlobalScope":true},{"version":"181f1784c6c10b751631b24ce60c7f78b20665db4550b335be179217bacc0d5f","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"775d9c9fd150d5de79e0450f35bc8b8f94ae64e3eb5da12725ff2a649dccc777","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"34c839eaaa6d78c8674ae2c37af2236dee6831b13db7b4ef4df3ec889a04d4f2","affectsGlobalScope":true},{"version":"34478567f8a80171f88f2f30808beb7da15eac0538ae91282dd33dce928d98ed","affectsGlobalScope":true},{"version":"ab7d58e6161a550ff92e5aff755dc37fe896245348332cd5f1e1203479fe0ed1","affectsGlobalScope":true},{"version":"6bda95ea27a59a276e46043b7065b55bd4b316c25e70e29b572958fa77565d43","affectsGlobalScope":true},{"version":"aedb8de1abb2ff1095c153854a6df7deae4a5709c37297f9d6e9948b6806fa66","affectsGlobalScope":true},{"version":"a4da0551fd39b90ca7ce5f68fb55d4dc0c1396d589b612e1902f68ee090aaada","affectsGlobalScope":true},{"version":"11ffe3c281f375fff9ffdde8bbec7669b4dd671905509079f866f2354a788064","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"d96fa8a56871904776165ceb8e00bd56127e1a017bb2664cae76223b5f815141","14a84fbe4ec531dcbaf5d2594fd95df107258e60ae6c6a076404f13c3f66f28e",{"version":"11f9e9da3621ecb6bb4a280b77c53ceba1975bd369d68fbc46111ad1e47428ca","signature":"4bcb0361a226b3b189051c29aa9de81771283082c474f5eef267dd54cf2628c4"},"eaabb1e7b81cd2721213042e4f0da99bfe10967809d5f2041f59a0561a76062e","1978f60de633b51c1b37112343938a3396e0f34efd33ec350319625006f44644","ed2e5f00ed2331035a55060fe4cf566563d9a0ad4f244626ac3c68d7746a409e","aa7bea1088ca848f8acbc95ad721cfad66564b36ae686f0d8e0f61f5f1eebc74","223c30250c2d0774405136fe412f0c654acbd1f5ebc80d711d0a4413ced11520","d21addb8e9f07e85fe34b65dd38d156b2d29491585eb3a2d3754c85ff024dc78","b450999dcd3022198b654aca998bc7e791a18078546bba94cc5a761cf4d745ac","6cb2aff9091fb8d29b769ddb8077f6b7e60e807205ac81e1b744108c46c23e43","083bdbd3d16d43a8229e0685cac1bc115a02b4f4cd4529349e4f704640348e05","4a189baba4918b3455ad1a4edb5dab25a7ce17aae973f699391372db375dc4bc","14f8f7229dc160da4e777209fff13e0dc1ea916812c45710ffc10271e445b372","6374d1d692ca3148c270fa8839426acb48e435883ae8ca0f2ee05de84fd2ce5e","97460ae7b9cd78a2eecbeac0ab270059350f0413907d436fd33f5126df86de0a","4d794bc0040a24b1108a2202f5ccb80733b58b03ecb031f36eba706018ec5e38","18a21bc2a815cd3ae0c03cf940cede0e73050c7913ca581de50c95cc5c8bf820","ec2f218c6c166acf0a56fbd083c37409d0887f6450c1758a9f546f444cb9397f","4c793a9fd5774f738e39559692d5aa61a829b67a64b78510acedba16403b04a9","e4c5c9ac0ae2cefaff8e83ffde0f4b267e227afca15cd5ae7add0071cf2c5372","fbb2d0bf92c4cd6129ff2174d98d023c823c9669fc7136b6eee4cf68739afd64","c624c0d0d777a670e2b2d8003ec91519e93048963a3236aeab1ec55a8529c382","9cf63e5a94711b93ee4866432f44b7b1011fe12a44ed527687bc94e0cb69a8f1","107039042b3e99af6580791cb93c6e1f4986d988a59c96a3eec215977ec9da84","162ecd4a2cd71e1162858c0c436085d4335bc0e16f1a7b6e5de174bc228476c1","a16fe48180c72fa9f95e016ca45e20f8da952a0e65504a998f41955d24c86b84",{"version":"8d6d51a5118d000ed3bfe6e1dd1335bebfff3fef23cd2af2f84a24d30f90cc90","affectsGlobalScope":true},"0d5a2ee1fdfa82740e0103389b9efd6bfe145a20018a2da3c02b89666181f4d9","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"2f6c9750131d5d2fdaba85c164a930dc07d2d7e7e8970b89d32864aa6c72620c","affectsGlobalScope":true},"56d13f223ab40f71840795f5bef2552a397a70666ee60878222407f3893fb8d0",{"version":"aeeee3998c5a730f8689f04038d41cf4245c9edbf6ef29a698e45b36e399b8ed","affectsGlobalScope":true},"95843d5cfafced8f3f8a5ce57d2335f0bcd361b9483587d12a25e4bd403b8216","afc6e96061af46bcff47246158caee7e056f5288783f2d83d6858cd25be1c565",{"version":"34f5bcac12b36d70304b73de5f5aab3bb91bd9919f984be80579ebcad03a624e","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","3a0c45fe95e8f0e2c5247d48acf3a522d2ef29f1ab0effb3c59a9c4fdd5edbcd","f50c975ab7b50e25a69e3d8a3773894125b44e9698924105f23b812bf7488baf","c993aac3b6d4a4620ef9651497069eb84806a131420e4f158ea9396fb8eb9b8c","76650408392bf49a8fbf3e2b6b302712a92d76af77b06e2da1cc8077359c4409","0af3121e68297b2247dd331c0d24dba599e50736a7517a5622d5591aae4a3122","06ccebc2c2db57d6bdbca63b71c4ae5e6ddc42d972fd8f122d4c1a28aa111b25",{"version":"81e8508d1e82278f5d3fee936f267e00c308af36219bfcee2631f9513c9c4017","affectsGlobalScope":true},"413a4be7f94f631235bbc83dad36c4d15e5a2ff02bca1efdbd03636d6454631b","20c468256fd68d3ef1fa53526e76d51d6aa91711e84d72c0343589b99238287e","a5f6d22760eef0178bebc5b5b5664a403109615a9c49da879ccd84438bd55223","8d4c16a26d59e3ce49741a7d4a6e8206b884e226cf308667c7778a0b2c0fee7f","ee3bad055a79f188626b1a7046f04ab151fdd3581e55c51d32face175bd9d06f","d61c7c41eb1960b1285e242fd102c162b65c0522985b839fadda59874308a170",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"11c8be5993cd30dbb5310d95ba6c54dbb8724221eed0c4b2e4a7d6a4f9a032dd","d10f4929cd610c26926d6784fc3f9f4120b789c03081b5d65fb2d2670a00fa04","fb0989383c6109f20281b3d31265293daefdd76d0d30551782c1654e93704f48","a4210a84a82b3e7a8cec5b2f3616e46d523f4f10cc1576d8f2fb89d0987b341e",{"version":"8207e7e6db9aa5fc7e61c8f17ba74cf9c115d26f51f91ee93f790815a7ea9dfb","affectsGlobalScope":true},"9f1069b9e2c051737b1f9b4f1baf50e4a63385a6a89c32235549ae87fc3d5492","ee18f2da7a037c6ceeb112a084e485aead9ea166980bf433474559eac1b46553","29c2706fa0cc49a2bd90c83234da33d08bb9554ecec675e91c1f85087f5a5324","0acbf26bf958f9e80c1ffa587b74749d2697b75b484062d36e103c137c562bc3","02b3239cf1b1ff8737e383ed5557f0247499d15f5bd21ab849b1a24687b6100c","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"33eee034727baf564056b4ea719075c23d3b4767d0b5f9c6933b81f3d77774d2","c33a6ea7147af60d8e98f1ac127047f4b0d4e2ce28b8f08ff3de07ca7cc00637","a4471d2bdba495b2a6a30b8765d5e0282fa7009d88345a9528f73c37869d3b93",{"version":"aee7013623e7632fba449d4df1da92925b27d9b816cb05546044dbfe54c88ef4","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","c9d70d3d7191a66a81cb554557f8ed1cf736ea8397c44a864fe52689de18865a","998a3de5237518c0b3ac00a11b3b4417affb008aa20aedee52f3fdae3cb86151","ad41008ffe077206e1811fc873f4d9005b5fd7f6ab52bb6118fef600815a5cb4",{"version":"1aad825534c73852a1f3275e527d729a2c0640f539198fdfdfeb83b839851910","affectsGlobalScope":true},"badae0df9a8016ac36994b0a0e7b82ba6aaa3528e175a8c3cb161e4683eec03e","c3db860bcaaaeb3bbc23f353bbda1f8ab82756c8d5e973bebb3953cb09ea68f2","235a53595bd20b0b0eeb1a29cb2887c67c48375e92f03749b2488fbd46d0b1a0","bc09393cd4cd13f69cf1366d4236fbae5359bb550f0de4e15767e9a91d63dfb1","9c266243b01545e11d2733a55ad02b4c00ecdbda99c561cd1674f96e89cdc958","c71155c05fc76ff948a4759abc1cb9feec036509f500174bc18dad4c7827a60c",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"e3685a8957b4e2af64c3f04a58289ee0858a649dbcd963a2b897fe85858ae18a","ed19da84b7dbf00952ad0b98ce5c194f1903bcf7c94d8103e8e0d63b271543ae","f53b24f68b765bab49200907b8834ca30a1eae29a5e486cfa196dbdc07e0a490",{"version":"8673b30d4953ebe00f89727cbe550fc0032ce95a3a881667cb870aa6ff9e51cb","signature":"aab3392dc1d3300030e3ffea7b1abc936145a03eca9bbd2a90d16e79c38281a4"},{"version":"faeb656578e39346578d1293b9de8c995bdcee222c1eddda63b8bc83db663a96","signature":"b4046324af3cc83424eff4cc820c0107305e195a3d9d706bbb65690cd862ec70"},{"version":"cfac2516ea1ec0b883814eb13c6310e369d317c1f60a21198b0984a72b1d1115","signature":"79dd1d51e6fd9a5e54e0af591efc30756f8e5f6ed00d56cded2df8c418fa1e03"},{"version":"b314982c54eb84e6c8e403cdcdd165148898538352a0c6b2b0fabb1fa60d93a2","signature":"61d5bbbce2d11166dd914363f450bcfe2e9bc80c3929bda7f74ba27d5c187c8b"},{"version":"577ca552f01d3bad5791f270fd5b6c8404e1a8fd41782ee7f21b2fa6a7af58e5","signature":"008e0c33e8139c22c8273645f4d3e9b98be91eb6a74d9c09ccc2cc8d12aec4a0"},{"version":"d7c6795df006c0a746d95405e6ccea5314910be07f737a78b610674d2cfcd599","signature":"dc6dccf2d58c1de8a3733681b0411e908e0ff9ef9a284d06de4506a017aa4513"},{"version":"ba9e22ec4d6737592118d019b1416a8dcafd63375b0cd0e94559dca10610fe00","signature":"683e0964e0077a87cf8fc701bb1bfb2159f72f1c23c00684fe9693c3bd7869d4"},"5e3a55837aa1f42af2d2334c9b750f59f5f50a2205471875f5dd6aadc3e49ddb",{"version":"0e13ddb7249f3a5f0ff31029b319922585804b11f0a6dd7d903aa27f95b1f062","affectsGlobalScope":true},{"version":"f8767f69c55150bdb1bc9cd2498d948d4626d2acf4ce40a4fdb406aabce2ca04","signature":"2f9d6cdc2c31abd9fe458fdf787ab39e34314f4fe1fc9e7a8c2fb12fb1834e56"},{"version":"99bec9fe387ed7aab8d700c9cc026075586c0780599e221c6b443a0b8088a55b","signature":"53eaafdb47a0a2638139ffdd77ed02944b6fd5cfe0e4d4b8fe54aef98cd04013"},{"version":"240b40c828936210bad06cb985b42ad26c853e35d1b190f7ccbcbc6e9df34c31","signature":"e0eaae278bce5f71bae92215509f0e8174b101be0acbde85b523ad1b3033f818"},{"version":"6541e792e42bcc0938e9ada4c4a2bec93f6ddc4d052a5680344b3186fb41a362","signature":"cdfa4b8ab5e1ed18ef1e805694599331fc1afa2398e8c9fc72305130c2f07d09"},"0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2",{"version":"450f8e29314c9f98e3177439f60c3b6ccb93c58484e7cebf36065ded673505dc","signature":"45a7abcdd2cb475f08708ae2c6497abcf3d33621779d76743506432f5bbb3ced"},{"version":"c8bcab236e18f58a631db3e75200a717b08eaabe085643fb15e61cf28e004b1d","signature":"c1b4c38f10aea2db2b9fcfeb5f64a9776805c60503b126189f38721267eafa75"},{"version":"ec1c34973cd65fde073fff1371d94a7e8b0c6c2c9b52494ffefc05fd8dd0f541","signature":"e05b6b520d01a850aa1400ed051e89c352e17451fdc193faf5404b8e3eebc5b4"},{"version":"6d8c0f3ca8160c1f848571e6149fea314baf4269b34030c2506515857f4762ee","signature":"c29f2cd36e356ce4d87dbb8cde2c9f5e33456489419f20a9f5d6d5890d4b4f0a"},{"version":"43daec839a7e8bfeaaa69b27bf18ab116594cac2f3374b35cc31c7cd4607eec2","signature":"41d5cbf2d416fa70c677787636e0a9e5b3cba26f1dfbcbe2b9ec66afcb346341"},{"version":"0c08bb1a7f9daf7651c80052a05d79d0b70fa3ba0d1ff242cd2c41aec11cfe56","signature":"7c658adaa06701f53b484e24da718899756b3a39e6daecd8b88980887ab93fd9"},{"version":"74667899c3e40f8fe9567555c3c887b984467708e0891236cd63081a3d29b436","signature":"6014915abf69afe39ed06d67f367b12abc27d224d650d5e56cef3c34ac3d8222"},"bdc09ac33bb86737c9f327bb03292a2d1f8e2e5cc08c732ab8f44fa2fa55eeab"],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"declarationMap":true,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"importHelpers":true,"module":99,"noImplicitOverride":false,"noUnusedLocals":true,"outDir":"./","preserveConstEnums":true,"sourceMap":true,"strict":true,"target":99,"useUnknownInCatchVariables":false},"fileIdsList":[[91,130,137],[102,130,137],[130],[86,130],[89,130],[90,95,130],[91,101,102,109,118,129,130],[91,92,101,109,130],[93,130],[94,95,102,110,130],[95,118,126,130],[96,98,101,109,130],[97,130],[98,99,130],[100,101,130],[101,130],[101,102,103,118,129,130],[101,102,103,118,130],[104,109,118,129,130],[101,102,104,105,109,118,126,129,130],[104,106,118,126,129,130],[86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136],[101,107,130],[108,129,130],[98,101,109,118,130],[110,130],[111,130],[89,112,130],[113,128,130,134],[114,130],[115,130],[101,116,130],[116,117,130,132],[101,118,119,120,130],[118,120,130],[118,119,130],[121,130],[122,130],[101,124,125,130],[124,125,130],[95,109,126,130],[127,130],[109,128,130],[90,104,115,129,130],[95,130],[118,130,131],[130,132],[130,133],[90,95,101,103,112,118,129,130,132,134],[118,130,135],[63,130],[67,71,130],[67,130],[62,130],[61,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,130],[84,130],[59,130,149,158],[59,84,85,130,149,157],[59,130],[59,111,130],[59,60,130,144,157,159],[59,130,141,157],[59,60,130,157],[59,130,140,141,142,143],[59,60,84,85,110,111,130,138,139,140,145,161],[59,84,85,91,111,113,130,138,144,147,148,149,150,151],[59,84,130,144,150,153],[59,111,130,138],[59,130,144],[59,91,130,144],[59,113,130,150,159],[59,130,145,146,150,151,152,154,155,156],[149,158],[84,85],[60,144,157,159],[141],[140,141,142,143],[85,140,145],[85,91,144,150,151],[144,150],[144],[91,144],[145,146,150,151,152,154,155,156]],"referencedMap":[[147,1],[138,2],[139,3],[86,4],[87,4],[89,5],[90,6],[91,7],[92,8],[93,9],[94,10],[95,11],[96,12],[97,13],[98,14],[99,14],[100,15],[101,16],[102,17],[103,18],[88,3],[136,3],[104,19],[105,20],[106,21],[137,22],[107,23],[108,24],[109,25],[110,26],[111,27],[112,28],[113,29],[114,30],[115,31],[116,32],[117,33],[118,34],[120,35],[119,36],[121,37],[122,38],[123,3],[124,39],[125,40],[126,41],[127,42],[128,43],[129,44],[130,45],[131,46],[132,47],[133,48],[134,49],[135,50],[148,3],[153,3],[67,51],[72,52],[68,3],[71,51],[75,52],[70,53],[73,53],[77,3],[78,3],[69,53],[76,53],[74,53],[65,51],[61,3],[64,51],[66,51],[63,54],[84,55],[79,51],[81,51],[83,56],[62,3],[80,3],[82,51],[85,3],[59,3],[11,3],[12,3],[16,3],[15,3],[2,3],[17,3],[18,3],[19,3],[20,3],[21,3],[22,3],[23,3],[24,3],[3,3],[4,3],[28,3],[25,3],[26,3],[27,3],[29,3],[30,3],[31,3],[5,3],[32,3],[33,3],[34,3],[35,3],[6,3],[36,3],[37,3],[38,3],[39,3],[7,3],[40,3],[45,3],[46,3],[41,3],[42,3],[43,3],[44,3],[8,3],[50,3],[47,3],[48,3],[49,3],[51,3],[9,3],[52,3],[53,3],[54,3],[55,3],[56,3],[1,3],[10,3],[58,3],[57,3],[14,3],[13,3],[159,57],[158,58],[149,59],[60,60],[160,61],[142,62],[140,63],[141,59],[143,59],[144,64],[161,3],[146,65],[152,66],[154,67],[155,68],[150,69],[145,69],[151,70],[156,71],[157,72]],"exportedModulesMap":[[147,1],[138,2],[139,3],[86,4],[87,4],[89,5],[90,6],[91,7],[92,8],[93,9],[94,10],[95,11],[96,12],[97,13],[98,14],[99,14],[100,15],[101,16],[102,17],[103,18],[88,3],[136,3],[104,19],[105,20],[106,21],[137,22],[107,23],[108,24],[109,25],[110,26],[111,27],[112,28],[113,29],[114,30],[115,31],[116,32],[117,33],[118,34],[120,35],[119,36],[121,37],[122,38],[123,3],[124,39],[125,40],[126,41],[127,42],[128,43],[129,44],[130,45],[131,46],[132,47],[133,48],[134,49],[135,50],[148,3],[153,3],[67,51],[72,52],[68,3],[71,51],[75,52],[70,53],[73,53],[77,3],[78,3],[69,53],[76,53],[74,53],[65,51],[61,3],[64,51],[66,51],[63,54],[84,55],[79,51],[81,51],[83,56],[62,3],[80,3],[82,51],[85,3],[59,3],[11,3],[12,3],[16,3],[15,3],[2,3],[17,3],[18,3],[19,3],[20,3],[21,3],[22,3],[23,3],[24,3],[3,3],[4,3],[28,3],[25,3],[26,3],[27,3],[29,3],[30,3],[31,3],[5,3],[32,3],[33,3],[34,3],[35,3],[6,3],[36,3],[37,3],[38,3],[39,3],[7,3],[40,3],[45,3],[46,3],[41,3],[42,3],[43,3],[44,3],[8,3],[50,3],[47,3],[48,3],[49,3],[51,3],[9,3],[52,3],[53,3],[54,3],[55,3],[56,3],[1,3],[10,3],[58,3],[57,3],[14,3],[13,3],[159,73],[158,74],[160,75],[142,76],[144,77],[161,3],[146,78],[152,79],[154,80],[150,81],[145,81],[151,82],[157,83]],"semanticDiagnosticsPerFile":[147,138,139,86,87,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,88,136,104,105,106,137,107,108,109,110,111,112,113,114,115,116,117,118,120,119,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,148,153,67,72,68,71,75,70,73,77,78,69,76,74,65,61,64,66,63,84,79,81,83,62,80,82,85,59,11,12,16,15,2,17,18,19,20,21,22,23,24,3,4,28,25,26,27,29,30,31,5,32,33,34,35,6,36,37,38,39,7,40,45,46,41,42,43,44,8,50,47,48,49,51,9,52,53,54,55,56,1,10,58,57,14,13,159,158,149,60,160,142,140,141,143,144,161,146,152,154,155,150,145,151,156,157]},"version":"4.8.4"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/********************************************************************************
|
|
2
|
+
* MIT License
|
|
3
|
+
|
|
4
|
+
* © Copyright 2023 Adobe. All rights reserved.
|
|
5
|
+
|
|
6
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
* in the Software without restriction, including without limitation the rights
|
|
9
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
* furnished to do so, subject to the following conditions:
|
|
12
|
+
*
|
|
13
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
* copies or substantial portions of the Software.
|
|
15
|
+
*
|
|
16
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
* SOFTWARE.
|
|
23
|
+
********************************************************************************/
|
|
24
|
+
import "reflect-metadata";
|
|
25
|
+
import { PreferenceJson } from "../models/PreferenceJson.js";
|
|
26
|
+
import type { Preferences } from "./Preferences.js";
|
|
27
|
+
/**
|
|
28
|
+
* Implementation class for configuring CCWeb Add-on CLI related preferences.
|
|
29
|
+
*/
|
|
30
|
+
export declare class CLIPreferences implements Preferences {
|
|
31
|
+
private _cachedPreference?;
|
|
32
|
+
/**
|
|
33
|
+
* Get the CCWeb Add-on CLI related user preferences.
|
|
34
|
+
* @param fromCache - (Optional) Whether to return the cached user preference.
|
|
35
|
+
* @returns User preference represented as {@link PreferenceJson}.
|
|
36
|
+
*/
|
|
37
|
+
get(fromCache?: boolean): PreferenceJson;
|
|
38
|
+
/**
|
|
39
|
+
* Set the CCWeb Add-on CLI related user preferences.
|
|
40
|
+
* @param preferenceJson - {@link PreferenceJson} reference.
|
|
41
|
+
*/
|
|
42
|
+
set(preferenceJson: PreferenceJson): void;
|
|
43
|
+
private get _preferenceFilePath();
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=CLIPreferences.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CLIPreferences.d.ts","sourceRoot":"","sources":["../../src/utilities/CLIPreferences.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;kFAsBkF;AAQlF,OAAO,kBAAkB,CAAC;AAE1B,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEpD;;GAEG;AACH,qBACa,cAAe,YAAW,WAAW;IAC9C,OAAO,CAAC,iBAAiB,CAAC,CAAiB;IAE3C;;;;OAIG;IACH,GAAG,CAAC,SAAS,CAAC,EAAE,OAAO,GAAG,cAAc;IAwBxC;;;OAGG;IACH,GAAG,CAAC,cAAc,EAAE,cAAc,GAAG,IAAI;IAKzC,OAAO,KAAK,mBAAmB,GAE9B;CACJ"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/********************************************************************************
|
|
2
|
+
* MIT License
|
|
3
|
+
|
|
4
|
+
* © Copyright 2023 Adobe. All rights reserved.
|
|
5
|
+
|
|
6
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
* in the Software without restriction, including without limitation the rights
|
|
9
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
* furnished to do so, subject to the following conditions:
|
|
12
|
+
*
|
|
13
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
* copies or substantial portions of the Software.
|
|
15
|
+
*
|
|
16
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
* SOFTWARE.
|
|
23
|
+
********************************************************************************/
|
|
24
|
+
import { __decorate } from "tslib";
|
|
25
|
+
import applicationConfigPath from "application-config-path";
|
|
26
|
+
import fs from "fs-extra";
|
|
27
|
+
import hjson from "hjson";
|
|
28
|
+
import { injectable } from "inversify";
|
|
29
|
+
import os from "os";
|
|
30
|
+
import path from "path";
|
|
31
|
+
import "reflect-metadata";
|
|
32
|
+
import { ADD_ON_PREFERENCES_FILE, CCWEB_ADDON_DIRECTORY } from "../constants.js";
|
|
33
|
+
import { PreferenceJson } from "../models/PreferenceJson.js";
|
|
34
|
+
/**
|
|
35
|
+
* Implementation class for configuring CCWeb Add-on CLI related preferences.
|
|
36
|
+
*/
|
|
37
|
+
let CLIPreferences = class CLIPreferences {
|
|
38
|
+
_cachedPreference;
|
|
39
|
+
/**
|
|
40
|
+
* Get the CCWeb Add-on CLI related user preferences.
|
|
41
|
+
* @param fromCache - (Optional) Whether to return the cached user preference.
|
|
42
|
+
* @returns User preference represented as {@link PreferenceJson}.
|
|
43
|
+
*/
|
|
44
|
+
get(fromCache) {
|
|
45
|
+
if (fromCache && this._cachedPreference !== undefined) {
|
|
46
|
+
return this._cachedPreference;
|
|
47
|
+
}
|
|
48
|
+
try {
|
|
49
|
+
const preferenceFilePath = this._preferenceFilePath;
|
|
50
|
+
if (!fs.existsSync(preferenceFilePath)) {
|
|
51
|
+
fs.ensureFileSync(preferenceFilePath);
|
|
52
|
+
fs.writeFileSync(preferenceFilePath, JSON.stringify({}, undefined, 4) + os.EOL);
|
|
53
|
+
return new PreferenceJson({});
|
|
54
|
+
}
|
|
55
|
+
const preferenceData = fs.readFileSync(preferenceFilePath, "utf-8").trim();
|
|
56
|
+
this._cachedPreference = new PreferenceJson(hjson.parse(preferenceData));
|
|
57
|
+
return this._cachedPreference;
|
|
58
|
+
}
|
|
59
|
+
catch {
|
|
60
|
+
// Do not cache the preference when any error is encountered.
|
|
61
|
+
return new PreferenceJson({});
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Set the CCWeb Add-on CLI related user preferences.
|
|
66
|
+
* @param preferenceJson - {@link PreferenceJson} reference.
|
|
67
|
+
*/
|
|
68
|
+
set(preferenceJson) {
|
|
69
|
+
fs.writeFileSync(this._preferenceFilePath, preferenceJson.toJSON() + os.EOL);
|
|
70
|
+
this._cachedPreference = preferenceJson;
|
|
71
|
+
}
|
|
72
|
+
get _preferenceFilePath() {
|
|
73
|
+
return path.join(applicationConfigPath(CCWEB_ADDON_DIRECTORY), ADD_ON_PREFERENCES_FILE);
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
CLIPreferences = __decorate([
|
|
77
|
+
injectable()
|
|
78
|
+
], CLIPreferences);
|
|
79
|
+
export { CLIPreferences };
|
|
80
|
+
//# sourceMappingURL=CLIPreferences.js.map
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/********************************************************************************
|
|
2
|
+
* MIT License
|
|
3
|
+
|
|
4
|
+
* © Copyright 2023 Adobe. All rights reserved.
|
|
5
|
+
|
|
6
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
* in the Software without restriction, including without limitation the rights
|
|
9
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
* furnished to do so, subject to the following conditions:
|
|
12
|
+
*
|
|
13
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
* copies or substantial portions of the Software.
|
|
15
|
+
*
|
|
16
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
* SOFTWARE.
|
|
23
|
+
********************************************************************************/
|
|
24
|
+
/// <reference types="node" />
|
|
25
|
+
import type { ExecSyncOptions } from "child_process";
|
|
26
|
+
import "reflect-metadata";
|
|
27
|
+
import type { ExecutionResult } from "../models/index.js";
|
|
28
|
+
import type { Logger } from "./Logger.js";
|
|
29
|
+
import type { Process } from "./Process.js";
|
|
30
|
+
/**
|
|
31
|
+
* CLI Process implementation class for managing execution of commands.
|
|
32
|
+
*/
|
|
33
|
+
export declare class CLIProcess implements Process {
|
|
34
|
+
private readonly _logger;
|
|
35
|
+
/**
|
|
36
|
+
* Instantiate {@link CLIProcess}.
|
|
37
|
+
*
|
|
38
|
+
* @param logger - {@link Logger} reference.
|
|
39
|
+
* @returns Reference to a new {@link CLIProcess} instance.
|
|
40
|
+
*/
|
|
41
|
+
constructor(logger: Logger);
|
|
42
|
+
/**
|
|
43
|
+
* Execute a command asynchronously.
|
|
44
|
+
*
|
|
45
|
+
* @param command - Command to execute.
|
|
46
|
+
* @param args - Command arguments.
|
|
47
|
+
* @param options - Execution {@link ExecSyncOptions} options.
|
|
48
|
+
* @returns Promise of {@link ExecutionResult}.
|
|
49
|
+
*/
|
|
50
|
+
execute(command: string, args: string[], options?: ExecSyncOptions): Promise<ExecutionResult>;
|
|
51
|
+
/**
|
|
52
|
+
* Execute a command synchronously.
|
|
53
|
+
*
|
|
54
|
+
* @param command - Command to execute.
|
|
55
|
+
* @param args - Command arguments.
|
|
56
|
+
* @param options - Execution {@link ExecSyncOptions} options.
|
|
57
|
+
* @returns {@link ExecutionResult}.
|
|
58
|
+
*/
|
|
59
|
+
executeSync(command: string, args: string[], options?: ExecSyncOptions): ExecutionResult;
|
|
60
|
+
/**
|
|
61
|
+
* Handle any error.
|
|
62
|
+
*
|
|
63
|
+
* @param error - Any error.
|
|
64
|
+
*/
|
|
65
|
+
handleError(error: unknown): void;
|
|
66
|
+
/**
|
|
67
|
+
* Remove the created Add-on.
|
|
68
|
+
*
|
|
69
|
+
* @param addOnDirectory - Directory of the Add-on.
|
|
70
|
+
* @param addOnName - Name of the Add-on.
|
|
71
|
+
*/
|
|
72
|
+
removeAddOn(addOnDirectory?: string, addOnName?: string): void;
|
|
73
|
+
}
|
|
74
|
+
//# sourceMappingURL=CLIProcess.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CLIProcess.d.ts","sourceRoot":"","sources":["../../src/utilities/CLIProcess.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;kFAsBkF;;AAElF,OAAO,KAAK,EAAgB,eAAe,EAAoB,MAAM,eAAe,CAAC;AAMrF,OAAO,kBAAkB,CAAC;AAG1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAE5C;;GAEG;AACH,qBACa,UAAW,YAAW,OAAO;IACtC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAS;IAEjC;;;;;OAKG;gBACgC,MAAM,EAAE,MAAM;IAIjD;;;;;;;OAOG;IACH,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,OAAO,CAAC,EAAE,eAAe,GAAG,OAAO,CAAC,eAAe,CAAC;IA4B7F;;;;;;;OAOG;IACH,WAAW,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,OAAO,CAAC,EAAE,eAAe,GAAG,eAAe;IAyBxF;;;;OAIG;IACH,WAAW,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI;IAkBjC;;;;;OAKG;IACH,WAAW,CAAC,cAAc,CAAC,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI;CAoCjE"}
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
/********************************************************************************
|
|
2
|
+
* MIT License
|
|
3
|
+
|
|
4
|
+
* © Copyright 2023 Adobe. All rights reserved.
|
|
5
|
+
|
|
6
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
* in the Software without restriction, including without limitation the rights
|
|
9
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
* furnished to do so, subject to the following conditions:
|
|
12
|
+
*
|
|
13
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
* copies or substantial portions of the Software.
|
|
15
|
+
*
|
|
16
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
* SOFTWARE.
|
|
23
|
+
********************************************************************************/
|
|
24
|
+
import { __decorate, __metadata, __param } from "tslib";
|
|
25
|
+
import childprocess from "cross-spawn";
|
|
26
|
+
import fs from "fs-extra";
|
|
27
|
+
import { inject, injectable } from "inversify";
|
|
28
|
+
import path from "path";
|
|
29
|
+
import process from "process";
|
|
30
|
+
import "reflect-metadata";
|
|
31
|
+
import format from "string-template";
|
|
32
|
+
import { ITypes } from "../config/inversify.types.js";
|
|
33
|
+
/**
|
|
34
|
+
* CLI Process implementation class for managing execution of commands.
|
|
35
|
+
*/
|
|
36
|
+
let CLIProcess = class CLIProcess {
|
|
37
|
+
_logger;
|
|
38
|
+
/**
|
|
39
|
+
* Instantiate {@link CLIProcess}.
|
|
40
|
+
*
|
|
41
|
+
* @param logger - {@link Logger} reference.
|
|
42
|
+
* @returns Reference to a new {@link CLIProcess} instance.
|
|
43
|
+
*/
|
|
44
|
+
constructor(logger) {
|
|
45
|
+
this._logger = logger;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Execute a command asynchronously.
|
|
49
|
+
*
|
|
50
|
+
* @param command - Command to execute.
|
|
51
|
+
* @param args - Command arguments.
|
|
52
|
+
* @param options - Execution {@link ExecSyncOptions} options.
|
|
53
|
+
* @returns Promise of {@link ExecutionResult}.
|
|
54
|
+
*/
|
|
55
|
+
execute(command, args, options) {
|
|
56
|
+
const commandWithArgs = args.length > 0 ? `${command} ${args.join(" ")}` : command;
|
|
57
|
+
return new Promise(resolve => {
|
|
58
|
+
let childProcess;
|
|
59
|
+
if (options) {
|
|
60
|
+
childProcess = childprocess.spawn(command, args, options);
|
|
61
|
+
}
|
|
62
|
+
else {
|
|
63
|
+
childProcess = childprocess.spawn(command, args);
|
|
64
|
+
}
|
|
65
|
+
childProcess.on("close", code => {
|
|
66
|
+
if (code !== 0) {
|
|
67
|
+
resolve({
|
|
68
|
+
command: commandWithArgs,
|
|
69
|
+
isSuccessful: false
|
|
70
|
+
});
|
|
71
|
+
return;
|
|
72
|
+
}
|
|
73
|
+
resolve({
|
|
74
|
+
command: commandWithArgs,
|
|
75
|
+
isSuccessful: true
|
|
76
|
+
});
|
|
77
|
+
});
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Execute a command synchronously.
|
|
82
|
+
*
|
|
83
|
+
* @param command - Command to execute.
|
|
84
|
+
* @param args - Command arguments.
|
|
85
|
+
* @param options - Execution {@link ExecSyncOptions} options.
|
|
86
|
+
* @returns {@link ExecutionResult}.
|
|
87
|
+
*/
|
|
88
|
+
executeSync(command, args, options) {
|
|
89
|
+
const commandWithArgs = args.length > 0 ? `${command} ${args.join(" ")}` : command;
|
|
90
|
+
try {
|
|
91
|
+
let result;
|
|
92
|
+
if (options) {
|
|
93
|
+
result = childprocess.sync(command, args, options);
|
|
94
|
+
}
|
|
95
|
+
else {
|
|
96
|
+
result = childprocess.sync(command, args);
|
|
97
|
+
}
|
|
98
|
+
return {
|
|
99
|
+
command: commandWithArgs,
|
|
100
|
+
isSuccessful: true,
|
|
101
|
+
data: result.output.join("")
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
catch (error) {
|
|
105
|
+
// eslint-disable-next-line no-throw-literal -- throw the object causing the error.
|
|
106
|
+
throw {
|
|
107
|
+
command: commandWithArgs,
|
|
108
|
+
isSuccessful: false,
|
|
109
|
+
error
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Handle any error.
|
|
115
|
+
*
|
|
116
|
+
* @param error - Any error.
|
|
117
|
+
*/
|
|
118
|
+
handleError(error) {
|
|
119
|
+
this._logger.error(LOGS.abortingInstallation, { prefix: LOGS.newLine });
|
|
120
|
+
if (!error) {
|
|
121
|
+
return;
|
|
122
|
+
}
|
|
123
|
+
const executionError = error;
|
|
124
|
+
if (executionError && executionError.command) {
|
|
125
|
+
this._logger.warning(format(LOGS.hasFailed, { command: executionError.command }), {
|
|
126
|
+
prefix: LOGS.tab,
|
|
127
|
+
postfix: LOGS.newLine
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
else {
|
|
131
|
+
this._logger.error(LOGS.unexpectedError);
|
|
132
|
+
this._logger.error(error, { postfix: LOGS.newLine });
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* Remove the created Add-on.
|
|
137
|
+
*
|
|
138
|
+
* @param addOnDirectory - Directory of the Add-on.
|
|
139
|
+
* @param addOnName - Name of the Add-on.
|
|
140
|
+
*/
|
|
141
|
+
removeAddOn(addOnDirectory, addOnName) {
|
|
142
|
+
if (!addOnDirectory || !addOnName) {
|
|
143
|
+
return process.exit(0);
|
|
144
|
+
}
|
|
145
|
+
const knownGeneratedFiles = new Set([
|
|
146
|
+
".env",
|
|
147
|
+
".prettierignore",
|
|
148
|
+
".prettierrc.json",
|
|
149
|
+
"node_modules",
|
|
150
|
+
"package-lock.json",
|
|
151
|
+
"package.json",
|
|
152
|
+
"src",
|
|
153
|
+
"ssl"
|
|
154
|
+
]);
|
|
155
|
+
const addOnDirectoryPath = path.join(addOnDirectory);
|
|
156
|
+
const currentFiles = fs.readdirSync(addOnDirectoryPath, { withFileTypes: true }).map(file => file.name);
|
|
157
|
+
let remainingFiles = currentFiles.length;
|
|
158
|
+
currentFiles.forEach(file => {
|
|
159
|
+
if (knownGeneratedFiles.has(file)) {
|
|
160
|
+
this._logger.information(format(LOGS.deletingGeneratedFileOrDirectory, { file }));
|
|
161
|
+
fs.removeSync(path.join(addOnDirectory, file));
|
|
162
|
+
remainingFiles--;
|
|
163
|
+
}
|
|
164
|
+
});
|
|
165
|
+
if (remainingFiles === 0) {
|
|
166
|
+
const rootDirectory = path.resolve(addOnDirectory, "..");
|
|
167
|
+
this._logger.information(format(LOGS.deletingAddOn, { addOnName, rootDirectory }));
|
|
168
|
+
process.chdir(rootDirectory);
|
|
169
|
+
fs.removeSync(addOnDirectoryPath);
|
|
170
|
+
}
|
|
171
|
+
this._logger.warning(LOGS.done);
|
|
172
|
+
}
|
|
173
|
+
};
|
|
174
|
+
CLIProcess = __decorate([
|
|
175
|
+
injectable(),
|
|
176
|
+
__param(0, inject(ITypes.Logger)),
|
|
177
|
+
__metadata("design:paramtypes", [Object])
|
|
178
|
+
], CLIProcess);
|
|
179
|
+
export { CLIProcess };
|
|
180
|
+
const LOGS = {
|
|
181
|
+
newLine: "\n",
|
|
182
|
+
tab: " ",
|
|
183
|
+
abortingInstallation: "Aborting installation.",
|
|
184
|
+
hasFailed: "{command} has failed.",
|
|
185
|
+
unexpectedError: "Unexpected error. Please report it as a bug:",
|
|
186
|
+
deletingGeneratedFileOrDirectory: "Deleting generated file/directory {file} ...",
|
|
187
|
+
deletingAddOn: "Deleting {addOnName}/ from {rootDirectory}",
|
|
188
|
+
done: "Done."
|
|
189
|
+
};
|
|
190
|
+
//# sourceMappingURL=CLIProcess.js.map
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/********************************************************************************
|
|
2
|
+
* MIT License
|
|
3
|
+
|
|
4
|
+
* © Copyright 2023 Adobe. All rights reserved.
|
|
5
|
+
|
|
6
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
* in the Software without restriction, including without limitation the rights
|
|
9
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
* furnished to do so, subject to the following conditions:
|
|
12
|
+
*
|
|
13
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
* copies or substantial portions of the Software.
|
|
15
|
+
*
|
|
16
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
* SOFTWARE.
|
|
23
|
+
********************************************************************************/
|
|
24
|
+
import type { LoggerOptions } from "../models/index.js";
|
|
25
|
+
import type { Logger } from "./Logger.js";
|
|
26
|
+
/**
|
|
27
|
+
* Console logger implementation class to handle logging of different levels.
|
|
28
|
+
*/
|
|
29
|
+
export declare class ConsoleLogger implements Logger {
|
|
30
|
+
/**
|
|
31
|
+
* Log message.
|
|
32
|
+
* @param message - Message to log.
|
|
33
|
+
* @param options - Logger {@link LoggerOptions} options.
|
|
34
|
+
*/
|
|
35
|
+
message(message: string, options?: LoggerOptions): void;
|
|
36
|
+
/**
|
|
37
|
+
* Log information message.
|
|
38
|
+
* @param message - Message to log.
|
|
39
|
+
* @param options - Logger {@link LoggerOptions} options.
|
|
40
|
+
*/
|
|
41
|
+
information(message: string, options?: LoggerOptions): void;
|
|
42
|
+
/**
|
|
43
|
+
* Log success message.
|
|
44
|
+
* @param message - Message to log.
|
|
45
|
+
* @param options - Logger {@link LoggerOptions} options.
|
|
46
|
+
*/
|
|
47
|
+
success(message: string, options?: LoggerOptions): void;
|
|
48
|
+
/**
|
|
49
|
+
* Log warning message.
|
|
50
|
+
* @param message - Message to log.
|
|
51
|
+
* @param options - Logger {@link LoggerOptions} options.
|
|
52
|
+
*/
|
|
53
|
+
warning(message: string, options?: LoggerOptions): void;
|
|
54
|
+
/**
|
|
55
|
+
* Log error message.
|
|
56
|
+
* @param message - Message to log.
|
|
57
|
+
* @param options - Logger {@link LoggerOptions} options.
|
|
58
|
+
*/
|
|
59
|
+
error(message: unknown, options?: LoggerOptions): void;
|
|
60
|
+
private _log;
|
|
61
|
+
private _isString;
|
|
62
|
+
private _logWithColor;
|
|
63
|
+
}
|
|
64
|
+
//# sourceMappingURL=ConsoleLogger.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConsoleLogger.d.ts","sourceRoot":"","sources":["../../src/utilities/ConsoleLogger.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;kFAsBkF;AAKlF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAE1C;;GAEG;AACH,qBACa,aAAc,YAAW,MAAM;IACxC;;;;OAIG;IACH,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,aAAa,GAAG,IAAI;IAIvD;;;;OAIG;IACH,WAAW,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,aAAa,GAAG,IAAI;IAI3D;;;;OAIG;IACH,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,aAAa,GAAG,IAAI;IAIvD;;;;OAIG;IACH,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,aAAa,GAAG,IAAI;IAIvD;;;;OAIG;IACH,KAAK,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,aAAa,GAAG,IAAI;IAItD,OAAO,CAAC,IAAI;IAmBZ,OAAO,CAAC,SAAS;IAIjB,OAAO,CAAC,aAAa;CAOxB"}
|