@speedkit/cli 4.44.0-beta.2 → 4.44.0-beta.3

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.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
+
3
+
4
+ ### Features
5
+
6
+ * **integration-api:** name the feature flag enableSpeedKitConfigPlugins like the server ([23f5ffb](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/23f5ffb307aa1743f8434c7ad136a2bf251363e0))
7
+
1
8
  # [4.44.0-beta.2](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v4.44.0-beta.1...v4.44.0-beta.2) (2026-10-09)
2
9
 
3
10
 
@@ -12,11 +12,11 @@ export declare class BundleService {
12
12
  private readonly packjockelService?;
13
13
  /**
14
14
  * @param moduleDiscoveryDir the directory bundled code resolves its own imports from
15
- * @param packjockelService bundles instead of esbuild for customers with the `configPlugins` feature
15
+ * @param packjockelService bundles instead of esbuild for customers with the `enableSpeedKitConfigPlugins` feature
16
16
  */
17
17
  constructor(moduleDiscoveryDir: string, packjockelService?: PackjockelService);
18
18
  /**
19
- * The packjockel bundler for customers with the `configPlugins` feature.
19
+ * The packjockel bundler for customers with the `enableSpeedKitConfigPlugins` feature.
20
20
  *
21
21
  * @throws ApplicationError when the service was built without one
22
22
  */
@@ -13,14 +13,14 @@ export class BundleService {
13
13
  packjockelService;
14
14
  /**
15
15
  * @param moduleDiscoveryDir the directory bundled code resolves its own imports from
16
- * @param packjockelService bundles instead of esbuild for customers with the `configPlugins` feature
16
+ * @param packjockelService bundles instead of esbuild for customers with the `enableSpeedKitConfigPlugins` feature
17
17
  */
18
18
  constructor(moduleDiscoveryDir, packjockelService) {
19
19
  this.moduleDiscoveryDir = moduleDiscoveryDir;
20
20
  this.packjockelService = packjockelService;
21
21
  }
22
22
  /**
23
- * The packjockel bundler for customers with the `configPlugins` feature.
23
+ * The packjockel bundler for customers with the `enableSpeedKitConfigPlugins` feature.
24
24
  *
25
25
  * @throws ApplicationError when the service was built without one
26
26
  */
@@ -42,7 +42,7 @@ export declare class PackjockelService {
42
42
  private readonly resolveBinary;
43
43
  /**
44
44
  * @param resolveBinary returns the packjockel binary; it runs only when a bundle is needed, so
45
- * a platform without a packjockel package fails only for the `configPlugins` feature
45
+ * a platform without a packjockel package fails only for the `enableSpeedKitConfigPlugins` feature
46
46
  */
47
47
  constructor(resolveBinary?: () => string);
48
48
  /**
@@ -21,7 +21,7 @@ export class PackjockelService {
21
21
  resolveBinary;
22
22
  /**
23
23
  * @param resolveBinary returns the packjockel binary; it runs only when a bundle is needed, so
24
- * a platform without a packjockel package fails only for the `configPlugins` feature
24
+ * a platform without a packjockel package fails only for the `enableSpeedKitConfigPlugins` feature
25
25
  */
26
26
  constructor(resolveBinary = binaryPath) {
27
27
  this.resolveBinary = resolveBinary;
@@ -14,7 +14,7 @@ export declare class DocumentHandlerServer {
14
14
  private documentHandlerCode;
15
15
  private documentHandlerConfigCode;
16
16
  /**
17
- * The packjockel bundle for a customer with the `configPlugins` feature: the handler, its config
17
+ * The packjockel bundle for a customer with the `enableSpeedKitConfigPlugins` feature: the handler, its config
18
18
  * and the Speed Kit config in one CommonJS module, which exports `post`.
19
19
  */
20
20
  private documentHandlerBundle?;
@@ -36,7 +36,7 @@ export declare class DocumentHandlerServer {
36
36
  buildDocumentHandler(): Promise<void>;
37
37
  /**
38
38
  * Bundles the handler, its config and the Speed Kit config into one module, the way the server
39
- * deploys a customer with the `configPlugins` feature.
39
+ * deploys a customer with the `enableSpeedKitConfigPlugins` feature.
40
40
  */
41
41
  private bundleWithPackjockel;
42
42
  private deactivateReleaseAndDeploymentDetection;
@@ -27,7 +27,7 @@ export class DocumentHandlerServer {
27
27
  documentHandlerCode;
28
28
  documentHandlerConfigCode;
29
29
  /**
30
- * The packjockel bundle for a customer with the `configPlugins` feature: the handler, its config
30
+ * The packjockel bundle for a customer with the `enableSpeedKitConfigPlugins` feature: the handler, its config
31
31
  * and the Speed Kit config in one CommonJS module, which exports `post`.
32
32
  */
33
33
  documentHandlerBundle;
@@ -136,7 +136,7 @@ export class DocumentHandlerServer {
136
136
  }
137
137
  /**
138
138
  * Bundles the handler, its config and the Speed Kit config into one module, the way the server
139
- * deploys a customer with the `configPlugins` feature.
139
+ * deploys a customer with the `enableSpeedKitConfigPlugins` feature.
140
140
  */
141
141
  async bundleWithPackjockel() {
142
142
  const customDocumentHandler = this.files.getByName(INTEGRATION_FILES.CUSTOM.DOCUMENT_HANDLER);
@@ -126,11 +126,11 @@ describe("SpeedKitConfigFile", () => {
126
126
  expect(deployed).to.deep.equal(local);
127
127
  expect(remote.getContent()).to.equal(source);
128
128
  });
129
- describe("with the configPlugins feature", () => {
129
+ describe("with the enableSpeedKitConfigPlugins feature", () => {
130
130
  const SOURCE = "window.speedKit = { split: 0.1 };";
131
131
  const EMBEDDED = {
132
132
  app: "shop-de",
133
- features: { configPlugins: true },
133
+ features: { enableSpeedKitConfigPlugins: true },
134
134
  configPluginsVersion: "@release",
135
135
  };
136
136
  function embeddedFile(bundled) {
@@ -8,7 +8,7 @@ export interface CustomerFeatures {
8
8
  * embeds it into the document handler and the install script. The config
9
9
  * writes `SpeedKit.config`.
10
10
  */
11
- configPlugins?: boolean | null;
11
+ enableSpeedKitConfigPlugins?: boolean | null;
12
12
  [feature: string]: unknown;
13
13
  }
14
14
  export interface CustomerConfigs {
@@ -36,19 +36,19 @@ export declare class CustomerConfig {
36
36
  readonly needsCustomerApproval?: boolean;
37
37
  readonly features?: CustomerFeatures;
38
38
  /**
39
- * The tag of Speed Kit (snippet, service worker, dynamic fetcher) for the `configPlugins` feature: a
39
+ * The tag of Speed Kit (snippet, service worker, dynamic fetcher) for the `enableSpeedKitConfigPlugins` feature: a
40
40
  * version such as `2.22.4`, or a channel such as `@release`; `latest` when not set. This and the other
41
41
  * tags are named like the client config keys of packjockel.
42
42
  */
43
43
  readonly speedKitVersion?: string;
44
- /** The tag of RUM for the `configPlugins` feature, see {@link speedKitVersion}. */
44
+ /** The tag of RUM for the `enableSpeedKitConfigPlugins` feature, see {@link speedKitVersion}. */
45
45
  readonly rumPluginVersion?: string;
46
- /** The tag of predictive preloading for the `configPlugins` feature, see {@link speedKitVersion}. */
46
+ /** The tag of predictive preloading for the `enableSpeedKitConfigPlugins` feature, see {@link speedKitVersion}. */
47
47
  readonly ppVersion?: string;
48
- /** The tag of the speed-kit-config plugins for the `configPlugins` feature, see {@link speedKitVersion}. */
48
+ /** The tag of the speed-kit-config plugins for the `enableSpeedKitConfigPlugins` feature, see {@link speedKitVersion}. */
49
49
  readonly configPluginsVersion?: string;
50
50
  /**
51
- * The tag of the published document handler for the `configPlugins` feature, see {@link speedKitVersion}.
51
+ * The tag of the published document handler for the `enableSpeedKitConfigPlugins` feature, see {@link speedKitVersion}.
52
52
  * A `custom_documentHandler.js` replaces it.
53
53
  */
54
54
  readonly documentHandlerVersion?: string;
@@ -20,19 +20,19 @@ export class CustomerConfig {
20
20
  needsCustomerApproval;
21
21
  features;
22
22
  /**
23
- * The tag of Speed Kit (snippet, service worker, dynamic fetcher) for the `configPlugins` feature: a
23
+ * The tag of Speed Kit (snippet, service worker, dynamic fetcher) for the `enableSpeedKitConfigPlugins` feature: a
24
24
  * version such as `2.22.4`, or a channel such as `@release`; `latest` when not set. This and the other
25
25
  * tags are named like the client config keys of packjockel.
26
26
  */
27
27
  speedKitVersion;
28
- /** The tag of RUM for the `configPlugins` feature, see {@link speedKitVersion}. */
28
+ /** The tag of RUM for the `enableSpeedKitConfigPlugins` feature, see {@link speedKitVersion}. */
29
29
  rumPluginVersion;
30
- /** The tag of predictive preloading for the `configPlugins` feature, see {@link speedKitVersion}. */
30
+ /** The tag of predictive preloading for the `enableSpeedKitConfigPlugins` feature, see {@link speedKitVersion}. */
31
31
  ppVersion;
32
- /** The tag of the speed-kit-config plugins for the `configPlugins` feature, see {@link speedKitVersion}. */
32
+ /** The tag of the speed-kit-config plugins for the `enableSpeedKitConfigPlugins` feature, see {@link speedKitVersion}. */
33
33
  configPluginsVersion;
34
34
  /**
35
- * The tag of the published document handler for the `configPlugins` feature, see {@link speedKitVersion}.
35
+ * The tag of the published document handler for the `enableSpeedKitConfigPlugins` feature, see {@link speedKitVersion}.
36
36
  * A `custom_documentHandler.js` replaces it.
37
37
  */
38
38
  documentHandlerVersion;
@@ -63,5 +63,5 @@ export declare class VirtualSpeedKitConfigFile extends SpeedKitConfigFile implem
63
63
  delete(): Promise<void>;
64
64
  onChange(): void;
65
65
  }
66
- /** The customer has the `configPlugins` feature: packjockel bundles its config. */
66
+ /** The customer has the `enableSpeedKitConfigPlugins` feature: packjockel bundles its config. */
67
67
  export declare function usesConfigPlugins(customer: SpeedKitConfigCustomer): boolean;
@@ -218,9 +218,9 @@ function safeFileContentWrapper(fileContent) {
218
218
  }
219
219
  `;
220
220
  }
221
- /** The customer has the `configPlugins` feature: packjockel bundles its config. */
221
+ /** The customer has the `enableSpeedKitConfigPlugins` feature: packjockel bundles its config. */
222
222
  export function usesConfigPlugins(customer) {
223
- return customer.features?.configPlugins === true;
223
+ return customer.features?.enableSpeedKitConfigPlugins === true;
224
224
  }
225
225
  async function bundle(bundler, content, customer) {
226
226
  if (!content) {
@@ -1333,149 +1333,6 @@
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
- },
1479
1336
  "query:parameter": {
1480
1337
  "aliases": [
1481
1338
  "build-parameter-query"
@@ -1786,7 +1643,150 @@
1786
1643
  "query",
1787
1644
  "prewarm.js"
1788
1645
  ]
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.2"
1791
+ "version": "4.44.0-beta.3"
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.2",
4
+ "version": "4.44.0-beta.3",
5
5
  "author": {
6
6
  "name": "Baqend.com",
7
7
  "email": "info@baqend.com"