@adobe/ccweb-add-on-scaffolder 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 +7 -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/app/AddOnBuilder.d.ts +72 -0
- package/dist/app/AddOnBuilder.d.ts.map +1 -0
- package/dist/app/AddOnBuilder.js +25 -0
- package/dist/app/AddOnScaffolder.d.ts +36 -0
- package/dist/app/AddOnScaffolder.d.ts.map +1 -0
- package/dist/app/AddOnScaffolder.js +25 -0
- package/dist/app/PackageBuilder.d.ts +38 -0
- package/dist/app/PackageBuilder.d.ts.map +1 -0
- package/dist/app/PackageBuilder.js +25 -0
- package/dist/app/TemplateAddOnBuilder.d.ts +90 -0
- package/dist/app/TemplateAddOnBuilder.d.ts.map +1 -0
- package/dist/app/TemplateAddOnBuilder.js +273 -0
- package/dist/app/TemplateAddOnScaffolder.d.ts +63 -0
- package/dist/app/TemplateAddOnScaffolder.d.ts.map +1 -0
- package/dist/app/TemplateAddOnScaffolder.js +130 -0
- package/dist/app/TemplatePackageBuilder.d.ts +49 -0
- package/dist/app/TemplatePackageBuilder.d.ts.map +1 -0
- package/dist/app/TemplatePackageBuilder.js +92 -0
- package/dist/app/index.d.ts +30 -0
- package/dist/app/index.d.ts.map +1 -0
- package/dist/app/index.js +30 -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 +27 -0
- package/dist/config/inversify.config.d.ts.map +1 -0
- package/dist/config/inversify.config.js +47 -0
- package/dist/config/inversify.types.d.ts +31 -0
- package/dist/config/inversify.types.d.ts.map +1 -0
- package/dist/config/inversify.types.js +31 -0
- package/dist/constants.d.ts +33 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/constants.js +34 -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/ScaffolderOptions.d.ts +65 -0
- package/dist/models/ScaffolderOptions.d.ts.map +1 -0
- package/dist/models/ScaffolderOptions.js +71 -0
- package/dist/models/index.d.ts +25 -0
- package/dist/models/index.d.ts.map +1 -0
- package/dist/models/index.js +25 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/validators/AddOnTemplateValidator.d.ts +46 -0
- package/dist/validators/AddOnTemplateValidator.d.ts.map +1 -0
- package/dist/validators/AddOnTemplateValidator.js +78 -0
- package/dist/validators/TemplateValidator.d.ts +35 -0
- package/dist/validators/TemplateValidator.d.ts.map +1 -0
- package/dist/validators/TemplateValidator.js +25 -0
- package/dist/validators/index.d.ts +26 -0
- package/dist/validators/index.d.ts.map +1 -0
- package/dist/validators/index.js +26 -0
- package/package.json +57 -0
- package/src/app/AddOnBuilder.ts +79 -0
- package/src/app/AddOnScaffolder.ts +37 -0
- package/src/app/PackageBuilder.ts +40 -0
- package/src/app/TemplateAddOnBuilder.ts +319 -0
- package/src/app/TemplateAddOnScaffolder.ts +153 -0
- package/src/app/TemplatePackageBuilder.ts +102 -0
- package/src/app/index.ts +30 -0
- package/src/config/index.ts +26 -0
- package/src/config/inversify.config.ts +58 -0
- package/src/config/inversify.types.ts +31 -0
- package/src/constants.ts +36 -0
- package/src/index.ts +28 -0
- package/src/models/ScaffolderOptions.ts +86 -0
- package/src/models/index.ts +25 -0
- package/src/test/app/TemplateAddOnBuilder.spec.ts +1391 -0
- package/src/test/app/TemplateAddOnScaffolder.spec.ts +272 -0
- package/src/test/app/TemplatePackageBuilder.spec.ts +332 -0
- package/src/test/app/data/first-test-app/.template/template.json +10 -0
- package/src/test/app/data/first-test-app/package.json +19 -0
- package/src/test/app/data/first-test-app/src/manifest.json +21 -0
- package/src/test/app/data/first_test_app/.template/template.json +10 -0
- package/src/test/app/data/first_test_app/package.json +19 -0
- package/src/test/app/data/first_test_app/src/manifest.json +21 -0
- package/src/test/app/data/second-test-app/package.json +19 -0
- package/src/test/app/data/second-test-app/src/manifest.json +33 -0
- package/src/test/app/data/third-test-app/.template/template.json +10 -0
- package/src/test/app/data/third-test-app/package.json +19 -0
- package/src/test/app/data/third-test-app/src/manifest.json +23 -0
- package/src/test/models/ScaffolderOptions.spec.ts +61 -0
- package/src/test/validators/AppTemplateValidator.spec.ts +98 -0
- package/src/validators/AddOnTemplateValidator.ts +79 -0
- package/src/validators/TemplateValidator.ts +35 -0
- package/src/validators/index.ts +26 -0
- package/tsconfig.json +28 -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","../../add-on-manifest/dist/AddOnManifestTypes.d.ts","../../add-on-manifest/dist/manifest-field/AddOnManifestEntrypoint.d.ts","../../add-on-manifest/dist/manifest-field/AddOnManifestApp.d.ts","../../add-on-manifest/dist/manifest-field/AddOnManifestRequirement.d.ts","../../add-on-manifest/dist/AddOnManifest.d.ts","../../add-on-manifest/dist/AddOnManifestValidator.d.ts","../../add-on-manifest/dist/index.d.ts","../src/models/ScaffolderOptions.ts","../src/app/AddOnScaffolder.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","../../wxp-core/dist/config/inversify.config.d.ts","../../wxp-core/dist/config/inversify.types.d.ts","../../wxp-core/dist/config/index.d.ts","../../wxp-core/dist/constants.d.ts","../../wxp-core/dist/models/TemplateJson.d.ts","../../wxp-core/dist/models/PackageJson.d.ts","../../wxp-core/dist/models/PreferenceJson.d.ts","../../wxp-core/dist/models/Types.d.ts","../../wxp-core/dist/models/index.d.ts","../../wxp-core/dist/utilities/Preferences.d.ts","../../wxp-core/dist/utilities/CLIPreferences.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","../../wxp-core/dist/utilities/Logger.d.ts","../../wxp-core/dist/utilities/Process.d.ts","../../wxp-core/dist/utilities/CLIProcess.d.ts","../../wxp-core/dist/utilities/ConsoleLogger.d.ts","../../wxp-core/dist/utilities/Extensions.d.ts","../../wxp-core/dist/utilities/UncaughtExceptionHandler.d.ts","../../wxp-core/dist/utilities/index.d.ts","../../wxp-core/dist/index.d.ts","../src/app/AddOnBuilder.ts","../src/app/PackageBuilder.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+string-template@1.0.2/node_modules/@types/string-template/index.d.ts","../../../common/temp/node_modules/.pnpm/@types+uuid@8.3.0/node_modules/@types/uuid/index.d.ts","../src/app/TemplateAddOnBuilder.ts","../../wxp-ssl/dist/models/SetupCommandOptions.d.ts","../../wxp-ssl/dist/models/Types.d.ts","../../wxp-ssl/dist/models/index.d.ts","../../wxp-ssl/dist/app/CommandExecutor.d.ts","../../wxp-ssl/dist/app/SSLReader.d.ts","../../wxp-analytics/dist/app/AnalyticsConsent.d.ts","../../wxp-analytics/dist/models/CLIProgram.d.ts","../../wxp-analytics/dist/models/index.d.ts","../../wxp-analytics/dist/app/AnalyticsService.d.ts","../../wxp-analytics/dist/app/WxpAnalyticsConsent.d.ts","../../wxp-analytics/dist/app/WxpAnalyticsService.d.ts","../../wxp-analytics/dist/app/index.d.ts","../../wxp-analytics/dist/config/inversify.config.d.ts","../../wxp-analytics/dist/config/inversify.types.d.ts","../../wxp-analytics/dist/config/index.d.ts","../../wxp-analytics/dist/constants.d.ts","../../wxp-analytics/dist/index.d.ts","../../wxp-ssl/dist/app/SetupCommandExecutor.d.ts","../../wxp-ssl/dist/app/WxpSSLReader.d.ts","../../wxp-ssl/dist/app/index.d.ts","../../wxp-ssl/dist/config/inversify.config.d.ts","../../wxp-ssl/dist/config/inversify.types.d.ts","../../wxp-ssl/dist/config/index.d.ts","../../wxp-ssl/dist/constants.d.ts","../../wxp-ssl/dist/index.d.ts","../src/config/inversify.types.ts","../src/validators/TemplateValidator.ts","../src/validators/AddOnTemplateValidator.ts","../src/validators/index.ts","../src/app/TemplateAddOnScaffolder.ts","../src/app/TemplatePackageBuilder.ts","../src/app/index.ts","../src/config/inversify.config.ts","../src/config/index.ts","../src/models/index.ts","../src/index.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":"fc6471a6ba642729b189aa7cfe73243260bc79912a4386af8a3f5c42fbb2f856","signature":"f461e585948c400267c39d09a397654611555fe66b7b1fee8cf5bcd6a50e916f"},"311cf6803013f6da48a3fc6792758c0466f68ba1f0c8a773cfa04afc23b3c810","a63cfcbf7232e87bcb0c7ef95519e298b78ecd50fbe8e85157644698f6853821","36c356acbc0d085b7252794fca9d297d386ab329dadda9b5ab2d0d53fd96a347","bb179f79ac03324c7762723e7364cd96fbca96c4eca0e1e77afbd8748c50a300","cb9dd28ecfd852418992f9c767b65b36f21897648d3e7f8125a6a385f331c5c3","8905c9e6859625726b2d218f3e5b2d98d3ebae6e957a8a96d585aaf8d7e96086","0d12da083c3063be46d412ea10c747df308edbb63b71e3ea3d8bcde4ab4c5d89",{"version":"35826e35458e2ff7fd275d4d2e27951b8618c96e221e80f248d809ed01c9f60c","signature":"1a1a591ca08b3793aa9245c61d609e969834a8f25e9d8f7ca31483887fb5cdc4"},{"version":"8c22ce9ccfbc83c1de1e83fa50aac8822352980435272ddc8aa3fa1af6a7af50","signature":"07e2aad41092f63e7c10047085679bd2fc1d896c0f743c137b8fb3d16f2da5b1"},"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},"4980e918ab5082f3907c295e3ecba09037276ef84f1e9a0a1588446498c21762","53f04ee1bc68c5ccd61e281ba75e1e6238103b8aa66f96183e94f04b25093a0d","43f90ad5ce9287160c23090a195376d677b7b30c83d69efda533681ba3fb52c4","cbc492c4c92d73029e0bba1362df058d5c3d4e8ffd5ba3a55702738ea5b9bd7e","c72da014669bc7660a03c882331e396368f266425eb6abd096bdb4277cf0c0ee","5d1c561688b035b46a3dcbd199773473ece1406571ca807ec3039c9543b4cf69","0cb22def8fef323f0b562d243c7c99f40c8354de6768e6cf663b2b1e45a03f58","c2454caea353b9a91ddd9f056b9589d7de6f164b0be0951cf4ac99f1d32ad19b","a0fdf0a4aed1db63c51f319d168774367742dd56a6a8bc4aa7b196962e5ba89c","595b20ab97f823230096c61f542a5a0cf81252b6127c6faa76f0a240668e1608","a032d51ebeb7ec142c966504d0ae8095c045cb77d41509167dfd2d7778910dfb","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","7b57a44aa455c2fbd98f148c283638923be149c51c8afada09d00825758ff8ae","6041b55fa02c950be9092c9f3e3b2fa7690db48214e25c94f8221e14a200c970","108f0411dc09c1e6e07a2b4c865930432d532fbc4605236a39be87cce6d25ebe","82226a3ddfc6f9ed0302f58e2571f55b7fce2a7581250cf240bd5ac4b8485a41","5a6a1460fb90853a4f5b4b0bc648d867ce60a3aacdb3c305352d1190e94ab2ec","68a2e5596c12669d96c94bd905866cafd8dc28238b77dd24d3c9ec65b0d9a2f3","55486a7ec209bfc55b60e90e2d617d3e1e5f89c45ac2167e19001bec65b63c71","e6e940e8bdceae7682027b71a9806ed624a5fb0e6b793c7b32bb8004beb72447",{"version":"b1ff10627cb3f3041ca1377c5d38bf22aacf9b0eef40c837b3be16bb5905fcaa","signature":"e55f54836920175101b8ef88716ff0254d1aa0b7d3fd684d0894a17321080861"},{"version":"0495584b08bd3f0498920e60b267c103abd78f952bbecabfb4a059f11191f9ea","signature":"1b2c46c9127928e48df106b05bcfc2a2585bdaa4897ddcce163f864e9542adb1"},"ed19da84b7dbf00952ad0b98ce5c194f1903bcf7c94d8103e8e0d63b271543ae",{"version":"0e13ddb7249f3a5f0ff31029b319922585804b11f0a6dd7d903aa27f95b1f062","affectsGlobalScope":true},"96b49a9de749afcf92b5bce1d8cc42cfae6816cdf5ea36584fd9256b8b2e5292",{"version":"61edc31c82e4175e3770667e8fa51db20dbb64383bad1a784289c636518e805a","signature":"ea476927336cfbe07806021027bab58d65f47940b2391d50f9c8e1f7bb0b9db8"},"722a70b37dda975cd5520f3ca915528dbedf69c4ef83596e1886ebd7cf83d064","dd71800c1b81b77c97ce0dac458242c85b86aa153a48d3d59a25842d6d510a9e","ef09baa878df96bd572d2a01d177cd49ea01b093b9b596290d424d61c552acd5","bd5ba442cc66a02afd03c87d83b431e7e04e34c56aab40e5e7b65e8da91ee115","19d15cc03127d6a6e8e618ad8ab28e7360b7b144baa60739381643ed7f3f3708","f7aa67d5e24fabdb2b37047f45655a0c4483ab03689eb6e76191b4cb13829315","4e2ca65d40e256d40ba8b135cfbf5776de1cae67c289655816ba5b5216b7a35b","71d63bd314b688fefa8e77a06037e0b7f6336202c1faf1f635ecf4194693dccb","886657d6feda75a2fe03e4cc0e476473b6e943bb7b7c4543439e5bc9137aa5ef","a2ca75d885a02afc876b3ee1fc98d9458415364b0a83f236187f97d23658554b","7d9836d3374fa760692cc85aa0090dbc7588df6311c32188e135c1dfb3ae7f2d","757c2cdca42caf32be28c707b14a881558600b86f58d61979eacafd44b453caf","0a32831fe1ef847de11e0fb0bb590d3fd7d7254e865ba1a42fe53a5ec74b90ad","24fbe2498aaf2b310fbd84e81b63d6e5f0f437d175e46ce1f8bc9c59bf7dd589","43f90ad5ce9287160c23090a195376d677b7b30c83d69efda533681ba3fb52c4","354d0cc382e1e3355dbfee3b821508281e501efba1766d82c351f4ffb6ecbe9a","c2f1b55c8090b5c3ff2732b9ea265e10510f385d62f383a0a6c51ea8dc39779b","8d0691a2ab3222d89fcfff6b404077926afa14b08edef91e43f3b92252e5bc11","dbb1118f6b5acb2b10d37c80e28abba4cee0110cec05af12025e94bdd9a3196c","5fd3a4d733e36233e7f9c79fc1d327c2fa228e60c28ddf162c2c02f519cc6312","0a32831fe1ef847de11e0fb0bb590d3fd7d7254e865ba1a42fe53a5ec74b90ad","aea04b395fc79215588b2bffdd496003d119360668e814e2d00a38b44736a07b","43f90ad5ce9287160c23090a195376d677b7b30c83d69efda533681ba3fb52c4","7f2a4fdd300a32442b2350c9f87281927b3d0de170242d7c460f07194f773d11","c2f1b55c8090b5c3ff2732b9ea265e10510f385d62f383a0a6c51ea8dc39779b",{"version":"d7632d89ab5bb4ce8554715933319f52269f86c15c9b64ea5fbca059e622820e","signature":"2d32bd332004b8f1ba417ac7163be89aa5606e84e44ab8a10a350226e94bd3cc"},{"version":"2553cdd677d3fa4eaf9510e82bdedceb40176070a9eb58e83de20ee6bd32a564","signature":"9b04bf5d2418c07c2a533ba06d379c45d7a215ed625edfecfe08e90c410630a8"},{"version":"b57ed6ef61d82b72aedb169f5251a99cdba5d37cf2d6dfb8febf3caf1356c4d6","signature":"23eea316165c2c0e0b4f063aa6a78987254a3e3b9a4ec2b569d36a6a8d4e9193"},{"version":"492e5a36a452434e3995f69f11783130ea9547c7e2f9aab13691a98848216bfc","signature":"95c4b425482d28461a50c6997b8b91085ff4cad3d950995a7d311b0aef2d4264"},{"version":"ef939d0efb16cb47bc88d3252c4eda4b01d5f21523b00c1dd577e9de3c11afe2","signature":"0ce5504f6c535b0115876ff3f0772179d3e47a25eb16e04ad9275929ed38d457"},{"version":"47983538b52d44dc3398a70e0202226fe186fe8191d8b49ec8d2f6fcfcc333d7","signature":"506d48c16a985a173bfc6354a1b4dba24a2b9bf53d4724ac98c356f1f1d39664"},{"version":"11529ef0e0e3a6bb0ec7c56dfe232863611b86ac2a5bccfe0fbf21dc965bc5a1","signature":"31e7daa3a6c3f1bbe96882aa2b926f6b25daaa7d7a1d85cf8654469ed1d1f4d4"},{"version":"f162f37ed9473e529cd4b0480370264bc4e0c0f30bae70be051c1c73fc076a84","signature":"48e83558675f9cff5d168c4389c2bdf356d68cabef13977a39946741b1b6039b"},{"version":"0c08bb1a7f9daf7651c80052a05d79d0b70fa3ba0d1ff242cd2c41aec11cfe56","signature":"7c658adaa06701f53b484e24da718899756b3a39e6daecd8b88980887ab93fd9"},{"version":"7c60b57cd6991274e4993f1222cc465e3ba5ec4f1b4aa1d6d1114d645a882e07","signature":"0750fe1b0f4ad6798c67a2a4964821d48a4457baca9e034d8920fcd6e09db3e7"},{"version":"88c1c9c5d1f0b7cbdc2d93648adaff293c4b05623d45c6f05f35a7e3cab4298f","signature":"e44fc14a4aa0baa2343d71e667e977c97d3b2af92c298ba7ae506b6b759aef96"}],"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":[[122,150,157],[106,150],[109,150],[110,115,150],[111,121,122,129,138,149,150],[111,112,121,129,150],[113,150],[114,115,122,130,150],[115,138,146,150],[116,118,121,129,150],[117,150],[118,119,150],[120,121,150],[121,150],[121,122,123,138,149,150],[121,122,123,138,150],[150],[124,129,138,149,150],[121,122,124,125,129,138,146,149,150],[124,126,138,146,149,150],[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,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156],[121,127,150],[128,149,150],[118,121,129,138,150],[130,150],[131,150],[109,132,150],[133,148,150,154],[134,150],[135,150],[121,136,150],[136,137,150,152],[121,138,139,140,150],[138,140,150],[138,139,150],[141,150],[142,150],[121,144,145,150],[144,145,150],[115,129,146,150],[147,150],[129,148,150],[110,124,135,149,150],[115,150],[138,150,151],[150,152],[150,153],[110,115,121,123,132,138,149,150,152,154],[138,150,155],[72,150],[76,80,150],[76,150],[71,150],[70,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,150],[93,150],[61,62,64,150],[61,150],[61,62,64,65,66,150],[61,65,150],[61,63,65,150],[59,68,94,150,165],[59,68,150],[59,150,165],[59,60,67,68,93,94,128,130,131,150,165,166,168,169,170],[59,68,69,93,94,150,165,166,167,196,197,200],[59,93,150,165,167],[59,69,150,166,167,171,201,202],[59,150,197,204],[59,68,93,94,150,165,197,200,203],[59,150],[59,60,69,150,205,206],[59,67,150],[59,60,93,94,133,150,165,169,198],[59,150,198,199],[150,179],[94,150,165,177],[94,150,165,179,180],[150,177,180,181,182],[150,184,185],[73,94,150],[150,179,183,186,187],[150,178],[95,96,150],[93,94,150],[97,98,103,150,164],[99,150],[99,100,101,102,150],[94,101,104,150],[94,103,111,150,157,158,159],[103,150,158],[103,150],[103,111,150,157],[104,105,150,158,159,160,161,162,163],[150,174],[94,150,165,172,175,176,188],[94,150,165,174],[150,175,176,189,190],[150,192,193],[150,174,191,194,195],[150,157,172],[150,172,173],[68,94,165],[68],[165],[68,94,165,166],[68,69,94,165,166,167,196,200],[165,167],[69,166,167,171,201,202],[197,204],[73,94],[60,69,205,206],[67],[94,165,198],[198,199]],"referencedMap":[[168,1],[106,2],[107,2],[109,3],[110,4],[111,5],[112,6],[113,7],[114,8],[115,9],[116,10],[117,11],[118,12],[119,12],[120,13],[121,14],[122,15],[123,16],[108,17],[156,17],[124,18],[125,19],[126,20],[157,21],[127,22],[128,23],[129,24],[130,25],[131,26],[132,27],[133,28],[134,29],[135,30],[136,31],[137,32],[138,33],[140,34],[139,35],[141,36],[142,37],[143,17],[144,38],[145,39],[146,40],[147,41],[148,42],[149,43],[150,44],[151,45],[152,46],[153,47],[154,48],[155,49],[169,17],[170,17],[76,50],[81,51],[77,17],[80,50],[84,51],[79,52],[82,52],[86,17],[87,17],[78,52],[85,52],[83,52],[74,50],[70,17],[73,50],[75,50],[72,53],[93,54],[88,50],[90,50],[92,55],[71,17],[89,17],[91,50],[94,17],[59,17],[11,17],[12,17],[16,17],[15,17],[2,17],[17,17],[18,17],[19,17],[20,17],[21,17],[22,17],[23,17],[24,17],[3,17],[4,17],[28,17],[25,17],[26,17],[27,17],[29,17],[30,17],[31,17],[5,17],[32,17],[33,17],[34,17],[35,17],[6,17],[36,17],[37,17],[38,17],[39,17],[7,17],[40,17],[45,17],[46,17],[41,17],[42,17],[43,17],[44,17],[8,17],[50,17],[47,17],[48,17],[49,17],[51,17],[9,17],[52,17],[53,17],[54,17],[55,17],[56,17],[1,17],[10,17],[58,17],[57,17],[14,17],[13,17],[65,56],[61,17],[66,57],[67,58],[63,57],[62,59],[64,60],[166,61],[69,62],[167,63],[171,64],[201,65],[202,66],[203,67],[205,68],[204,69],[197,70],[60,70],[207,71],[68,72],[206,62],[199,73],[198,70],[200,74],[177,17],[180,75],[181,76],[182,77],[183,78],[186,79],[184,80],[185,17],[187,17],[188,81],[178,17],[179,82],[97,83],[95,84],[96,17],[98,17],[165,85],[100,86],[101,17],[99,17],[102,17],[103,87],[105,88],[160,89],[161,90],[162,17],[158,91],[104,91],[159,92],[163,17],[164,93],[175,94],[176,94],[189,95],[190,96],[191,97],[194,98],[192,80],[193,17],[195,17],[196,99],[172,17],[173,100],[174,101]],"exportedModulesMap":[[168,1],[106,2],[107,2],[109,3],[110,4],[111,5],[112,6],[113,7],[114,8],[115,9],[116,10],[117,11],[118,12],[119,12],[120,13],[121,14],[122,15],[123,16],[108,17],[156,17],[124,18],[125,19],[126,20],[157,21],[127,22],[128,23],[129,24],[130,25],[131,26],[132,27],[133,28],[134,29],[135,30],[136,31],[137,32],[138,33],[140,34],[139,35],[141,36],[142,37],[143,17],[144,38],[145,39],[146,40],[147,41],[148,42],[149,43],[150,44],[151,45],[152,46],[153,47],[154,48],[155,49],[169,17],[170,17],[76,50],[81,51],[77,17],[80,50],[84,51],[79,52],[82,52],[86,17],[87,17],[78,52],[85,52],[83,52],[74,50],[70,17],[73,50],[75,50],[72,53],[93,54],[88,50],[90,50],[92,55],[71,17],[89,17],[91,50],[94,17],[59,17],[11,17],[12,17],[16,17],[15,17],[2,17],[17,17],[18,17],[19,17],[20,17],[21,17],[22,17],[23,17],[24,17],[3,17],[4,17],[28,17],[25,17],[26,17],[27,17],[29,17],[30,17],[31,17],[5,17],[32,17],[33,17],[34,17],[35,17],[6,17],[36,17],[37,17],[38,17],[39,17],[7,17],[40,17],[45,17],[46,17],[41,17],[42,17],[43,17],[44,17],[8,17],[50,17],[47,17],[48,17],[49,17],[51,17],[9,17],[52,17],[53,17],[54,17],[55,17],[56,17],[1,17],[10,17],[58,17],[57,17],[14,17],[13,17],[65,56],[61,17],[66,57],[67,58],[63,57],[62,59],[64,60],[166,102],[69,103],[167,104],[171,105],[201,106],[202,107],[203,108],[205,109],[204,110],[207,111],[68,112],[206,103],[199,113],[200,114],[177,17],[180,75],[181,76],[182,77],[183,78],[186,79],[184,80],[185,17],[187,17],[188,81],[178,17],[179,82],[97,83],[95,84],[96,17],[98,17],[165,85],[100,86],[101,17],[99,17],[102,17],[103,87],[105,88],[160,89],[161,90],[162,17],[158,91],[104,91],[159,92],[163,17],[164,93],[175,94],[176,94],[189,95],[190,96],[191,97],[194,98],[192,80],[193,17],[195,17],[196,99],[172,17],[173,100],[174,101]],"semanticDiagnosticsPerFile":[168,106,107,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,108,156,124,125,126,157,127,128,129,130,131,132,133,134,135,136,137,138,140,139,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,169,170,76,81,77,80,84,79,82,86,87,78,85,83,74,70,73,75,72,93,88,90,92,71,89,91,94,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,65,61,66,67,63,62,64,166,69,167,171,201,202,203,205,204,197,60,207,68,206,199,198,200,177,180,181,182,183,186,184,185,187,188,178,179,97,95,96,98,165,100,101,99,102,103,105,160,161,162,158,104,159,163,164,175,176,189,190,191,194,192,193,195,196,172,173,174]},"version":"4.8.4"}
|
|
@@ -0,0 +1,46 @@
|
|
|
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 { Logger } from "@adobe/ccweb-add-on-core";
|
|
25
|
+
import "reflect-metadata";
|
|
26
|
+
import type { TemplateValidator } from "./TemplateValidator.js";
|
|
27
|
+
/**
|
|
28
|
+
* Template validator implementation class to validate user selected template..
|
|
29
|
+
*/
|
|
30
|
+
export declare class AddOnTemplateValidator implements TemplateValidator {
|
|
31
|
+
private readonly _logger;
|
|
32
|
+
/**
|
|
33
|
+
* Instantiate {@link AppTemplateValidator}.
|
|
34
|
+
*
|
|
35
|
+
* @param logger - {@link Logger} reference.
|
|
36
|
+
* @returns Reference to a new {@link AppTemplateValidator} instance.
|
|
37
|
+
*/
|
|
38
|
+
constructor(logger: Logger);
|
|
39
|
+
/**
|
|
40
|
+
* Validate the template.
|
|
41
|
+
*
|
|
42
|
+
* @param templateName - Name of the template.
|
|
43
|
+
*/
|
|
44
|
+
validateTemplate(templateName: string): void;
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=AddOnTemplateValidator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AddOnTemplateValidator.d.ts","sourceRoot":"","sources":["../../src/validators/AddOnTemplateValidator.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;kFAsBkF;AAElF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAIvD,OAAO,kBAAkB,CAAC;AAG1B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAEhE;;GAEG;AACH,qBACa,sBAAuB,YAAW,iBAAiB;IAC5D,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAS;IAEjC;;;;;OAKG;gBACoC,MAAM,EAAE,MAAM;IAIrD;;;;OAIG;IACH,gBAAgB,CAAC,YAAY,EAAE,MAAM;CAcxC"}
|
|
@@ -0,0 +1,78 @@
|
|
|
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 { ITypes as ICoreTypes, isNullOrWhiteSpace } from "@adobe/ccweb-add-on-core";
|
|
26
|
+
import { inject, injectable } from "inversify";
|
|
27
|
+
import process from "process";
|
|
28
|
+
import "reflect-metadata";
|
|
29
|
+
import format from "string-template";
|
|
30
|
+
import { PROGRAM_NAME } from "../constants.js";
|
|
31
|
+
/**
|
|
32
|
+
* Template validator implementation class to validate user selected template..
|
|
33
|
+
*/
|
|
34
|
+
let AddOnTemplateValidator = class AddOnTemplateValidator {
|
|
35
|
+
_logger;
|
|
36
|
+
/**
|
|
37
|
+
* Instantiate {@link AppTemplateValidator}.
|
|
38
|
+
*
|
|
39
|
+
* @param logger - {@link Logger} reference.
|
|
40
|
+
* @returns Reference to a new {@link AppTemplateValidator} instance.
|
|
41
|
+
*/
|
|
42
|
+
constructor(logger) {
|
|
43
|
+
this._logger = logger;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Validate the template.
|
|
47
|
+
*
|
|
48
|
+
* @param templateName - Name of the template.
|
|
49
|
+
*/
|
|
50
|
+
validateTemplate(templateName) {
|
|
51
|
+
if (isNullOrWhiteSpace(templateName)) {
|
|
52
|
+
this._logger.warning(LOGS.specifyValidTemplateName);
|
|
53
|
+
this._logger.warning(format(LOGS.executeProgram, { PROGRAM_NAME }), {
|
|
54
|
+
prefix: LOGS.tab
|
|
55
|
+
});
|
|
56
|
+
this._logger.message(LOGS.forExample, { prefix: LOGS.newLine });
|
|
57
|
+
this._logger.information(format(LOGS.executeProgramExample, { PROGRAM_NAME }), {
|
|
58
|
+
prefix: LOGS.tab
|
|
59
|
+
});
|
|
60
|
+
process.exit(1);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
AddOnTemplateValidator = __decorate([
|
|
65
|
+
injectable(),
|
|
66
|
+
__param(0, inject(ICoreTypes.Logger)),
|
|
67
|
+
__metadata("design:paramtypes", [Object])
|
|
68
|
+
], AddOnTemplateValidator);
|
|
69
|
+
export { AddOnTemplateValidator };
|
|
70
|
+
const LOGS = {
|
|
71
|
+
newLine: "\n",
|
|
72
|
+
tab: " ",
|
|
73
|
+
specifyValidTemplateName: "Please specify a valid template name:",
|
|
74
|
+
executeProgram: "{PROGRAM_NAME} --template <template-name>",
|
|
75
|
+
executeProgramExample: "{PROGRAM_NAME} --template javascript",
|
|
76
|
+
forExample: "For example:"
|
|
77
|
+
};
|
|
78
|
+
//# sourceMappingURL=AddOnTemplateValidator.js.map
|
|
@@ -0,0 +1,35 @@
|
|
|
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
|
+
/**
|
|
25
|
+
* Template validator interface to validate user selected template.
|
|
26
|
+
*/
|
|
27
|
+
export interface TemplateValidator {
|
|
28
|
+
/**
|
|
29
|
+
* Validate the template.
|
|
30
|
+
*
|
|
31
|
+
* @param templateName - Name of the template.
|
|
32
|
+
*/
|
|
33
|
+
validateTemplate(templateName: string): void;
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=TemplateValidator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TemplateValidator.d.ts","sourceRoot":"","sources":["../../src/validators/TemplateValidator.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;kFAsBkF;AAElF;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;;;OAIG;IACH,gBAAgB,CAAC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;CAChD"}
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=TemplateValidator.js.map
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
export * from "./AddOnTemplateValidator.js";
|
|
25
|
+
export * from "./TemplateValidator.js";
|
|
26
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/validators/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;kFAsBkF;AAElF,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
export * from "./AddOnTemplateValidator.js";
|
|
25
|
+
export * from "./TemplateValidator.js";
|
|
26
|
+
//# sourceMappingURL=index.js.map
|
package/package.json
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@adobe/ccweb-add-on-scaffolder",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"author": "Adobe",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"description": "Scaffolding libraries for Adobe Creative Cloud Web Add-on.",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"main": "dist/index.js",
|
|
9
|
+
"repository": {
|
|
10
|
+
"url": "https://github.com/adobe/create-ccweb-add-on"
|
|
11
|
+
},
|
|
12
|
+
"dependencies": {
|
|
13
|
+
"@adobe/ccweb-add-on-analytics": "0.1.0",
|
|
14
|
+
"@adobe/ccweb-add-on-core": "0.1.0",
|
|
15
|
+
"@adobe/ccweb-add-on-devcert": "0.1.0",
|
|
16
|
+
"@adobe/ccweb-add-on-developer-terms": "0.1.0",
|
|
17
|
+
"@adobe/ccweb-add-on-manifest": "0.1.0",
|
|
18
|
+
"@adobe/ccweb-add-on-ssl": "0.1.0",
|
|
19
|
+
"chalk": "4.1.1",
|
|
20
|
+
"fs-extra": "10.0.1",
|
|
21
|
+
"inversify": "6.0.1",
|
|
22
|
+
"prompts": "2.4.2",
|
|
23
|
+
"reflect-metadata": "0.1.13",
|
|
24
|
+
"string-template": "1.0.0",
|
|
25
|
+
"tslib": "2.4.0",
|
|
26
|
+
"uuid": "8.3.1"
|
|
27
|
+
},
|
|
28
|
+
"devDependencies": {
|
|
29
|
+
"@types/chai-as-promised": "7.1.3",
|
|
30
|
+
"@types/chai": "4.2.14",
|
|
31
|
+
"@types/fs-extra": "9.0.13",
|
|
32
|
+
"@types/mocha": "9.1.1",
|
|
33
|
+
"@types/node": "16.11.62",
|
|
34
|
+
"@types/prompts": "2.0.14",
|
|
35
|
+
"@types/sinon": "9.0.8",
|
|
36
|
+
"@types/string-template": "1.0.2",
|
|
37
|
+
"@types/uuid": "8.3.0",
|
|
38
|
+
"c8": "7.7.2",
|
|
39
|
+
"chai-as-promised": "7.1.1",
|
|
40
|
+
"chai": "4.3.4",
|
|
41
|
+
"mocha": "10.0.0",
|
|
42
|
+
"prettier": "2.8.0",
|
|
43
|
+
"regenerator-runtime": "0.13.9",
|
|
44
|
+
"rimraf": "3.0.2",
|
|
45
|
+
"sinon": "9.2.1",
|
|
46
|
+
"ts-node": "10.9.1",
|
|
47
|
+
"ts-sinon": "2.0.1",
|
|
48
|
+
"typescript": "4.8.4"
|
|
49
|
+
},
|
|
50
|
+
"scripts": {
|
|
51
|
+
"clean": "rimraf dist coverage",
|
|
52
|
+
"ibuild": "tsc",
|
|
53
|
+
"build": "rushx clean && rushx ibuild",
|
|
54
|
+
"build:release": "rushx build",
|
|
55
|
+
"test": "c8 mocha && c8 check-coverage --lines 100 --functions 100 --branches 100"
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
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
|
+
|
|
25
|
+
import type { PackageJson, TemplateJson } from "@adobe/ccweb-add-on-core";
|
|
26
|
+
import "reflect-metadata";
|
|
27
|
+
import type { ScaffolderOptions } from "../models/ScaffolderOptions.js";
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Add-on builder interface for constructing the Add-on project.
|
|
31
|
+
*/
|
|
32
|
+
export interface AddOnBuilder {
|
|
33
|
+
/**
|
|
34
|
+
* Get {@link PackageJson}.
|
|
35
|
+
*
|
|
36
|
+
* @returns Reference of {@link PackageJson}.
|
|
37
|
+
*/
|
|
38
|
+
getPackageJson(): PackageJson;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Get {@link TemplateJson}.
|
|
42
|
+
*
|
|
43
|
+
* @returns Reference of {@link TemplateJson}.
|
|
44
|
+
*/
|
|
45
|
+
getTemplateJson(): TemplateJson;
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Get template devDependencies.
|
|
49
|
+
*
|
|
50
|
+
* @param template - {@link TemplateJson}
|
|
51
|
+
* @returns Set of template devDependencies.
|
|
52
|
+
*/
|
|
53
|
+
getDevDependenciesToInstall(template: TemplateJson): Set<string>;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Get template dependencies.
|
|
57
|
+
*
|
|
58
|
+
* @param template - {@link TemplateJson}
|
|
59
|
+
* @returns Set of template dependencies.
|
|
60
|
+
*/
|
|
61
|
+
getDependenciesToInstall(template: TemplateJson): Set<string>;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Build the Add-on.
|
|
65
|
+
*
|
|
66
|
+
* @param packageJson - {@link PackageJson}
|
|
67
|
+
*/
|
|
68
|
+
build(packageJson: string): void;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Display success message.
|
|
72
|
+
*/
|
|
73
|
+
displaySuccess(): void;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Add-on builder factory.
|
|
78
|
+
*/
|
|
79
|
+
export type AddOnBuilderFactory = (options: ScaffolderOptions) => AddOnBuilder;
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
|
|
25
|
+
import type { ScaffolderOptions } from "../models/ScaffolderOptions.js";
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Add-on scaffolder interface for orchestrating the creation of the Add-on project.
|
|
29
|
+
*/
|
|
30
|
+
export interface AddOnScaffolder {
|
|
31
|
+
/**
|
|
32
|
+
* Run the scaffolder to create the Add-on project from the provided options.
|
|
33
|
+
* @param options - {@link ScaffolderOptions} reference.
|
|
34
|
+
* @returns Promise.
|
|
35
|
+
*/
|
|
36
|
+
run(options: ScaffolderOptions): Promise<void>;
|
|
37
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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
|
+
|
|
25
|
+
import type { PackageJson, TemplateJson } from "@adobe/ccweb-add-on-core";
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Package builder interface for constructing the package.json of the Add-on project.
|
|
29
|
+
*/
|
|
30
|
+
export interface PackageBuilder {
|
|
31
|
+
/**
|
|
32
|
+
* Build {@link PackageJson}.
|
|
33
|
+
*/
|
|
34
|
+
build(): PackageJson;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Package builder factory.
|
|
39
|
+
*/
|
|
40
|
+
export type PackageBuilderFactory = (packageJson: PackageJson) => (templateJson: TemplateJson) => PackageBuilder;
|