@speedkit/cli 4.46.0 → 4.48.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,24 @@
1
+ # [4.48.0](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v4.47.0...v4.48.0) (2026-10-19)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **revalidate:** advise the content comparison, and name each job's reason ([c9849bd](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/c9849bdc5d99abd4f2d27e8fbfe0e82d22509e26))
7
+
8
+
9
+ ### Features
10
+
11
+ * **revalidate:** list, inspect and resume revalidation jobs ([a11638a](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/a11638a8c3d48d6c137f4b2d7d3f913a47fe64da))
12
+ * **revalidate:** start only the deployment jobs that block the HTML ([c066946](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/c0669461837f5a4686f03705507557f1dfc41bb2))
13
+ * **revalidate:** wait until the jobs end ([8762abb](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/8762abb2ad7815a7a6821618e972d70bdfc9154d))
14
+
15
+ # [4.47.0](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v4.46.0...v4.47.0) (2026-10-16)
16
+
17
+
18
+ ### Features
19
+
20
+ * **bulk-deploy:** count a configuration that is live already as deployed ([c8a3e11](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/c8a3e11460bd13dc6c46a16ca5551aa80213c1e1))
21
+
1
22
  # [4.46.0](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v4.45.2...v4.46.0) (2026-10-16)
2
23
 
3
24
 
package/README.md CHANGED
@@ -95,6 +95,10 @@ By either...
95
95
  * [`sk query parameter CUSTOMERPATH`](#sk-query-parameter-customerpath)
96
96
  * [`sk query prewarm CUSTOMERPATH`](#sk-query-prewarm-customerpath)
97
97
  * [`sk revalidate APP`](#sk-revalidate-app)
98
+ * [`sk revalidate jobs APP [REVID]`](#sk-revalidate-jobs-app-revid)
99
+ * [`sk revalidate start APP REVID`](#sk-revalidate-start-app-revid)
100
+ * [`sk revalidate unblock APP`](#sk-revalidate-unblock-app)
101
+ * [`sk revalidate wait APP`](#sk-revalidate-wait-app)
98
102
  * [`sk wpt-launcher URLS TESTID`](#sk-wpt-launcher-urls-testid)
99
103
 
100
104
  ## `sk auto-prewarm CUSTOMERPATH`
@@ -1084,6 +1088,97 @@ EXAMPLES
1084
1088
  $ sk revalidate example-shop --prefix https://www.example.com/en/ --dryRun
1085
1089
  ```
1086
1090
 
1091
+ ## `sk revalidate jobs APP [REVID]`
1092
+
1093
+ List the revalidation jobs of an app that have not ended, or show one in full. In a terminal, it asks which job to show or to start.
1094
+
1095
+ ```
1096
+ USAGE
1097
+ $ sk revalidate jobs APP [REVID] [--state CREATED|SCHEDULED|DEFERRED|RUNNING|FINISHED|ERROR|CANCELLED...]
1098
+
1099
+ ARGUMENTS
1100
+ APP The customer app name
1101
+ [REVID] Show this job in full instead of the list.
1102
+
1103
+ FLAGS
1104
+ --state=<option>... [default: CREATED,SCHEDULED,DEFERRED,RUNNING] List the jobs in these states. Repeatable. The
1105
+ default is every state of a job that has not ended.
1106
+ <options: CREATED|SCHEDULED|DEFERRED|RUNNING|FINISHED|ERROR|CANCELLED>
1107
+
1108
+ DESCRIPTION
1109
+ List the revalidation jobs of an app that have not ended, or show one in full. In a terminal, it asks which job to
1110
+ show or to start.
1111
+
1112
+ EXAMPLES
1113
+ $ sk revalidate jobs example-shop
1114
+
1115
+ $ sk revalidate jobs example-shop --state SCHEDULED --state CANCELLED
1116
+
1117
+ $ sk revalidate jobs example-shop <revId>
1118
+ ```
1119
+
1120
+ ## `sk revalidate start APP REVID`
1121
+
1122
+ Start a scheduled revalidation job now instead of after its wait.
1123
+
1124
+ ```
1125
+ USAGE
1126
+ $ sk revalidate start APP REVID [--wait]
1127
+
1128
+ ARGUMENTS
1129
+ APP The customer app name
1130
+ REVID The scheduled job to start now.
1131
+
1132
+ FLAGS
1133
+ --wait Wait until the job ends.
1134
+
1135
+ DESCRIPTION
1136
+ Start a scheduled revalidation job now instead of after its wait.
1137
+
1138
+ EXAMPLES
1139
+ $ sk revalidate start example-shop <revId>
1140
+
1141
+ $ sk revalidate start example-shop <revId> --wait
1142
+ ```
1143
+
1144
+ ## `sk revalidate unblock APP`
1145
+
1146
+ Start the scheduled deployment jobs of an app until none blocks the HTML. A scheduled deployment job makes Speed Kit answer 306 and serve from origin. Use it while the app runs at 0%: above 0%, let the jobs run on their own schedule and use `sk revalidate wait`.
1147
+
1148
+ ```
1149
+ USAGE
1150
+ $ sk revalidate unblock APP
1151
+
1152
+ ARGUMENTS
1153
+ APP The customer app name
1154
+
1155
+ DESCRIPTION
1156
+ Start the scheduled deployment jobs of an app until none blocks the HTML. A scheduled deployment job makes Speed Kit
1157
+ answer 306 and serve from origin. Use it while the app runs at 0%: above 0%, let the jobs run on their own schedule
1158
+ and use `sk revalidate wait`.
1159
+
1160
+ EXAMPLES
1161
+ $ sk revalidate unblock example-shop
1162
+ ```
1163
+
1164
+ ## `sk revalidate wait APP`
1165
+
1166
+ Wait until no deployment job of an app blocks the HTML. It starts nothing.
1167
+
1168
+ ```
1169
+ USAGE
1170
+ $ sk revalidate wait APP
1171
+
1172
+ ARGUMENTS
1173
+ APP The customer app name
1174
+
1175
+ DESCRIPTION
1176
+ Wait until no deployment job of an app blocks the HTML. It starts nothing.
1177
+
1178
+ EXAMPLES
1179
+ $ sk revalidate wait example-shop
1180
+ ```
1181
+
1087
1182
  ## `sk wpt-launcher URLS TESTID`
1088
1183
 
1089
1184
  Analyze the performance impact that Speed Kit has compared to the original version.
@@ -0,0 +1,16 @@
1
+ import { SkCommand } from "../../base/sk-command.js";
2
+ import { RevalidateJobsBuildContext } from "../../services/revalidate/index.js";
3
+ export default class RevalidateJobs extends SkCommand<RevalidateJobsBuildContext> {
4
+ static description: string;
5
+ static buildContext: typeof RevalidateJobsBuildContext;
6
+ static args: {
7
+ app: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
8
+ revId: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
9
+ };
10
+ static flags: {
11
+ state: import("@oclif/core/interfaces").OptionFlag<string[], import("@oclif/core/interfaces").CustomOptions>;
12
+ };
13
+ static examples: string[];
14
+ run(): Promise<void>;
15
+ private printList;
16
+ }
@@ -0,0 +1,80 @@
1
+ import { SkCommand } from "../../base/sk-command.js";
2
+ import { RevalidateFactory, RevalidateJobsBuildContext, } from "../../services/revalidate/index.js";
3
+ const DONE = "__done__";
4
+ export default class RevalidateJobs extends SkCommand {
5
+ static description = "List the revalidation jobs of an app that have not ended, or show one in full. In a terminal, it asks which job to show or to start.";
6
+ static buildContext = RevalidateJobsBuildContext;
7
+ static args = RevalidateJobsBuildContext.args;
8
+ static flags = RevalidateJobsBuildContext.flags;
9
+ static examples = [
10
+ "$ sk revalidate jobs example-shop",
11
+ "$ sk revalidate jobs example-shop --state SCHEDULED --state CANCELLED",
12
+ "$ sk revalidate jobs example-shop <revId>",
13
+ ];
14
+ async run() {
15
+ const { args, flags } = await this.parse(RevalidateJobs);
16
+ const cli = this.environment.cli;
17
+ const service = new RevalidateFactory(this.context).getService();
18
+ const states = flags["state"];
19
+ if (args.revId) {
20
+ this.log(JSON.stringify(await service.job(args.revId), null, 2));
21
+ return;
22
+ }
23
+ let jobs = await service.list(states);
24
+ this.printList(jobs, states);
25
+ if (cli.nonInteractive || jobs.length === 0) {
26
+ return;
27
+ }
28
+ for (;;) {
29
+ const revId = await cli.select("Which job?", [
30
+ ...jobs.map((job) => ({ name: line(job), value: job.revId })),
31
+ { name: "Done", value: DONE },
32
+ ]);
33
+ if (revId === DONE)
34
+ return;
35
+ const job = jobs.find((candidate) => candidate.revId === revId);
36
+ const action = await cli.select("What should happen?", [
37
+ { name: "Show details", value: "show" },
38
+ ...(job?.state === "SCHEDULED"
39
+ ? [{ name: "Start it now", value: "start" }]
40
+ : []),
41
+ { name: "Back", value: "back" },
42
+ ]);
43
+ if (action === "show") {
44
+ this.log(JSON.stringify(await service.job(revId), null, 2));
45
+ }
46
+ else if (action === "start") {
47
+ await service.resume(revId);
48
+ this.log(`started ${revId}`);
49
+ jobs = await service.list(states);
50
+ this.printList(jobs, states);
51
+ if (jobs.length === 0)
52
+ return;
53
+ }
54
+ }
55
+ }
56
+ printList(jobs, states) {
57
+ if (jobs.length === 0) {
58
+ this.log(`no job in ${states.join(", ")}`);
59
+ return;
60
+ }
61
+ for (const job of jobs)
62
+ this.log(line(job));
63
+ }
64
+ }
65
+ /** One job on one line: what it is, when it runs, and why it started. */
66
+ function line(job) {
67
+ const runs = job.state === "SCHEDULED" && job.scheduledAt && job.scheduleIn
68
+ ? ` runs ${new Date(Date.parse(job.scheduledAt) + job.scheduleIn).toISOString().slice(11, 19)}Z`
69
+ : "";
70
+ return [
71
+ job.revId,
72
+ job.state,
73
+ job.type ?? "",
74
+ job.triggeredBy ?? "",
75
+ `${job.startedAt?.slice(0, 19) ?? ""}${runs}`,
76
+ job.reason ?? "",
77
+ ]
78
+ .filter(Boolean)
79
+ .join(" ");
80
+ }
@@ -0,0 +1,15 @@
1
+ import { SkCommand } from "../../base/sk-command.js";
2
+ import { RevalidateStartBuildContext } from "../../services/revalidate/index.js";
3
+ export default class RevalidateStart extends SkCommand<RevalidateStartBuildContext> {
4
+ static description: string;
5
+ static buildContext: typeof RevalidateStartBuildContext;
6
+ static args: {
7
+ app: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
8
+ revId: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
9
+ };
10
+ static flags: {
11
+ wait: import("@oclif/core/interfaces").BooleanFlag<boolean>;
12
+ };
13
+ static examples: string[];
14
+ run(): Promise<void>;
15
+ }
@@ -0,0 +1,25 @@
1
+ import { SkCommand } from "../../base/sk-command.js";
2
+ import { RevalidateFactory, RevalidateStartBuildContext, } from "../../services/revalidate/index.js";
3
+ export default class RevalidateStart extends SkCommand {
4
+ static description = "Start a scheduled revalidation job now instead of after its wait.";
5
+ static buildContext = RevalidateStartBuildContext;
6
+ static args = RevalidateStartBuildContext.args;
7
+ static flags = RevalidateStartBuildContext.flags;
8
+ static examples = [
9
+ "$ sk revalidate start example-shop <revId>",
10
+ "$ sk revalidate start example-shop <revId> --wait",
11
+ ];
12
+ async run() {
13
+ const { args, flags } = await this.parse(RevalidateStart);
14
+ const service = new RevalidateFactory(this.context).getService();
15
+ await service.resume(args.revId);
16
+ this.log(`started ${args.revId}`);
17
+ if (!flags["wait"])
18
+ return;
19
+ // A detected deployment that follows replaces the job, so CANCELLED is a normal end.
20
+ const job = await service.waitFor(args.revId);
21
+ this.log(`ended as ${job.state}, refreshed ${job.refreshedCount ?? 0}`);
22
+ if (job.state === "ERROR")
23
+ this.error(`the job failed: ${job.error}`);
24
+ }
25
+ }
@@ -0,0 +1,12 @@
1
+ import { SkCommand } from "../../base/sk-command.js";
2
+ import { RevalidateAppBuildContext } from "../../services/revalidate/index.js";
3
+ export default class RevalidateUnblock extends SkCommand<RevalidateAppBuildContext> {
4
+ static description: string;
5
+ static buildContext: typeof RevalidateAppBuildContext;
6
+ static args: {
7
+ app: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
8
+ };
9
+ static flags: {};
10
+ static examples: string[];
11
+ run(): Promise<void>;
12
+ }
@@ -0,0 +1,13 @@
1
+ import { SkCommand } from "../../base/sk-command.js";
2
+ import { RevalidateAppBuildContext, RevalidateFactory, } from "../../services/revalidate/index.js";
3
+ export default class RevalidateUnblock extends SkCommand {
4
+ static description = "Start the scheduled deployment jobs of an app until none blocks the HTML. A scheduled deployment job makes Speed Kit answer 306 and serve from origin. Use it while the app runs at 0%: above 0%, let the jobs run on their own schedule and use `sk revalidate wait`.";
5
+ static buildContext = RevalidateAppBuildContext;
6
+ static args = RevalidateAppBuildContext.args;
7
+ static flags = RevalidateAppBuildContext.flags;
8
+ static examples = ["$ sk revalidate unblock example-shop"];
9
+ async run() {
10
+ await new RevalidateFactory(this.context).getService().settleDeployments();
11
+ this.log("no deployment job blocks the HTML");
12
+ }
13
+ }
@@ -0,0 +1,12 @@
1
+ import { SkCommand } from "../../base/sk-command.js";
2
+ import { RevalidateAppBuildContext } from "../../services/revalidate/index.js";
3
+ export default class RevalidateWait extends SkCommand<RevalidateAppBuildContext> {
4
+ static description: string;
5
+ static buildContext: typeof RevalidateAppBuildContext;
6
+ static args: {
7
+ app: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
8
+ };
9
+ static flags: {};
10
+ static examples: string[];
11
+ run(): Promise<void>;
12
+ }
@@ -0,0 +1,13 @@
1
+ import { SkCommand } from "../../base/sk-command.js";
2
+ import { RevalidateAppBuildContext, RevalidateFactory, } from "../../services/revalidate/index.js";
3
+ export default class RevalidateWait extends SkCommand {
4
+ static description = "Wait until no deployment job of an app blocks the HTML. It starts nothing.";
5
+ static buildContext = RevalidateAppBuildContext;
6
+ static args = RevalidateAppBuildContext.args;
7
+ static flags = RevalidateAppBuildContext.flags;
8
+ static examples = ["$ sk revalidate wait example-shop"];
9
+ async run() {
10
+ await new RevalidateFactory(this.context).getService().waitForDeployments();
11
+ this.log("no deployment job blocks the HTML");
12
+ }
13
+ }
@@ -191,10 +191,13 @@ export class BulkDeployService {
191
191
  /** The summary of the run, and everything a developer has to take over. */
192
192
  summarize(planned) {
193
193
  const results = planned.map((entry) => entry.result);
194
- const applied = results.filter((result) => result.outcome === DeployOutcome.Applied);
194
+ // A configuration that already carries the merge request is deployed too.
195
+ const isLive = (result) => result.outcome === DeployOutcome.Applied ||
196
+ result.outcome === DeployOutcome.AlreadyDeployed;
197
+ const live = results.filter(isLive);
195
198
  // Without a deploy the plan above already is the summary.
196
- if (applied.length > 0) {
197
- this.writeTable("Summary", planned.filter((entry) => entry.result.outcome !== DeployOutcome.Applied));
199
+ if (results.some((result) => result.outcome === DeployOutcome.Applied)) {
200
+ this.writeTable("Summary", planned.filter((entry) => !isLive(entry.result)));
198
201
  }
199
202
  const byHand = results.flatMap((result) => result.notDeployed ?? []);
200
203
  if (byHand.length > 0) {
@@ -202,7 +205,7 @@ export class BulkDeployService {
202
205
  this.cli.code([...new Set(byHand)].join(", "));
203
206
  }
204
207
  this.cli.spacer();
205
- this.cli.write(`${applied.length} of ${results.length} configuration(s) deployed`);
208
+ this.cli.write(`${live.length} of ${results.length} configuration(s) deployed`);
206
209
  return results;
207
210
  }
208
211
  writeTable(title, planned) {
@@ -32,12 +32,14 @@ function writeCustomer(directory, config) {
32
32
  /** A CLI that answers every question the same way, and records them. */
33
33
  function cliAnswering(confirmed, selected = ApprovalAnswer.Skip) {
34
34
  const questions = [];
35
+ const written = [];
36
+ const tables = [];
35
37
  const cli = {
36
38
  spacer: () => undefined,
37
- write: () => undefined,
39
+ write: (line) => written.push(line),
38
40
  writeWarning: () => undefined,
39
41
  code: () => undefined,
40
- table: () => undefined,
42
+ table: (rows) => tables.push(rows),
41
43
  startAction: () => undefined,
42
44
  successAction: () => undefined,
43
45
  prompt: async () => "a description",
@@ -50,7 +52,7 @@ function cliAnswering(confirmed, selected = ApprovalAnswer.Skip) {
50
52
  return selected;
51
53
  },
52
54
  };
53
- return { cli, questions };
55
+ return { cli, questions, written, tables };
54
56
  }
55
57
  /** A deploy that plans as told, and records what was deployed. */
56
58
  function deployFactory(plans, deployed, failing = [], changingDevice = []) {
@@ -175,4 +177,14 @@ describe("BulkDeployService", () => {
175
177
  expect(deployed).to.deep.equal([]);
176
178
  expect(results[0].reason).to.equal("the device detection change was not confirmed");
177
179
  });
180
+ it("counts a configuration that is live already as deployed", async () => {
181
+ const { cli, written, tables } = cliAnswering(true);
182
+ await serviceOf([
183
+ "customers/gohaus/config_SpeedKit.js",
184
+ "customers/bonprix/config_SpeedKit.js",
185
+ ], deployFactory({ "customers/bonprix[production]": DeployOutcome.AlreadyDeployed }, []), cli, ApprovalAnswer.Approved).run();
186
+ expect(written.at(-1)).to.equal("2 of 2 configuration(s) deployed");
187
+ // The plan is the one table: the summary leaves out every live config.
188
+ expect(tables).to.have.length(1);
189
+ });
178
190
  });
@@ -2,3 +2,4 @@ export * from "./revalidate-service-build-context.js";
2
2
  export * from "./revalidate-model.js";
3
3
  export * from "./revalidate-service.js";
4
4
  export * from "./revalidate-factory.js";
5
+ export * from "./revalidate-jobs-build-context.js";
@@ -2,3 +2,4 @@ export * from "./revalidate-service-build-context.js";
2
2
  export * from "./revalidate-model.js";
3
3
  export * from "./revalidate-service.js";
4
4
  export * from "./revalidate-factory.js";
5
+ export * from "./revalidate-jobs-build-context.js";
@@ -2,6 +2,6 @@ import { RevalidateServiceBuildContext } from "./revalidate-service-build-contex
2
2
  import { RevalidateService } from "./revalidate-service.js";
3
3
  export declare class RevalidateFactory {
4
4
  private readonly context;
5
- constructor(context: RevalidateServiceBuildContext);
5
+ constructor(context: Pick<RevalidateServiceBuildContext, "app" | "environment">);
6
6
  getService(): RevalidateService;
7
7
  }
@@ -0,0 +1,56 @@
1
+ import { Interfaces } from "@oclif/core";
2
+ import { CliEnvironment, CommandContextValues } from "../cli/index.js";
3
+ export interface RevalidateAppBuildContextValues extends CommandContextValues {
4
+ readonly app: string;
5
+ }
6
+ declare const appArgs: {
7
+ app: Interfaces.Arg<string, Record<string, unknown>>;
8
+ };
9
+ declare const RevalidateAppBuildContext_base: new (values: RevalidateAppBuildContextValues) => Readonly<RevalidateAppBuildContextValues>;
10
+ /** `sk revalidate unblock` and `sk revalidate wait`: the app alone. */
11
+ export declare class RevalidateAppBuildContext extends RevalidateAppBuildContext_base {
12
+ static readonly args: {
13
+ app: Interfaces.Arg<string, Record<string, unknown>>;
14
+ };
15
+ static readonly flags: {};
16
+ static create(parsedArgs: Interfaces.InferredArgs<typeof appArgs>, _parsedFlags: object, environment: CliEnvironment): RevalidateAppBuildContext;
17
+ }
18
+ declare const jobsArgs: {
19
+ app: Interfaces.Arg<string, Record<string, unknown>>;
20
+ revId: Interfaces.Arg<string, Record<string, unknown>>;
21
+ };
22
+ declare const jobsFlags: {
23
+ state: Interfaces.OptionFlag<string[], Interfaces.CustomOptions>;
24
+ };
25
+ declare const RevalidateJobsBuildContext_base: new (values: RevalidateAppBuildContextValues) => Readonly<RevalidateAppBuildContextValues>;
26
+ /** `sk revalidate jobs`: the app, one job to show, and the states to list. */
27
+ export declare class RevalidateJobsBuildContext extends RevalidateJobsBuildContext_base {
28
+ static readonly args: {
29
+ app: Interfaces.Arg<string, Record<string, unknown>>;
30
+ revId: Interfaces.Arg<string, Record<string, unknown>>;
31
+ };
32
+ static readonly flags: {
33
+ state: Interfaces.OptionFlag<string[], Interfaces.CustomOptions>;
34
+ };
35
+ static create(parsedArgs: Interfaces.InferredArgs<typeof jobsArgs>, _parsedFlags: Interfaces.InferredFlags<typeof jobsFlags>, environment: CliEnvironment): RevalidateJobsBuildContext;
36
+ }
37
+ declare const startArgs: {
38
+ app: Interfaces.Arg<string, Record<string, unknown>>;
39
+ revId: Interfaces.Arg<string, Record<string, unknown>>;
40
+ };
41
+ declare const startFlags: {
42
+ wait: Interfaces.BooleanFlag<boolean>;
43
+ };
44
+ declare const RevalidateStartBuildContext_base: new (values: RevalidateAppBuildContextValues) => Readonly<RevalidateAppBuildContextValues>;
45
+ /** `sk revalidate start`: the app and the scheduled job to start. */
46
+ export declare class RevalidateStartBuildContext extends RevalidateStartBuildContext_base {
47
+ static readonly args: {
48
+ app: Interfaces.Arg<string, Record<string, unknown>>;
49
+ revId: Interfaces.Arg<string, Record<string, unknown>>;
50
+ };
51
+ static readonly flags: {
52
+ wait: Interfaces.BooleanFlag<boolean>;
53
+ };
54
+ static create(parsedArgs: Interfaces.InferredArgs<typeof startArgs>, _parsedFlags: Interfaces.InferredFlags<typeof startFlags>, environment: CliEnvironment): RevalidateStartBuildContext;
55
+ }
56
+ export {};
@@ -0,0 +1,69 @@
1
+ import { Args, Flags } from "@oclif/core";
2
+ import { Context } from "../../models/context.js";
3
+ import { ACTIVE_STATES, JOB_STATES } from "./revalidate-model.js";
4
+ const app = Args.string({
5
+ name: "app",
6
+ required: true,
7
+ description: "The customer app name",
8
+ });
9
+ const appArgs = { app };
10
+ /** `sk revalidate unblock` and `sk revalidate wait`: the app alone. */
11
+ export class RevalidateAppBuildContext extends Context() {
12
+ static args = appArgs;
13
+ static flags = {};
14
+ static create(parsedArgs, _parsedFlags, environment) {
15
+ return new RevalidateAppBuildContext({ environment, app: parsedArgs.app });
16
+ }
17
+ }
18
+ RevalidateAppBuildContext;
19
+ const jobsArgs = {
20
+ app,
21
+ revId: Args.string({
22
+ name: "revId",
23
+ required: false,
24
+ description: "Show this job in full instead of the list.",
25
+ }),
26
+ };
27
+ const jobsFlags = {
28
+ ["state"]: Flags.string({
29
+ multiple: true,
30
+ options: [...JOB_STATES],
31
+ default: ACTIVE_STATES,
32
+ description: "List the jobs in these states. Repeatable. The default is every state of a job that has not ended.",
33
+ }),
34
+ };
35
+ /** `sk revalidate jobs`: the app, one job to show, and the states to list. */
36
+ export class RevalidateJobsBuildContext extends Context() {
37
+ static args = jobsArgs;
38
+ static flags = jobsFlags;
39
+ static create(parsedArgs, _parsedFlags, environment) {
40
+ return new RevalidateJobsBuildContext({ environment, app: parsedArgs.app });
41
+ }
42
+ }
43
+ RevalidateJobsBuildContext;
44
+ const startArgs = {
45
+ app,
46
+ revId: Args.string({
47
+ name: "revId",
48
+ required: true,
49
+ description: "The scheduled job to start now.",
50
+ }),
51
+ };
52
+ const startFlags = {
53
+ ["wait"]: Flags.boolean({
54
+ default: false,
55
+ description: "Wait until the job ends.",
56
+ }),
57
+ };
58
+ /** `sk revalidate start`: the app and the scheduled job to start. */
59
+ export class RevalidateStartBuildContext extends Context() {
60
+ static args = startArgs;
61
+ static flags = startFlags;
62
+ static create(parsedArgs, _parsedFlags, environment) {
63
+ return new RevalidateStartBuildContext({
64
+ environment,
65
+ app: parsedArgs.app,
66
+ });
67
+ }
68
+ }
69
+ RevalidateStartBuildContext;
@@ -35,6 +35,36 @@ export interface RevalidateJobStatusInterface {
35
35
  changedCount?: number;
36
36
  error?: string | null;
37
37
  }
38
+ export declare const JOB_STATES: readonly ["CREATED", "SCHEDULED", "DEFERRED", "RUNNING", "FINISHED", "ERROR", "CANCELLED"];
39
+ export type JobState = (typeof JOB_STATES)[number];
40
+ /** The states of a job that has not ended yet. */
41
+ export declare const ACTIVE_STATES: JobState[];
42
+ /**
43
+ * The states of a deployment job that block the HTML in its scope: Speed Kit
44
+ * answers ServerScheduledDeploymentJob (306) and serves from origin. A RUNNING
45
+ * deployment job serves again.
46
+ */
47
+ export declare const BLOCKING_STATES: JobState[];
48
+ /** One job as the revalidation API lists it. */
49
+ export interface RevalidateJobInterface extends RevalidateJobStatusInterface {
50
+ revId: string;
51
+ type?: RevalidateType;
52
+ name?: string;
53
+ /** What started it: `deploymentDetection`, `changeDetection`, `sk-cli`, … */
54
+ triggeredBy?: string;
55
+ /** Why it started. A detected deployment names the changed asset here. */
56
+ reason?: string | null;
57
+ /** How long a scheduled job waits before it runs, in ms. */
58
+ scheduleIn?: number;
59
+ scheduledAt?: string | null;
60
+ startedAt?: string | null;
61
+ finishedAt?: string | null;
62
+ filter?: {
63
+ origins?: string[];
64
+ contentTypes?: string[];
65
+ urls?: string[];
66
+ };
67
+ }
38
68
  export interface RevalidatePreviewInterface {
39
69
  count: number;
40
70
  sample: string[];
@@ -24,3 +24,25 @@ export const DROPPING_TYPES = new Set([
24
24
  "PURGE",
25
25
  "DEPLOYMENT",
26
26
  ]);
27
+ export const JOB_STATES = [
28
+ "CREATED",
29
+ "SCHEDULED",
30
+ "DEFERRED",
31
+ "RUNNING",
32
+ "FINISHED",
33
+ "ERROR",
34
+ "CANCELLED",
35
+ ];
36
+ /** The states of a job that has not ended yet. */
37
+ export const ACTIVE_STATES = [
38
+ "CREATED",
39
+ "SCHEDULED",
40
+ "DEFERRED",
41
+ "RUNNING",
42
+ ];
43
+ /**
44
+ * The states of a deployment job that block the HTML in its scope: Speed Kit
45
+ * answers ServerScheduledDeploymentJob (306) and serves from origin. A RUNNING
46
+ * deployment job serves again.
47
+ */
48
+ export const BLOCKING_STATES = ["CREATED", "SCHEDULED"];
@@ -1,6 +1,6 @@
1
1
  import { CliServiceInterface } from "../cli/index.js";
2
2
  import { ConfigApiService } from "../config-api/index.js";
3
- import { RevalidateFilterInterface, RevalidateJobStatusInterface, RevalidatePreviewInterface, RevalidateType } from "./revalidate-model.js";
3
+ import { JobState, RevalidateFilterInterface, RevalidateJobInterface, RevalidateJobStatusInterface, RevalidatePreviewInterface, RevalidateType } from "./revalidate-model.js";
4
4
  /**
5
5
  * Reads the literal head of an anchored pattern, which is the prefix the job needs.
6
6
  *
@@ -42,6 +42,18 @@ export declare class RevalidateService {
42
42
  /** Submits the job and returns its status id. */
43
43
  submit(filter: RevalidateFilterInterface, type: RevalidateType): Promise<string>;
44
44
  status(statusId: string): Promise<RevalidateJobStatusInterface>;
45
+ /**
46
+ * Lists the jobs in the given states, newest first. The API filters by one
47
+ * state per request and answers `{ status: { <revId>: job } }`.
48
+ */
49
+ list(states: JobState[]): Promise<RevalidateJobInterface[]>;
50
+ /** One job in full. */
51
+ job(revId: string): Promise<RevalidateJobInterface>;
52
+ /**
53
+ * Starts a scheduled job now instead of after its `scheduleIn`. The server
54
+ * accepts only `{"status":"RUNNING"}`, and only on a SCHEDULED job.
55
+ */
56
+ resume(revId: string): Promise<void>;
45
57
  /**
46
58
  * Issues the request itself instead of going through the shared client. A
47
59
  * submitted job answers 202, and the shared client reports every status other
@@ -50,6 +62,22 @@ export declare class RevalidateService {
50
62
  private request;
51
63
  /** Polls until the job reaches a terminal state, and reports each state change. */
52
64
  waitFor(statusId: string): Promise<RevalidateJobStatusInterface>;
65
+ /** The deployment jobs in the given states. Other jobs are small and many on a live app. */
66
+ deployments(states: JobState[]): Promise<RevalidateJobInterface[]>;
67
+ /** Polls until no deployment job blocks the HTML, and reports each change of the count. */
68
+ waitForDeployments(): Promise<void>;
69
+ /**
70
+ * Starts every scheduled deployment job, until no deployment job blocks the
71
+ * HTML. A started job renders the pages again and can discover a new asset
72
+ * version, so a new job may follow, and this repeats.
73
+ *
74
+ * An asset whose version changes without a release schedules a new job on
75
+ * every run, and the loop would never end. So it stops after `maxRounds`
76
+ * starts and names the reasons that kept coming back.
77
+ */
78
+ settleDeployments(maxRounds?: number): Promise<void>;
79
+ /** A job can leave SCHEDULED between the listing and the start; the server then answers 400 "Job is …". */
80
+ private startIfScheduled;
53
81
  /**
54
82
  * Mirrors the job's filter as one MongoDB query, so the dry run reports the set
55
83
  * the job takes and not every URL the query alone would match.
@@ -1,7 +1,10 @@
1
1
  import ApplicationError from "../error-handling/error/application-error.js";
2
- import { ASSET_TABLE, } from "./revalidate-model.js";
2
+ import { ASSET_TABLE, BLOCKING_STATES, } from "./revalidate-model.js";
3
3
  const POLL_INTERVAL = 3000;
4
4
  const TERMINAL_STATES = new Set(["FINISHED", "ERROR", "CANCELLED"]);
5
+ /** How often settleDeployments starts the scheduled jobs before it gives up. */
6
+ const SETTLE_ROUNDS = 10;
7
+ const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
5
8
  /** Escapes a prefix so it can go into the dry-run query as a literal. */
6
9
  function escapeRegExp(value) {
7
10
  return value.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
@@ -147,6 +150,27 @@ export class RevalidateService {
147
150
  async status(statusId) {
148
151
  return this.request(`https://${this.app}.app.baqend.com/v1/asset/revalidate/${statusId}`);
149
152
  }
153
+ /**
154
+ * Lists the jobs in the given states, newest first. The API filters by one
155
+ * state per request and answers `{ status: { <revId>: job } }`.
156
+ */
157
+ async list(states) {
158
+ const answers = await Promise.all(states.map((state) => this.request(`https://${this.app}.app.baqend.com/v1/asset/revalidate?state=${state}`)));
159
+ return answers
160
+ .flatMap((answer) => Object.values(answer.status ?? {}))
161
+ .sort((a, b) => (b.startedAt ?? "").localeCompare(a.startedAt ?? ""));
162
+ }
163
+ /** One job in full. */
164
+ async job(revId) {
165
+ return this.request(`https://${this.app}.app.baqend.com/v1/asset/revalidate/${revId}`);
166
+ }
167
+ /**
168
+ * Starts a scheduled job now instead of after its `scheduleIn`. The server
169
+ * accepts only `{"status":"RUNNING"}`, and only on a SCHEDULED job.
170
+ */
171
+ async resume(revId) {
172
+ await this.request(`https://${this.app}.app.baqend.com/v1/asset/revalidate/${revId}`, { method: "POST", body: JSON.stringify({ status: "RUNNING" }) });
173
+ }
150
174
  /**
151
175
  * Issues the request itself instead of going through the shared client. A
152
176
  * submitted job answers 202, and the shared client reports every status other
@@ -177,6 +201,70 @@ export class RevalidateService {
177
201
  await new Promise((resolve) => setTimeout(resolve, POLL_INTERVAL));
178
202
  }
179
203
  }
204
+ /** The deployment jobs in the given states. Other jobs are small and many on a live app. */
205
+ async deployments(states) {
206
+ return (await this.list(states)).filter((job) => job.type === "DEPLOYMENT");
207
+ }
208
+ /** Polls until no deployment job blocks the HTML, and reports each change of the count. */
209
+ async waitForDeployments() {
210
+ let lastCount = -1;
211
+ for (;;) {
212
+ const count = (await this.deployments(BLOCKING_STATES)).length;
213
+ if (count !== lastCount) {
214
+ this.cli.write(`${count} deployment job(s) block the HTML`);
215
+ lastCount = count;
216
+ }
217
+ if (count === 0)
218
+ return;
219
+ await sleep(POLL_INTERVAL);
220
+ }
221
+ }
222
+ /**
223
+ * Starts every scheduled deployment job, until no deployment job blocks the
224
+ * HTML. A started job renders the pages again and can discover a new asset
225
+ * version, so a new job may follow, and this repeats.
226
+ *
227
+ * An asset whose version changes without a release schedules a new job on
228
+ * every run, and the loop would never end. So it stops after `maxRounds`
229
+ * starts and names the reasons that kept coming back.
230
+ */
231
+ async settleDeployments(maxRounds = SETTLE_ROUNDS) {
232
+ const reasons = [];
233
+ let rounds = 0;
234
+ for (;;) {
235
+ const blocking = await this.deployments(BLOCKING_STATES);
236
+ if (blocking.length === 0)
237
+ return;
238
+ const scheduled = blocking.filter((job) => job.state === "SCHEDULED");
239
+ if (scheduled.length > 0) {
240
+ if (++rounds > maxRounds) {
241
+ throw new ApplicationError(`deployment jobs kept coming back after ${maxRounds} starts`, [
242
+ ...new Set(reasons.slice(-5)),
243
+ "An asset whose version changes without a release schedules a job on every run. Compare its content instead of its URL: in config_documentHandler.js, set executeDeploymentDetection.compareAssetVersions for a timestamp or random value in the URL, or compareContentHashes for an asset without any version.",
244
+ "Use ignoreAssets only for an asset that is not part of the shop's release, such as a third-party bundle.",
245
+ ]);
246
+ }
247
+ for (const job of scheduled) {
248
+ if (job.reason)
249
+ reasons.push(job.reason);
250
+ await this.startIfScheduled(job.revId, job.reason);
251
+ }
252
+ }
253
+ await sleep(POLL_INTERVAL);
254
+ }
255
+ }
256
+ /** A job can leave SCHEDULED between the listing and the start; the server then answers 400 "Job is …". */
257
+ async startIfScheduled(revId, reason) {
258
+ try {
259
+ await this.resume(revId);
260
+ this.cli.write(`started ${revId}${reason ? ` — ${reason}` : ""}`);
261
+ }
262
+ catch (error) {
263
+ if (!String(error.suggestions ?? "").includes("Job is")) {
264
+ throw error;
265
+ }
266
+ }
267
+ }
180
268
  /**
181
269
  * Mirrors the job's filter as one MongoDB query, so the dry run reports the set
182
270
  * the job takes and not every URL the query alone would match.
@@ -0,0 +1,130 @@
1
+ import { expect } from "chai";
2
+ import { afterEach, describe, it } from "mocha";
3
+ import nock from "nock";
4
+ import { RevalidateService } from "../revalidate-service.js";
5
+ const HOST = "https://example-shop.app.baqend.com";
6
+ function service(written = []) {
7
+ const configApi = {
8
+ client: { createRequest: async (extension = {}) => ({ ...extension }) },
9
+ };
10
+ return new RevalidateService(configApi, {
11
+ write: (line) => {
12
+ written.push(line);
13
+ },
14
+ }, "example-shop");
15
+ }
16
+ describe("RevalidateService jobs", () => {
17
+ afterEach(() => nock.cleanAll());
18
+ it("merges one request per state, newest first", async () => {
19
+ nock(HOST)
20
+ .get("/v1/asset/revalidate")
21
+ .query({ state: "SCHEDULED" })
22
+ .reply(200, {
23
+ fastlane: {},
24
+ status: {
25
+ a: {
26
+ revId: "a",
27
+ state: "SCHEDULED",
28
+ startedAt: "2026-10-16T10:00:00Z",
29
+ },
30
+ },
31
+ })
32
+ .get("/v1/asset/revalidate")
33
+ .query({ state: "RUNNING" })
34
+ .reply(200, {
35
+ fastlane: {},
36
+ status: {
37
+ b: {
38
+ revId: "b",
39
+ state: "RUNNING",
40
+ startedAt: "2026-10-16T11:00:00Z",
41
+ },
42
+ },
43
+ });
44
+ const jobs = await service().list(["SCHEDULED", "RUNNING"]);
45
+ expect(jobs.map((job) => job.revId)).to.deep.equal(["b", "a"]);
46
+ });
47
+ it("reads an empty state as no job", async () => {
48
+ nock(HOST)
49
+ .get("/v1/asset/revalidate")
50
+ .query({ state: "SCHEDULED" })
51
+ .reply(200, { fastlane: {}, status: {} });
52
+ expect(await service().list(["SCHEDULED"])).to.deep.equal([]);
53
+ });
54
+ it("resumes with status RUNNING, the body the API accepts", async () => {
55
+ let body;
56
+ nock(HOST)
57
+ .post("/v1/asset/revalidate/a", (sent) => {
58
+ body = sent;
59
+ return true;
60
+ })
61
+ .reply(204);
62
+ await service().resume("a");
63
+ expect(body).to.deep.equal({ status: "RUNNING" });
64
+ });
65
+ /** Answers each listing round: one reply per blocking state, CREATED first. */
66
+ function rounds(...scheduled) {
67
+ const scope = nock(HOST);
68
+ for (const answer of scheduled) {
69
+ scope
70
+ .get("/v1/asset/revalidate")
71
+ .query({ state: "CREATED" })
72
+ .reply(200, { status: {} })
73
+ .get("/v1/asset/revalidate")
74
+ .query({ state: "SCHEDULED" })
75
+ .reply(200, answer);
76
+ }
77
+ return scope;
78
+ }
79
+ const deployment = (reason = "Changed asset x.js") => ({
80
+ status: {
81
+ a: { revId: "a", state: "SCHEDULED", type: "DEPLOYMENT", reason },
82
+ b: { revId: "b", state: "SCHEDULED", type: "REFRESH" },
83
+ },
84
+ });
85
+ const onlySmallJobs = {
86
+ status: { b: { revId: "b", state: "SCHEDULED", type: "REFRESH" } },
87
+ };
88
+ it("waits until no deployment job blocks the HTML, and ignores the small jobs", async () => {
89
+ rounds(deployment(), onlySmallJobs);
90
+ const written = [];
91
+ await service(written).waitForDeployments();
92
+ expect(written).to.deep.equal([
93
+ "1 deployment job(s) block the HTML",
94
+ "0 deployment job(s) block the HTML",
95
+ ]);
96
+ }).timeout(10000);
97
+ describe("settleDeployments", () => {
98
+ it("starts only the scheduled deployment jobs, until none blocks the HTML", async () => {
99
+ const started = [];
100
+ rounds(deployment(), onlySmallJobs)
101
+ .post(/\/v1\/asset\/revalidate\/.+/)
102
+ .reply(204, (uri) => {
103
+ started.push(uri.split("/").pop() ?? "");
104
+ return "";
105
+ });
106
+ await service([]).settleDeployments();
107
+ expect(started).to.deep.equal(["a"]);
108
+ }).timeout(10000);
109
+ it("skips a job that left SCHEDULED before the start", async () => {
110
+ rounds(deployment(), onlySmallJobs)
111
+ .post("/v1/asset/revalidate/a")
112
+ .reply(400, { message: "Job is RUNNING" });
113
+ await service([]).settleDeployments();
114
+ }).timeout(10000);
115
+ it("gives up on a job that keeps coming back, and names its reason", async () => {
116
+ rounds(deployment("Changed asset main.js?c=17"), deployment("Changed asset main.js?c=18"))
117
+ .post("/v1/asset/revalidate/a")
118
+ .reply(204);
119
+ let error;
120
+ try {
121
+ await service([]).settleDeployments(1);
122
+ }
123
+ catch (caught) {
124
+ error = caught;
125
+ }
126
+ expect(error?.message).to.contain("kept coming back");
127
+ expect(JSON.stringify(error)).to.contain("main.js?c=17");
128
+ }).timeout(10000);
129
+ });
130
+ });
@@ -1925,7 +1925,170 @@
1925
1925
  "query",
1926
1926
  "prewarm.js"
1927
1927
  ]
1928
+ },
1929
+ "revalidate:jobs": {
1930
+ "aliases": [],
1931
+ "args": {
1932
+ "app": {
1933
+ "description": "The customer app name",
1934
+ "name": "app",
1935
+ "required": true
1936
+ },
1937
+ "revId": {
1938
+ "description": "Show this job in full instead of the list.",
1939
+ "name": "revId",
1940
+ "required": false
1941
+ }
1942
+ },
1943
+ "description": "List the revalidation jobs of an app that have not ended, or show one in full. In a terminal, it asks which job to show or to start.",
1944
+ "examples": [
1945
+ "$ sk revalidate jobs example-shop",
1946
+ "$ sk revalidate jobs example-shop --state SCHEDULED --state CANCELLED",
1947
+ "$ sk revalidate jobs example-shop <revId>"
1948
+ ],
1949
+ "flags": {
1950
+ "state": {
1951
+ "description": "List the jobs in these states. Repeatable. The default is every state of a job that has not ended.",
1952
+ "name": "state",
1953
+ "default": [
1954
+ "CREATED",
1955
+ "SCHEDULED",
1956
+ "DEFERRED",
1957
+ "RUNNING"
1958
+ ],
1959
+ "hasDynamicHelp": false,
1960
+ "multiple": true,
1961
+ "options": [
1962
+ "CREATED",
1963
+ "SCHEDULED",
1964
+ "DEFERRED",
1965
+ "RUNNING",
1966
+ "FINISHED",
1967
+ "ERROR",
1968
+ "CANCELLED"
1969
+ ],
1970
+ "type": "option"
1971
+ }
1972
+ },
1973
+ "hasDynamicHelp": false,
1974
+ "hiddenAliases": [],
1975
+ "id": "revalidate:jobs",
1976
+ "pluginAlias": "@speedkit/cli",
1977
+ "pluginName": "@speedkit/cli",
1978
+ "pluginType": "core",
1979
+ "strict": true,
1980
+ "enableJsonFlag": false,
1981
+ "isESM": true,
1982
+ "relativePath": [
1983
+ "dist",
1984
+ "commands",
1985
+ "revalidate",
1986
+ "jobs.js"
1987
+ ]
1988
+ },
1989
+ "revalidate:start": {
1990
+ "aliases": [],
1991
+ "args": {
1992
+ "app": {
1993
+ "description": "The customer app name",
1994
+ "name": "app",
1995
+ "required": true
1996
+ },
1997
+ "revId": {
1998
+ "description": "The scheduled job to start now.",
1999
+ "name": "revId",
2000
+ "required": true
2001
+ }
2002
+ },
2003
+ "description": "Start a scheduled revalidation job now instead of after its wait.",
2004
+ "examples": [
2005
+ "$ sk revalidate start example-shop <revId>",
2006
+ "$ sk revalidate start example-shop <revId> --wait"
2007
+ ],
2008
+ "flags": {
2009
+ "wait": {
2010
+ "description": "Wait until the job ends.",
2011
+ "name": "wait",
2012
+ "allowNo": false,
2013
+ "type": "boolean"
2014
+ }
2015
+ },
2016
+ "hasDynamicHelp": false,
2017
+ "hiddenAliases": [],
2018
+ "id": "revalidate:start",
2019
+ "pluginAlias": "@speedkit/cli",
2020
+ "pluginName": "@speedkit/cli",
2021
+ "pluginType": "core",
2022
+ "strict": true,
2023
+ "enableJsonFlag": false,
2024
+ "isESM": true,
2025
+ "relativePath": [
2026
+ "dist",
2027
+ "commands",
2028
+ "revalidate",
2029
+ "start.js"
2030
+ ]
2031
+ },
2032
+ "revalidate:unblock": {
2033
+ "aliases": [],
2034
+ "args": {
2035
+ "app": {
2036
+ "description": "The customer app name",
2037
+ "name": "app",
2038
+ "required": true
2039
+ }
2040
+ },
2041
+ "description": "Start the scheduled deployment jobs of an app until none blocks the HTML. A scheduled deployment job makes Speed Kit answer 306 and serve from origin. Use it while the app runs at 0%: above 0%, let the jobs run on their own schedule and use `sk revalidate wait`.",
2042
+ "examples": [
2043
+ "$ sk revalidate unblock example-shop"
2044
+ ],
2045
+ "flags": {},
2046
+ "hasDynamicHelp": false,
2047
+ "hiddenAliases": [],
2048
+ "id": "revalidate:unblock",
2049
+ "pluginAlias": "@speedkit/cli",
2050
+ "pluginName": "@speedkit/cli",
2051
+ "pluginType": "core",
2052
+ "strict": true,
2053
+ "enableJsonFlag": false,
2054
+ "isESM": true,
2055
+ "relativePath": [
2056
+ "dist",
2057
+ "commands",
2058
+ "revalidate",
2059
+ "unblock.js"
2060
+ ]
2061
+ },
2062
+ "revalidate:wait": {
2063
+ "aliases": [],
2064
+ "args": {
2065
+ "app": {
2066
+ "description": "The customer app name",
2067
+ "name": "app",
2068
+ "required": true
2069
+ }
2070
+ },
2071
+ "description": "Wait until no deployment job of an app blocks the HTML. It starts nothing.",
2072
+ "examples": [
2073
+ "$ sk revalidate wait example-shop"
2074
+ ],
2075
+ "flags": {},
2076
+ "hasDynamicHelp": false,
2077
+ "hiddenAliases": [],
2078
+ "id": "revalidate:wait",
2079
+ "pluginAlias": "@speedkit/cli",
2080
+ "pluginName": "@speedkit/cli",
2081
+ "pluginType": "core",
2082
+ "strict": true,
2083
+ "enableJsonFlag": false,
2084
+ "isESM": true,
2085
+ "relativePath": [
2086
+ "dist",
2087
+ "commands",
2088
+ "revalidate",
2089
+ "wait.js"
2090
+ ]
1928
2091
  }
1929
2092
  },
1930
- "version": "4.46.0"
2093
+ "version": "4.48.0"
1931
2094
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@speedkit/cli",
3
3
  "description": "Speed Kit CLI",
4
- "version": "4.46.0",
4
+ "version": "4.48.0",
5
5
  "author": {
6
6
  "name": "Baqend.com",
7
7
  "email": "info@baqend.com"