@teambit/workspace 0.0.1119 → 0.0.1121

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.
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_workspace@0.0.1119/dist/workspace.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_workspace@0.0.1119/dist/workspace.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_workspace@0.0.1121/dist/workspace.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_workspace@0.0.1121/dist/workspace.docs.mdx';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];
@@ -33,7 +33,8 @@ export declare class ComponentStatus {
33
33
  */
34
34
  readonly isOutdated: boolean;
35
35
  /**
36
- * the component is not authored and not imported.
36
+ * @deprecated this was relevant for legacy only. can be deleted if it's not used elsewhere
37
+ * the component is not authored and not imported.
37
38
  */
38
39
  readonly nested?: boolean | undefined;
39
40
  constructor(
@@ -66,7 +67,8 @@ export declare class ComponentStatus {
66
67
  */
67
68
  isOutdated: boolean,
68
69
  /**
69
- * the component is not authored and not imported.
70
+ * @deprecated this was relevant for legacy only. can be deleted if it's not used elsewhere
71
+ * the component is not authored and not imported.
70
72
  */
71
73
  nested?: boolean | undefined);
72
74
  static fromLegacy(status: LegacyComponentStatus, hasModifiedDependencies: boolean, isOutdated: boolean): ComponentStatus;
@@ -35,7 +35,8 @@ class ComponentStatus {
35
35
  */
36
36
  isOutdated,
37
37
  /**
38
- * the component is not authored and not imported.
38
+ * @deprecated this was relevant for legacy only. can be deleted if it's not used elsewhere
39
+ * the component is not authored and not imported.
39
40
  */
40
41
  nested) {
41
42
  this.modifyInfo = modifyInfo;
@@ -52,7 +53,7 @@ class ComponentStatus {
52
53
  hasModifiedFiles: !!status.modified,
53
54
  hasModifiedDependencies
54
55
  };
55
- return new ComponentStatus(modify, !!status.newlyCreated, !!status.deleted, !!status.staged, !status.notExist, !status.missingFromScope, isOutdated, !!status.nested);
56
+ return new ComponentStatus(modify, !!status.newlyCreated, !!status.deleted, !!status.staged, !status.notExist, !status.missingFromScope, isOutdated);
56
57
  }
57
58
  }
58
59
  exports.ComponentStatus = ComponentStatus;
@@ -1 +1 @@
1
- {"version":3,"names":["ComponentStatus","constructor","modifyInfo","isNew","isDeleted","isStaged","isInWorkspace","isInScope","isOutdated","nested","fromLegacy","status","hasModifiedDependencies","modify","hasModifiedFiles","modified","newlyCreated","deleted","staged","notExist","missingFromScope","exports"],"sources":["component-status.ts"],"sourcesContent":["import { ComponentStatus as LegacyComponentStatus } from '@teambit/legacy/dist/consumer/component-ops/component-status-loader';\n\nexport type ModifyInfo = {\n hasModifiedFiles: boolean;\n hasModifiedDependencies: boolean;\n};\n\nexport class ComponentStatus {\n constructor(\n /**\n * is the component modified.\n */\n readonly modifyInfo: ModifyInfo,\n\n /**\n * is the new component new.\n */\n readonly isNew: boolean,\n\n /**\n * is the component deleted from the workspace.\n */\n readonly isDeleted: boolean,\n\n /**\n * is the component staged.\n */\n readonly isStaged: boolean,\n\n /**\n * does the component exists in the workspace.\n */\n readonly isInWorkspace: boolean,\n\n /**\n * does the component exists in the scope.\n */\n readonly isInScope: boolean,\n\n /**\n * does the component is outdated (pending for update).\n */\n readonly isOutdated: boolean,\n\n /**\n * the component is not authored and not imported.\n */\n readonly nested?: boolean\n ) {}\n\n static fromLegacy(status: LegacyComponentStatus, hasModifiedDependencies: boolean, isOutdated: boolean) {\n const modify: ModifyInfo = {\n hasModifiedFiles: !!status.modified,\n hasModifiedDependencies,\n };\n return new ComponentStatus(\n modify,\n !!status.newlyCreated,\n !!status.deleted,\n !!status.staged,\n !status.notExist,\n !status.missingFromScope,\n isOutdated,\n !!status.nested\n );\n }\n}\n"],"mappings":";;;;;;AAOO,MAAMA,eAAe,CAAC;EAC3BC,WAAWA;EACT;AACJ;AACA;EACaC,UAAsB;EAE/B;AACJ;AACA;EACaC,KAAc;EAEvB;AACJ;AACA;EACaC,SAAkB;EAE3B;AACJ;AACA;EACaC,QAAiB;EAE1B;AACJ;AACA;EACaC,aAAsB;EAE/B;AACJ;AACA;EACaC,SAAkB;EAE3B;AACJ;AACA;EACaC,UAAmB;EAE5B;AACJ;AACA;EACaC,MAAgB,EACzB;IAAA,KApCSP,UAAsB,GAAtBA,UAAsB;IAAA,KAKtBC,KAAc,GAAdA,KAAc;IAAA,KAKdC,SAAkB,GAAlBA,SAAkB;IAAA,KAKlBC,QAAiB,GAAjBA,QAAiB;IAAA,KAKjBC,aAAsB,GAAtBA,aAAsB;IAAA,KAKtBC,SAAkB,GAAlBA,SAAkB;IAAA,KAKlBC,UAAmB,GAAnBA,UAAmB;IAAA,KAKnBC,MAAgB,GAAhBA,MAAgB;EACxB;EAEH,OAAOC,UAAUA,CAACC,MAA6B,EAAEC,uBAAgC,EAAEJ,UAAmB,EAAE;IACtG,MAAMK,MAAkB,GAAG;MACzBC,gBAAgB,EAAE,CAAC,CAACH,MAAM,CAACI,QAAQ;MACnCH;IACF,CAAC;IACD,OAAO,IAAIZ,eAAe,CACxBa,MAAM,EACN,CAAC,CAACF,MAAM,CAACK,YAAY,EACrB,CAAC,CAACL,MAAM,CAACM,OAAO,EAChB,CAAC,CAACN,MAAM,CAACO,MAAM,EACf,CAACP,MAAM,CAACQ,QAAQ,EAChB,CAACR,MAAM,CAACS,gBAAgB,EACxBZ,UAAU,EACV,CAAC,CAACG,MAAM,CAACF,MACX,CAAC;EACH;AACF;AAACY,OAAA,CAAArB,eAAA,GAAAA,eAAA"}
1
+ {"version":3,"names":["ComponentStatus","constructor","modifyInfo","isNew","isDeleted","isStaged","isInWorkspace","isInScope","isOutdated","nested","fromLegacy","status","hasModifiedDependencies","modify","hasModifiedFiles","modified","newlyCreated","deleted","staged","notExist","missingFromScope","exports"],"sources":["component-status.ts"],"sourcesContent":["import { ComponentStatus as LegacyComponentStatus } from '@teambit/legacy/dist/consumer/component-ops/component-status-loader';\n\nexport type ModifyInfo = {\n hasModifiedFiles: boolean;\n hasModifiedDependencies: boolean;\n};\n\nexport class ComponentStatus {\n constructor(\n /**\n * is the component modified.\n */\n readonly modifyInfo: ModifyInfo,\n\n /**\n * is the new component new.\n */\n readonly isNew: boolean,\n\n /**\n * is the component deleted from the workspace.\n */\n readonly isDeleted: boolean,\n\n /**\n * is the component staged.\n */\n readonly isStaged: boolean,\n\n /**\n * does the component exists in the workspace.\n */\n readonly isInWorkspace: boolean,\n\n /**\n * does the component exists in the scope.\n */\n readonly isInScope: boolean,\n\n /**\n * does the component is outdated (pending for update).\n */\n readonly isOutdated: boolean,\n\n /**\n * @deprecated this was relevant for legacy only. can be deleted if it's not used elsewhere\n * the component is not authored and not imported.\n */\n readonly nested?: boolean\n ) {}\n\n static fromLegacy(status: LegacyComponentStatus, hasModifiedDependencies: boolean, isOutdated: boolean) {\n const modify: ModifyInfo = {\n hasModifiedFiles: !!status.modified,\n hasModifiedDependencies,\n };\n return new ComponentStatus(\n modify,\n !!status.newlyCreated,\n !!status.deleted,\n !!status.staged,\n !status.notExist,\n !status.missingFromScope,\n isOutdated\n );\n }\n}\n"],"mappings":";;;;;;AAOO,MAAMA,eAAe,CAAC;EAC3BC,WAAWA;EACT;AACJ;AACA;EACaC,UAAsB;EAE/B;AACJ;AACA;EACaC,KAAc;EAEvB;AACJ;AACA;EACaC,SAAkB;EAE3B;AACJ;AACA;EACaC,QAAiB;EAE1B;AACJ;AACA;EACaC,aAAsB;EAE/B;AACJ;AACA;EACaC,SAAkB;EAE3B;AACJ;AACA;EACaC,UAAmB;EAE5B;AACJ;AACA;AACA;EACaC,MAAgB,EACzB;IAAA,KArCSP,UAAsB,GAAtBA,UAAsB;IAAA,KAKtBC,KAAc,GAAdA,KAAc;IAAA,KAKdC,SAAkB,GAAlBA,SAAkB;IAAA,KAKlBC,QAAiB,GAAjBA,QAAiB;IAAA,KAKjBC,aAAsB,GAAtBA,aAAsB;IAAA,KAKtBC,SAAkB,GAAlBA,SAAkB;IAAA,KAKlBC,UAAmB,GAAnBA,UAAmB;IAAA,KAMnBC,MAAgB,GAAhBA,MAAgB;EACxB;EAEH,OAAOC,UAAUA,CAACC,MAA6B,EAAEC,uBAAgC,EAAEJ,UAAmB,EAAE;IACtG,MAAMK,MAAkB,GAAG;MACzBC,gBAAgB,EAAE,CAAC,CAACH,MAAM,CAACI,QAAQ;MACnCH;IACF,CAAC;IACD,OAAO,IAAIZ,eAAe,CACxBa,MAAM,EACN,CAAC,CAACF,MAAM,CAACK,YAAY,EACrB,CAAC,CAACL,MAAM,CAACM,OAAO,EAChB,CAAC,CAACN,MAAM,CAACO,MAAM,EACf,CAACP,MAAM,CAACQ,QAAQ,EAChB,CAACR,MAAM,CAACS,gBAAgB,EACxBZ,UACF,CAAC;EACH;AACF;AAACa,OAAA,CAAArB,eAAA,GAAAA,eAAA"}
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/workspace",
3
- "version": "0.0.1119",
3
+ "version": "0.0.1121",
4
4
  "homepage": "https://bit.cloud/teambit/workspace/workspace",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.workspace",
8
8
  "name": "workspace",
9
- "version": "0.0.1119"
9
+ "version": "0.0.1121"
10
10
  },
11
11
  "dependencies": {
12
12
  "lodash": "4.17.21",
@@ -35,52 +35,52 @@
35
35
  "@teambit/base-ui.surfaces.split-pane.hover-splitter": "1.0.0",
36
36
  "@teambit/base-ui.surfaces.split-pane.split-pane": "1.0.0",
37
37
  "@teambit/explorer.ui.gallery.component-grid": "0.0.496",
38
- "@teambit/component": "0.0.1119",
39
- "@teambit/dependency-resolver": "0.0.1119",
40
- "@teambit/envs": "0.0.1119",
38
+ "@teambit/component": "0.0.1121",
39
+ "@teambit/dependency-resolver": "0.0.1121",
40
+ "@teambit/envs": "0.0.1121",
41
41
  "@teambit/bit-error": "0.0.402",
42
- "@teambit/lane-id": "0.0.265",
43
- "@teambit/logger": "0.0.843",
44
- "@teambit/scope": "0.0.1119",
45
- "@teambit/graph": "0.0.1119",
46
- "@teambit/cli": "0.0.750",
47
- "@teambit/isolator": "0.0.1119",
48
- "@teambit/component-tree": "0.0.907",
42
+ "@teambit/lane-id": "0.0.266",
43
+ "@teambit/logger": "0.0.844",
44
+ "@teambit/scope": "0.0.1121",
45
+ "@teambit/graph": "0.0.1121",
46
+ "@teambit/cli": "0.0.751",
47
+ "@teambit/isolator": "0.0.1121",
48
+ "@teambit/component-tree": "0.0.909",
49
49
  "@teambit/component.ui.component-status-resolver": "0.0.505",
50
50
  "@teambit/harmony.modules.resolved-component": "0.0.491",
51
- "@teambit/compiler": "0.0.1119",
52
- "@teambit/aspect-loader": "0.0.1119",
53
- "@teambit/config": "0.0.764",
54
- "@teambit/global-config": "0.0.752",
51
+ "@teambit/compiler": "0.0.1121",
52
+ "@teambit/aspect-loader": "0.0.1121",
53
+ "@teambit/config": "0.0.765",
54
+ "@teambit/global-config": "0.0.753",
55
55
  "@teambit/harmony.modules.requireable-component": "0.0.491",
56
56
  "@teambit/toolbox.modules.module-resolver": "0.0.1",
57
- "@teambit/workspace.modules.node-modules-linker": "0.0.92",
58
- "@teambit/graphql": "0.0.1119",
59
- "@teambit/bundler": "0.0.1119",
60
- "@teambit/pubsub": "0.0.1119",
61
- "@teambit/ui": "0.0.1119",
62
- "@teambit/variants": "0.0.856",
57
+ "@teambit/workspace.modules.node-modules-linker": "0.0.93",
58
+ "@teambit/graphql": "0.0.1121",
59
+ "@teambit/bundler": "0.0.1121",
60
+ "@teambit/pubsub": "0.0.1121",
61
+ "@teambit/ui": "0.0.1121",
62
+ "@teambit/variants": "0.0.857",
63
63
  "@teambit/component-issues": "0.0.93",
64
64
  "@teambit/component-version": "0.0.409",
65
65
  "@teambit/workspace.modules.match-pattern": "0.0.498",
66
- "@teambit/component.ui.component-drawer": "0.0.308",
67
- "@teambit/lanes.hooks.use-lane-components": "0.0.211",
68
- "@teambit/lanes.hooks.use-lanes": "0.0.212",
69
- "@teambit/lanes.ui.models.lanes-model": "0.0.165",
70
- "@teambit/ui-foundation.ui.side-bar": "0.0.825",
71
- "@teambit/command-bar": "0.0.1119",
72
- "@teambit/component.ui.component-filters.component-filter-context": "0.0.172",
73
- "@teambit/component.ui.component-filters.deprecate-filter": "0.0.172",
74
- "@teambit/component.ui.component-filters.env-filter": "0.0.178",
75
- "@teambit/component.ui.component-filters.show-main-filter": "0.0.165",
76
- "@teambit/sidebar": "0.0.1119",
66
+ "@teambit/component.ui.component-drawer": "0.0.309",
67
+ "@teambit/lanes.hooks.use-lane-components": "0.0.212",
68
+ "@teambit/lanes.hooks.use-lanes": "0.0.213",
69
+ "@teambit/lanes.ui.models.lanes-model": "0.0.166",
70
+ "@teambit/ui-foundation.ui.side-bar": "0.0.826",
71
+ "@teambit/command-bar": "0.0.1121",
72
+ "@teambit/component.ui.component-filters.component-filter-context": "0.0.173",
73
+ "@teambit/component.ui.component-filters.deprecate-filter": "0.0.173",
74
+ "@teambit/component.ui.component-filters.env-filter": "0.0.179",
75
+ "@teambit/component.ui.component-filters.show-main-filter": "0.0.166",
76
+ "@teambit/sidebar": "0.0.1121",
77
77
  "@teambit/ui-foundation.ui.main-dropdown": "0.0.497",
78
78
  "@teambit/ui-foundation.ui.menu": "0.0.497",
79
79
  "@teambit/ui-foundation.ui.react-router.slot-router": "0.0.501",
80
80
  "@teambit/ui-foundation.ui.tree.drawer": "0.0.512",
81
81
  "@teambit/ui-foundation.ui.hooks.use-data-query": "0.0.500",
82
- "@teambit/component-descriptor": "0.0.317",
83
- "@teambit/deprecation": "0.0.1119",
82
+ "@teambit/component-descriptor": "0.0.318",
83
+ "@teambit/deprecation": "0.0.1121",
84
84
  "@teambit/ui-foundation.ui.constants.z-indexes": "0.0.499",
85
85
  "@teambit/ui-foundation.ui.buttons.collapser": "0.0.207",
86
86
  "@teambit/ui-foundation.ui.corner": "0.0.510",
@@ -107,7 +107,7 @@
107
107
  "peerDependencies": {
108
108
  "@apollo/client": "^3.6.0",
109
109
  "react-router-dom": "^6.0.0",
110
- "@teambit/legacy": "1.0.530",
110
+ "@teambit/legacy": "1.0.531",
111
111
  "react": "^16.8.0 || ^17.0.0",
112
112
  "react-dom": "^16.8.0 || ^17.0.0"
113
113
  },
@@ -43,7 +43,8 @@ export class ComponentStatus {
43
43
  readonly isOutdated: boolean,
44
44
 
45
45
  /**
46
- * the component is not authored and not imported.
46
+ * @deprecated this was relevant for legacy only. can be deleted if it's not used elsewhere
47
+ * the component is not authored and not imported.
47
48
  */
48
49
  readonly nested?: boolean
49
50
  ) {}
@@ -60,8 +61,7 @@ export class ComponentStatus {
60
61
  !!status.staged,
61
62
  !status.notExist,
62
63
  !status.missingFromScope,
63
- isOutdated,
64
- !!status.nested
64
+ isOutdated
65
65
  );
66
66
  }
67
67
  }