@speedkit/cli 2.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +775 -0
- package/bin/dev +18 -0
- package/bin/dev.cmd +3 -0
- package/bin/run +4 -0
- package/bin/run.cmd +3 -0
- package/dist/commands/airports_iata.json +1 -0
- package/dist/commands/build-parameter-query.d.ts +15 -0
- package/dist/commands/build-parameter-query.js +95 -0
- package/dist/commands/build-prewarm-query.d.ts +15 -0
- package/dist/commands/build-prewarm-query.js +69 -0
- package/dist/commands/deploy.d.ts +17 -0
- package/dist/commands/deploy.js +39 -0
- package/dist/commands/document-handler.d.ts +16 -0
- package/dist/commands/document-handler.js +36 -0
- package/dist/commands/find-pops.d.ts +17 -0
- package/dist/commands/find-pops.js +84 -0
- package/dist/commands/generate-customer-config.d.ts +10 -0
- package/dist/commands/generate-customer-config.js +29 -0
- package/dist/commands/generate-pop-config.d.ts +27 -0
- package/dist/commands/generate-pop-config.js +231 -0
- package/dist/commands/login.d.ts +10 -0
- package/dist/commands/login.js +35 -0
- package/dist/commands/onboarding.d.ts +16 -0
- package/dist/commands/onboarding.js +25 -0
- package/dist/commands/param-diff.d.ts +16 -0
- package/dist/commands/param-diff.js +111 -0
- package/dist/commands/pop-prewarm.d.ts +17 -0
- package/dist/commands/pop-prewarm.js +80 -0
- package/dist/commands/prewarm.d.ts +40 -0
- package/dist/commands/prewarm.js +127 -0
- package/dist/commands/pull.d.ts +14 -0
- package/dist/commands/pull.js +24 -0
- package/dist/commands/wpt-launcher.d.ts +21 -0
- package/dist/commands/wpt-launcher.js +79 -0
- package/dist/helpers/CustomerConfig.d.ts +51 -0
- package/dist/helpers/CustomerConfig.js +150 -0
- package/dist/helpers/build-query-helper.d.ts +32 -0
- package/dist/helpers/build-query-helper.js +216 -0
- package/dist/helpers/cli-config.d.ts +22 -0
- package/dist/helpers/cli-config.js +85 -0
- package/dist/helpers/file-helper.d.ts +8 -0
- package/dist/helpers/file-helper.js +63 -0
- package/dist/helpers/get-parsed-config.d.ts +11 -0
- package/dist/helpers/get-parsed-config.js +63 -0
- package/dist/helpers/getChromePath.d.ts +7 -0
- package/dist/helpers/getChromePath.js +27 -0
- package/dist/helpers/isDirectory.d.ts +1 -0
- package/dist/helpers/isDirectory.js +17 -0
- package/dist/helpers/isExecutable.d.ts +1 -0
- package/dist/helpers/isExecutable.js +15 -0
- package/dist/helpers/isFile.d.ts +1 -0
- package/dist/helpers/isFile.js +17 -0
- package/dist/helpers/logging-helper.d.ts +12 -0
- package/dist/helpers/logging-helper.js +27 -0
- package/dist/helpers/normalize.d.ts +40 -0
- package/dist/helpers/normalize.js +112 -0
- package/dist/helpers/race.d.ts +1 -0
- package/dist/helpers/race.js +16 -0
- package/dist/helpers/safe.d.ts +10 -0
- package/dist/helpers/safe.js +34 -0
- package/dist/helpers/scrape.d.ts +1 -0
- package/dist/helpers/scrape.js +11 -0
- package/dist/helpers/speedKitRuleToRegExp.d.ts +1 -0
- package/dist/helpers/speedKitRuleToRegExp.js +10 -0
- package/dist/helpers/watchFiles.d.ts +1 -0
- package/dist/helpers/watchFiles.js +20 -0
- package/dist/models/cli-parameters.d.ts +73 -0
- package/dist/models/cli-parameters.js +82 -0
- package/dist/models/files.d.ts +20 -0
- package/dist/models/files.js +23 -0
- package/dist/models/install.d.ts +24 -0
- package/dist/models/install.js +2 -0
- package/dist/services/athena-service.d.ts +30 -0
- package/dist/services/athena-service.js +139 -0
- package/dist/services/bundler/bundle-service-factory.d.ts +4 -0
- package/dist/services/bundler/bundle-service-factory.js +10 -0
- package/dist/services/bundler/bundle-service.d.ts +25 -0
- package/dist/services/bundler/bundle-service.js +84 -0
- package/dist/services/bundler/index.d.ts +2 -0
- package/dist/services/bundler/index.js +5 -0
- package/dist/services/cli/cli-service-factory.d.ts +5 -0
- package/dist/services/cli/cli-service-factory.js +14 -0
- package/dist/services/cli/cli-service-model.d.ts +27 -0
- package/dist/services/cli/cli-service-model.js +9 -0
- package/dist/services/cli/cli-service.d.ts +37 -0
- package/dist/services/cli/cli-service.js +123 -0
- package/dist/services/cli/error/cli-type-error.d.ts +3 -0
- package/dist/services/cli/error/cli-type-error.js +7 -0
- package/dist/services/cli/hooks.d.ts +11 -0
- package/dist/services/cli/hooks.js +33 -0
- package/dist/services/cli/index.d.ts +3 -0
- package/dist/services/cli/index.js +6 -0
- package/dist/services/config-api/client.d.ts +16 -0
- package/dist/services/config-api/client.js +54 -0
- package/dist/services/config-api/config-api-service.d.ts +16 -0
- package/dist/services/config-api/config-api-service.js +56 -0
- package/dist/services/config-api/context/config-api-context.d.ts +5 -0
- package/dist/services/config-api/context/config-api-context.js +9 -0
- package/dist/services/config-api/error/json-response-error.d.ts +2 -0
- package/dist/services/config-api/error/json-response-error.js +5 -0
- package/dist/services/config-api/error/login-error.d.ts +5 -0
- package/dist/services/config-api/error/login-error.js +12 -0
- package/dist/services/config-api/factory/config-api-service-factory.d.ts +10 -0
- package/dist/services/config-api/factory/config-api-service-factory.js +38 -0
- package/dist/services/config-api/factory/entity-manager-factory.d.ts +5 -0
- package/dist/services/config-api/factory/entity-manager-factory.js +21 -0
- package/dist/services/config-api/interface/config-api-context-interface.d.ts +4 -0
- package/dist/services/config-api/interface/config-api-context-interface.js +2 -0
- package/dist/services/config-api/interface/request-extension-interface.d.ts +5 -0
- package/dist/services/config-api/interface/request-extension-interface.js +2 -0
- package/dist/services/config-api-service.d.ts +18 -0
- package/dist/services/config-api-service.js +96 -0
- package/dist/services/context/app-context.d.ts +1 -0
- package/dist/services/context/app-context.js +2 -0
- package/dist/services/context/error/context-runtime-error.d.ts +3 -0
- package/dist/services/context/error/context-runtime-error.js +7 -0
- package/dist/services/context/interface/context-interface.d.ts +2 -0
- package/dist/services/context/interface/context-interface.js +2 -0
- package/dist/services/customer-config/customer-config-service-context.d.ts +5 -0
- package/dist/services/customer-config/customer-config-service-context.js +15 -0
- package/dist/services/customer-config/customer-config-service-factory.d.ts +8 -0
- package/dist/services/customer-config/customer-config-service-factory.js +24 -0
- package/dist/services/customer-config/customer-config-service-model.d.ts +39 -0
- package/dist/services/customer-config/customer-config-service-model.js +23 -0
- package/dist/services/customer-config/customer-config-service.d.ts +27 -0
- package/dist/services/customer-config/customer-config-service.js +263 -0
- package/dist/services/customer-config/index.d.ts +4 -0
- package/dist/services/customer-config/index.js +7 -0
- package/dist/services/customer-config/templates/config_SpeedKit.js.hbs +351 -0
- package/dist/services/customer-config/templates/config_customer.js.hbs +75 -0
- package/dist/services/customer-config/templates/config_documentHandler.js.hbs +162 -0
- package/dist/services/customer-config/templates/config_dynamicBlocks.es6.hbs +263 -0
- package/dist/services/customer-config/templates/config_dynamicStyles.css.hbs +116 -0
- package/dist/services/customer-config/templates/config_loadHandler.js.hbs +394 -0
- package/dist/services/customer-config/templates/deploymentDetection.es6.hbs +262 -0
- package/dist/services/customer-config/templates/downtimeDetection.js.hbs +110 -0
- package/dist/services/deploy/builder/install-resource-builder.d.ts +14 -0
- package/dist/services/deploy/builder/install-resource-builder.js +48 -0
- package/dist/services/deploy/checks/post-deploy/revalidated-module-check.d.ts +11 -0
- package/dist/services/deploy/checks/post-deploy/revalidated-module-check.js +30 -0
- package/dist/services/deploy/checks/post-deploy/save-files-check.d.ts +9 -0
- package/dist/services/deploy/checks/post-deploy/save-files-check.js +25 -0
- package/dist/services/deploy/context/deploy-context.d.ts +12 -0
- package/dist/services/deploy/context/deploy-context.js +26 -0
- package/dist/services/deploy/deploy-service-factory.d.ts +15 -0
- package/dist/services/deploy/deploy-service-factory.js +68 -0
- package/dist/services/deploy/deploy-service.d.ts +17 -0
- package/dist/services/deploy/deploy-service.js +63 -0
- package/dist/services/deploy/error/create-find-temp-directory-error.d.ts +4 -0
- package/dist/services/deploy/error/create-find-temp-directory-error.js +10 -0
- package/dist/services/deploy/error/deploy-app-error.d.ts +2 -0
- package/dist/services/deploy/error/deploy-app-error.js +5 -0
- package/dist/services/deploy/error/no-active-installation-error.d.ts +4 -0
- package/dist/services/deploy/error/no-active-installation-error.js +10 -0
- package/dist/services/deploy/handler/customer-config-handler.d.ts +21 -0
- package/dist/services/deploy/handler/customer-config-handler.js +85 -0
- package/dist/services/deploy/handler/install-resource-handler.d.ts +25 -0
- package/dist/services/deploy/handler/install-resource-handler.js +104 -0
- package/dist/services/deploy/handler/install-resource-modifier/deleted-file-check.d.ts +13 -0
- package/dist/services/deploy/handler/install-resource-modifier/deleted-file-check.js +51 -0
- package/dist/services/deploy/handler/module-handler.d.ts +14 -0
- package/dist/services/deploy/handler/module-handler.js +81 -0
- package/dist/services/deploy/handler/module-modifier/deployment-detection-modifier.d.ts +9 -0
- package/dist/services/deploy/handler/module-modifier/deployment-detection-modifier.js +24 -0
- package/dist/services/deploy/handler/server-config-handler.d.ts +12 -0
- package/dist/services/deploy/handler/server-config-handler.js +63 -0
- package/dist/services/deploy/interface/deploy-handler-interface.d.ts +6 -0
- package/dist/services/deploy/interface/deploy-handler-interface.js +2 -0
- package/dist/services/deploy/interface/install-configs.d.ts +11 -0
- package/dist/services/deploy/interface/install-configs.js +2 -0
- package/dist/services/deploy/interface/install-resource-processor-interface.d.ts +5 -0
- package/dist/services/deploy/interface/install-resource-processor-interface.js +2 -0
- package/dist/services/deploy/interface/install.d.ts +14 -0
- package/dist/services/deploy/interface/install.js +2 -0
- package/dist/services/deploy/interface/post-deploy-check-interface.d.ts +3 -0
- package/dist/services/deploy/interface/post-deploy-check-interface.js +2 -0
- package/dist/services/deploy/interface/runtime-modifier.d.ts +6 -0
- package/dist/services/deploy/interface/runtime-modifier.js +2 -0
- package/dist/services/deploy/interface/validate-origins-response.d.ts +4 -0
- package/dist/services/deploy/interface/validate-origins-response.js +2 -0
- package/dist/services/diff/diff-model.d.ts +5 -0
- package/dist/services/diff/diff-model.js +12 -0
- package/dist/services/diff/diff-service-factory.d.ts +7 -0
- package/dist/services/diff/diff-service-factory.js +20 -0
- package/dist/services/diff/diff-service.d.ts +34 -0
- package/dist/services/diff/diff-service.js +134 -0
- package/dist/services/diff/index.d.ts +3 -0
- package/dist/services/diff/index.js +6 -0
- package/dist/services/diff-service.d.ts +24 -0
- package/dist/services/diff-service.js +112 -0
- package/dist/services/document-handler-runtime/context/document-handler-runtime-context.d.ts +23 -0
- package/dist/services/document-handler-runtime/context/document-handler-runtime-context.js +41 -0
- package/dist/services/document-handler-runtime/document-handler-runtime-service.d.ts +32 -0
- package/dist/services/document-handler-runtime/document-handler-runtime-service.js +220 -0
- package/dist/services/document-handler-runtime/document-handler-server.d.ts +42 -0
- package/dist/services/document-handler-runtime/document-handler-server.js +225 -0
- package/dist/services/document-handler-runtime/error/handler/required-file-not-found-handler.d.ts +6 -0
- package/dist/services/document-handler-runtime/error/handler/required-file-not-found-handler.js +14 -0
- package/dist/services/document-handler-runtime/error/required-file-not-found-error.d.ts +3 -0
- package/dist/services/document-handler-runtime/error/required-file-not-found-error.js +7 -0
- package/dist/services/document-handler-runtime/factory/document-handler-runtime-service-factory.d.ts +24 -0
- package/dist/services/document-handler-runtime/factory/document-handler-runtime-service-factory.js +106 -0
- package/dist/services/document-handler-runtime/interface/document-handler-runtime-config-interface.d.ts +3 -0
- package/dist/services/document-handler-runtime/interface/document-handler-runtime-config-interface.js +6 -0
- package/dist/services/document-handler-runtime/interface/template-context-interface.d.ts +3 -0
- package/dist/services/document-handler-runtime/interface/template-context-interface.js +2 -0
- package/dist/services/document-handler-runtime/interface/template-interface.d.ts +6 -0
- package/dist/services/document-handler-runtime/interface/template-interface.js +2 -0
- package/dist/services/document-handler-runtime/interface/template-param-interface.d.ts +4 -0
- package/dist/services/document-handler-runtime/interface/template-param-interface.js +2 -0
- package/dist/services/document-handler-runtime/templates/abstract-template.d.ts +9 -0
- package/dist/services/document-handler-runtime/templates/abstract-template.js +18 -0
- package/dist/services/document-handler-runtime/templates/database-mock.d.ts +6 -0
- package/dist/services/document-handler-runtime/templates/database-mock.js +111 -0
- package/dist/services/document-handler-runtime/templates/execute-document-handler.d.ts +6 -0
- package/dist/services/document-handler-runtime/templates/execute-document-handler.js +76 -0
- package/dist/services/document-handler-runtime/templates/orestes-mock.d.ts +9 -0
- package/dist/services/document-handler-runtime/templates/orestes-mock.js +168 -0
- package/dist/services/document-handler-runtime/templates/package-json.d.ts +8 -0
- package/dist/services/document-handler-runtime/templates/package-json.js +21 -0
- package/dist/services/document-handler-runtime/templates/test.d.ts +6 -0
- package/dist/services/document-handler-runtime/templates/test.js +63 -0
- package/dist/services/error-handling/abstract/abstract-async-error-handling-factory.d.ts +6 -0
- package/dist/services/error-handling/abstract/abstract-async-error-handling-factory.js +19 -0
- package/dist/services/error-handling/abstract/abstract-async-error-handling-service.d.ts +6 -0
- package/dist/services/error-handling/abstract/abstract-async-error-handling-service.js +18 -0
- package/dist/services/error-handling/abstract/abstract-error-handling-factory.d.ts +6 -0
- package/dist/services/error-handling/abstract/abstract-error-handling-factory.js +19 -0
- package/dist/services/error-handling/abstract/abstract-error-handling-service.d.ts +6 -0
- package/dist/services/error-handling/abstract/abstract-error-handling-service.js +19 -0
- package/dist/services/error-handling/error/application-error.d.ts +5 -0
- package/dist/services/error-handling/error/application-error.js +11 -0
- package/dist/services/error-handling/error/handler/default-error-handler.d.ts +5 -0
- package/dist/services/error-handling/error/handler/default-error-handler.js +13 -0
- package/dist/services/error-handling/error-handling-service.d.ts +7 -0
- package/dist/services/error-handling/error-handling-service.js +27 -0
- package/dist/services/error-handling/factory/error-handling-factory.d.ts +8 -0
- package/dist/services/error-handling/factory/error-handling-factory.js +21 -0
- package/dist/services/error-handling/interface/error-context-interface.d.ts +6 -0
- package/dist/services/error-handling/interface/error-context-interface.js +2 -0
- package/dist/services/error-handling/interface/error-handler-interface.d.ts +5 -0
- package/dist/services/error-handling/interface/error-handler-interface.js +2 -0
- package/dist/services/error-handling/interface/error-handling-factory-interface.d.ts +8 -0
- package/dist/services/error-handling/interface/error-handling-factory-interface.js +2 -0
- package/dist/services/error-handling/interface/error-handling-service-interface.d.ts +8 -0
- package/dist/services/error-handling/interface/error-handling-service-interface.js +2 -0
- package/dist/services/integration-api/context/integration-api-context.d.ts +9 -0
- package/dist/services/integration-api/context/integration-api-context.js +20 -0
- package/dist/services/integration-api/error/customer-config-error.d.ts +2 -0
- package/dist/services/integration-api/error/customer-config-error.js +5 -0
- package/dist/services/integration-api/error/customer-config-legacy-error.d.ts +3 -0
- package/dist/services/integration-api/error/customer-config-legacy-error.js +7 -0
- package/dist/services/integration-api/error/handler/customer-config-handler.d.ts +5 -0
- package/dist/services/integration-api/error/handler/customer-config-handler.js +19 -0
- package/dist/services/integration-api/error/handler/customer-config-legacy-handler.d.ts +6 -0
- package/dist/services/integration-api/error/handler/customer-config-legacy-handler.js +24 -0
- package/dist/services/integration-api/error/handler/origin-handler.d.ts +6 -0
- package/dist/services/integration-api/error/handler/origin-handler.js +22 -0
- package/dist/services/integration-api/error/load-customer-error.d.ts +4 -0
- package/dist/services/integration-api/error/load-customer-error.js +10 -0
- package/dist/services/integration-api/error/mandatory-file-missing-error.d.ts +3 -0
- package/dist/services/integration-api/error/mandatory-file-missing-error.js +8 -0
- package/dist/services/integration-api/error/origin-error.d.ts +3 -0
- package/dist/services/integration-api/error/origin-error.js +7 -0
- package/dist/services/integration-api/external/external-file-reader.d.ts +4 -0
- package/dist/services/integration-api/external/external-file-reader.js +17 -0
- package/dist/services/integration-api/factory/integration-api-service-factory.d.ts +13 -0
- package/dist/services/integration-api/factory/integration-api-service-factory.js +55 -0
- package/dist/services/integration-api/file-list.d.ts +18 -0
- package/dist/services/integration-api/file-list.js +79 -0
- package/dist/services/integration-api/file-reader.d.ts +15 -0
- package/dist/services/integration-api/file-reader.js +97 -0
- package/dist/services/integration-api/file-writer.d.ts +9 -0
- package/dist/services/integration-api/file-writer.js +27 -0
- package/dist/services/integration-api/handler/customer-config-handler.d.ts +16 -0
- package/dist/services/integration-api/handler/customer-config-handler.js +55 -0
- package/dist/services/integration-api/handler/file-handler.d.ts +9 -0
- package/dist/services/integration-api/handler/file-handler.js +20 -0
- package/dist/services/integration-api/handler/install-resource-handler.d.ts +33 -0
- package/dist/services/integration-api/handler/install-resource-handler.js +67 -0
- package/dist/services/integration-api/handler/module-handler.d.ts +12 -0
- package/dist/services/integration-api/handler/module-handler.js +20 -0
- package/dist/services/integration-api/handler/server-config-handler.d.ts +8 -0
- package/dist/services/integration-api/handler/server-config-handler.js +21 -0
- package/dist/services/integration-api/integration-api-model.d.ts +89 -0
- package/dist/services/integration-api/integration-api-model.js +2 -0
- package/dist/services/integration-api/integration-api-service.d.ts +21 -0
- package/dist/services/integration-api/integration-api-service.js +76 -0
- package/dist/services/integration-api/struct/customer-config-file.d.ts +10 -0
- package/dist/services/integration-api/struct/customer-config-file.js +32 -0
- package/dist/services/integration-api/struct/customer-config.d.ts +22 -0
- package/dist/services/integration-api/struct/customer-config.js +67 -0
- package/dist/services/integration-api/struct/file.d.ts +19 -0
- package/dist/services/integration-api/struct/file.js +61 -0
- package/dist/services/integration-api/struct/install-resource-file.d.ts +6 -0
- package/dist/services/integration-api/struct/install-resource-file.js +12 -0
- package/dist/services/integration-api/struct/module-file.d.ts +5 -0
- package/dist/services/integration-api/struct/module-file.js +10 -0
- package/dist/services/integration-api/struct/ro-file.d.ts +13 -0
- package/dist/services/integration-api/struct/ro-file.js +26 -0
- package/dist/services/integration-api/struct/server-config-file.d.ts +9 -0
- package/dist/services/integration-api/struct/server-config-file.js +22 -0
- package/dist/services/integration-api/struct/virtual-file.d.ts +14 -0
- package/dist/services/integration-api/struct/virtual-file.js +28 -0
- package/dist/services/integration-api/validator/customer-config-validator.d.ts +5 -0
- package/dist/services/integration-api/validator/customer-config-validator.js +23 -0
- package/dist/services/integration-api/validator/mandatory-files-validator.d.ts +7 -0
- package/dist/services/integration-api/validator/mandatory-files-validator.js +39 -0
- package/dist/services/integration-api/virtual/external-recipe.d.ts +9 -0
- package/dist/services/integration-api/virtual/external-recipe.js +19 -0
- package/dist/services/integration-api/virtual/virtual-file-handler.d.ts +7 -0
- package/dist/services/integration-api/virtual/virtual-file-handler.js +38 -0
- package/dist/services/onboarding/browser/abort-response.d.ts +5 -0
- package/dist/services/onboarding/browser/abort-response.js +10 -0
- package/dist/services/onboarding/browser/baqend-response.d.ts +12 -0
- package/dist/services/onboarding/browser/baqend-response.js +52 -0
- package/dist/services/onboarding/browser/origin-response.d.ts +8 -0
- package/dist/services/onboarding/browser/origin-response.js +20 -0
- package/dist/services/onboarding/config-renderer/install-file-recipe.d.ts +7 -0
- package/dist/services/onboarding/config-renderer/install-file-recipe.js +13 -0
- package/dist/services/onboarding/config-renderer/speed-kit-install-context.d.ts +22 -0
- package/dist/services/onboarding/config-renderer/speed-kit-install-context.js +78 -0
- package/dist/services/onboarding/dashboard/athena-service.d.ts +11 -0
- package/dist/services/onboarding/dashboard/athena-service.js +70 -0
- package/dist/services/onboarding/dashboard/frontend-dist/assets/index-87b53ed4.css +1 -0
- package/dist/services/onboarding/dashboard/frontend-dist/assets/main-274b5625.js +9 -0
- package/dist/services/onboarding/dashboard/frontend-dist/index.html +18 -0
- package/dist/services/onboarding/dashboard/index.d.ts +16 -0
- package/dist/services/onboarding/dashboard/index.js +78 -0
- package/dist/services/onboarding/dashboard/param-query-builder.d.ts +9 -0
- package/dist/services/onboarding/dashboard/param-query-builder.js +67 -0
- package/dist/services/onboarding/dashboard/request-diff-service.d.ts +11 -0
- package/dist/services/onboarding/dashboard/request-diff-service.js +59 -0
- package/dist/services/onboarding/error/vm-error.d.ts +2 -0
- package/dist/services/onboarding/error/vm-error.js +6 -0
- package/dist/services/onboarding/fetch-event-handler.d.ts +19 -0
- package/dist/services/onboarding/fetch-event-handler.js +155 -0
- package/dist/services/onboarding/fetch-events/customer-domain-document-response.d.ts +24 -0
- package/dist/services/onboarding/fetch-events/customer-domain-document-response.js +118 -0
- package/dist/services/onboarding/fetch-events/customer-service-worker-js.d.ts +14 -0
- package/dist/services/onboarding/fetch-events/customer-service-worker-js.js +30 -0
- package/dist/services/onboarding/fetch-events/dashboard-request.d.ts +15 -0
- package/dist/services/onboarding/fetch-events/dashboard-request.js +29 -0
- package/dist/services/onboarding/fetch-events/speed-kit-asset-request.d.ts +26 -0
- package/dist/services/onboarding/fetch-events/speed-kit-asset-request.js +138 -0
- package/dist/services/onboarding/fetch-events/speed-kit-install-html.d.ts +15 -0
- package/dist/services/onboarding/fetch-events/speed-kit-install-html.js +49 -0
- package/dist/services/onboarding/fetch-events/speed-kit-install-js.d.ts +22 -0
- package/dist/services/onboarding/fetch-events/speed-kit-install-js.js +62 -0
- package/dist/services/onboarding/fetch-events/speed-kit-rum-pi-request.d.ts +21 -0
- package/dist/services/onboarding/fetch-events/speed-kit-rum-pi-request.js +43 -0
- package/dist/services/onboarding/fetch-events/speed-kit-service-worker-js.d.ts +17 -0
- package/dist/services/onboarding/fetch-events/speed-kit-service-worker-js.js +27 -0
- package/dist/services/onboarding/file-events/fileWatcher.d.ts +28 -0
- package/dist/services/onboarding/file-events/fileWatcher.js +133 -0
- package/dist/services/onboarding/index.d.ts +3 -0
- package/dist/services/onboarding/index.js +8 -0
- package/dist/services/onboarding/onboarding-model.d.ts +30 -0
- package/dist/services/onboarding/onboarding-model.js +53 -0
- package/dist/services/onboarding/onboarding-service-factory.d.ts +16 -0
- package/dist/services/onboarding/onboarding-service-factory.js +163 -0
- package/dist/services/onboarding/onboarding-service.d.ts +31 -0
- package/dist/services/onboarding/onboarding-service.js +130 -0
- package/dist/services/onboarding/request-cache/cache.d.ts +15 -0
- package/dist/services/onboarding/request-cache/cache.js +32 -0
- package/dist/services/onboarding/templates/install-speed-kit-html-template.d.ts +4 -0
- package/dist/services/onboarding/templates/install-speed-kit-html-template.js +264 -0
- package/dist/services/onboarding/templates/install-speed-kit-js-template.d.ts +4 -0
- package/dist/services/onboarding/templates/install-speed-kit-js-template.js +41 -0
- package/dist/services/onboarding/todo-collector.d.ts +18 -0
- package/dist/services/onboarding/todo-collector.js +48 -0
- package/dist/services/prewarm-service.d.ts +5 -0
- package/dist/services/prewarm-service.js +57 -0
- package/dist/services/pull/index.d.ts +3 -0
- package/dist/services/pull/index.js +6 -0
- package/dist/services/pull/pull-service-factory.d.ts +12 -0
- package/dist/services/pull/pull-service-factory.js +44 -0
- package/dist/services/pull/pull-service-model.d.ts +43 -0
- package/dist/services/pull/pull-service-model.js +27 -0
- package/dist/services/pull/pull-service.d.ts +18 -0
- package/dist/services/pull/pull-service.js +106 -0
- package/dist/templates/pops.js +97 -0
- package/dist/templates/speedKit.Revalidated.js +86 -0
- package/oclif.manifest.json +700 -0
- package/package.json +128 -0
package/README.md
ADDED
|
@@ -0,0 +1,775 @@
|
|
|
1
|
+
speed-kit-cli
|
|
2
|
+
=============
|
|
3
|
+
|
|
4
|
+
Speed Kit CLI
|
|
5
|
+
|
|
6
|
+
[](https://oclif.io)
|
|
7
|
+
[](https://npmjs.org/package/speed-kit-cli)
|
|
8
|
+
[](https://npmjs.org/package/speed-kit-cli)
|
|
9
|
+
[](https://github.com/baqend/speed-kit-cli/blob/master/package.json)
|
|
10
|
+
|
|
11
|
+
## Configuration:
|
|
12
|
+
via envVars:
|
|
13
|
+
```shell
|
|
14
|
+
$CHROME_PATH # path to chromeBinary
|
|
15
|
+
$CHROME_USER_PROFILE_PATH # path to save custom chromeUserProfile
|
|
16
|
+
$SLACK_TOKEN # slackToken that will be injected in deploymentDetection
|
|
17
|
+
$SPEED_KIT_EXTENSION_PATH # path to speedKitDevtoolsBrowserExtension
|
|
18
|
+
$TEST_APP # name of your testApp
|
|
19
|
+
$IDEA_INITIAL_DIRECTORY # directoryPath to intellij shellBinary
|
|
20
|
+
$DIFF_EXEC # path or executable of you favorite diffTool e.g. "vscode --diff", "codium --diff", "diff", "idea diff"
|
|
21
|
+
DIFF_EXEC_TEMPLATE # defaults to "$exec $file1 $file2" resolves in "diff pathToFile1 pathToFile2"
|
|
22
|
+
```
|
|
23
|
+
or via config file:
|
|
24
|
+
Unix: ~/.config/speed-kit-cli/config.json
|
|
25
|
+
Windows: %LOCALAPPDATA%\speed-kit-cli/config.json
|
|
26
|
+
|
|
27
|
+
```javascript
|
|
28
|
+
{
|
|
29
|
+
"chromePath": "", //path to chromeBinary
|
|
30
|
+
"chromeUserProfilePath": "", //path to save custom chromeUserProfile
|
|
31
|
+
"slackToken": "", //slackToken that will be injected in deploymentDetection
|
|
32
|
+
"speedKitBrowserExtensionPath": "", //path to speedKitDevtoolsBrowserExtension
|
|
33
|
+
"testApp": "", //name of your testApp
|
|
34
|
+
"ideaDirectory": "", //directoryPath to intellij shellBinary
|
|
35
|
+
"diffExec": "" // path or executable of you favorite diffTool e.g. "vscode --diff", "codium --diff", "diff", "idea diff"
|
|
36
|
+
"diffExecTemplate": "" // defaults to "$exec $file1 $file2" resolves in "diff pathToFile1 pathToFile2"
|
|
37
|
+
}
|
|
38
|
+
```
|
|
39
|
+
example for diffing with intellij:
|
|
40
|
+
```javascript
|
|
41
|
+
{
|
|
42
|
+
"diffExec": "idea diff"
|
|
43
|
+
"diffExecTemplate": ""
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
example for diffing with VSCodium:
|
|
49
|
+
```javascript
|
|
50
|
+
{
|
|
51
|
+
"diffExec": "codium"
|
|
52
|
+
"diffExecTemplate": "$exec --diff $file1 $file2"
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
example for changing the order of files to diff:
|
|
58
|
+
```javascript
|
|
59
|
+
{
|
|
60
|
+
"diffExecTemplate": "$exec $file2 $file1"
|
|
61
|
+
}
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
<!-- toc -->
|
|
67
|
+
* [Usage](#usage)
|
|
68
|
+
* [Commands](#commands)
|
|
69
|
+
<!-- tocstop -->
|
|
70
|
+
# Usage
|
|
71
|
+
<!-- usage -->
|
|
72
|
+
```sh-session
|
|
73
|
+
$ npm install -g @speedkit/cli
|
|
74
|
+
$ sk COMMAND
|
|
75
|
+
running command...
|
|
76
|
+
$ sk (--version)
|
|
77
|
+
@speedkit/cli/2.4.1 linux-x64 node-v20.11.1
|
|
78
|
+
$ sk --help [COMMAND]
|
|
79
|
+
USAGE
|
|
80
|
+
$ sk COMMAND
|
|
81
|
+
...
|
|
82
|
+
```
|
|
83
|
+
<!-- usagestop -->
|
|
84
|
+
# Commands
|
|
85
|
+
<!-- commands -->
|
|
86
|
+
* [`sk autocomplete [SHELL]`](#sk-autocomplete-shell)
|
|
87
|
+
* [`sk build-parameter-query CUSTOMERPATH`](#sk-build-parameter-query-customerpath)
|
|
88
|
+
* [`sk build-prewarm-query CUSTOMERPATH`](#sk-build-prewarm-query-customerpath)
|
|
89
|
+
* [`sk deploy CUSTOMERPATH`](#sk-deploy-customerpath)
|
|
90
|
+
* [`sk document-handler CUSTOMERPATH`](#sk-document-handler-customerpath)
|
|
91
|
+
* [`sk find-pops APP`](#sk-find-pops-app)
|
|
92
|
+
* [`sk generate-customer-config`](#sk-generate-customer-config)
|
|
93
|
+
* [`sk generate-pop-config APP`](#sk-generate-pop-config-app)
|
|
94
|
+
* [`sk help [COMMANDS]`](#sk-help-commands)
|
|
95
|
+
* [`sk login [APP]`](#sk-login-app)
|
|
96
|
+
* [`sk onboarding CUSTOMERPATH`](#sk-onboarding-customerpath)
|
|
97
|
+
* [`sk param-diff PAGEURL`](#sk-param-diff-pageurl)
|
|
98
|
+
* [`sk plugins`](#sk-plugins)
|
|
99
|
+
* [`sk plugins:install PLUGIN...`](#sk-pluginsinstall-plugin)
|
|
100
|
+
* [`sk plugins:inspect PLUGIN...`](#sk-pluginsinspect-plugin)
|
|
101
|
+
* [`sk plugins:install PLUGIN...`](#sk-pluginsinstall-plugin-1)
|
|
102
|
+
* [`sk plugins:link PLUGIN`](#sk-pluginslink-plugin)
|
|
103
|
+
* [`sk plugins:uninstall PLUGIN...`](#sk-pluginsuninstall-plugin)
|
|
104
|
+
* [`sk plugins reset`](#sk-plugins-reset)
|
|
105
|
+
* [`sk plugins:uninstall PLUGIN...`](#sk-pluginsuninstall-plugin-1)
|
|
106
|
+
* [`sk plugins:uninstall PLUGIN...`](#sk-pluginsuninstall-plugin-2)
|
|
107
|
+
* [`sk plugins update`](#sk-plugins-update)
|
|
108
|
+
* [`sk pop-prewarm APP`](#sk-pop-prewarm-app)
|
|
109
|
+
* [`sk prewarm APP PATH`](#sk-prewarm-app-path)
|
|
110
|
+
* [`sk pull CUSTOMERPATH`](#sk-pull-customerpath)
|
|
111
|
+
* [`sk wpt-launcher URLS TESTID`](#sk-wpt-launcher-urls-testid)
|
|
112
|
+
|
|
113
|
+
## `sk autocomplete [SHELL]`
|
|
114
|
+
|
|
115
|
+
Display autocomplete installation instructions.
|
|
116
|
+
|
|
117
|
+
```
|
|
118
|
+
USAGE
|
|
119
|
+
$ sk autocomplete [SHELL] [-r]
|
|
120
|
+
|
|
121
|
+
ARGUMENTS
|
|
122
|
+
SHELL (zsh|bash|powershell) Shell type
|
|
123
|
+
|
|
124
|
+
FLAGS
|
|
125
|
+
-r, --refresh-cache Refresh cache (ignores displaying instructions)
|
|
126
|
+
|
|
127
|
+
DESCRIPTION
|
|
128
|
+
Display autocomplete installation instructions.
|
|
129
|
+
|
|
130
|
+
EXAMPLES
|
|
131
|
+
$ sk autocomplete
|
|
132
|
+
|
|
133
|
+
$ sk autocomplete bash
|
|
134
|
+
|
|
135
|
+
$ sk autocomplete zsh
|
|
136
|
+
|
|
137
|
+
$ sk autocomplete powershell
|
|
138
|
+
|
|
139
|
+
$ sk autocomplete --refresh-cache
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v3.0.1/src/commands/autocomplete/index.ts)_
|
|
143
|
+
|
|
144
|
+
## `sk build-parameter-query CUSTOMERPATH`
|
|
145
|
+
|
|
146
|
+
Build a parameter query that can be executed in Athena
|
|
147
|
+
|
|
148
|
+
```
|
|
149
|
+
USAGE
|
|
150
|
+
$ sk build-parameter-query CUSTOMERPATH [-c <value>]
|
|
151
|
+
|
|
152
|
+
ARGUMENTS
|
|
153
|
+
CUSTOMERPATH The customer config path
|
|
154
|
+
|
|
155
|
+
FLAGS
|
|
156
|
+
-c, --configName=<value> [default: production] The costumer config name
|
|
157
|
+
|
|
158
|
+
DESCRIPTION
|
|
159
|
+
Build a parameter query that can be executed in Athena
|
|
160
|
+
|
|
161
|
+
EXAMPLES
|
|
162
|
+
$ sk build-parameter-query <customerPath> -c <configName>
|
|
163
|
+
|
|
164
|
+
$ sk build-parameter-query customer/decathlon.de -c production
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
## `sk build-prewarm-query CUSTOMERPATH`
|
|
168
|
+
|
|
169
|
+
Build a prewarm query that can be executed in Athena
|
|
170
|
+
|
|
171
|
+
```
|
|
172
|
+
USAGE
|
|
173
|
+
$ sk build-prewarm-query CUSTOMERPATH [-c <value>]
|
|
174
|
+
|
|
175
|
+
ARGUMENTS
|
|
176
|
+
CUSTOMERPATH The customer config path
|
|
177
|
+
|
|
178
|
+
FLAGS
|
|
179
|
+
-c, --configName=<value> [default: production] The costumer config name
|
|
180
|
+
|
|
181
|
+
DESCRIPTION
|
|
182
|
+
Build a prewarm query that can be executed in Athena
|
|
183
|
+
|
|
184
|
+
EXAMPLES
|
|
185
|
+
$ sk build-prewarm-query <customerPath> -c <configName>
|
|
186
|
+
|
|
187
|
+
$ sk build-prewarm-query customer/decathlon.de -c production
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
## `sk deploy CUSTOMERPATH`
|
|
191
|
+
|
|
192
|
+
Deploys the specified customer config while comparing to the live version before
|
|
193
|
+
|
|
194
|
+
```
|
|
195
|
+
USAGE
|
|
196
|
+
$ sk deploy CUSTOMERPATH [-c <value>] [-t <value>] [-a <value>] [-d]
|
|
197
|
+
|
|
198
|
+
ARGUMENTS
|
|
199
|
+
CUSTOMERPATH The customer config path
|
|
200
|
+
|
|
201
|
+
FLAGS
|
|
202
|
+
-a, --artifacts=<value> Whitelist of files to deploy
|
|
203
|
+
-c, --configName=<value> [default: production] The costumer config name
|
|
204
|
+
-d, --dryRun Do not deploy changes
|
|
205
|
+
-t, --slackToken=<value> Slack hook found on 1Pass
|
|
206
|
+
|
|
207
|
+
DESCRIPTION
|
|
208
|
+
Deploys the specified customer config while comparing to the live version before
|
|
209
|
+
|
|
210
|
+
EXAMPLES
|
|
211
|
+
$ sk deploy <customerPath> -c <configName> -t <slackToken> -a <artifacts> -d <dryRun>
|
|
212
|
+
|
|
213
|
+
$ sk deploy customer/decathlon.de -c production -t someSlackToken -a dynamic,SpeedKit -d
|
|
214
|
+
```
|
|
215
|
+
|
|
216
|
+
## `sk document-handler CUSTOMERPATH`
|
|
217
|
+
|
|
218
|
+
Creates testable documentHandler in folder {CUSTOMER_PATH}/test/src/
|
|
219
|
+
|
|
220
|
+
```
|
|
221
|
+
USAGE
|
|
222
|
+
$ sk document-handler CUSTOMERPATH [-c <value>] [-t <value>]
|
|
223
|
+
|
|
224
|
+
ARGUMENTS
|
|
225
|
+
CUSTOMERPATH The customer config path
|
|
226
|
+
|
|
227
|
+
FLAGS
|
|
228
|
+
-c, --configName=<value> [default: production] The costumer config name
|
|
229
|
+
-t, --CreateTests=<value>... name of the test to create
|
|
230
|
+
|
|
231
|
+
DESCRIPTION
|
|
232
|
+
Creates testable documentHandler in folder {CUSTOMER_PATH}/test/src/
|
|
233
|
+
|
|
234
|
+
EXAMPLES
|
|
235
|
+
$ sk documentHandler <customerPath> -c <configName>
|
|
236
|
+
|
|
237
|
+
$ sk deploy customer/decathlon.de -c production
|
|
238
|
+
```
|
|
239
|
+
|
|
240
|
+
## `sk find-pops APP`
|
|
241
|
+
|
|
242
|
+
Get IPs for all fastly PoPs
|
|
243
|
+
|
|
244
|
+
```
|
|
245
|
+
USAGE
|
|
246
|
+
$ sk find-pops APP [-i <value>]
|
|
247
|
+
|
|
248
|
+
ARGUMENTS
|
|
249
|
+
APP The customers appName
|
|
250
|
+
|
|
251
|
+
FLAGS
|
|
252
|
+
-i, --ips=<value> [default: 151.101.x.194]
|
|
253
|
+
|
|
254
|
+
DESCRIPTION
|
|
255
|
+
Get IPs for all fastly PoPs
|
|
256
|
+
|
|
257
|
+
EXAMPLES
|
|
258
|
+
$ sk find-pops <app> -i <ips>
|
|
259
|
+
|
|
260
|
+
$ sk find-pops appName -i ips
|
|
261
|
+
```
|
|
262
|
+
|
|
263
|
+
## `sk generate-customer-config`
|
|
264
|
+
|
|
265
|
+
Generates a customer config guided by a wizard 🧙
|
|
266
|
+
|
|
267
|
+
```
|
|
268
|
+
USAGE
|
|
269
|
+
$ sk generate-customer-config [-a <value>] [-d <value>]
|
|
270
|
+
|
|
271
|
+
FLAGS
|
|
272
|
+
-a, --app=<value> The SK app name which is also being used the config output directory name (kebab-case)
|
|
273
|
+
-d, --customersDir=<value> Name of the sk-onboarding directory where all customer configs are being stored (default:
|
|
274
|
+
"customers")
|
|
275
|
+
|
|
276
|
+
DESCRIPTION
|
|
277
|
+
Generates a customer config guided by a wizard 🧙
|
|
278
|
+
|
|
279
|
+
EXAMPLES
|
|
280
|
+
$ sk generate-customer-config -a <app> -d <customersDir>
|
|
281
|
+
|
|
282
|
+
$ sk generate-customer-config -a decathlon -d customers
|
|
283
|
+
```
|
|
284
|
+
|
|
285
|
+
## `sk generate-pop-config APP`
|
|
286
|
+
|
|
287
|
+
Generate a pop config for the given app
|
|
288
|
+
|
|
289
|
+
```
|
|
290
|
+
USAGE
|
|
291
|
+
$ sk generate-pop-config APP [-c <value>] [-d] [-p <value>] [-t <value>] [-r]
|
|
292
|
+
|
|
293
|
+
ARGUMENTS
|
|
294
|
+
APP The customers appName
|
|
295
|
+
|
|
296
|
+
FLAGS
|
|
297
|
+
-c, --coverage=<value> [default: 95] The percentage of traffic which should be covered through prewarming.
|
|
298
|
+
-d, --[no-]deploy Default it diffs with the deployed config and ask for deployment. If the flag is passed
|
|
299
|
+
deployment will be skipped or forced.
|
|
300
|
+
-p, --pop-limit=<value> [default: 5] The maximal pop count which should prewarmed.
|
|
301
|
+
-r, --use-rum Compute the pop statistics based on RUM. Otherwise the real Speed Kit traffic is used.
|
|
302
|
+
-t, --traffic-share=<value> [default: 5] The minimum traffic share in percent a pop must have to be actually
|
|
303
|
+
prewarmed.
|
|
304
|
+
|
|
305
|
+
DESCRIPTION
|
|
306
|
+
Generate a pop config for the given app
|
|
307
|
+
|
|
308
|
+
EXAMPLES
|
|
309
|
+
$ sk generate-pop-config <app>
|
|
310
|
+
|
|
311
|
+
$ sk generate-pop-config --use-rum <app>
|
|
312
|
+
|
|
313
|
+
$ sk generate-pop-config --coverage 95 appName
|
|
314
|
+
|
|
315
|
+
$ sk generate-pop-config --no-deploy appName
|
|
316
|
+
|
|
317
|
+
$ sk generate-pop-config --deploy appName
|
|
318
|
+
|
|
319
|
+
$ sk generate-pop-config --coverage 95 --pop-limit 6 --traffic-share 2 --deploy appName
|
|
320
|
+
```
|
|
321
|
+
|
|
322
|
+
## `sk help [COMMANDS]`
|
|
323
|
+
|
|
324
|
+
Display help for sk.
|
|
325
|
+
|
|
326
|
+
```
|
|
327
|
+
USAGE
|
|
328
|
+
$ sk help [COMMANDS] [-n]
|
|
329
|
+
|
|
330
|
+
ARGUMENTS
|
|
331
|
+
COMMANDS Command to show help for.
|
|
332
|
+
|
|
333
|
+
FLAGS
|
|
334
|
+
-n, --nested-commands Include all nested commands in the output.
|
|
335
|
+
|
|
336
|
+
DESCRIPTION
|
|
337
|
+
Display help for sk.
|
|
338
|
+
```
|
|
339
|
+
|
|
340
|
+
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.0.5/src/commands/help.ts)_
|
|
341
|
+
|
|
342
|
+
## `sk login [APP]`
|
|
343
|
+
|
|
344
|
+
Login to your app
|
|
345
|
+
|
|
346
|
+
```
|
|
347
|
+
USAGE
|
|
348
|
+
$ sk login [APP]
|
|
349
|
+
|
|
350
|
+
ARGUMENTS
|
|
351
|
+
APP [default: bbq] The customers appName
|
|
352
|
+
|
|
353
|
+
DESCRIPTION
|
|
354
|
+
Login to your app
|
|
355
|
+
|
|
356
|
+
EXAMPLES
|
|
357
|
+
$ sk login <app>
|
|
358
|
+
|
|
359
|
+
$ sk login appName
|
|
360
|
+
```
|
|
361
|
+
|
|
362
|
+
## `sk onboarding CUSTOMERPATH`
|
|
363
|
+
|
|
364
|
+
Start a local dev environment for building and testing the Speed Kit configuration
|
|
365
|
+
|
|
366
|
+
```
|
|
367
|
+
USAGE
|
|
368
|
+
$ sk onboarding CUSTOMERPATH [-c <value>] [-l] [-v]
|
|
369
|
+
|
|
370
|
+
ARGUMENTS
|
|
371
|
+
CUSTOMERPATH The customer config path
|
|
372
|
+
|
|
373
|
+
FLAGS
|
|
374
|
+
-c, --configName=<value> [default: production] The costumer config name
|
|
375
|
+
-l, --local Run with local documentHandler
|
|
376
|
+
-v, --verboseLevel Show all messages
|
|
377
|
+
|
|
378
|
+
DESCRIPTION
|
|
379
|
+
Start a local dev environment for building and testing the Speed Kit configuration
|
|
380
|
+
|
|
381
|
+
EXAMPLES
|
|
382
|
+
$ sk onboarding <customerPath> -c <configName>
|
|
383
|
+
|
|
384
|
+
$ sk onboarding customer/decathlon.de -c production
|
|
385
|
+
```
|
|
386
|
+
|
|
387
|
+
## `sk param-diff PAGEURL`
|
|
388
|
+
|
|
389
|
+
Shows difference in documents with query parameters on/off
|
|
390
|
+
|
|
391
|
+
```
|
|
392
|
+
USAGE
|
|
393
|
+
$ sk param-diff PAGEURL [-h]
|
|
394
|
+
|
|
395
|
+
ARGUMENTS
|
|
396
|
+
PAGEURL Link of the page
|
|
397
|
+
|
|
398
|
+
FLAGS
|
|
399
|
+
-h, --hideDiff Hide the code diff in IDE code diff window
|
|
400
|
+
|
|
401
|
+
DESCRIPTION
|
|
402
|
+
Shows difference in documents with query parameters on/off
|
|
403
|
+
|
|
404
|
+
EXAMPLES
|
|
405
|
+
$ sk prewarm <pageUrl> -h
|
|
406
|
+
|
|
407
|
+
$ sk prewarm https://www.decathlon.de/ -h
|
|
408
|
+
```
|
|
409
|
+
|
|
410
|
+
## `sk plugins`
|
|
411
|
+
|
|
412
|
+
List installed plugins.
|
|
413
|
+
|
|
414
|
+
```
|
|
415
|
+
USAGE
|
|
416
|
+
$ sk plugins [--json] [--core]
|
|
417
|
+
|
|
418
|
+
FLAGS
|
|
419
|
+
--core Show core plugins.
|
|
420
|
+
|
|
421
|
+
GLOBAL FLAGS
|
|
422
|
+
--json Format output as json.
|
|
423
|
+
|
|
424
|
+
DESCRIPTION
|
|
425
|
+
List installed plugins.
|
|
426
|
+
|
|
427
|
+
EXAMPLES
|
|
428
|
+
$ sk plugins
|
|
429
|
+
```
|
|
430
|
+
|
|
431
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.1.2/src/commands/plugins/index.ts)_
|
|
432
|
+
|
|
433
|
+
## `sk plugins:install PLUGIN...`
|
|
434
|
+
|
|
435
|
+
Installs a plugin into the CLI.
|
|
436
|
+
|
|
437
|
+
```
|
|
438
|
+
USAGE
|
|
439
|
+
$ sk plugins add plugins:install PLUGIN...
|
|
440
|
+
|
|
441
|
+
ARGUMENTS
|
|
442
|
+
PLUGIN Plugin to install.
|
|
443
|
+
|
|
444
|
+
FLAGS
|
|
445
|
+
-f, --force Run yarn install with force flag.
|
|
446
|
+
-h, --help Show CLI help.
|
|
447
|
+
-s, --silent Silences yarn output.
|
|
448
|
+
-v, --verbose Show verbose yarn output.
|
|
449
|
+
|
|
450
|
+
DESCRIPTION
|
|
451
|
+
Installs a plugin into the CLI.
|
|
452
|
+
Can be installed from npm or a git url.
|
|
453
|
+
|
|
454
|
+
Installation of a user-installed plugin will override a core plugin.
|
|
455
|
+
|
|
456
|
+
e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command
|
|
457
|
+
will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in
|
|
458
|
+
the CLI without the need to patch and update the whole CLI.
|
|
459
|
+
|
|
460
|
+
|
|
461
|
+
ALIASES
|
|
462
|
+
$ sk plugins add
|
|
463
|
+
|
|
464
|
+
EXAMPLES
|
|
465
|
+
$ sk plugins:install myplugin
|
|
466
|
+
|
|
467
|
+
$ sk plugins:install https://github.com/someuser/someplugin
|
|
468
|
+
|
|
469
|
+
$ sk plugins:install someuser/someplugin
|
|
470
|
+
```
|
|
471
|
+
|
|
472
|
+
## `sk plugins:inspect PLUGIN...`
|
|
473
|
+
|
|
474
|
+
Displays installation properties of a plugin.
|
|
475
|
+
|
|
476
|
+
```
|
|
477
|
+
USAGE
|
|
478
|
+
$ sk plugins inspect PLUGIN...
|
|
479
|
+
|
|
480
|
+
ARGUMENTS
|
|
481
|
+
PLUGIN [default: .] Plugin to inspect.
|
|
482
|
+
|
|
483
|
+
FLAGS
|
|
484
|
+
-h, --help Show CLI help.
|
|
485
|
+
-v, --verbose
|
|
486
|
+
|
|
487
|
+
GLOBAL FLAGS
|
|
488
|
+
--json Format output as json.
|
|
489
|
+
|
|
490
|
+
DESCRIPTION
|
|
491
|
+
Displays installation properties of a plugin.
|
|
492
|
+
|
|
493
|
+
EXAMPLES
|
|
494
|
+
$ sk plugins:inspect myplugin
|
|
495
|
+
```
|
|
496
|
+
|
|
497
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.1.2/src/commands/plugins/inspect.ts)_
|
|
498
|
+
|
|
499
|
+
## `sk plugins:install PLUGIN...`
|
|
500
|
+
|
|
501
|
+
Installs a plugin into the CLI.
|
|
502
|
+
|
|
503
|
+
```
|
|
504
|
+
USAGE
|
|
505
|
+
$ sk plugins install PLUGIN...
|
|
506
|
+
|
|
507
|
+
ARGUMENTS
|
|
508
|
+
PLUGIN Plugin to install.
|
|
509
|
+
|
|
510
|
+
FLAGS
|
|
511
|
+
-f, --force Run yarn install with force flag.
|
|
512
|
+
-h, --help Show CLI help.
|
|
513
|
+
-s, --silent Silences yarn output.
|
|
514
|
+
-v, --verbose Show verbose yarn output.
|
|
515
|
+
|
|
516
|
+
DESCRIPTION
|
|
517
|
+
Installs a plugin into the CLI.
|
|
518
|
+
Can be installed from npm or a git url.
|
|
519
|
+
|
|
520
|
+
Installation of a user-installed plugin will override a core plugin.
|
|
521
|
+
|
|
522
|
+
e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command
|
|
523
|
+
will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in
|
|
524
|
+
the CLI without the need to patch and update the whole CLI.
|
|
525
|
+
|
|
526
|
+
|
|
527
|
+
ALIASES
|
|
528
|
+
$ sk plugins add
|
|
529
|
+
|
|
530
|
+
EXAMPLES
|
|
531
|
+
$ sk plugins:install myplugin
|
|
532
|
+
|
|
533
|
+
$ sk plugins:install https://github.com/someuser/someplugin
|
|
534
|
+
|
|
535
|
+
$ sk plugins:install someuser/someplugin
|
|
536
|
+
```
|
|
537
|
+
|
|
538
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.1.2/src/commands/plugins/install.ts)_
|
|
539
|
+
|
|
540
|
+
## `sk plugins:link PLUGIN`
|
|
541
|
+
|
|
542
|
+
Links a plugin into the CLI for development.
|
|
543
|
+
|
|
544
|
+
```
|
|
545
|
+
USAGE
|
|
546
|
+
$ sk plugins link PLUGIN
|
|
547
|
+
|
|
548
|
+
ARGUMENTS
|
|
549
|
+
PATH [default: .] path to plugin
|
|
550
|
+
|
|
551
|
+
FLAGS
|
|
552
|
+
-h, --help Show CLI help.
|
|
553
|
+
-v, --verbose
|
|
554
|
+
--[no-]install Install dependencies after linking the plugin.
|
|
555
|
+
|
|
556
|
+
DESCRIPTION
|
|
557
|
+
Links a plugin into the CLI for development.
|
|
558
|
+
Installation of a linked plugin will override a user-installed or core plugin.
|
|
559
|
+
|
|
560
|
+
e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello'
|
|
561
|
+
command will override the user-installed or core plugin implementation. This is useful for development work.
|
|
562
|
+
|
|
563
|
+
|
|
564
|
+
EXAMPLES
|
|
565
|
+
$ sk plugins:link myplugin
|
|
566
|
+
```
|
|
567
|
+
|
|
568
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.1.2/src/commands/plugins/link.ts)_
|
|
569
|
+
|
|
570
|
+
## `sk plugins:uninstall PLUGIN...`
|
|
571
|
+
|
|
572
|
+
Removes a plugin from the CLI.
|
|
573
|
+
|
|
574
|
+
```
|
|
575
|
+
USAGE
|
|
576
|
+
$ sk plugins remove plugins:uninstall PLUGIN...
|
|
577
|
+
|
|
578
|
+
ARGUMENTS
|
|
579
|
+
PLUGIN plugin to uninstall
|
|
580
|
+
|
|
581
|
+
FLAGS
|
|
582
|
+
-h, --help Show CLI help.
|
|
583
|
+
-v, --verbose
|
|
584
|
+
|
|
585
|
+
DESCRIPTION
|
|
586
|
+
Removes a plugin from the CLI.
|
|
587
|
+
|
|
588
|
+
ALIASES
|
|
589
|
+
$ sk plugins unlink
|
|
590
|
+
$ sk plugins remove
|
|
591
|
+
```
|
|
592
|
+
|
|
593
|
+
## `sk plugins reset`
|
|
594
|
+
|
|
595
|
+
Remove all user-installed and linked plugins.
|
|
596
|
+
|
|
597
|
+
```
|
|
598
|
+
USAGE
|
|
599
|
+
$ sk plugins reset
|
|
600
|
+
```
|
|
601
|
+
|
|
602
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.1.2/src/commands/plugins/reset.ts)_
|
|
603
|
+
|
|
604
|
+
## `sk plugins:uninstall PLUGIN...`
|
|
605
|
+
|
|
606
|
+
Removes a plugin from the CLI.
|
|
607
|
+
|
|
608
|
+
```
|
|
609
|
+
USAGE
|
|
610
|
+
$ sk plugins uninstall PLUGIN...
|
|
611
|
+
|
|
612
|
+
ARGUMENTS
|
|
613
|
+
PLUGIN plugin to uninstall
|
|
614
|
+
|
|
615
|
+
FLAGS
|
|
616
|
+
-h, --help Show CLI help.
|
|
617
|
+
-v, --verbose
|
|
618
|
+
|
|
619
|
+
DESCRIPTION
|
|
620
|
+
Removes a plugin from the CLI.
|
|
621
|
+
|
|
622
|
+
ALIASES
|
|
623
|
+
$ sk plugins unlink
|
|
624
|
+
$ sk plugins remove
|
|
625
|
+
```
|
|
626
|
+
|
|
627
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.1.2/src/commands/plugins/uninstall.ts)_
|
|
628
|
+
|
|
629
|
+
## `sk plugins:uninstall PLUGIN...`
|
|
630
|
+
|
|
631
|
+
Removes a plugin from the CLI.
|
|
632
|
+
|
|
633
|
+
```
|
|
634
|
+
USAGE
|
|
635
|
+
$ sk plugins unlink plugins:uninstall PLUGIN...
|
|
636
|
+
|
|
637
|
+
ARGUMENTS
|
|
638
|
+
PLUGIN plugin to uninstall
|
|
639
|
+
|
|
640
|
+
FLAGS
|
|
641
|
+
-h, --help Show CLI help.
|
|
642
|
+
-v, --verbose
|
|
643
|
+
|
|
644
|
+
DESCRIPTION
|
|
645
|
+
Removes a plugin from the CLI.
|
|
646
|
+
|
|
647
|
+
ALIASES
|
|
648
|
+
$ sk plugins unlink
|
|
649
|
+
$ sk plugins remove
|
|
650
|
+
```
|
|
651
|
+
|
|
652
|
+
## `sk plugins update`
|
|
653
|
+
|
|
654
|
+
Update installed plugins.
|
|
655
|
+
|
|
656
|
+
```
|
|
657
|
+
USAGE
|
|
658
|
+
$ sk plugins update [-h] [-v]
|
|
659
|
+
|
|
660
|
+
FLAGS
|
|
661
|
+
-h, --help Show CLI help.
|
|
662
|
+
-v, --verbose
|
|
663
|
+
|
|
664
|
+
DESCRIPTION
|
|
665
|
+
Update installed plugins.
|
|
666
|
+
```
|
|
667
|
+
|
|
668
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.1.2/src/commands/plugins/update.ts)_
|
|
669
|
+
|
|
670
|
+
## `sk pop-prewarm APP`
|
|
671
|
+
|
|
672
|
+
Pre-warm Fastly PoPs
|
|
673
|
+
|
|
674
|
+
```
|
|
675
|
+
USAGE
|
|
676
|
+
$ sk pop-prewarm APP [-i <value>] [-c <value>]
|
|
677
|
+
|
|
678
|
+
ARGUMENTS
|
|
679
|
+
APP The customers appName
|
|
680
|
+
|
|
681
|
+
FLAGS
|
|
682
|
+
-c, --contentTypes=<value> [default: image]
|
|
683
|
+
-i, --ips=<value> [default: 151.101.120.194]
|
|
684
|
+
|
|
685
|
+
DESCRIPTION
|
|
686
|
+
Pre-warm Fastly PoPs
|
|
687
|
+
|
|
688
|
+
EXAMPLES
|
|
689
|
+
$ sk pop-prewarm <app> -c <contentTypes> -i <ips>
|
|
690
|
+
|
|
691
|
+
$ sk pop-prewarm decathlon -c image,style -i 151.101.120.194
|
|
692
|
+
```
|
|
693
|
+
|
|
694
|
+
## `sk prewarm APP PATH`
|
|
695
|
+
|
|
696
|
+
Pre-warm Fastly
|
|
697
|
+
|
|
698
|
+
```
|
|
699
|
+
USAGE
|
|
700
|
+
$ sk prewarm APP PATH [-p <value> | -v <value>] [-d <value>] [-k]
|
|
701
|
+
|
|
702
|
+
ARGUMENTS
|
|
703
|
+
APP The customer app name
|
|
704
|
+
PATH path to prewarmFile
|
|
705
|
+
|
|
706
|
+
FLAGS
|
|
707
|
+
-d, --delay=<value> Request delay in ms
|
|
708
|
+
-k, --keepParameterSorting Prevents alphabetical sorting of the URL parameters
|
|
709
|
+
-p, --variationPath=<value>
|
|
710
|
+
-v, --variation=<value> [default: DEFAULT]
|
|
711
|
+
|
|
712
|
+
DESCRIPTION
|
|
713
|
+
Pre-warm Fastly
|
|
714
|
+
|
|
715
|
+
EXAMPLES
|
|
716
|
+
for a single variation:
|
|
717
|
+
|
|
718
|
+
$ sk prewarm <app> <path> -v <variation> -d <delay> -k
|
|
719
|
+
|
|
720
|
+
$ sk prewarm decathlon C:\Users\testUser\file.csv -v MOBILE -d 1200 -k
|
|
721
|
+
|
|
722
|
+
|
|
723
|
+
|
|
724
|
+
for a list of variations:
|
|
725
|
+
|
|
726
|
+
$ sk prewarm <app> <path> -p <variationPath> -d <delay> -k
|
|
727
|
+
|
|
728
|
+
$ sk prewarm decathlon C:\Users\testUser\file.csv -p C:\Users\testUser\variations.csv -d 1200 -k
|
|
729
|
+
```
|
|
730
|
+
|
|
731
|
+
## `sk pull CUSTOMERPATH`
|
|
732
|
+
|
|
733
|
+
Pull the specified customer config from orestes
|
|
734
|
+
|
|
735
|
+
```
|
|
736
|
+
USAGE
|
|
737
|
+
$ sk pull CUSTOMERPATH [-c <value>]
|
|
738
|
+
|
|
739
|
+
ARGUMENTS
|
|
740
|
+
CUSTOMERPATH The customer config path
|
|
741
|
+
|
|
742
|
+
FLAGS
|
|
743
|
+
-c, --configName=<value> [default: production] The costumer config name
|
|
744
|
+
|
|
745
|
+
DESCRIPTION
|
|
746
|
+
Pull the specified customer config from orestes
|
|
747
|
+
|
|
748
|
+
EXAMPLES
|
|
749
|
+
$ sk pull <customerPath>
|
|
750
|
+
|
|
751
|
+
$ sk pull customer/decathlon.de -c production
|
|
752
|
+
```
|
|
753
|
+
|
|
754
|
+
## `sk wpt-launcher URLS TESTID`
|
|
755
|
+
|
|
756
|
+
Analyze the performance impact that Speed Kit has compared to the original version.
|
|
757
|
+
|
|
758
|
+
```
|
|
759
|
+
USAGE
|
|
760
|
+
$ sk wpt-launcher URLS TESTID [-c <value>] [-m <value>] [-g <value>]
|
|
761
|
+
|
|
762
|
+
FLAGS
|
|
763
|
+
-c, --cookies=<value>
|
|
764
|
+
-g, --group=<value> [default: A]
|
|
765
|
+
-m, --mobile=<value> [default: no]
|
|
766
|
+
|
|
767
|
+
DESCRIPTION
|
|
768
|
+
Analyze the performance impact that Speed Kit has compared to the original version.
|
|
769
|
+
|
|
770
|
+
EXAMPLES
|
|
771
|
+
$ sk wpt-launcher <urls> <testId> -g <group> -m <mobile> -c <cookies>
|
|
772
|
+
|
|
773
|
+
$ sk wpt-launcher url1,url2,url3 listing-50vs50 -g B -m Y -c consentCookies
|
|
774
|
+
```
|
|
775
|
+
<!-- commandsstop -->
|