@speedkit/cli 3.23.0 → 3.24.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/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [3.24.1](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v3.24.0...v3.24.1) (2026-02-06)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deploy:** set correct flags for deploy command ([7c5503d](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/7c5503d353f1f14ad95c85eecb25992ebba55485))
7
+
8
+ # [3.24.0](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v3.23.0...v3.24.0) (2026-02-02)
9
+
10
+
11
+ ### Features
12
+
13
+ * **wizzard:** remove question for scoped deployments ([96f5f27](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/96f5f279d279d65e4d309dec193958965fe95b7f))
14
+
1
15
  # [3.23.0](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v3.22.0...v3.23.0) (2026-01-30)
2
16
 
3
17
 
package/README.md CHANGED
@@ -21,7 +21,7 @@ $ npm install -g @speedkit/cli
21
21
  $ sk COMMAND
22
22
  running command...
23
23
  $ sk (--version)
24
- @speedkit/cli/3.23.0 linux-x64 node-v20.20.0
24
+ @speedkit/cli/3.24.1 linux-x64 node-v20.20.0
25
25
  $ sk --help [COMMAND]
26
26
  USAGE
27
27
  $ sk COMMAND
@@ -181,18 +181,17 @@ Deploys the specified customer config while comparing to the live version before
181
181
 
182
182
  ```
183
183
  USAGE
184
- $ sk deploy CUSTOMERPATH [-c <value>] [-t] [-d <value>] [-l] [-v] [-s]
184
+ $ sk deploy CUSTOMERPATH [-c <value>] [-t] [-d] [-v] [-a <value>]
185
185
 
186
186
  ARGUMENTS
187
187
  CUSTOMERPATH The customer config path
188
188
 
189
189
  FLAGS
190
- -c, --configName=<value> [default: production] The costumer config name
191
- -d, --domain=<value> Startup domain (optional)
192
- -l, --local Run with local documentHandler
193
- -s, --ignoreContentSecurityPolicy Removes header/meta "content-security-policy" for origin-responses
194
- -t, --useTestConfig Override app with configured testApp
195
- -v, --verboseLevel Show all messages
190
+ -a, --artifacts=<value> which files to upload
191
+ -c, --configName=<value> [default: production] The costumer config name
192
+ -d, --dryRun dry run
193
+ -t, --useTestConfig Override app with configured testApp
194
+ -v, --verboseLevel Show all messages
196
195
 
197
196
  DESCRIPTION
198
197
  Deploys the specified customer config while comparing to the live version before
@@ -136,7 +136,7 @@ class CustomerConfigService {
136
136
  return true;
137
137
  }
138
138
  async getConfigSettings() {
139
- let { production, staging, activateScopedDeployments, subRouteScope, includeServiceWorker, activateImageOptimisation, removeLazyLoading, addSSR, addSSRInnerShadowDomSupport, addDeviceDetection, useGATracking, useScrapingBee, withGoogleOptimize, activateCfRocketLoaderPlugin, hasSoftNavigations, convertSoftToHardNavigations, isShopify, isShopware, isSalesforce, isOxid, isPlentymarkets, isPOV, } = {};
139
+ let { production, staging, includeServiceWorker, activateImageOptimisation, removeLazyLoading, addSSR, addSSRInnerShadowDomSupport, addDeviceDetection, useGATracking, useScrapingBee, withGoogleOptimize, activateCfRocketLoaderPlugin, hasSoftNavigations, convertSoftToHardNavigations, isShopify, isShopware, isSalesforce, isOxid, isPlentymarkets, isPOV, } = {};
140
140
  this.appName = await this.cli.prompt(`[App Name] Enter desired SK app name:`, {
141
141
  validator: (input) => /^[\da-z]+(?:-[\da-z]+)*$/.test(input) ? "" : "No valid kebab-case",
142
142
  defaultAnswer: this.appName,
@@ -173,11 +173,6 @@ class CustomerConfigService {
173
173
  staging = await this.getEnvironmentConfig(customer_config_service_model_1.EnvironmentType.STAGING, production.host.replace("www", "staging"));
174
174
  }
175
175
  }
176
- activateScopedDeployments = await this.cli.confirm("[Scoping] Is the shop using (locale-based) sub-resources, like e.g. /de-de/main.js, on the basis of which scoped deployments should to be activated to prevent local-based changes from triggering a global deployment job?", false);
177
- if (activateScopedDeployments &&
178
- (await this.cli.confirm("[Scoping] Should SK only be active on specific sub-routes? (e.g. /de-de)", false))) {
179
- subRouteScope = await this.cli.prompt("[Scoping] Enter one exemplary sub-route to scope SK to (without leading/trailing slashes):", { defaultAnswer: "de-de" });
180
- }
181
176
  if (await this.cli.confirm("[Service Worker] Is there a Service Worker which needs to be included?", false)) {
182
177
  includeServiceWorker = await this.cli.prompt("[Service Worker] Enter path of Service Worker to be included:", { defaultAnswer: "/sw.js" });
183
178
  }
@@ -208,8 +203,6 @@ class CustomerConfigService {
208
203
  appName: this.appName,
209
204
  production,
210
205
  staging,
211
- activateScopedDeployments,
212
- subRouteScope,
213
206
  includeServiceWorker,
214
207
  activateImageOptimisation,
215
208
  removeLazyLoading,
@@ -127,13 +127,11 @@ const config = {
127
127
  {{else}}
128
128
  delayScriptPath: "/speed-kit-dom-ready.js",
129
129
  {{/if}}
130
- {{#if activateScopedDeployments}}
131
- executeDeploymentDetection: {
132
- scope: true,
133
- },
134
- {{else}}
130
+ /**
131
+ * @todo check for assets loaded via scoped-subroutes
132
+ * enable scoped deployments like this executeDeploymentDetection: {scope: true} when found
133
+ **/
135
134
  executeDeploymentDetection: true,
136
- {{/if}}
137
135
  {{#if removeLazyLoading}}
138
136
  lazyLoadList,
139
137
  {{/if}}
@@ -15,24 +15,19 @@ class DeployContext {
15
15
  static flags = {
16
16
  ...cli_parameters_1.CLI_CONFIG_NAME,
17
17
  ...cli_parameters_1.CLI_CONFIG_IS_TEST,
18
- [cli_parameters_1.CLIParameters.Domain]: core_1.Flags.string({
19
- char: cli_parameters_1.CLIParametersChar.Domain,
20
- description: "Startup domain (optional)",
21
- }),
22
- local: core_1.Flags.boolean({
23
- char: "l",
18
+ dryRun: core_1.Flags.boolean({
19
+ char: "d",
24
20
  default: false,
25
- description: "Run with local documentHandler",
21
+ description: "dry run",
26
22
  }),
27
23
  verboseLevel: core_1.Flags.boolean({
28
24
  char: "v",
29
25
  default: false,
30
26
  description: "Show all messages",
31
27
  }),
32
- ignoreContentSecurityPolicy: core_1.Flags.boolean({
33
- char: "s",
34
- default: false,
35
- description: `Removes header/meta "content-security-policy" for origin-responses`,
28
+ artifacts: core_1.Flags.string({
29
+ char: "a",
30
+ description: "which files to upload",
36
31
  }),
37
32
  };
38
33
  artifacts;
@@ -114,18 +114,10 @@
114
114
  "allowNo": false,
115
115
  "type": "boolean"
116
116
  },
117
- "domain": {
117
+ "dryRun": {
118
118
  "char": "d",
119
- "description": "Startup domain (optional)",
120
- "name": "domain",
121
- "hasDynamicHelp": false,
122
- "multiple": false,
123
- "type": "option"
124
- },
125
- "local": {
126
- "char": "l",
127
- "description": "Run with local documentHandler",
128
- "name": "local",
119
+ "description": "dry run",
120
+ "name": "dryRun",
129
121
  "allowNo": false,
130
122
  "type": "boolean"
131
123
  },
@@ -136,12 +128,13 @@
136
128
  "allowNo": false,
137
129
  "type": "boolean"
138
130
  },
139
- "ignoreContentSecurityPolicy": {
140
- "char": "s",
141
- "description": "Removes header/meta \"content-security-policy\" for origin-responses",
142
- "name": "ignoreContentSecurityPolicy",
143
- "allowNo": false,
144
- "type": "boolean"
131
+ "artifacts": {
132
+ "char": "a",
133
+ "description": "which files to upload",
134
+ "name": "artifacts",
135
+ "hasDynamicHelp": false,
136
+ "multiple": false,
137
+ "type": "option"
145
138
  }
146
139
  },
147
140
  "hasDynamicHelp": false,
@@ -738,5 +731,5 @@
738
731
  ]
739
732
  }
740
733
  },
741
- "version": "3.23.0"
734
+ "version": "3.24.1"
742
735
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@speedkit/cli",
3
3
  "description": "Speed Kit CLI",
4
- "version": "3.23.0",
4
+ "version": "3.24.1",
5
5
  "author": {
6
6
  "name": "Baqend.com",
7
7
  "email": "info@baqend.com"