@speedkit/cli 4.44.0-beta.3 → 4.44.0-beta.5
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 +22 -0
- package/dist/services/bundler/packjockel-service.d.ts +24 -0
- package/dist/services/bundler/packjockel-service.js +26 -0
- package/dist/services/bundler/spec/packjockel-service.spec.js +25 -0
- package/dist/services/onboarding/config-renderer/speed-kit-install-context.d.ts +2 -0
- package/dist/services/onboarding/config-renderer/speed-kit-install-context.js +19 -10
- package/dist/services/onboarding/file-events/file-watcher.d.ts +3 -1
- package/dist/services/onboarding/file-events/file-watcher.js +9 -2
- package/dist/services/onboarding/spec/file-events/file-watcher.spec.d.ts +1 -0
- package/dist/services/onboarding/spec/file-events/file-watcher.spec.js +67 -0
- package/oclif.manifest.json +144 -144
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,25 @@
|
|
|
1
|
+
# [4.44.0-beta.5](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v4.44.0-beta.4...v4.44.0-beta.5) (2026-10-16)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **onboarding:** rebuild the document handler when config_SpeedKit changes ([406b07a](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/406b07af2fb050dfb38b7fdfbcfc7b74ddfe6dd7))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **bundler:** bundle the install script with packjockel install-script ([a4d22d5](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/a4d22d525a148fcc1b2e24932af6571865f49dc7))
|
|
12
|
+
* **bundler:** run packjockel 3.2.0 for the install-script subcommand ([ff90fcb](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/ff90fcb37627dc2115293e5e96aea4403a12e128))
|
|
13
|
+
* **onboarding:** pass the feature flags of the customer to the packjockel install script ([976bcf2](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/976bcf2bd89b51b44ee8cfe73e4426af5aad60bf))
|
|
14
|
+
|
|
15
|
+
# [4.44.0-beta.4](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v4.44.0-beta.3...v4.44.0-beta.4) (2026-10-14)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
* **bundler:** run packjockel 3.1.0 for the bare document-handler import ([b3771ea](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/b3771ea5551fb812cda2689bb2be8b752de69a27))
|
|
21
|
+
* **onboarding:** set the app on SpeedKit.config like the install script of the server ([89e6073](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/89e6073933a1ff081a8918eec75d8c7f8c512e26))
|
|
22
|
+
|
|
1
23
|
# [4.44.0-beta.3](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v4.44.0-beta.2...v4.44.0-beta.3) (2026-10-12)
|
|
2
24
|
|
|
3
25
|
|
|
@@ -21,6 +21,23 @@ export interface PackjockelBundleRequest {
|
|
|
21
21
|
target?: "es5" | "es6";
|
|
22
22
|
minify?: boolean;
|
|
23
23
|
}
|
|
24
|
+
export interface PackjockelInstallScriptRequest {
|
|
25
|
+
/** The config plugins, such as the `rum.js` load handler. */
|
|
26
|
+
plugins: string;
|
|
27
|
+
/** The Speed Kit config, which writes `SpeedKit.config`. */
|
|
28
|
+
config: string;
|
|
29
|
+
loader: string;
|
|
30
|
+
/** Set as `SpeedKit.config.installationId`. */
|
|
31
|
+
installationId: string;
|
|
32
|
+
/**
|
|
33
|
+
* The feature flags of the app. packjockel reads the flags it knows, such as `executeInIframe`, and
|
|
34
|
+
* ignores the others.
|
|
35
|
+
*/
|
|
36
|
+
features?: Record<string, boolean>;
|
|
37
|
+
versions?: AssetVersions;
|
|
38
|
+
define?: Record<string, string>;
|
|
39
|
+
minify?: boolean;
|
|
40
|
+
}
|
|
24
41
|
export interface PackjockelDocumentHandlerRequest {
|
|
25
42
|
/** The document handler library; without it packjockel bundles the published one of `documentHandlerVersion`. */
|
|
26
43
|
documentHandler?: string;
|
|
@@ -52,6 +69,13 @@ export declare class PackjockelService {
|
|
|
52
69
|
* @returns the bundled code
|
|
53
70
|
*/
|
|
54
71
|
bundle(request: PackjockelBundleRequest): Promise<string>;
|
|
72
|
+
/**
|
|
73
|
+
* Bundles the Speed Kit install script: the `SpeedKit` global, the plugins, the config, the
|
|
74
|
+
* installation (app, installation id) and the loader, in this order.
|
|
75
|
+
*
|
|
76
|
+
* @returns the install script
|
|
77
|
+
*/
|
|
78
|
+
bundleInstallScript(request: PackjockelInstallScriptRequest): Promise<string>;
|
|
55
79
|
/**
|
|
56
80
|
* Bundles a document handler with its config, the embedded Speed Kit config and the default `post`.
|
|
57
81
|
*
|
|
@@ -50,6 +50,32 @@ export class PackjockelService {
|
|
|
50
50
|
return args;
|
|
51
51
|
}, request.versions);
|
|
52
52
|
}
|
|
53
|
+
/**
|
|
54
|
+
* Bundles the Speed Kit install script: the `SpeedKit` global, the plugins, the config, the
|
|
55
|
+
* installation (app, installation id) and the loader, in this order.
|
|
56
|
+
*
|
|
57
|
+
* @returns the install script
|
|
58
|
+
*/
|
|
59
|
+
async bundleInstallScript(request) {
|
|
60
|
+
return this.run(async (directory) => {
|
|
61
|
+
const args = [
|
|
62
|
+
"bundle",
|
|
63
|
+
"install-script",
|
|
64
|
+
await writeInput(directory, "loader.js", request.loader),
|
|
65
|
+
`--plugins=${await writeInput(directory, "plugins.js", request.plugins)}`,
|
|
66
|
+
`--config=${await writeInput(directory, "config.js", request.config)}`,
|
|
67
|
+
`--installation-id=${request.installationId}`,
|
|
68
|
+
];
|
|
69
|
+
if (request.features) {
|
|
70
|
+
args.push(`--features=${await writeInput(directory, "features.json", JSON.stringify(request.features))}`);
|
|
71
|
+
}
|
|
72
|
+
if (request.minify) {
|
|
73
|
+
args.push("--minify");
|
|
74
|
+
}
|
|
75
|
+
args.push(...keyValueFlags("--define", request.define));
|
|
76
|
+
return args;
|
|
77
|
+
}, request.versions);
|
|
78
|
+
}
|
|
53
79
|
/**
|
|
54
80
|
* Bundles a document handler with its config, the embedded Speed Kit config and the default `post`.
|
|
55
81
|
*
|
|
@@ -81,6 +81,31 @@ describe("PackjockelService", () => {
|
|
|
81
81
|
"config.js: SpeedKit.config = {}",
|
|
82
82
|
]);
|
|
83
83
|
});
|
|
84
|
+
it("should bundle the install script with its loader, plugins and config", async () => {
|
|
85
|
+
const bundle = await service.bundleInstallScript({
|
|
86
|
+
plugins: "rum()",
|
|
87
|
+
config: "SpeedKit.config = {}",
|
|
88
|
+
loader: "load()",
|
|
89
|
+
installationId: "onboarding",
|
|
90
|
+
features: { executeInIframe: true },
|
|
91
|
+
versions: { speedKitVersion: "2.22.4" },
|
|
92
|
+
define: { APP: '"shop"' },
|
|
93
|
+
});
|
|
94
|
+
const { args, inputs } = await recorded();
|
|
95
|
+
expect(bundle.trim()).to.equal("bundled");
|
|
96
|
+
expect(args.slice(0, 2)).to.deep.equal(["bundle", "install-script"]);
|
|
97
|
+
expect(args).to.include("--installation-id=onboarding");
|
|
98
|
+
expect(args.some((arg) => arg.startsWith("--target")), "packjockel builds the install script for one browser gate").to.equal(false);
|
|
99
|
+
expect(args).to.include('--define=APP="shop"');
|
|
100
|
+
expect(args).to.include("--speed-kit-version=2.22.4");
|
|
101
|
+
expect(args).to.include("--embedded");
|
|
102
|
+
expect(inputs).to.deep.equal([
|
|
103
|
+
"loader.js: load()",
|
|
104
|
+
"plugins.js: rum()",
|
|
105
|
+
"config.js: SpeedKit.config = {}",
|
|
106
|
+
'features.json: {"executeInIframe":true}',
|
|
107
|
+
]);
|
|
108
|
+
});
|
|
84
109
|
it("should bundle a document handler with every input it got", async () => {
|
|
85
110
|
await service.bundleDocumentHandler({
|
|
86
111
|
documentHandler: "var DocumentHandler = 1",
|
|
@@ -9,6 +9,8 @@ export declare class SpeedKitInstallContext {
|
|
|
9
9
|
private skTemplate;
|
|
10
10
|
constructor(customerConfig: CustomerConfig, configName: string, files: FileListInterface, bundler: BundleService, skTemplate: InstallSpeedKitJsTemplate);
|
|
11
11
|
getSpeedKitInstallJs(): Promise<string>;
|
|
12
|
+
/** The boolean feature flags of the customer: packjockel rejects a request with any other value. */
|
|
13
|
+
private getFeatures;
|
|
12
14
|
private prepareConfigLoadHandler;
|
|
13
15
|
/** The Speed Kit config, with `delayRacedOrigin` set to 100 ms for the local documentHandler. */
|
|
14
16
|
private getConfigSpeedKit;
|
|
@@ -32,21 +32,26 @@ export class SpeedKitInstallContext {
|
|
|
32
32
|
.getByName(INTEGRATION_FILES.CUSTOM.DYNAMIC_FETCHER)
|
|
33
33
|
.getContent(),
|
|
34
34
|
});
|
|
35
|
-
const
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
"loader.js": this.files
|
|
39
|
-
.getByName(INTEGRATION_FILES.CUSTOM.LOADER)
|
|
40
|
-
.getContent(),
|
|
41
|
-
};
|
|
35
|
+
const loader = this.files
|
|
36
|
+
.getByName(INTEGRATION_FILES.CUSTOM.LOADER)
|
|
37
|
+
.getContent();
|
|
42
38
|
if (configPlugins) {
|
|
43
|
-
return this.bundler.packjockel.
|
|
44
|
-
|
|
39
|
+
return this.bundler.packjockel.bundleInstallScript({
|
|
40
|
+
plugins: this.prepareConfigLoadHandler(),
|
|
41
|
+
config: configJs,
|
|
42
|
+
loader,
|
|
43
|
+
// The local install script belongs to no deployed installation.
|
|
44
|
+
installationId: "onboarding",
|
|
45
|
+
features: this.getFeatures(),
|
|
45
46
|
versions: this.customerConfig,
|
|
46
47
|
define: { APP: JSON.stringify(this.customerConfig.app) },
|
|
47
|
-
platform: "browser",
|
|
48
48
|
});
|
|
49
49
|
}
|
|
50
|
+
const entryPoints = {
|
|
51
|
+
"rum.js": this.prepareConfigLoadHandler(),
|
|
52
|
+
"config.js": configJs,
|
|
53
|
+
"loader.js": loader,
|
|
54
|
+
};
|
|
50
55
|
return this.bundler.bundle({
|
|
51
56
|
basePaths: IMPORT_PATHS,
|
|
52
57
|
entryPoints,
|
|
@@ -58,6 +63,10 @@ export class SpeedKitInstallContext {
|
|
|
58
63
|
},
|
|
59
64
|
});
|
|
60
65
|
}
|
|
66
|
+
/** The boolean feature flags of the customer: packjockel rejects a request with any other value. */
|
|
67
|
+
getFeatures() {
|
|
68
|
+
return Object.fromEntries(Object.entries(this.customerConfig.features ?? {}).filter((entry) => typeof entry[1] === "boolean"));
|
|
69
|
+
}
|
|
61
70
|
prepareConfigLoadHandler() {
|
|
62
71
|
return this.files
|
|
63
72
|
.getByName(INTEGRATION_FILES.CONFIG.LOAD_HANDLER)
|
|
@@ -70,7 +70,9 @@ export declare class FileWatcher {
|
|
|
70
70
|
*/
|
|
71
71
|
private handleDynamicStyles;
|
|
72
72
|
/**
|
|
73
|
-
* fileWatcherCallback that will reinstall the serviceWorker
|
|
73
|
+
* fileWatcherCallback that will reinstall the serviceWorker.
|
|
74
|
+
* With the `enableSpeedKitConfigPlugins` feature, the document handler embeds `config_SpeedKit`,
|
|
75
|
+
* so a change to that file also rebuilds the document handler and drops its cache.
|
|
74
76
|
*
|
|
75
77
|
* @param file
|
|
76
78
|
* @param page
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { safe } from "../../../helpers/safe.js";
|
|
2
|
-
import { FILE_TYPE, } from "../../integration-api/index.js";
|
|
2
|
+
import { FILE_TYPE, usesConfigPlugins, } from "../../integration-api/index.js";
|
|
3
3
|
import { INTEGRATION_FILES } from "../../../models/files.js";
|
|
4
4
|
import { race } from "../../../helpers/race.js";
|
|
5
5
|
/**
|
|
@@ -153,7 +153,9 @@ export class FileWatcher {
|
|
|
153
153
|
}, { signal });
|
|
154
154
|
}
|
|
155
155
|
/**
|
|
156
|
-
* fileWatcherCallback that will reinstall the serviceWorker
|
|
156
|
+
* fileWatcherCallback that will reinstall the serviceWorker.
|
|
157
|
+
* With the `enableSpeedKitConfigPlugins` feature, the document handler embeds `config_SpeedKit`,
|
|
158
|
+
* so a change to that file also rebuilds the document handler and drops its cache.
|
|
157
159
|
*
|
|
158
160
|
* @param file
|
|
159
161
|
* @param page
|
|
@@ -166,6 +168,11 @@ export class FileWatcher {
|
|
|
166
168
|
// clear speed-kit-service-worker-caches and uninstall serviceWorker
|
|
167
169
|
await this.safeClearPageBrowsersCacheStorage(page);
|
|
168
170
|
await this.unregisterServiceWorker(page);
|
|
171
|
+
if (file.name === INTEGRATION_FILES.CONFIG.SPEED_KIT &&
|
|
172
|
+
usesConfigPlugins(this.customerConfig)) {
|
|
173
|
+
await this.documentHandler.buildDocumentHandler();
|
|
174
|
+
this.clearOrRefreshCache(page);
|
|
175
|
+
}
|
|
169
176
|
// rebuild installResource
|
|
170
177
|
await installResource.buildContent();
|
|
171
178
|
// tell puppeteer to reinstall serviceworker on next navigate
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { expect } from "chai";
|
|
2
|
+
import { describe, it } from "mocha";
|
|
3
|
+
import { FileWatcher } from "../../file-events/file-watcher.js";
|
|
4
|
+
import { INTEGRATION_FILES } from "../../../../models/files.js";
|
|
5
|
+
/**
|
|
6
|
+
* Builds a FileWatcher with fakes and returns what it did on a change of `config_SpeedKit`.
|
|
7
|
+
*
|
|
8
|
+
* @param features the features of the customer config
|
|
9
|
+
*/
|
|
10
|
+
async function changeSpeedKitConfig(features) {
|
|
11
|
+
const calls = [];
|
|
12
|
+
const callbacks = new Map();
|
|
13
|
+
const file = (name) => ({
|
|
14
|
+
name,
|
|
15
|
+
type: "file",
|
|
16
|
+
onChange: (callback) => callbacks.set(name, callback),
|
|
17
|
+
});
|
|
18
|
+
const files = {
|
|
19
|
+
hasFile: (name) => name === INTEGRATION_FILES.CONFIG.SPEED_KIT,
|
|
20
|
+
getByName: (name) => name === INTEGRATION_FILES.BUILD.INSTALL
|
|
21
|
+
? {
|
|
22
|
+
buildContent: async () => calls.push("buildInstallResource"),
|
|
23
|
+
}
|
|
24
|
+
: file(name),
|
|
25
|
+
};
|
|
26
|
+
const page = {
|
|
27
|
+
url: () => "https://www.example.com/products/1",
|
|
28
|
+
target: () => ({
|
|
29
|
+
createCDPSession: async () => ({
|
|
30
|
+
send: async (method) => method === "CacheStorage.requestCacheNames" ? { caches: [] } : {},
|
|
31
|
+
}),
|
|
32
|
+
}),
|
|
33
|
+
};
|
|
34
|
+
const watcher = new FileWatcher({
|
|
35
|
+
writeWarning: () => undefined,
|
|
36
|
+
writeError: () => undefined,
|
|
37
|
+
}, { app: "example", features }, files, {
|
|
38
|
+
buildDocumentHandler: async () => calls.push("buildDocumentHandler"),
|
|
39
|
+
}, { domain: "https://www.example.com" }, { clear: () => calls.push("clearCache") });
|
|
40
|
+
watcher.addCallbackOnFileChange(page, async () => {
|
|
41
|
+
calls.push("reinstallServiceWorker");
|
|
42
|
+
}, new AbortController().signal);
|
|
43
|
+
await callbacks.get(INTEGRATION_FILES.CONFIG.SPEED_KIT)(file(INTEGRATION_FILES.CONFIG.SPEED_KIT));
|
|
44
|
+
return calls;
|
|
45
|
+
}
|
|
46
|
+
describe("FileWatcher", () => {
|
|
47
|
+
describe("on a change of config_SpeedKit", () => {
|
|
48
|
+
it("rebuilds the document handler when it embeds the config", async () => {
|
|
49
|
+
const calls = await changeSpeedKitConfig({
|
|
50
|
+
enableSpeedKitConfigPlugins: true,
|
|
51
|
+
});
|
|
52
|
+
expect(calls).to.deep.equal([
|
|
53
|
+
"buildDocumentHandler",
|
|
54
|
+
"clearCache",
|
|
55
|
+
"buildInstallResource",
|
|
56
|
+
"reinstallServiceWorker",
|
|
57
|
+
]);
|
|
58
|
+
});
|
|
59
|
+
it("only reinstalls the service worker without config plugins", async () => {
|
|
60
|
+
const calls = await changeSpeedKitConfig(undefined);
|
|
61
|
+
expect(calls).to.deep.equal([
|
|
62
|
+
"buildInstallResource",
|
|
63
|
+
"reinstallServiceWorker",
|
|
64
|
+
]);
|
|
65
|
+
});
|
|
66
|
+
});
|
|
67
|
+
});
|
package/oclif.manifest.json
CHANGED
|
@@ -1333,6 +1333,149 @@
|
|
|
1333
1333
|
"setup.js"
|
|
1334
1334
|
]
|
|
1335
1335
|
},
|
|
1336
|
+
"extension:add": {
|
|
1337
|
+
"aliases": [],
|
|
1338
|
+
"args": {
|
|
1339
|
+
"ref": {
|
|
1340
|
+
"description": "Chrome Web Store link or extension id",
|
|
1341
|
+
"name": "ref",
|
|
1342
|
+
"required": false
|
|
1343
|
+
}
|
|
1344
|
+
},
|
|
1345
|
+
"description": "Install a Chrome extension into the onboarding browser by Web Store link or id",
|
|
1346
|
+
"examples": [
|
|
1347
|
+
"$ sk extension add fmkadmapgofadopljbjfkapdkoienihi",
|
|
1348
|
+
"$ sk extension add https://chromewebstore.google.com/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi",
|
|
1349
|
+
"$ sk extension add"
|
|
1350
|
+
],
|
|
1351
|
+
"flags": {},
|
|
1352
|
+
"hasDynamicHelp": false,
|
|
1353
|
+
"hiddenAliases": [],
|
|
1354
|
+
"id": "extension:add",
|
|
1355
|
+
"pluginAlias": "@speedkit/cli",
|
|
1356
|
+
"pluginName": "@speedkit/cli",
|
|
1357
|
+
"pluginType": "core",
|
|
1358
|
+
"strict": true,
|
|
1359
|
+
"enableJsonFlag": false,
|
|
1360
|
+
"isESM": true,
|
|
1361
|
+
"relativePath": [
|
|
1362
|
+
"dist",
|
|
1363
|
+
"commands",
|
|
1364
|
+
"extension",
|
|
1365
|
+
"add.js"
|
|
1366
|
+
]
|
|
1367
|
+
},
|
|
1368
|
+
"extension:devtools": {
|
|
1369
|
+
"aliases": [],
|
|
1370
|
+
"args": {},
|
|
1371
|
+
"description": "Install the integration-devtools extension for the onboarding browser, or update it to the latest release",
|
|
1372
|
+
"examples": [
|
|
1373
|
+
"$ sk extension devtools",
|
|
1374
|
+
"$ sk extension devtools --force"
|
|
1375
|
+
],
|
|
1376
|
+
"flags": {
|
|
1377
|
+
"force": {
|
|
1378
|
+
"description": "reinstall the latest release even when it is up to date",
|
|
1379
|
+
"name": "force",
|
|
1380
|
+
"allowNo": false,
|
|
1381
|
+
"type": "boolean"
|
|
1382
|
+
}
|
|
1383
|
+
},
|
|
1384
|
+
"hasDynamicHelp": false,
|
|
1385
|
+
"hiddenAliases": [],
|
|
1386
|
+
"id": "extension:devtools",
|
|
1387
|
+
"pluginAlias": "@speedkit/cli",
|
|
1388
|
+
"pluginName": "@speedkit/cli",
|
|
1389
|
+
"pluginType": "core",
|
|
1390
|
+
"strict": true,
|
|
1391
|
+
"enableJsonFlag": false,
|
|
1392
|
+
"isESM": true,
|
|
1393
|
+
"relativePath": [
|
|
1394
|
+
"dist",
|
|
1395
|
+
"commands",
|
|
1396
|
+
"extension",
|
|
1397
|
+
"devtools.js"
|
|
1398
|
+
]
|
|
1399
|
+
},
|
|
1400
|
+
"extension:list": {
|
|
1401
|
+
"aliases": [],
|
|
1402
|
+
"args": {},
|
|
1403
|
+
"description": "List Chrome extensions managed by the setup wizard",
|
|
1404
|
+
"examples": [
|
|
1405
|
+
"$ sk extension list"
|
|
1406
|
+
],
|
|
1407
|
+
"flags": {},
|
|
1408
|
+
"hasDynamicHelp": false,
|
|
1409
|
+
"hiddenAliases": [],
|
|
1410
|
+
"id": "extension:list",
|
|
1411
|
+
"pluginAlias": "@speedkit/cli",
|
|
1412
|
+
"pluginName": "@speedkit/cli",
|
|
1413
|
+
"pluginType": "core",
|
|
1414
|
+
"strict": true,
|
|
1415
|
+
"enableJsonFlag": false,
|
|
1416
|
+
"isESM": true,
|
|
1417
|
+
"relativePath": [
|
|
1418
|
+
"dist",
|
|
1419
|
+
"commands",
|
|
1420
|
+
"extension",
|
|
1421
|
+
"list.js"
|
|
1422
|
+
]
|
|
1423
|
+
},
|
|
1424
|
+
"extension:remove": {
|
|
1425
|
+
"aliases": [],
|
|
1426
|
+
"args": {
|
|
1427
|
+
"ref": {
|
|
1428
|
+
"description": "Chrome Web Store link or extension id",
|
|
1429
|
+
"name": "ref",
|
|
1430
|
+
"required": false
|
|
1431
|
+
}
|
|
1432
|
+
},
|
|
1433
|
+
"description": "Remove a managed Chrome extension",
|
|
1434
|
+
"examples": [
|
|
1435
|
+
"$ sk extension remove",
|
|
1436
|
+
"$ sk extension remove <id>"
|
|
1437
|
+
],
|
|
1438
|
+
"flags": {},
|
|
1439
|
+
"hasDynamicHelp": false,
|
|
1440
|
+
"hiddenAliases": [],
|
|
1441
|
+
"id": "extension:remove",
|
|
1442
|
+
"pluginAlias": "@speedkit/cli",
|
|
1443
|
+
"pluginName": "@speedkit/cli",
|
|
1444
|
+
"pluginType": "core",
|
|
1445
|
+
"strict": true,
|
|
1446
|
+
"enableJsonFlag": false,
|
|
1447
|
+
"isESM": true,
|
|
1448
|
+
"relativePath": [
|
|
1449
|
+
"dist",
|
|
1450
|
+
"commands",
|
|
1451
|
+
"extension",
|
|
1452
|
+
"remove.js"
|
|
1453
|
+
]
|
|
1454
|
+
},
|
|
1455
|
+
"extension:update": {
|
|
1456
|
+
"aliases": [],
|
|
1457
|
+
"args": {},
|
|
1458
|
+
"description": "Check managed Chrome extensions for updates and install them",
|
|
1459
|
+
"examples": [
|
|
1460
|
+
"$ sk extension update"
|
|
1461
|
+
],
|
|
1462
|
+
"flags": {},
|
|
1463
|
+
"hasDynamicHelp": false,
|
|
1464
|
+
"hiddenAliases": [],
|
|
1465
|
+
"id": "extension:update",
|
|
1466
|
+
"pluginAlias": "@speedkit/cli",
|
|
1467
|
+
"pluginName": "@speedkit/cli",
|
|
1468
|
+
"pluginType": "core",
|
|
1469
|
+
"strict": true,
|
|
1470
|
+
"enableJsonFlag": false,
|
|
1471
|
+
"isESM": true,
|
|
1472
|
+
"relativePath": [
|
|
1473
|
+
"dist",
|
|
1474
|
+
"commands",
|
|
1475
|
+
"extension",
|
|
1476
|
+
"update.js"
|
|
1477
|
+
]
|
|
1478
|
+
},
|
|
1336
1479
|
"query:parameter": {
|
|
1337
1480
|
"aliases": [
|
|
1338
1481
|
"build-parameter-query"
|
|
@@ -1643,150 +1786,7 @@
|
|
|
1643
1786
|
"query",
|
|
1644
1787
|
"prewarm.js"
|
|
1645
1788
|
]
|
|
1646
|
-
},
|
|
1647
|
-
"extension:add": {
|
|
1648
|
-
"aliases": [],
|
|
1649
|
-
"args": {
|
|
1650
|
-
"ref": {
|
|
1651
|
-
"description": "Chrome Web Store link or extension id",
|
|
1652
|
-
"name": "ref",
|
|
1653
|
-
"required": false
|
|
1654
|
-
}
|
|
1655
|
-
},
|
|
1656
|
-
"description": "Install a Chrome extension into the onboarding browser by Web Store link or id",
|
|
1657
|
-
"examples": [
|
|
1658
|
-
"$ sk extension add fmkadmapgofadopljbjfkapdkoienihi",
|
|
1659
|
-
"$ sk extension add https://chromewebstore.google.com/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi",
|
|
1660
|
-
"$ sk extension add"
|
|
1661
|
-
],
|
|
1662
|
-
"flags": {},
|
|
1663
|
-
"hasDynamicHelp": false,
|
|
1664
|
-
"hiddenAliases": [],
|
|
1665
|
-
"id": "extension:add",
|
|
1666
|
-
"pluginAlias": "@speedkit/cli",
|
|
1667
|
-
"pluginName": "@speedkit/cli",
|
|
1668
|
-
"pluginType": "core",
|
|
1669
|
-
"strict": true,
|
|
1670
|
-
"enableJsonFlag": false,
|
|
1671
|
-
"isESM": true,
|
|
1672
|
-
"relativePath": [
|
|
1673
|
-
"dist",
|
|
1674
|
-
"commands",
|
|
1675
|
-
"extension",
|
|
1676
|
-
"add.js"
|
|
1677
|
-
]
|
|
1678
|
-
},
|
|
1679
|
-
"extension:devtools": {
|
|
1680
|
-
"aliases": [],
|
|
1681
|
-
"args": {},
|
|
1682
|
-
"description": "Install the integration-devtools extension for the onboarding browser, or update it to the latest release",
|
|
1683
|
-
"examples": [
|
|
1684
|
-
"$ sk extension devtools",
|
|
1685
|
-
"$ sk extension devtools --force"
|
|
1686
|
-
],
|
|
1687
|
-
"flags": {
|
|
1688
|
-
"force": {
|
|
1689
|
-
"description": "reinstall the latest release even when it is up to date",
|
|
1690
|
-
"name": "force",
|
|
1691
|
-
"allowNo": false,
|
|
1692
|
-
"type": "boolean"
|
|
1693
|
-
}
|
|
1694
|
-
},
|
|
1695
|
-
"hasDynamicHelp": false,
|
|
1696
|
-
"hiddenAliases": [],
|
|
1697
|
-
"id": "extension:devtools",
|
|
1698
|
-
"pluginAlias": "@speedkit/cli",
|
|
1699
|
-
"pluginName": "@speedkit/cli",
|
|
1700
|
-
"pluginType": "core",
|
|
1701
|
-
"strict": true,
|
|
1702
|
-
"enableJsonFlag": false,
|
|
1703
|
-
"isESM": true,
|
|
1704
|
-
"relativePath": [
|
|
1705
|
-
"dist",
|
|
1706
|
-
"commands",
|
|
1707
|
-
"extension",
|
|
1708
|
-
"devtools.js"
|
|
1709
|
-
]
|
|
1710
|
-
},
|
|
1711
|
-
"extension:list": {
|
|
1712
|
-
"aliases": [],
|
|
1713
|
-
"args": {},
|
|
1714
|
-
"description": "List Chrome extensions managed by the setup wizard",
|
|
1715
|
-
"examples": [
|
|
1716
|
-
"$ sk extension list"
|
|
1717
|
-
],
|
|
1718
|
-
"flags": {},
|
|
1719
|
-
"hasDynamicHelp": false,
|
|
1720
|
-
"hiddenAliases": [],
|
|
1721
|
-
"id": "extension:list",
|
|
1722
|
-
"pluginAlias": "@speedkit/cli",
|
|
1723
|
-
"pluginName": "@speedkit/cli",
|
|
1724
|
-
"pluginType": "core",
|
|
1725
|
-
"strict": true,
|
|
1726
|
-
"enableJsonFlag": false,
|
|
1727
|
-
"isESM": true,
|
|
1728
|
-
"relativePath": [
|
|
1729
|
-
"dist",
|
|
1730
|
-
"commands",
|
|
1731
|
-
"extension",
|
|
1732
|
-
"list.js"
|
|
1733
|
-
]
|
|
1734
|
-
},
|
|
1735
|
-
"extension:remove": {
|
|
1736
|
-
"aliases": [],
|
|
1737
|
-
"args": {
|
|
1738
|
-
"ref": {
|
|
1739
|
-
"description": "Chrome Web Store link or extension id",
|
|
1740
|
-
"name": "ref",
|
|
1741
|
-
"required": false
|
|
1742
|
-
}
|
|
1743
|
-
},
|
|
1744
|
-
"description": "Remove a managed Chrome extension",
|
|
1745
|
-
"examples": [
|
|
1746
|
-
"$ sk extension remove",
|
|
1747
|
-
"$ sk extension remove <id>"
|
|
1748
|
-
],
|
|
1749
|
-
"flags": {},
|
|
1750
|
-
"hasDynamicHelp": false,
|
|
1751
|
-
"hiddenAliases": [],
|
|
1752
|
-
"id": "extension:remove",
|
|
1753
|
-
"pluginAlias": "@speedkit/cli",
|
|
1754
|
-
"pluginName": "@speedkit/cli",
|
|
1755
|
-
"pluginType": "core",
|
|
1756
|
-
"strict": true,
|
|
1757
|
-
"enableJsonFlag": false,
|
|
1758
|
-
"isESM": true,
|
|
1759
|
-
"relativePath": [
|
|
1760
|
-
"dist",
|
|
1761
|
-
"commands",
|
|
1762
|
-
"extension",
|
|
1763
|
-
"remove.js"
|
|
1764
|
-
]
|
|
1765
|
-
},
|
|
1766
|
-
"extension:update": {
|
|
1767
|
-
"aliases": [],
|
|
1768
|
-
"args": {},
|
|
1769
|
-
"description": "Check managed Chrome extensions for updates and install them",
|
|
1770
|
-
"examples": [
|
|
1771
|
-
"$ sk extension update"
|
|
1772
|
-
],
|
|
1773
|
-
"flags": {},
|
|
1774
|
-
"hasDynamicHelp": false,
|
|
1775
|
-
"hiddenAliases": [],
|
|
1776
|
-
"id": "extension:update",
|
|
1777
|
-
"pluginAlias": "@speedkit/cli",
|
|
1778
|
-
"pluginName": "@speedkit/cli",
|
|
1779
|
-
"pluginType": "core",
|
|
1780
|
-
"strict": true,
|
|
1781
|
-
"enableJsonFlag": false,
|
|
1782
|
-
"isESM": true,
|
|
1783
|
-
"relativePath": [
|
|
1784
|
-
"dist",
|
|
1785
|
-
"commands",
|
|
1786
|
-
"extension",
|
|
1787
|
-
"update.js"
|
|
1788
|
-
]
|
|
1789
1789
|
}
|
|
1790
1790
|
},
|
|
1791
|
-
"version": "4.44.0-beta.
|
|
1791
|
+
"version": "4.44.0-beta.5"
|
|
1792
1792
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@speedkit/cli",
|
|
3
3
|
"description": "Speed Kit CLI",
|
|
4
|
-
"version": "4.44.0-beta.
|
|
4
|
+
"version": "4.44.0-beta.5",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Baqend.com",
|
|
7
7
|
"email": "info@baqend.com"
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"@oclif/plugin-help": "^6.2.45",
|
|
111
111
|
"@oclif/plugin-not-found": "^3.2.81",
|
|
112
112
|
"@oclif/plugin-warn-if-update-available": "^3.1.61",
|
|
113
|
-
"@speedkit/packjockel": "
|
|
113
|
+
"@speedkit/packjockel": "4.0.0",
|
|
114
114
|
"@speedkit/rules": "^1.3.0-0",
|
|
115
115
|
"baqend": "^4.2.5",
|
|
116
116
|
"chalk": "^5.6.2",
|