@speedkit/cli 2.40.0 → 2.41.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
+ ## [2.41.1](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v2.41.0...v2.41.1) (2024-07-05)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **integrate-devtools:** add chromeDist to releaseBot ([2207940](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/2207940a032e944a65cdc470a9bed8971bfe109b))
7
+
8
+ # [2.41.0](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v2.40.0...v2.41.0) (2024-07-05)
9
+
10
+
11
+ ### Features
12
+
13
+ * **customer-config:** update dh config template ([f0b0fc5](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/f0b0fc59452d49cb75980a60dc545b993353cc64))
14
+
1
15
  # [2.40.0](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v2.39.0...v2.40.0) (2024-07-05)
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/2.40.0 linux-x64 node-v20.15.0
24
+ @speedkit/cli/2.41.1 linux-x64 node-v20.15.0
25
25
  $ sk --help [COMMAND]
26
26
  USAGE
27
27
  $ sk COMMAND
@@ -2,8 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  const core_1 = require("@oclif/core");
5
- const path_1 = tslib_1.__importDefault(require("path"));
6
- const child_process_1 = require("child_process");
5
+ const node_path_1 = tslib_1.__importDefault(require("node:path"));
6
+ const node_child_process_1 = require("node:child_process");
7
7
  const dotenv = tslib_1.__importStar(require("dotenv"));
8
8
  dotenv.config();
9
9
  class Edit extends core_1.Command {
@@ -11,7 +11,7 @@ class Edit extends core_1.Command {
11
11
  static examples = [`$ sk config edit`];
12
12
  async run() {
13
13
  const editor = process.env.EDITOR || "nano";
14
- const editorSpawn = (0, child_process_1.spawn)(editor, [path_1.default.resolve(this.config.configDir, "config.json")], {
14
+ const editorSpawn = (0, node_child_process_1.spawn)(editor, [node_path_1.default.resolve(this.config.configDir, "config.json")], {
15
15
  stdio: "inherit",
16
16
  detached: true,
17
17
  });
@@ -44,21 +44,22 @@
44
44
  {{/if}}
45
45
  {{/unless}}
46
46
  const config = {
47
- rejectHTML({db, {{#if addPreRendering}}document{{else}}html{{/if}}, variation, url, headers}) {
47
+ rejectHTML({db, html, {{#if addPreRendering}}document, {{/if}}variation, url, headers}) {
48
48
  /* Use to configure guards to prevent e.g. error and captcha pages from being cached */
49
49
  return false;
50
50
  },
51
- blacklistHTML({db, {{#if addPreRendering}}document{{else}}html{{/if}}, variation, url, headers}) {
51
+ blacklistHTML({db, html, {{#if addPreRendering}}document, {{/if}}variation, url, headers}) {
52
52
  /* Use to configure guards to black-list e.g. specific page types */
53
53
  {{#if addPreRendering}}
54
- // dynamically blacklist unsupported variations as they are not covered in lambda
55
- if (variation.toUpperCase() === "TABLET") {
56
- return `Tablet viewport is unsupported: ${url}`;
57
- }
54
+ // dynamically blacklist unsupported variations as they are not covered in lambda
55
+ if (variation.toUpperCase() === "TABLET") {
56
+ return `Tablet viewport is unsupported: ${url}`;
57
+ }
58
+
58
59
  {{/if}}
59
60
  return false;
60
61
  },
61
- shouldTransform({db, {{#if addPreRendering}}document{{else}}html{{/if}}, variation, url, headers}) {
62
+ shouldTransform({db, html, {{#if addPreRendering}}document, {{/if}}variation, url, headers}) {
62
63
  return true;
63
64
  },
64
65
  shouldDelayDom({db, {{#if addPreRendering}}document{{else}}html{{/if}}, variation, url, headers}) {
@@ -712,5 +712,5 @@
712
712
  ]
713
713
  }
714
714
  },
715
- "version": "2.40.0"
715
+ "version": "2.41.1"
716
716
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@speedkit/cli",
3
3
  "description": "Speed Kit CLI",
4
- "version": "2.40.0",
4
+ "version": "2.41.1",
5
5
  "author": {
6
6
  "name": "Baqend.com",
7
7
  "email": "info@baqend.com"