@speedkit/cli 4.25.1 → 4.25.2

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,10 @@
1
+ ## [4.25.2](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v4.25.1...v4.25.2) (2026-09-09)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **revalidate:** repair the escaping in the --pattern examples ([002d350](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/002d3504c4848a99127dce723d871d3bc3f13a67))
7
+
1
8
  ## [4.25.1](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v4.25.0...v4.25.1) (2026-09-08)
2
9
 
3
10
 
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/4.25.1 linux-x64 node-v22.23.2
24
+ @speedkit/cli/4.25.2 linux-x64 node-v22.23.2
25
25
  $ sk --help [COMMAND]
26
26
  USAGE
27
27
  $ sk COMMAND
@@ -783,11 +783,11 @@ DESCRIPTION
783
783
  EXAMPLES
784
784
  $ sk revalidate <app> --pattern <regex> [--pattern <regex>] [--dryRun] [--wait]
785
785
 
786
- $ sk revalidate decathlon --pattern '^https://www\\.decathlon\\.de/damen/.*-c(?:1234|5678)(?:/|\\?|$)' --dryRun
786
+ $ sk revalidate example-shop --pattern '^https://www\.example\.com/en/.*-c(?:1234|5678)(?:/|\?|$)' --dryRun
787
787
 
788
- $ sk revalidate decathlon --pattern '^https://www\\.decathlon\\.de/damen/.*-c1234(?:/|\\?|$)' --wait
788
+ $ sk revalidate example-shop --pattern '^https://www\.example\.com/en/.*-c1234(?:/|\?|$)' --wait
789
789
 
790
- $ sk revalidate decathlon --prefix https://www.decathlon.de/damen/ --dryRun
790
+ $ sk revalidate example-shop --prefix https://www.example.com/en/ --dryRun
791
791
  ```
792
792
 
793
793
  ## `sk wpt-launcher URLS TESTID`
@@ -1,5 +1,5 @@
1
1
  import { Args, Command, Flags } from "@oclif/core";
2
- import { CLIParameters, CLIParametersChar, CLIParametersExample, } from "../models/cli-parameters.js";
2
+ import { CLIParameters, CLIParametersChar } from "../models/cli-parameters.js";
3
3
  import { isNonInteractive } from "../helpers/environment.js";
4
4
  import { CONFIRMATION_THRESHOLD, REVALIDATE_TYPES, RevalidateContext, RevalidateFactory, } from "../services/revalidate/index.js";
5
5
  const SAMPLE_SIZE = 10;
@@ -50,9 +50,9 @@ export default class Revalidate extends Command {
50
50
  };
51
51
  static examples = [
52
52
  `$ sk revalidate <${CLIParameters.AppName}> --pattern <regex> [--pattern <regex>] [--${CLIParameters.DryRun}] [--wait]`,
53
- `$ sk revalidate ${CLIParametersExample.AppName} --pattern '^https://www\\\\.decathlon\\\\.de/damen/.*-c(?:1234|5678)(?:/|\\\\?|$)' --${CLIParameters.DryRun}`,
54
- `$ sk revalidate ${CLIParametersExample.AppName} --pattern '^https://www\\\\.decathlon\\\\.de/damen/.*-c1234(?:/|\\\\?|$)' --wait`,
55
- `$ sk revalidate ${CLIParametersExample.AppName} --prefix ${CLIParametersExample.PageUrl}damen/ --${CLIParameters.DryRun}`,
53
+ `$ sk revalidate example-shop --pattern '^https://www\\.example\\.com/en/.*-c(?:1234|5678)(?:/|\\?|$)' --${CLIParameters.DryRun}`,
54
+ `$ sk revalidate example-shop --pattern '^https://www\\.example\\.com/en/.*-c1234(?:/|\\?|$)' --wait`,
55
+ `$ sk revalidate example-shop --prefix https://www.example.com/en/ --${CLIParameters.DryRun}`,
56
56
  ];
57
57
  async run() {
58
58
  const { args, flags } = await this.parse(Revalidate);
@@ -883,9 +883,9 @@
883
883
  "description": "Purge or refresh cached assets by prefix and query. Run it after a config that narrows scope goes live, so returning visitors stop receiving the cached HTML.",
884
884
  "examples": [
885
885
  "$ sk revalidate <app> --pattern <regex> [--pattern <regex>] [--dryRun] [--wait]",
886
- "$ sk revalidate decathlon --pattern '^https://www\\\\.decathlon\\\\.de/damen/.*-c(?:1234|5678)(?:/|\\\\?|$)' --dryRun",
887
- "$ sk revalidate decathlon --pattern '^https://www\\\\.decathlon\\\\.de/damen/.*-c1234(?:/|\\\\?|$)' --wait",
888
- "$ sk revalidate decathlon --prefix https://www.decathlon.de/damen/ --dryRun"
886
+ "$ sk revalidate example-shop --pattern '^https://www\\.example\\.com/en/.*-c(?:1234|5678)(?:/|\\?|$)' --dryRun",
887
+ "$ sk revalidate example-shop --pattern '^https://www\\.example\\.com/en/.*-c1234(?:/|\\?|$)' --wait",
888
+ "$ sk revalidate example-shop --prefix https://www.example.com/en/ --dryRun"
889
889
  ],
890
890
  "flags": {
891
891
  "pattern": {
@@ -1314,5 +1314,5 @@
1314
1314
  ]
1315
1315
  }
1316
1316
  },
1317
- "version": "4.25.1"
1317
+ "version": "4.25.2"
1318
1318
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@speedkit/cli",
3
3
  "description": "Speed Kit CLI",
4
- "version": "4.25.1",
4
+ "version": "4.25.2",
5
5
  "author": {
6
6
  "name": "Baqend.com",
7
7
  "email": "info@baqend.com"