@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.
Files changed (385) hide show
  1. package/README.md +775 -0
  2. package/bin/dev +18 -0
  3. package/bin/dev.cmd +3 -0
  4. package/bin/run +4 -0
  5. package/bin/run.cmd +3 -0
  6. package/dist/commands/airports_iata.json +1 -0
  7. package/dist/commands/build-parameter-query.d.ts +15 -0
  8. package/dist/commands/build-parameter-query.js +95 -0
  9. package/dist/commands/build-prewarm-query.d.ts +15 -0
  10. package/dist/commands/build-prewarm-query.js +69 -0
  11. package/dist/commands/deploy.d.ts +17 -0
  12. package/dist/commands/deploy.js +39 -0
  13. package/dist/commands/document-handler.d.ts +16 -0
  14. package/dist/commands/document-handler.js +36 -0
  15. package/dist/commands/find-pops.d.ts +17 -0
  16. package/dist/commands/find-pops.js +84 -0
  17. package/dist/commands/generate-customer-config.d.ts +10 -0
  18. package/dist/commands/generate-customer-config.js +29 -0
  19. package/dist/commands/generate-pop-config.d.ts +27 -0
  20. package/dist/commands/generate-pop-config.js +231 -0
  21. package/dist/commands/login.d.ts +10 -0
  22. package/dist/commands/login.js +35 -0
  23. package/dist/commands/onboarding.d.ts +16 -0
  24. package/dist/commands/onboarding.js +25 -0
  25. package/dist/commands/param-diff.d.ts +16 -0
  26. package/dist/commands/param-diff.js +111 -0
  27. package/dist/commands/pop-prewarm.d.ts +17 -0
  28. package/dist/commands/pop-prewarm.js +80 -0
  29. package/dist/commands/prewarm.d.ts +40 -0
  30. package/dist/commands/prewarm.js +127 -0
  31. package/dist/commands/pull.d.ts +14 -0
  32. package/dist/commands/pull.js +24 -0
  33. package/dist/commands/wpt-launcher.d.ts +21 -0
  34. package/dist/commands/wpt-launcher.js +79 -0
  35. package/dist/helpers/CustomerConfig.d.ts +51 -0
  36. package/dist/helpers/CustomerConfig.js +150 -0
  37. package/dist/helpers/build-query-helper.d.ts +32 -0
  38. package/dist/helpers/build-query-helper.js +216 -0
  39. package/dist/helpers/cli-config.d.ts +22 -0
  40. package/dist/helpers/cli-config.js +85 -0
  41. package/dist/helpers/file-helper.d.ts +8 -0
  42. package/dist/helpers/file-helper.js +63 -0
  43. package/dist/helpers/get-parsed-config.d.ts +11 -0
  44. package/dist/helpers/get-parsed-config.js +63 -0
  45. package/dist/helpers/getChromePath.d.ts +7 -0
  46. package/dist/helpers/getChromePath.js +27 -0
  47. package/dist/helpers/isDirectory.d.ts +1 -0
  48. package/dist/helpers/isDirectory.js +17 -0
  49. package/dist/helpers/isExecutable.d.ts +1 -0
  50. package/dist/helpers/isExecutable.js +15 -0
  51. package/dist/helpers/isFile.d.ts +1 -0
  52. package/dist/helpers/isFile.js +17 -0
  53. package/dist/helpers/logging-helper.d.ts +12 -0
  54. package/dist/helpers/logging-helper.js +27 -0
  55. package/dist/helpers/normalize.d.ts +40 -0
  56. package/dist/helpers/normalize.js +112 -0
  57. package/dist/helpers/race.d.ts +1 -0
  58. package/dist/helpers/race.js +16 -0
  59. package/dist/helpers/safe.d.ts +10 -0
  60. package/dist/helpers/safe.js +34 -0
  61. package/dist/helpers/scrape.d.ts +1 -0
  62. package/dist/helpers/scrape.js +11 -0
  63. package/dist/helpers/speedKitRuleToRegExp.d.ts +1 -0
  64. package/dist/helpers/speedKitRuleToRegExp.js +10 -0
  65. package/dist/helpers/watchFiles.d.ts +1 -0
  66. package/dist/helpers/watchFiles.js +20 -0
  67. package/dist/models/cli-parameters.d.ts +73 -0
  68. package/dist/models/cli-parameters.js +82 -0
  69. package/dist/models/files.d.ts +20 -0
  70. package/dist/models/files.js +23 -0
  71. package/dist/models/install.d.ts +24 -0
  72. package/dist/models/install.js +2 -0
  73. package/dist/services/athena-service.d.ts +30 -0
  74. package/dist/services/athena-service.js +139 -0
  75. package/dist/services/bundler/bundle-service-factory.d.ts +4 -0
  76. package/dist/services/bundler/bundle-service-factory.js +10 -0
  77. package/dist/services/bundler/bundle-service.d.ts +25 -0
  78. package/dist/services/bundler/bundle-service.js +84 -0
  79. package/dist/services/bundler/index.d.ts +2 -0
  80. package/dist/services/bundler/index.js +5 -0
  81. package/dist/services/cli/cli-service-factory.d.ts +5 -0
  82. package/dist/services/cli/cli-service-factory.js +14 -0
  83. package/dist/services/cli/cli-service-model.d.ts +27 -0
  84. package/dist/services/cli/cli-service-model.js +9 -0
  85. package/dist/services/cli/cli-service.d.ts +37 -0
  86. package/dist/services/cli/cli-service.js +123 -0
  87. package/dist/services/cli/error/cli-type-error.d.ts +3 -0
  88. package/dist/services/cli/error/cli-type-error.js +7 -0
  89. package/dist/services/cli/hooks.d.ts +11 -0
  90. package/dist/services/cli/hooks.js +33 -0
  91. package/dist/services/cli/index.d.ts +3 -0
  92. package/dist/services/cli/index.js +6 -0
  93. package/dist/services/config-api/client.d.ts +16 -0
  94. package/dist/services/config-api/client.js +54 -0
  95. package/dist/services/config-api/config-api-service.d.ts +16 -0
  96. package/dist/services/config-api/config-api-service.js +56 -0
  97. package/dist/services/config-api/context/config-api-context.d.ts +5 -0
  98. package/dist/services/config-api/context/config-api-context.js +9 -0
  99. package/dist/services/config-api/error/json-response-error.d.ts +2 -0
  100. package/dist/services/config-api/error/json-response-error.js +5 -0
  101. package/dist/services/config-api/error/login-error.d.ts +5 -0
  102. package/dist/services/config-api/error/login-error.js +12 -0
  103. package/dist/services/config-api/factory/config-api-service-factory.d.ts +10 -0
  104. package/dist/services/config-api/factory/config-api-service-factory.js +38 -0
  105. package/dist/services/config-api/factory/entity-manager-factory.d.ts +5 -0
  106. package/dist/services/config-api/factory/entity-manager-factory.js +21 -0
  107. package/dist/services/config-api/interface/config-api-context-interface.d.ts +4 -0
  108. package/dist/services/config-api/interface/config-api-context-interface.js +2 -0
  109. package/dist/services/config-api/interface/request-extension-interface.d.ts +5 -0
  110. package/dist/services/config-api/interface/request-extension-interface.js +2 -0
  111. package/dist/services/config-api-service.d.ts +18 -0
  112. package/dist/services/config-api-service.js +96 -0
  113. package/dist/services/context/app-context.d.ts +1 -0
  114. package/dist/services/context/app-context.js +2 -0
  115. package/dist/services/context/error/context-runtime-error.d.ts +3 -0
  116. package/dist/services/context/error/context-runtime-error.js +7 -0
  117. package/dist/services/context/interface/context-interface.d.ts +2 -0
  118. package/dist/services/context/interface/context-interface.js +2 -0
  119. package/dist/services/customer-config/customer-config-service-context.d.ts +5 -0
  120. package/dist/services/customer-config/customer-config-service-context.js +15 -0
  121. package/dist/services/customer-config/customer-config-service-factory.d.ts +8 -0
  122. package/dist/services/customer-config/customer-config-service-factory.js +24 -0
  123. package/dist/services/customer-config/customer-config-service-model.d.ts +39 -0
  124. package/dist/services/customer-config/customer-config-service-model.js +23 -0
  125. package/dist/services/customer-config/customer-config-service.d.ts +27 -0
  126. package/dist/services/customer-config/customer-config-service.js +263 -0
  127. package/dist/services/customer-config/index.d.ts +4 -0
  128. package/dist/services/customer-config/index.js +7 -0
  129. package/dist/services/customer-config/templates/config_SpeedKit.js.hbs +351 -0
  130. package/dist/services/customer-config/templates/config_customer.js.hbs +75 -0
  131. package/dist/services/customer-config/templates/config_documentHandler.js.hbs +162 -0
  132. package/dist/services/customer-config/templates/config_dynamicBlocks.es6.hbs +263 -0
  133. package/dist/services/customer-config/templates/config_dynamicStyles.css.hbs +116 -0
  134. package/dist/services/customer-config/templates/config_loadHandler.js.hbs +394 -0
  135. package/dist/services/customer-config/templates/deploymentDetection.es6.hbs +262 -0
  136. package/dist/services/customer-config/templates/downtimeDetection.js.hbs +110 -0
  137. package/dist/services/deploy/builder/install-resource-builder.d.ts +14 -0
  138. package/dist/services/deploy/builder/install-resource-builder.js +48 -0
  139. package/dist/services/deploy/checks/post-deploy/revalidated-module-check.d.ts +11 -0
  140. package/dist/services/deploy/checks/post-deploy/revalidated-module-check.js +30 -0
  141. package/dist/services/deploy/checks/post-deploy/save-files-check.d.ts +9 -0
  142. package/dist/services/deploy/checks/post-deploy/save-files-check.js +25 -0
  143. package/dist/services/deploy/context/deploy-context.d.ts +12 -0
  144. package/dist/services/deploy/context/deploy-context.js +26 -0
  145. package/dist/services/deploy/deploy-service-factory.d.ts +15 -0
  146. package/dist/services/deploy/deploy-service-factory.js +68 -0
  147. package/dist/services/deploy/deploy-service.d.ts +17 -0
  148. package/dist/services/deploy/deploy-service.js +63 -0
  149. package/dist/services/deploy/error/create-find-temp-directory-error.d.ts +4 -0
  150. package/dist/services/deploy/error/create-find-temp-directory-error.js +10 -0
  151. package/dist/services/deploy/error/deploy-app-error.d.ts +2 -0
  152. package/dist/services/deploy/error/deploy-app-error.js +5 -0
  153. package/dist/services/deploy/error/no-active-installation-error.d.ts +4 -0
  154. package/dist/services/deploy/error/no-active-installation-error.js +10 -0
  155. package/dist/services/deploy/handler/customer-config-handler.d.ts +21 -0
  156. package/dist/services/deploy/handler/customer-config-handler.js +85 -0
  157. package/dist/services/deploy/handler/install-resource-handler.d.ts +25 -0
  158. package/dist/services/deploy/handler/install-resource-handler.js +104 -0
  159. package/dist/services/deploy/handler/install-resource-modifier/deleted-file-check.d.ts +13 -0
  160. package/dist/services/deploy/handler/install-resource-modifier/deleted-file-check.js +51 -0
  161. package/dist/services/deploy/handler/module-handler.d.ts +14 -0
  162. package/dist/services/deploy/handler/module-handler.js +81 -0
  163. package/dist/services/deploy/handler/module-modifier/deployment-detection-modifier.d.ts +9 -0
  164. package/dist/services/deploy/handler/module-modifier/deployment-detection-modifier.js +24 -0
  165. package/dist/services/deploy/handler/server-config-handler.d.ts +12 -0
  166. package/dist/services/deploy/handler/server-config-handler.js +63 -0
  167. package/dist/services/deploy/interface/deploy-handler-interface.d.ts +6 -0
  168. package/dist/services/deploy/interface/deploy-handler-interface.js +2 -0
  169. package/dist/services/deploy/interface/install-configs.d.ts +11 -0
  170. package/dist/services/deploy/interface/install-configs.js +2 -0
  171. package/dist/services/deploy/interface/install-resource-processor-interface.d.ts +5 -0
  172. package/dist/services/deploy/interface/install-resource-processor-interface.js +2 -0
  173. package/dist/services/deploy/interface/install.d.ts +14 -0
  174. package/dist/services/deploy/interface/install.js +2 -0
  175. package/dist/services/deploy/interface/post-deploy-check-interface.d.ts +3 -0
  176. package/dist/services/deploy/interface/post-deploy-check-interface.js +2 -0
  177. package/dist/services/deploy/interface/runtime-modifier.d.ts +6 -0
  178. package/dist/services/deploy/interface/runtime-modifier.js +2 -0
  179. package/dist/services/deploy/interface/validate-origins-response.d.ts +4 -0
  180. package/dist/services/deploy/interface/validate-origins-response.js +2 -0
  181. package/dist/services/diff/diff-model.d.ts +5 -0
  182. package/dist/services/diff/diff-model.js +12 -0
  183. package/dist/services/diff/diff-service-factory.d.ts +7 -0
  184. package/dist/services/diff/diff-service-factory.js +20 -0
  185. package/dist/services/diff/diff-service.d.ts +34 -0
  186. package/dist/services/diff/diff-service.js +134 -0
  187. package/dist/services/diff/index.d.ts +3 -0
  188. package/dist/services/diff/index.js +6 -0
  189. package/dist/services/diff-service.d.ts +24 -0
  190. package/dist/services/diff-service.js +112 -0
  191. package/dist/services/document-handler-runtime/context/document-handler-runtime-context.d.ts +23 -0
  192. package/dist/services/document-handler-runtime/context/document-handler-runtime-context.js +41 -0
  193. package/dist/services/document-handler-runtime/document-handler-runtime-service.d.ts +32 -0
  194. package/dist/services/document-handler-runtime/document-handler-runtime-service.js +220 -0
  195. package/dist/services/document-handler-runtime/document-handler-server.d.ts +42 -0
  196. package/dist/services/document-handler-runtime/document-handler-server.js +225 -0
  197. package/dist/services/document-handler-runtime/error/handler/required-file-not-found-handler.d.ts +6 -0
  198. package/dist/services/document-handler-runtime/error/handler/required-file-not-found-handler.js +14 -0
  199. package/dist/services/document-handler-runtime/error/required-file-not-found-error.d.ts +3 -0
  200. package/dist/services/document-handler-runtime/error/required-file-not-found-error.js +7 -0
  201. package/dist/services/document-handler-runtime/factory/document-handler-runtime-service-factory.d.ts +24 -0
  202. package/dist/services/document-handler-runtime/factory/document-handler-runtime-service-factory.js +106 -0
  203. package/dist/services/document-handler-runtime/interface/document-handler-runtime-config-interface.d.ts +3 -0
  204. package/dist/services/document-handler-runtime/interface/document-handler-runtime-config-interface.js +6 -0
  205. package/dist/services/document-handler-runtime/interface/template-context-interface.d.ts +3 -0
  206. package/dist/services/document-handler-runtime/interface/template-context-interface.js +2 -0
  207. package/dist/services/document-handler-runtime/interface/template-interface.d.ts +6 -0
  208. package/dist/services/document-handler-runtime/interface/template-interface.js +2 -0
  209. package/dist/services/document-handler-runtime/interface/template-param-interface.d.ts +4 -0
  210. package/dist/services/document-handler-runtime/interface/template-param-interface.js +2 -0
  211. package/dist/services/document-handler-runtime/templates/abstract-template.d.ts +9 -0
  212. package/dist/services/document-handler-runtime/templates/abstract-template.js +18 -0
  213. package/dist/services/document-handler-runtime/templates/database-mock.d.ts +6 -0
  214. package/dist/services/document-handler-runtime/templates/database-mock.js +111 -0
  215. package/dist/services/document-handler-runtime/templates/execute-document-handler.d.ts +6 -0
  216. package/dist/services/document-handler-runtime/templates/execute-document-handler.js +76 -0
  217. package/dist/services/document-handler-runtime/templates/orestes-mock.d.ts +9 -0
  218. package/dist/services/document-handler-runtime/templates/orestes-mock.js +168 -0
  219. package/dist/services/document-handler-runtime/templates/package-json.d.ts +8 -0
  220. package/dist/services/document-handler-runtime/templates/package-json.js +21 -0
  221. package/dist/services/document-handler-runtime/templates/test.d.ts +6 -0
  222. package/dist/services/document-handler-runtime/templates/test.js +63 -0
  223. package/dist/services/error-handling/abstract/abstract-async-error-handling-factory.d.ts +6 -0
  224. package/dist/services/error-handling/abstract/abstract-async-error-handling-factory.js +19 -0
  225. package/dist/services/error-handling/abstract/abstract-async-error-handling-service.d.ts +6 -0
  226. package/dist/services/error-handling/abstract/abstract-async-error-handling-service.js +18 -0
  227. package/dist/services/error-handling/abstract/abstract-error-handling-factory.d.ts +6 -0
  228. package/dist/services/error-handling/abstract/abstract-error-handling-factory.js +19 -0
  229. package/dist/services/error-handling/abstract/abstract-error-handling-service.d.ts +6 -0
  230. package/dist/services/error-handling/abstract/abstract-error-handling-service.js +19 -0
  231. package/dist/services/error-handling/error/application-error.d.ts +5 -0
  232. package/dist/services/error-handling/error/application-error.js +11 -0
  233. package/dist/services/error-handling/error/handler/default-error-handler.d.ts +5 -0
  234. package/dist/services/error-handling/error/handler/default-error-handler.js +13 -0
  235. package/dist/services/error-handling/error-handling-service.d.ts +7 -0
  236. package/dist/services/error-handling/error-handling-service.js +27 -0
  237. package/dist/services/error-handling/factory/error-handling-factory.d.ts +8 -0
  238. package/dist/services/error-handling/factory/error-handling-factory.js +21 -0
  239. package/dist/services/error-handling/interface/error-context-interface.d.ts +6 -0
  240. package/dist/services/error-handling/interface/error-context-interface.js +2 -0
  241. package/dist/services/error-handling/interface/error-handler-interface.d.ts +5 -0
  242. package/dist/services/error-handling/interface/error-handler-interface.js +2 -0
  243. package/dist/services/error-handling/interface/error-handling-factory-interface.d.ts +8 -0
  244. package/dist/services/error-handling/interface/error-handling-factory-interface.js +2 -0
  245. package/dist/services/error-handling/interface/error-handling-service-interface.d.ts +8 -0
  246. package/dist/services/error-handling/interface/error-handling-service-interface.js +2 -0
  247. package/dist/services/integration-api/context/integration-api-context.d.ts +9 -0
  248. package/dist/services/integration-api/context/integration-api-context.js +20 -0
  249. package/dist/services/integration-api/error/customer-config-error.d.ts +2 -0
  250. package/dist/services/integration-api/error/customer-config-error.js +5 -0
  251. package/dist/services/integration-api/error/customer-config-legacy-error.d.ts +3 -0
  252. package/dist/services/integration-api/error/customer-config-legacy-error.js +7 -0
  253. package/dist/services/integration-api/error/handler/customer-config-handler.d.ts +5 -0
  254. package/dist/services/integration-api/error/handler/customer-config-handler.js +19 -0
  255. package/dist/services/integration-api/error/handler/customer-config-legacy-handler.d.ts +6 -0
  256. package/dist/services/integration-api/error/handler/customer-config-legacy-handler.js +24 -0
  257. package/dist/services/integration-api/error/handler/origin-handler.d.ts +6 -0
  258. package/dist/services/integration-api/error/handler/origin-handler.js +22 -0
  259. package/dist/services/integration-api/error/load-customer-error.d.ts +4 -0
  260. package/dist/services/integration-api/error/load-customer-error.js +10 -0
  261. package/dist/services/integration-api/error/mandatory-file-missing-error.d.ts +3 -0
  262. package/dist/services/integration-api/error/mandatory-file-missing-error.js +8 -0
  263. package/dist/services/integration-api/error/origin-error.d.ts +3 -0
  264. package/dist/services/integration-api/error/origin-error.js +7 -0
  265. package/dist/services/integration-api/external/external-file-reader.d.ts +4 -0
  266. package/dist/services/integration-api/external/external-file-reader.js +17 -0
  267. package/dist/services/integration-api/factory/integration-api-service-factory.d.ts +13 -0
  268. package/dist/services/integration-api/factory/integration-api-service-factory.js +55 -0
  269. package/dist/services/integration-api/file-list.d.ts +18 -0
  270. package/dist/services/integration-api/file-list.js +79 -0
  271. package/dist/services/integration-api/file-reader.d.ts +15 -0
  272. package/dist/services/integration-api/file-reader.js +97 -0
  273. package/dist/services/integration-api/file-writer.d.ts +9 -0
  274. package/dist/services/integration-api/file-writer.js +27 -0
  275. package/dist/services/integration-api/handler/customer-config-handler.d.ts +16 -0
  276. package/dist/services/integration-api/handler/customer-config-handler.js +55 -0
  277. package/dist/services/integration-api/handler/file-handler.d.ts +9 -0
  278. package/dist/services/integration-api/handler/file-handler.js +20 -0
  279. package/dist/services/integration-api/handler/install-resource-handler.d.ts +33 -0
  280. package/dist/services/integration-api/handler/install-resource-handler.js +67 -0
  281. package/dist/services/integration-api/handler/module-handler.d.ts +12 -0
  282. package/dist/services/integration-api/handler/module-handler.js +20 -0
  283. package/dist/services/integration-api/handler/server-config-handler.d.ts +8 -0
  284. package/dist/services/integration-api/handler/server-config-handler.js +21 -0
  285. package/dist/services/integration-api/integration-api-model.d.ts +89 -0
  286. package/dist/services/integration-api/integration-api-model.js +2 -0
  287. package/dist/services/integration-api/integration-api-service.d.ts +21 -0
  288. package/dist/services/integration-api/integration-api-service.js +76 -0
  289. package/dist/services/integration-api/struct/customer-config-file.d.ts +10 -0
  290. package/dist/services/integration-api/struct/customer-config-file.js +32 -0
  291. package/dist/services/integration-api/struct/customer-config.d.ts +22 -0
  292. package/dist/services/integration-api/struct/customer-config.js +67 -0
  293. package/dist/services/integration-api/struct/file.d.ts +19 -0
  294. package/dist/services/integration-api/struct/file.js +61 -0
  295. package/dist/services/integration-api/struct/install-resource-file.d.ts +6 -0
  296. package/dist/services/integration-api/struct/install-resource-file.js +12 -0
  297. package/dist/services/integration-api/struct/module-file.d.ts +5 -0
  298. package/dist/services/integration-api/struct/module-file.js +10 -0
  299. package/dist/services/integration-api/struct/ro-file.d.ts +13 -0
  300. package/dist/services/integration-api/struct/ro-file.js +26 -0
  301. package/dist/services/integration-api/struct/server-config-file.d.ts +9 -0
  302. package/dist/services/integration-api/struct/server-config-file.js +22 -0
  303. package/dist/services/integration-api/struct/virtual-file.d.ts +14 -0
  304. package/dist/services/integration-api/struct/virtual-file.js +28 -0
  305. package/dist/services/integration-api/validator/customer-config-validator.d.ts +5 -0
  306. package/dist/services/integration-api/validator/customer-config-validator.js +23 -0
  307. package/dist/services/integration-api/validator/mandatory-files-validator.d.ts +7 -0
  308. package/dist/services/integration-api/validator/mandatory-files-validator.js +39 -0
  309. package/dist/services/integration-api/virtual/external-recipe.d.ts +9 -0
  310. package/dist/services/integration-api/virtual/external-recipe.js +19 -0
  311. package/dist/services/integration-api/virtual/virtual-file-handler.d.ts +7 -0
  312. package/dist/services/integration-api/virtual/virtual-file-handler.js +38 -0
  313. package/dist/services/onboarding/browser/abort-response.d.ts +5 -0
  314. package/dist/services/onboarding/browser/abort-response.js +10 -0
  315. package/dist/services/onboarding/browser/baqend-response.d.ts +12 -0
  316. package/dist/services/onboarding/browser/baqend-response.js +52 -0
  317. package/dist/services/onboarding/browser/origin-response.d.ts +8 -0
  318. package/dist/services/onboarding/browser/origin-response.js +20 -0
  319. package/dist/services/onboarding/config-renderer/install-file-recipe.d.ts +7 -0
  320. package/dist/services/onboarding/config-renderer/install-file-recipe.js +13 -0
  321. package/dist/services/onboarding/config-renderer/speed-kit-install-context.d.ts +22 -0
  322. package/dist/services/onboarding/config-renderer/speed-kit-install-context.js +78 -0
  323. package/dist/services/onboarding/dashboard/athena-service.d.ts +11 -0
  324. package/dist/services/onboarding/dashboard/athena-service.js +70 -0
  325. package/dist/services/onboarding/dashboard/frontend-dist/assets/index-87b53ed4.css +1 -0
  326. package/dist/services/onboarding/dashboard/frontend-dist/assets/main-274b5625.js +9 -0
  327. package/dist/services/onboarding/dashboard/frontend-dist/index.html +18 -0
  328. package/dist/services/onboarding/dashboard/index.d.ts +16 -0
  329. package/dist/services/onboarding/dashboard/index.js +78 -0
  330. package/dist/services/onboarding/dashboard/param-query-builder.d.ts +9 -0
  331. package/dist/services/onboarding/dashboard/param-query-builder.js +67 -0
  332. package/dist/services/onboarding/dashboard/request-diff-service.d.ts +11 -0
  333. package/dist/services/onboarding/dashboard/request-diff-service.js +59 -0
  334. package/dist/services/onboarding/error/vm-error.d.ts +2 -0
  335. package/dist/services/onboarding/error/vm-error.js +6 -0
  336. package/dist/services/onboarding/fetch-event-handler.d.ts +19 -0
  337. package/dist/services/onboarding/fetch-event-handler.js +155 -0
  338. package/dist/services/onboarding/fetch-events/customer-domain-document-response.d.ts +24 -0
  339. package/dist/services/onboarding/fetch-events/customer-domain-document-response.js +118 -0
  340. package/dist/services/onboarding/fetch-events/customer-service-worker-js.d.ts +14 -0
  341. package/dist/services/onboarding/fetch-events/customer-service-worker-js.js +30 -0
  342. package/dist/services/onboarding/fetch-events/dashboard-request.d.ts +15 -0
  343. package/dist/services/onboarding/fetch-events/dashboard-request.js +29 -0
  344. package/dist/services/onboarding/fetch-events/speed-kit-asset-request.d.ts +26 -0
  345. package/dist/services/onboarding/fetch-events/speed-kit-asset-request.js +138 -0
  346. package/dist/services/onboarding/fetch-events/speed-kit-install-html.d.ts +15 -0
  347. package/dist/services/onboarding/fetch-events/speed-kit-install-html.js +49 -0
  348. package/dist/services/onboarding/fetch-events/speed-kit-install-js.d.ts +22 -0
  349. package/dist/services/onboarding/fetch-events/speed-kit-install-js.js +62 -0
  350. package/dist/services/onboarding/fetch-events/speed-kit-rum-pi-request.d.ts +21 -0
  351. package/dist/services/onboarding/fetch-events/speed-kit-rum-pi-request.js +43 -0
  352. package/dist/services/onboarding/fetch-events/speed-kit-service-worker-js.d.ts +17 -0
  353. package/dist/services/onboarding/fetch-events/speed-kit-service-worker-js.js +27 -0
  354. package/dist/services/onboarding/file-events/fileWatcher.d.ts +28 -0
  355. package/dist/services/onboarding/file-events/fileWatcher.js +133 -0
  356. package/dist/services/onboarding/index.d.ts +3 -0
  357. package/dist/services/onboarding/index.js +8 -0
  358. package/dist/services/onboarding/onboarding-model.d.ts +30 -0
  359. package/dist/services/onboarding/onboarding-model.js +53 -0
  360. package/dist/services/onboarding/onboarding-service-factory.d.ts +16 -0
  361. package/dist/services/onboarding/onboarding-service-factory.js +163 -0
  362. package/dist/services/onboarding/onboarding-service.d.ts +31 -0
  363. package/dist/services/onboarding/onboarding-service.js +130 -0
  364. package/dist/services/onboarding/request-cache/cache.d.ts +15 -0
  365. package/dist/services/onboarding/request-cache/cache.js +32 -0
  366. package/dist/services/onboarding/templates/install-speed-kit-html-template.d.ts +4 -0
  367. package/dist/services/onboarding/templates/install-speed-kit-html-template.js +264 -0
  368. package/dist/services/onboarding/templates/install-speed-kit-js-template.d.ts +4 -0
  369. package/dist/services/onboarding/templates/install-speed-kit-js-template.js +41 -0
  370. package/dist/services/onboarding/todo-collector.d.ts +18 -0
  371. package/dist/services/onboarding/todo-collector.js +48 -0
  372. package/dist/services/prewarm-service.d.ts +5 -0
  373. package/dist/services/prewarm-service.js +57 -0
  374. package/dist/services/pull/index.d.ts +3 -0
  375. package/dist/services/pull/index.js +6 -0
  376. package/dist/services/pull/pull-service-factory.d.ts +12 -0
  377. package/dist/services/pull/pull-service-factory.js +44 -0
  378. package/dist/services/pull/pull-service-model.d.ts +43 -0
  379. package/dist/services/pull/pull-service-model.js +27 -0
  380. package/dist/services/pull/pull-service.d.ts +18 -0
  381. package/dist/services/pull/pull-service.js +106 -0
  382. package/dist/templates/pops.js +97 -0
  383. package/dist/templates/speedKit.Revalidated.js +86 -0
  384. package/oclif.manifest.json +700 -0
  385. 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
+ [![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)
7
+ [![Version](https://img.shields.io/npm/v/speed-kit-cli.svg)](https://npmjs.org/package/speed-kit-cli)
8
+ [![Downloads/week](https://img.shields.io/npm/dw/speed-kit-cli.svg)](https://npmjs.org/package/speed-kit-cli)
9
+ [![License](https://img.shields.io/npm/l/speed-kit-cli.svg)](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 -->