@teambit/workspace 1.0.1075 → 1.0.1077

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.
@@ -57,7 +57,7 @@ export declare class CapsuleListCmd implements Command {
57
57
  capsules: string[];
58
58
  scopeCapsules: string[];
59
59
  totalSizeBytes: number;
60
- allRoots: import("@teambit/isolator/dist/capsule-cache").CapsuleRootEntry[];
60
+ allRoots: import("../teambit.component_isolator@1.0.1077/capsule-cache").CapsuleRootEntry[];
61
61
  workspaceCapsulesRootDir: any;
62
62
  scopeAspectsCapsulesRootDir: any;
63
63
  scopeCapsulesRootDir: any;
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.1075/dist/workspace.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.1075/dist/workspace.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.1077/dist/workspace.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.1077/dist/workspace.docs.mdx';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];
package/dist/workspace.js CHANGED
@@ -1759,7 +1759,10 @@ the following envs are used in this workspace: ${(0, _lodash().uniq)(availableEn
1759
1759
  } catch {
1760
1760
  return; // unable to get the component for some reason. don't sweat it. forget about the warning
1761
1761
  }
1762
- if (!this.envs.isUsingEnvEnv(env)) {
1762
+ // isEnv covers all the signals identifying an env, including the *.bit-env.* plugin file -
1763
+ // an env recognized by any of them is not misconfigured (isUsingEnvEnv alone misses plugin
1764
+ // envs whose own env is not an env-env).
1765
+ if (!this.envs.isEnv(env)) {
1763
1766
  this.warnedAboutMisconfiguredEnvs.push(envId);
1764
1767
  this.logger.consoleWarning(`env "${envId}" is not of type env. (correct the env's type, or component config with "bit env set ${envId} bitdev.general/envs/bit-env")`);
1765
1768
  }