npm package diff

Package: @forge/cli-shared

Versions: 6.6.0 - 6.6.1-next.0

File: package/out/service/supported-products-service.js

Index: package/out/service/supported-products-service.js
===================================================================
--- package/out/service/supported-products-service.js
+++ package/out/service/supported-products-service.js
@@ -19,8 +19,9 @@
 ];
 const SUPPORTED_PRODUCTS_ALL = [...SITED_PRODUCTS_ALL, ...WORKSPACE_PRODUCTS_ALL];
 exports.TEST_ONLY_EXPORTS = {
     SITED_PRODUCTS_ALL,
+    SITED_PRODUCTS_ALWAYS_ENABLED,
     WORKSPACE_PRODUCTS_ALL,
     SUPPORTED_PRODUCTS_ALWAYS_ENABLED
 };
 function arrayContains(arr, e) {
@@ -61,9 +62,12 @@
         else {
             return (0, shared_1.productDisplayName)(product);
         }
     }
-    async getSupportedProducts() {
+    async getSupportedProducts(primaryProduct) {
+        if (primaryProduct) {
+            return [...SITED_PRODUCTS_ALWAYS_ENABLED.filter((product) => product !== primaryProduct)];
+        }
         return [
             ...SITED_PRODUCTS_ALWAYS_ENABLED,
             ...WORKSPACE_PRODUCTS_ALWAYS_ENABLED,
             ...(await this.getProductsEnabledByFeatureGate())