@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 +7 -0
- package/README.md +4 -4
- package/dist/commands/revalidate.js +4 -4
- package/oclif.manifest.json +4 -4
- package/package.json +1 -1
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.
|
|
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
|
|
786
|
+
$ sk revalidate example-shop --pattern '^https://www\.example\.com/en/.*-c(?:1234|5678)(?:/|\?|$)' --dryRun
|
|
787
787
|
|
|
788
|
-
$ sk revalidate
|
|
788
|
+
$ sk revalidate example-shop --pattern '^https://www\.example\.com/en/.*-c1234(?:/|\?|$)' --wait
|
|
789
789
|
|
|
790
|
-
$ sk revalidate
|
|
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
|
|
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
|
|
54
|
-
`$ sk revalidate
|
|
55
|
-
`$ sk revalidate
|
|
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);
|
package/oclif.manifest.json
CHANGED
|
@@ -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
|
|
887
|
-
"$ sk revalidate
|
|
888
|
-
"$ sk revalidate
|
|
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.
|
|
1317
|
+
"version": "4.25.2"
|
|
1318
1318
|
}
|