@speedkit/cli 3.24.0 → 3.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ # [3.25.0](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v3.24.1...v3.25.0) (2026-02-09)
2
+
3
+
4
+ ### Features
5
+
6
+ * **customer-config:** add compare content hashes example ([558e84b](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/558e84b7933b4343179cd9962e4edcad6f769ea1))
7
+
8
+ ## [3.24.1](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v3.24.0...v3.24.1) (2026-02-06)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **deploy:** set correct flags for deploy command ([7c5503d](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/7c5503d353f1f14ad95c85eecb25992ebba55485))
14
+
1
15
  # [3.24.0](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v3.23.0...v3.24.0) (2026-02-02)
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.24.0 linux-x64 node-v20.20.0
24
+ @speedkit/cli/3.25.0 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
@@ -69,8 +69,8 @@ const config = {
69
69
  if (spbStatusCode && spbStatusCode !== "200") {
70
70
  return `initial status code unequal to 200 received from scrapingbee: ${url} ${spbStatusCode}`;
71
71
  }
72
- {{/if}}
73
72
 
73
+ {{/if}}
74
74
  return false;
75
75
  },
76
76
  shouldTransform({db, document, variation, url, headers}) {
@@ -127,11 +127,12 @@ const config = {
127
127
  {{else}}
128
128
  delayScriptPath: "/speed-kit-dom-ready.js",
129
129
  {{/if}}
130
- /**
131
- * @todo check for assets loaded via scoped-subroutes
132
- * enable scoped deployments like this executeDeploymentDetection: {scope: true} when found
133
- **/
134
- executeDeploymentDetection: true,
130
+ executeDeploymentDetection: {
131
+ // execute deployment detection scoped to locale subroutes:
132
+ // scope: true,
133
+ // domains with unhashed assets to cover with content hash comparison:
134
+ // compareContentHashes: ['<domain>'],
135
+ },
135
136
  {{#if removeLazyLoading}}
136
137
  lazyLoadList,
137
138
  {{/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.24.0"
734
+ "version": "3.25.0"
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.24.0",
4
+ "version": "3.25.0",
5
5
  "author": {
6
6
  "name": "Baqend.com",
7
7
  "email": "info@baqend.com"