@teambit/lanes 1.0.493 → 1.0.494
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,21 +1,21 @@
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
2
|
<testsuites tests="18" failures="0" errors="0" skipped="2">
|
3
|
-
<testsuite name="teambit.lanes/lanes@1.0.
|
4
|
-
<testcase classname="dist/lanes.spec.js" name="should list all lanes" time="0.
|
5
|
-
<testcase classname="dist/lanes.spec.js" name="should return that the lane is up to date when the lane is ahead of main" time="0.
|
6
|
-
<testcase classname="dist/lanes.spec.js" name="should return that the lane is not up to date when main is ahead" time="
|
7
|
-
<testcase classname="dist/lanes.spec.js" name="should return that the lane is up to date when the lane is ahead of main" time="0.
|
8
|
-
<testcase classname="dist/lanes.spec.js" name="should return that the lane is not up to date when main is ahead" time="1.
|
9
|
-
<testcase classname="dist/lanes.spec.js" name="should restore the deleted lane"
|
10
|
-
<testcase classname="dist/lanes.spec.js" name="should not throw"/>
|
11
|
-
<testcase classname="dist/lanes.spec.js" name="should throw when restoring the lane" time="0.
|
3
|
+
<testsuite name="teambit.lanes/lanes@1.0.494" tests="18" failures="0" errors="0" skipped="2">
|
4
|
+
<testcase classname="dist/lanes.spec.js" name="should list all lanes" time="0.002"/>
|
5
|
+
<testcase classname="dist/lanes.spec.js" name="should return that the lane is up to date when the lane is ahead of main" time="0.009"/>
|
6
|
+
<testcase classname="dist/lanes.spec.js" name="should return that the lane is not up to date when main is ahead" time="2.062"/>
|
7
|
+
<testcase classname="dist/lanes.spec.js" name="should return that the lane is up to date when the lane is ahead of main" time="0.015"/>
|
8
|
+
<testcase classname="dist/lanes.spec.js" name="should return that the lane is not up to date when main is ahead" time="1.967"/>
|
9
|
+
<testcase classname="dist/lanes.spec.js" name="should restore the deleted lane"/>
|
10
|
+
<testcase classname="dist/lanes.spec.js" name="should not throw" time="0.001"/>
|
11
|
+
<testcase classname="dist/lanes.spec.js" name="should throw when restoring the lane" time="0.001"/>
|
12
12
|
<testcase classname="dist/lanes.spec.js" name="should create lane history object when creating a new lane" time="0.001"/>
|
13
13
|
<testcase classname="dist/lanes.spec.js" name="should add a record to LaneHistory when snapping" time="0.001"/>
|
14
14
|
<testcase classname="dist/lanes.spec.js" name="should export successfully"/>
|
15
15
|
<testcase classname="dist/lanes.spec.js" name="should not add a record to the lane-history"/>
|
16
|
-
<testcase classname="dist/lanes.spec.js" name="should be able to checkout to a previous state of the lane" time="1.
|
17
|
-
<testcase classname="dist/lanes.spec.js" name="should be able to revert to a previous history id" time="
|
18
|
-
<testcase classname="dist/lanes.spec.js" name="should not throw when creating the second lane" time="0.
|
16
|
+
<testcase classname="dist/lanes.spec.js" name="should be able to checkout to a previous state of the lane" time="1.051"/>
|
17
|
+
<testcase classname="dist/lanes.spec.js" name="should be able to revert to a previous history id" time="5.574"/>
|
18
|
+
<testcase classname="dist/lanes.spec.js" name="should not throw when creating the second lane" time="0.112"/>
|
19
19
|
<testcase classname="dist/lanes.spec.js" name="should save the deleted data into the lane object">
|
20
20
|
<skipped/>
|
21
21
|
</testcase>
|
@@ -1 +1 @@
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.lanes/lanes-preview"]=t():e["teambit.lanes/lanes-preview"]=t()}(self,(()=>(()=>{"use strict";var e={5792:(e,t,n)=>{var a={id:"teambit.lanes/lanes@1.0.493",homepage:"https://bit.cloud/teambit/lanes/lanes",exported:!0};function o(){const e=i(n(1594));return o=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,o.__bit_component=a,i.__bit_component=a;const r=()=>o().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},o().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/lanes.svg"}));r.__bit_component=a,t.Logo=r},1594:e=>{e.exports=React}},t={};function n(a){var o=t[a];if(void 0!==o)return o.exports;var i=t[a]={exports:{}};return e[a](i,i.exports,n),i.exports}n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};n.r(a),n.d(a,{compositions:()=>c,compositions_metadata:()=>f,overview:()=>u});var o={};n.r(o),n.d(o,{default:()=>h});var i=n(5792);n(1594);const r=MdxJsReact,l=TeambitMdxUiMdxScopeContext;var s=["components"];function m(){return m=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},m.apply(null,arguments)}var d={},p="wrapper";function h(e){var t=e.components,n=function(e,t){if(null==e)return{};var n,a,o=function(e,t){if(null==e)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(t.includes(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,s);return(0,r.mdx)(p,m({},d,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)(l.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"},(0,r.mdx)("p",null,"See more details about these two features here: ",(0,r.mdx)("a",{parentName:"p",href:"https://github.com/teambit/bit/issues/1986"},"Lanes"),". ",(0,r.mdx)("a",{parentName:"p",href:"https://github.com/teambit/bit/issues/1985"},"Snaps"),"."),(0,r.mdx)("p",null,"The following describes the final implementation, which differs from the specification above."),(0,r.mdx)("h2",null,"Synopsis"),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre"},"- create a snap: `bit snap` (synopsis similar to the `bit tag`)\n- create a new lane: `bit lane create <name>`\n- list lanes: `bit lane list`\n- switch between lanes: `bit switch <name>`\n- merge lanes: `bit lane merge`\n- show lane details: `bit lane show <name>`\n- diff between lanes: `bit lane diff <values>`\n- track local lane to a remote lane: `bit switch --as`\n- remove a lane: `bit lane remove <name>`.\n- fetch lane objects (without the components): `bit fetch --lanes`\n- import a lane: `bit lane import`\n- export current lane: `bit export`\n- (internal) cat lane object: `bit cat-lane <name>`\n")),(0,r.mdx)("h2",null,"Important points"),(0,r.mdx)("h3",null,"Lane ID"),(0,r.mdx)("p",null,"The Lane id consists of the lane name and the scope. If this is a new lane, the scope is the defaultScope.\nThe ",(0,r.mdx)("inlineCode",{parentName:"p"},"LaneId")," ",(0,r.mdx)("em",{parentName:"p"},"always")," has these two props."),(0,r.mdx)("h3",null,"Performance consideration"),(0,r.mdx)("p",null,"Currently, if it imports with no-deps, it doesn't ask for parents, if it imports with deps it imports with all parents. It is originated from src/api/scope/lib/fetch.ts: ",(0,r.mdx)("inlineCode",{parentName:"p"},"const collectParents = !noDependencies;"),". We need to make a decision here."),(0,r.mdx)("h3",null,"Hash"),(0,r.mdx)("ul",null,(0,r.mdx)("li",{parentName:"ul"},"Snap's hash is generated by a UUID and then converted into sha1. ",(0,r.mdx)("inlineCode",{parentName:"li"},"sha1(v4())"),"."),(0,r.mdx)("li",{parentName:"ul"},"Lane's hash is generated by a UUID and then converted into sha1. ",(0,r.mdx)("inlineCode",{parentName:"li"},"sha1(v4())"),"."),(0,r.mdx)("li",{parentName:"ul"},"Tag's hash stays the same. Generated by the ",(0,r.mdx)("inlineCode",{parentName:"li"},"Version.id()"),"."),(0,r.mdx)("li",{parentName:"ul"},"Lane's hash doesn't get changed even if the lane has been renamed or its scope changed.")),(0,r.mdx)("h3",null,"Lane Data"),(0,r.mdx)("p",null,"Lane data, for the most cases is a map of component-id:snap-head, in other words, it saves per component the head snap. There are 3 different places where we store such data for different purposes."),(0,r.mdx)("ul",null,(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("inlineCode",{parentName:"li"},"lane-object"),' "Lane" is saved in the scope ',(0,r.mdx)("inlineCode",{parentName:"li"},".bit/objects")," (.bit can be .git/bit locally), it has a unique hash and contains a map of components and their heads. This object exists on both local and remote scopes. Its main purpose is to sync lane-data between scopes. See ",(0,r.mdx)("inlineCode",{parentName:"li"},"Lane")," class (in scope/model) for the implementation details."),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("inlineCode",{parentName:"li"},"remote-lane")," (component and their heads) is saved in ",(0,r.mdx)("inlineCode",{parentName:"li"},".bit/refs/remote/remote-name/lane-name"),". These refs files are saved in both, local and remote scopes. Its main purpose is to keep track where the remote-heads are per lane. See ",(0,r.mdx)("inlineCode",{parentName:"li"},"RemoteLanes")," class for the implementation details.")),(0,r.mdx)("p",null,"More places that stores lanes related data:"),(0,r.mdx)("ul",null,(0,r.mdx)("li",{parentName:"ul"},"the currently checked out lane is saved in the scope.json file. (e.g. ",(0,r.mdx)("inlineCode",{parentName:"li"},'{ lanes: { current: "lane-a", tracking: "remote/lane-a" } }'),")."),(0,r.mdx)("li",{parentName:"ul"},"When switching to a remote lane, the .bitmap is updated as well with the remote-name, so then, when cloning the project, it's possible to fetch the remote lane data.")),(0,r.mdx)("p",null,"Summary of when/what lanes data is saved per command:"),(0,r.mdx)("ul",null,(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("inlineCode",{parentName:"li"},"bit lane create"),": creates a new lane-object and creates a new lane record in scope.json and .bitmap."),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("inlineCode",{parentName:"li"},"bit snap"),": adds an entry to the lane-object."),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("inlineCode",{parentName:"li"},"bit export"),": pushes the lane-object to the remote. On the remote, the lane-object is created or updated/merged."),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("inlineCode",{parentName:"li"},"bit switch --remote"),": 1) creates/updates lane-object in the scope. 2) creates/updates remote-lane. the remote-lane is updated also for main."),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("inlineCode",{parentName:"li"},"bit fetch")," or ",(0,r.mdx)("inlineCode",{parentName:"li"},"bit import --objects"),": creates/updates remote-lane. the remote-lane is updated also for main. It doesn't update/merge the lane object.")),(0,r.mdx)("h3",null,"Merge during import"),(0,r.mdx)("ul",null,(0,r.mdx)("li",{parentName:"ul"},"When the remote is ahead, it's easy, just update the head to the remote-head."),(0,r.mdx)("li",{parentName:"ul"},"When the local and remote have diverged, it's more complex. We need to create a snap-merge that has two parents, one point to the local head and one point to the remote head."),(0,r.mdx)("li",{parentName:"ul"},"On ",(0,r.mdx)("inlineCode",{parentName:"li"},"bit import --objects")," (or ",(0,r.mdx)("inlineCode",{parentName:"li"},"bit fetch"),") we don't merge. The remote head is saved in the .bit/refs/remote dir. Then, ",(0,r.mdx)("inlineCode",{parentName:"li"},"bit status")," shows that these components are merge-pending."),(0,r.mdx)("li",{parentName:"ul"},"On ",(0,r.mdx)("inlineCode",{parentName:"li"},"bit import <id>")," we do the merge."),(0,r.mdx)("li",{parentName:"ul"},"in case the merge wasn't done and the user is trying to export, the remote blocks is as it finds out that its head doesn't exist on the incoming component."),(0,r.mdx)("li",{parentName:"ul"},"in case the snap-merge failed due to a conflict, it saves the conflict and heads data into ",(0,r.mdx)("inlineCode",{parentName:"li"},".bit/unmerged.json")," file.")),(0,r.mdx)("h3",null,"Merge components"),(0,r.mdx)("ul",null,(0,r.mdx)("li",{parentName:"ul"},"to merge an entire lane, use ",(0,r.mdx)("inlineCode",{parentName:"li"},"bit lane merge"),"."),(0,r.mdx)("li",{parentName:"ul"},"to get updates from a remote lane, run ",(0,r.mdx)("inlineCode",{parentName:"li"},"bit import"),", and then ",(0,r.mdx)("inlineCode",{parentName:"li"},"bit checkout head"),". alternatively, run ",(0,r.mdx)("inlineCode",{parentName:"li"},"bit merge <component-id>")," in one command."),(0,r.mdx)("li",{parentName:"ul"},"to merge an individual component from a lane to main, run ",(0,r.mdx)("inlineCode",{parentName:"li"},"bit lane merge <lane> --pattern <component-id>")," when on main.")),(0,r.mdx)("h3",null,"Useful APIs"),(0,r.mdx)("ul",null,(0,r.mdx)("li",{parentName:"ul"},"bit-map ",(0,r.mdx)("inlineCode",{parentName:"li"},"getAllIdsAvailableOnLane()")," filters the currently checked out lane.")),(0,r.mdx)("h3",null,"Remove component from a lane"),(0,r.mdx)("p",null,"Locally, to remove a component from a lane, use ",(0,r.mdx)("inlineCode",{parentName:"p"},"bit remove")," command. It will remove the component from the local lane-object.\nThis change won't affect the remote scope, even after exporting the lane.\nThis is becuase on the remote, the merge-lane process doesn't remove anything, only adds/changes components to the lane object.\nRemember that by default when importing a lane, only the components on the workspace are part of the lane, so the same lane-object, locally can have less components than the remote and obviously in this case we don't want to remove them from the remote on export."),(0,r.mdx)("p",null,"To mark a component as removed on the lane, use ",(0,r.mdx)("inlineCode",{parentName:"p"},"bit remove --delete"),", which will modify the component, mark it as removed, then, on the next snap+export, the remote will be updated.\nOnce a component is marked as removed, it won't be merged during ",(0,r.mdx)("inlineCode",{parentName:"p"},"bit lane merge"),", and won't be imported during ",(0,r.mdx)("inlineCode",{parentName:"p"},"bit lane import"),"."),(0,r.mdx)("h3",null,"Debug issues during merge"),(0,r.mdx)("p",null,"The merge operation performs 3-way merge to minimize the number of conflicts.\nIt searches the common parent of the current-snap and the other-snap. This parent-snap or base-snap is common to these two lanes.\nFor most case, it works as follows:\nIf the base and current has the same data but the other has different data, it means, the other made a change.\nIn which case, no need for conflicts, just bring the data from the other to the local.\nOn the other hand, if the base the other has the same data but the current has different data, then, the current made a change. No need to do anything.\nOnly when the current and the other, both are different, and both are different than the base, there is a conflict."),(0,r.mdx)("p",null,'In case of merging lanes, and it\'s unclear why/how some changes were introduced or marked conflicted, go to the log to find out what is the base-snap and the other-snap.\nThe log message starts with "merging snaps details", and it lists per component-id the base-snap, current-snap and other-snap.\nFrom here, you can investigate the data of each one of the snaps by running ',(0,r.mdx)("inlineCode",{parentName:"p"},"bit cat-object -p <snap>"),".\nTo make this process easier, there are some tools that can help. keep reading."),(0,r.mdx)("h4",null,"source code merges/conflicts"),(0,r.mdx)("p",null,"To find out when a change was introduced to a file or when a file was added/removed, run ",(0,r.mdx)("inlineCode",{parentName:"p"},"bit log-file <file-path>"),".\nIt might be helpful to create a new temporary workspace, import the other lane and run the same there.\nThis way, you get the full picture from both lanes when a change was introduced, and you can see whether it happened before and after the split from the base-snap.\nObviously, ",(0,r.mdx)("inlineCode",{parentName:"p"},"bit log <comp-id> --one-line")," is helpful here to see the distance from each lane from the base-snap."),(0,r.mdx)("h4",null,"dependencies merges/conflicts"),(0,r.mdx)("p",null,"Similar to file-changes, you can run ",(0,r.mdx)("inlineCode",{parentName:"p"},"bit deps blame"),' to understhand when a dependency was introduced/deleted/changed from a component.\nHere again, it\'ll be helpful to import to a new workspace the other lane and run the same there.\nAlso, becuase the dependencies merge is pretty complex, during the merge lots of valuable info is printed to the log.\nHowever, to avoid the extra noise it is not logged as "debug" but as "trace". Before you run the merge, you can add ',(0,r.mdx)("inlineCode",{parentName:"p"},"--log=trace")," to see these messages on the screen.")))}h.isMDXComponent=!0;const c=[i],u=[o],f={compositions:[{displayName:"Logo",identifier:"Logo"}]};return a})()));
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.lanes/lanes-preview"]=t():e["teambit.lanes/lanes-preview"]=t()}(self,(()=>(()=>{"use strict";var e={6363:(e,t,n)=>{var a={id:"teambit.lanes/lanes@1.0.494",homepage:"https://bit.cloud/teambit/lanes/lanes",exported:!0};function o(){const e=i(n(1594));return o=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,o.__bit_component=a,i.__bit_component=a;const r=()=>o().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},o().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/lanes.svg"}));r.__bit_component=a,t.Logo=r},1594:e=>{e.exports=React}},t={};function n(a){var o=t[a];if(void 0!==o)return o.exports;var i=t[a]={exports:{}};return e[a](i,i.exports,n),i.exports}n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};n.r(a),n.d(a,{compositions:()=>c,compositions_metadata:()=>f,overview:()=>u});var o={};n.r(o),n.d(o,{default:()=>h});var i=n(6363);n(1594);const r=MdxJsReact,l=TeambitMdxUiMdxScopeContext;var s=["components"];function m(){return m=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},m.apply(null,arguments)}var d={},p="wrapper";function h(e){var t=e.components,n=function(e,t){if(null==e)return{};var n,a,o=function(e,t){if(null==e)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(t.includes(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,s);return(0,r.mdx)(p,m({},d,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)(l.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"},(0,r.mdx)("p",null,"See more details about these two features here: ",(0,r.mdx)("a",{parentName:"p",href:"https://github.com/teambit/bit/issues/1986"},"Lanes"),". ",(0,r.mdx)("a",{parentName:"p",href:"https://github.com/teambit/bit/issues/1985"},"Snaps"),"."),(0,r.mdx)("p",null,"The following describes the final implementation, which differs from the specification above."),(0,r.mdx)("h2",null,"Synopsis"),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre"},"- create a snap: `bit snap` (synopsis similar to the `bit tag`)\n- create a new lane: `bit lane create <name>`\n- list lanes: `bit lane list`\n- switch between lanes: `bit switch <name>`\n- merge lanes: `bit lane merge`\n- show lane details: `bit lane show <name>`\n- diff between lanes: `bit lane diff <values>`\n- track local lane to a remote lane: `bit switch --as`\n- remove a lane: `bit lane remove <name>`.\n- fetch lane objects (without the components): `bit fetch --lanes`\n- import a lane: `bit lane import`\n- export current lane: `bit export`\n- (internal) cat lane object: `bit cat-lane <name>`\n")),(0,r.mdx)("h2",null,"Important points"),(0,r.mdx)("h3",null,"Lane ID"),(0,r.mdx)("p",null,"The Lane id consists of the lane name and the scope. If this is a new lane, the scope is the defaultScope.\nThe ",(0,r.mdx)("inlineCode",{parentName:"p"},"LaneId")," ",(0,r.mdx)("em",{parentName:"p"},"always")," has these two props."),(0,r.mdx)("h3",null,"Performance consideration"),(0,r.mdx)("p",null,"Currently, if it imports with no-deps, it doesn't ask for parents, if it imports with deps it imports with all parents. It is originated from src/api/scope/lib/fetch.ts: ",(0,r.mdx)("inlineCode",{parentName:"p"},"const collectParents = !noDependencies;"),". We need to make a decision here."),(0,r.mdx)("h3",null,"Hash"),(0,r.mdx)("ul",null,(0,r.mdx)("li",{parentName:"ul"},"Snap's hash is generated by a UUID and then converted into sha1. ",(0,r.mdx)("inlineCode",{parentName:"li"},"sha1(v4())"),"."),(0,r.mdx)("li",{parentName:"ul"},"Lane's hash is generated by a UUID and then converted into sha1. ",(0,r.mdx)("inlineCode",{parentName:"li"},"sha1(v4())"),"."),(0,r.mdx)("li",{parentName:"ul"},"Tag's hash stays the same. Generated by the ",(0,r.mdx)("inlineCode",{parentName:"li"},"Version.id()"),"."),(0,r.mdx)("li",{parentName:"ul"},"Lane's hash doesn't get changed even if the lane has been renamed or its scope changed.")),(0,r.mdx)("h3",null,"Lane Data"),(0,r.mdx)("p",null,"Lane data, for the most cases is a map of component-id:snap-head, in other words, it saves per component the head snap. There are 3 different places where we store such data for different purposes."),(0,r.mdx)("ul",null,(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("inlineCode",{parentName:"li"},"lane-object"),' "Lane" is saved in the scope ',(0,r.mdx)("inlineCode",{parentName:"li"},".bit/objects")," (.bit can be .git/bit locally), it has a unique hash and contains a map of components and their heads. This object exists on both local and remote scopes. Its main purpose is to sync lane-data between scopes. See ",(0,r.mdx)("inlineCode",{parentName:"li"},"Lane")," class (in scope/model) for the implementation details."),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("inlineCode",{parentName:"li"},"remote-lane")," (component and their heads) is saved in ",(0,r.mdx)("inlineCode",{parentName:"li"},".bit/refs/remote/remote-name/lane-name"),". These refs files are saved in both, local and remote scopes. Its main purpose is to keep track where the remote-heads are per lane. See ",(0,r.mdx)("inlineCode",{parentName:"li"},"RemoteLanes")," class for the implementation details.")),(0,r.mdx)("p",null,"More places that stores lanes related data:"),(0,r.mdx)("ul",null,(0,r.mdx)("li",{parentName:"ul"},"the currently checked out lane is saved in the scope.json file. (e.g. ",(0,r.mdx)("inlineCode",{parentName:"li"},'{ lanes: { current: "lane-a", tracking: "remote/lane-a" } }'),")."),(0,r.mdx)("li",{parentName:"ul"},"When switching to a remote lane, the .bitmap is updated as well with the remote-name, so then, when cloning the project, it's possible to fetch the remote lane data.")),(0,r.mdx)("p",null,"Summary of when/what lanes data is saved per command:"),(0,r.mdx)("ul",null,(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("inlineCode",{parentName:"li"},"bit lane create"),": creates a new lane-object and creates a new lane record in scope.json and .bitmap."),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("inlineCode",{parentName:"li"},"bit snap"),": adds an entry to the lane-object."),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("inlineCode",{parentName:"li"},"bit export"),": pushes the lane-object to the remote. On the remote, the lane-object is created or updated/merged."),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("inlineCode",{parentName:"li"},"bit switch --remote"),": 1) creates/updates lane-object in the scope. 2) creates/updates remote-lane. the remote-lane is updated also for main."),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("inlineCode",{parentName:"li"},"bit fetch")," or ",(0,r.mdx)("inlineCode",{parentName:"li"},"bit import --objects"),": creates/updates remote-lane. the remote-lane is updated also for main. It doesn't update/merge the lane object.")),(0,r.mdx)("h3",null,"Merge during import"),(0,r.mdx)("ul",null,(0,r.mdx)("li",{parentName:"ul"},"When the remote is ahead, it's easy, just update the head to the remote-head."),(0,r.mdx)("li",{parentName:"ul"},"When the local and remote have diverged, it's more complex. We need to create a snap-merge that has two parents, one point to the local head and one point to the remote head."),(0,r.mdx)("li",{parentName:"ul"},"On ",(0,r.mdx)("inlineCode",{parentName:"li"},"bit import --objects")," (or ",(0,r.mdx)("inlineCode",{parentName:"li"},"bit fetch"),") we don't merge. The remote head is saved in the .bit/refs/remote dir. Then, ",(0,r.mdx)("inlineCode",{parentName:"li"},"bit status")," shows that these components are merge-pending."),(0,r.mdx)("li",{parentName:"ul"},"On ",(0,r.mdx)("inlineCode",{parentName:"li"},"bit import <id>")," we do the merge."),(0,r.mdx)("li",{parentName:"ul"},"in case the merge wasn't done and the user is trying to export, the remote blocks is as it finds out that its head doesn't exist on the incoming component."),(0,r.mdx)("li",{parentName:"ul"},"in case the snap-merge failed due to a conflict, it saves the conflict and heads data into ",(0,r.mdx)("inlineCode",{parentName:"li"},".bit/unmerged.json")," file.")),(0,r.mdx)("h3",null,"Merge components"),(0,r.mdx)("ul",null,(0,r.mdx)("li",{parentName:"ul"},"to merge an entire lane, use ",(0,r.mdx)("inlineCode",{parentName:"li"},"bit lane merge"),"."),(0,r.mdx)("li",{parentName:"ul"},"to get updates from a remote lane, run ",(0,r.mdx)("inlineCode",{parentName:"li"},"bit import"),", and then ",(0,r.mdx)("inlineCode",{parentName:"li"},"bit checkout head"),". alternatively, run ",(0,r.mdx)("inlineCode",{parentName:"li"},"bit merge <component-id>")," in one command."),(0,r.mdx)("li",{parentName:"ul"},"to merge an individual component from a lane to main, run ",(0,r.mdx)("inlineCode",{parentName:"li"},"bit lane merge <lane> --pattern <component-id>")," when on main.")),(0,r.mdx)("h3",null,"Useful APIs"),(0,r.mdx)("ul",null,(0,r.mdx)("li",{parentName:"ul"},"bit-map ",(0,r.mdx)("inlineCode",{parentName:"li"},"getAllIdsAvailableOnLane()")," filters the currently checked out lane.")),(0,r.mdx)("h3",null,"Remove component from a lane"),(0,r.mdx)("p",null,"Locally, to remove a component from a lane, use ",(0,r.mdx)("inlineCode",{parentName:"p"},"bit remove")," command. It will remove the component from the local lane-object.\nThis change won't affect the remote scope, even after exporting the lane.\nThis is becuase on the remote, the merge-lane process doesn't remove anything, only adds/changes components to the lane object.\nRemember that by default when importing a lane, only the components on the workspace are part of the lane, so the same lane-object, locally can have less components than the remote and obviously in this case we don't want to remove them from the remote on export."),(0,r.mdx)("p",null,"To mark a component as removed on the lane, use ",(0,r.mdx)("inlineCode",{parentName:"p"},"bit remove --delete"),", which will modify the component, mark it as removed, then, on the next snap+export, the remote will be updated.\nOnce a component is marked as removed, it won't be merged during ",(0,r.mdx)("inlineCode",{parentName:"p"},"bit lane merge"),", and won't be imported during ",(0,r.mdx)("inlineCode",{parentName:"p"},"bit lane import"),"."),(0,r.mdx)("h3",null,"Debug issues during merge"),(0,r.mdx)("p",null,"The merge operation performs 3-way merge to minimize the number of conflicts.\nIt searches the common parent of the current-snap and the other-snap. This parent-snap or base-snap is common to these two lanes.\nFor most case, it works as follows:\nIf the base and current has the same data but the other has different data, it means, the other made a change.\nIn which case, no need for conflicts, just bring the data from the other to the local.\nOn the other hand, if the base the other has the same data but the current has different data, then, the current made a change. No need to do anything.\nOnly when the current and the other, both are different, and both are different than the base, there is a conflict."),(0,r.mdx)("p",null,'In case of merging lanes, and it\'s unclear why/how some changes were introduced or marked conflicted, go to the log to find out what is the base-snap and the other-snap.\nThe log message starts with "merging snaps details", and it lists per component-id the base-snap, current-snap and other-snap.\nFrom here, you can investigate the data of each one of the snaps by running ',(0,r.mdx)("inlineCode",{parentName:"p"},"bit cat-object -p <snap>"),".\nTo make this process easier, there are some tools that can help. keep reading."),(0,r.mdx)("h4",null,"source code merges/conflicts"),(0,r.mdx)("p",null,"To find out when a change was introduced to a file or when a file was added/removed, run ",(0,r.mdx)("inlineCode",{parentName:"p"},"bit log-file <file-path>"),".\nIt might be helpful to create a new temporary workspace, import the other lane and run the same there.\nThis way, you get the full picture from both lanes when a change was introduced, and you can see whether it happened before and after the split from the base-snap.\nObviously, ",(0,r.mdx)("inlineCode",{parentName:"p"},"bit log <comp-id> --one-line")," is helpful here to see the distance from each lane from the base-snap."),(0,r.mdx)("h4",null,"dependencies merges/conflicts"),(0,r.mdx)("p",null,"Similar to file-changes, you can run ",(0,r.mdx)("inlineCode",{parentName:"p"},"bit deps blame"),' to understhand when a dependency was introduced/deleted/changed from a component.\nHere again, it\'ll be helpful to import to a new workspace the other lane and run the same there.\nAlso, becuase the dependencies merge is pretty complex, during the merge lots of valuable info is printed to the log.\nHowever, to avoid the extra noise it is not logged as "debug" but as "trace". Before you run the merge, you can add ',(0,r.mdx)("inlineCode",{parentName:"p"},"--log=trace")," to see these messages on the screen.")))}h.isMDXComponent=!0;const c=[i],u=[o],f={compositions:[{displayName:"Logo",identifier:"Logo"}]};return a})()));
|
package/artifacts/schema.json
CHANGED
@@ -748,7 +748,7 @@
|
|
748
748
|
"componentId": {
|
749
749
|
"scope": "teambit.legacy",
|
750
750
|
"name": "scope",
|
751
|
-
"version": "0.0.
|
751
|
+
"version": "0.0.6"
|
752
752
|
}
|
753
753
|
}
|
754
754
|
}
|
@@ -874,7 +874,7 @@
|
|
874
874
|
"componentId": {
|
875
875
|
"scope": "teambit.scope",
|
876
876
|
"name": "objects",
|
877
|
-
"version": "0.0.
|
877
|
+
"version": "0.0.6"
|
878
878
|
}
|
879
879
|
}
|
880
880
|
]
|
@@ -1723,7 +1723,7 @@
|
|
1723
1723
|
"componentId": {
|
1724
1724
|
"scope": "teambit.legacy",
|
1725
1725
|
"name": "scope",
|
1726
|
-
"version": "0.0.
|
1726
|
+
"version": "0.0.6"
|
1727
1727
|
}
|
1728
1728
|
},
|
1729
1729
|
"isOptional": true
|
@@ -1748,7 +1748,7 @@
|
|
1748
1748
|
"componentId": {
|
1749
1749
|
"scope": "teambit.legacy",
|
1750
1750
|
"name": "scope",
|
1751
|
-
"version": "0.0.
|
1751
|
+
"version": "0.0.6"
|
1752
1752
|
}
|
1753
1753
|
},
|
1754
1754
|
"isOptional": false
|
@@ -2903,7 +2903,7 @@
|
|
2903
2903
|
"componentId": {
|
2904
2904
|
"scope": "teambit.legacy",
|
2905
2905
|
"name": "component-diff",
|
2906
|
-
"version": "0.0.
|
2906
|
+
"version": "0.0.59"
|
2907
2907
|
}
|
2908
2908
|
},
|
2909
2909
|
"isOptional": true,
|
@@ -2951,7 +2951,7 @@
|
|
2951
2951
|
"componentId": {
|
2952
2952
|
"scope": "teambit.lanes",
|
2953
2953
|
"name": "modules/diff",
|
2954
|
-
"version": "0.0.
|
2954
|
+
"version": "0.0.503"
|
2955
2955
|
}
|
2956
2956
|
}
|
2957
2957
|
]
|
@@ -2990,7 +2990,7 @@
|
|
2990
2990
|
"componentId": {
|
2991
2991
|
"scope": "teambit.legacy",
|
2992
2992
|
"name": "scope",
|
2993
|
-
"version": "0.0.
|
2993
|
+
"version": "0.0.6"
|
2994
2994
|
}
|
2995
2995
|
},
|
2996
2996
|
"isOptional": false,
|
@@ -3062,7 +3062,7 @@
|
|
3062
3062
|
"componentId": {
|
3063
3063
|
"scope": "teambit.legacy",
|
3064
3064
|
"name": "scope",
|
3065
|
-
"version": "0.0.
|
3065
|
+
"version": "0.0.6"
|
3066
3066
|
}
|
3067
3067
|
},
|
3068
3068
|
"isOptional": false,
|
@@ -3135,7 +3135,7 @@
|
|
3135
3135
|
"componentId": {
|
3136
3136
|
"scope": "teambit.legacy",
|
3137
3137
|
"name": "scope",
|
3138
|
-
"version": "0.0.
|
3138
|
+
"version": "0.0.6"
|
3139
3139
|
}
|
3140
3140
|
},
|
3141
3141
|
"isOptional": false,
|
@@ -3554,7 +3554,7 @@
|
|
3554
3554
|
"componentId": {
|
3555
3555
|
"scope": "teambit.legacy",
|
3556
3556
|
"name": "component-list",
|
3557
|
-
"version": "0.0.
|
3557
|
+
"version": "0.0.60"
|
3558
3558
|
}
|
3559
3559
|
},
|
3560
3560
|
"isOptional": false,
|
@@ -3634,7 +3634,7 @@
|
|
3634
3634
|
"componentId": {
|
3635
3635
|
"scope": "teambit.legacy",
|
3636
3636
|
"name": "component-list",
|
3637
|
-
"version": "0.0.
|
3637
|
+
"version": "0.0.60"
|
3638
3638
|
}
|
3639
3639
|
},
|
3640
3640
|
"isOptional": false,
|
@@ -5927,7 +5927,7 @@
|
|
5927
5927
|
"componentId": {
|
5928
5928
|
"scope": "teambit.legacy",
|
5929
5929
|
"name": "scope",
|
5930
|
-
"version": "0.0.
|
5930
|
+
"version": "0.0.6"
|
5931
5931
|
}
|
5932
5932
|
}
|
5933
5933
|
},
|
@@ -6607,7 +6607,7 @@
|
|
6607
6607
|
"componentId": {
|
6608
6608
|
"scope": "teambit.component",
|
6609
6609
|
"name": "snap-distance",
|
6610
|
-
"version": "0.0.
|
6610
|
+
"version": "0.0.6"
|
6611
6611
|
}
|
6612
6612
|
},
|
6613
6613
|
"isOptional": false
|
@@ -7516,7 +7516,7 @@
|
|
7516
7516
|
"componentId": {
|
7517
7517
|
"scope": "teambit.legacy",
|
7518
7518
|
"name": "scope",
|
7519
|
-
"version": "0.0.
|
7519
|
+
"version": "0.0.6"
|
7520
7520
|
}
|
7521
7521
|
}
|
7522
7522
|
}
|
@@ -7642,7 +7642,7 @@
|
|
7642
7642
|
"componentId": {
|
7643
7643
|
"scope": "teambit.scope",
|
7644
7644
|
"name": "objects",
|
7645
|
-
"version": "0.0.
|
7645
|
+
"version": "0.0.6"
|
7646
7646
|
}
|
7647
7647
|
}
|
7648
7648
|
]
|
@@ -8491,7 +8491,7 @@
|
|
8491
8491
|
"componentId": {
|
8492
8492
|
"scope": "teambit.legacy",
|
8493
8493
|
"name": "scope",
|
8494
|
-
"version": "0.0.
|
8494
|
+
"version": "0.0.6"
|
8495
8495
|
}
|
8496
8496
|
},
|
8497
8497
|
"isOptional": true
|
@@ -8516,7 +8516,7 @@
|
|
8516
8516
|
"componentId": {
|
8517
8517
|
"scope": "teambit.legacy",
|
8518
8518
|
"name": "scope",
|
8519
|
-
"version": "0.0.
|
8519
|
+
"version": "0.0.6"
|
8520
8520
|
}
|
8521
8521
|
},
|
8522
8522
|
"isOptional": false
|
@@ -9671,7 +9671,7 @@
|
|
9671
9671
|
"componentId": {
|
9672
9672
|
"scope": "teambit.legacy",
|
9673
9673
|
"name": "component-diff",
|
9674
|
-
"version": "0.0.
|
9674
|
+
"version": "0.0.59"
|
9675
9675
|
}
|
9676
9676
|
},
|
9677
9677
|
"isOptional": true,
|
@@ -9719,7 +9719,7 @@
|
|
9719
9719
|
"componentId": {
|
9720
9720
|
"scope": "teambit.lanes",
|
9721
9721
|
"name": "modules/diff",
|
9722
|
-
"version": "0.0.
|
9722
|
+
"version": "0.0.503"
|
9723
9723
|
}
|
9724
9724
|
}
|
9725
9725
|
]
|
@@ -9758,7 +9758,7 @@
|
|
9758
9758
|
"componentId": {
|
9759
9759
|
"scope": "teambit.legacy",
|
9760
9760
|
"name": "scope",
|
9761
|
-
"version": "0.0.
|
9761
|
+
"version": "0.0.6"
|
9762
9762
|
}
|
9763
9763
|
},
|
9764
9764
|
"isOptional": false,
|
@@ -9830,7 +9830,7 @@
|
|
9830
9830
|
"componentId": {
|
9831
9831
|
"scope": "teambit.legacy",
|
9832
9832
|
"name": "scope",
|
9833
|
-
"version": "0.0.
|
9833
|
+
"version": "0.0.6"
|
9834
9834
|
}
|
9835
9835
|
},
|
9836
9836
|
"isOptional": false,
|
@@ -9903,7 +9903,7 @@
|
|
9903
9903
|
"componentId": {
|
9904
9904
|
"scope": "teambit.legacy",
|
9905
9905
|
"name": "scope",
|
9906
|
-
"version": "0.0.
|
9906
|
+
"version": "0.0.6"
|
9907
9907
|
}
|
9908
9908
|
},
|
9909
9909
|
"isOptional": false,
|
@@ -10322,7 +10322,7 @@
|
|
10322
10322
|
"componentId": {
|
10323
10323
|
"scope": "teambit.legacy",
|
10324
10324
|
"name": "component-list",
|
10325
|
-
"version": "0.0.
|
10325
|
+
"version": "0.0.60"
|
10326
10326
|
}
|
10327
10327
|
},
|
10328
10328
|
"isOptional": false,
|
@@ -10402,7 +10402,7 @@
|
|
10402
10402
|
"componentId": {
|
10403
10403
|
"scope": "teambit.legacy",
|
10404
10404
|
"name": "component-list",
|
10405
|
-
"version": "0.0.
|
10405
|
+
"version": "0.0.60"
|
10406
10406
|
}
|
10407
10407
|
},
|
10408
10408
|
"isOptional": false,
|
@@ -12588,7 +12588,7 @@
|
|
12588
12588
|
"componentId": {
|
12589
12589
|
"scope": "teambit.lanes",
|
12590
12590
|
"name": "lanes",
|
12591
|
-
"version": "1.0.
|
12591
|
+
"version": "1.0.494"
|
12592
12592
|
},
|
12593
12593
|
"taggedModuleExports": []
|
12594
12594
|
}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.lanes_lanes@1.0.
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.lanes_lanes@1.0.
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.lanes_lanes@1.0.494/dist/lanes.composition.js';
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.lanes_lanes@1.0.494/dist/lanes.docs.mdx';
|
3
3
|
|
4
4
|
export const compositions = [compositions_0];
|
5
5
|
export const overview = [overview_0];
|
package/package.json
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "@teambit/lanes",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.494",
|
4
4
|
"homepage": "https://bit.cloud/teambit/lanes/lanes",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"componentId": {
|
7
7
|
"scope": "teambit.lanes",
|
8
8
|
"name": "lanes",
|
9
|
-
"version": "1.0.
|
9
|
+
"version": "1.0.494"
|
10
10
|
},
|
11
11
|
"dependencies": {
|
12
12
|
"chalk": "2.4.2",
|
@@ -31,42 +31,42 @@
|
|
31
31
|
"@teambit/lanes.ui.compare.lane-compare-page": "0.0.162",
|
32
32
|
"@teambit/lanes.ui.compare.lane-compare": "0.0.193",
|
33
33
|
"@teambit/lanes.ui.navigation.lane-switcher": "0.0.225",
|
34
|
-
"@teambit/checkout": "1.0.
|
35
|
-
"@teambit/cli": "0.0.
|
36
|
-
"@teambit/importer": "1.0.
|
34
|
+
"@teambit/checkout": "1.0.494",
|
35
|
+
"@teambit/cli": "0.0.1071",
|
36
|
+
"@teambit/importer": "1.0.494",
|
37
37
|
"@teambit/legacy.cli.prompts": "0.0.8",
|
38
38
|
"@teambit/legacy.constants": "0.0.3",
|
39
|
-
"@teambit/legacy.scope": "0.0.
|
40
|
-
"@teambit/scope": "1.0.
|
41
|
-
"@teambit/workspace": "1.0.
|
42
|
-
"@teambit/express": "0.0.
|
43
|
-
"@teambit/logger": "0.0.
|
44
|
-
"@teambit/graphql": "1.0.
|
45
|
-
"@teambit/component-compare": "1.0.
|
46
|
-
"@teambit/component-writer": "1.0.
|
47
|
-
"@teambit/component.snap-distance": "0.0.
|
48
|
-
"@teambit/component": "1.0.
|
49
|
-
"@teambit/export": "1.0.
|
39
|
+
"@teambit/legacy.scope": "0.0.6",
|
40
|
+
"@teambit/scope": "1.0.494",
|
41
|
+
"@teambit/workspace": "1.0.494",
|
42
|
+
"@teambit/express": "0.0.1170",
|
43
|
+
"@teambit/logger": "0.0.1164",
|
44
|
+
"@teambit/graphql": "1.0.494",
|
45
|
+
"@teambit/component-compare": "1.0.494",
|
46
|
+
"@teambit/component-writer": "1.0.494",
|
47
|
+
"@teambit/component.snap-distance": "0.0.6",
|
48
|
+
"@teambit/component": "1.0.494",
|
49
|
+
"@teambit/export": "1.0.494",
|
50
50
|
"@teambit/harmony.modules.concurrency": "0.0.4",
|
51
|
-
"@teambit/install": "1.0.
|
51
|
+
"@teambit/install": "1.0.494",
|
52
52
|
"@teambit/lanes.entities.lane-diff": "0.0.169",
|
53
|
-
"@teambit/lanes.modules.create-lane": "0.0.
|
54
|
-
"@teambit/lanes.modules.diff": "0.0.
|
55
|
-
"@teambit/legacy.component-diff": "0.0.
|
56
|
-
"@teambit/legacy.component-list": "0.0.
|
57
|
-
"@teambit/merging": "1.0.
|
58
|
-
"@teambit/remove": "1.0.
|
59
|
-
"@teambit/scope.objects": "0.0.
|
60
|
-
"@teambit/scope.remotes": "0.0.
|
61
|
-
"@teambit/command-bar": "1.0.
|
53
|
+
"@teambit/lanes.modules.create-lane": "0.0.40",
|
54
|
+
"@teambit/lanes.modules.diff": "0.0.503",
|
55
|
+
"@teambit/legacy.component-diff": "0.0.59",
|
56
|
+
"@teambit/legacy.component-list": "0.0.60",
|
57
|
+
"@teambit/merging": "1.0.494",
|
58
|
+
"@teambit/remove": "1.0.494",
|
59
|
+
"@teambit/scope.objects": "0.0.6",
|
60
|
+
"@teambit/scope.remotes": "0.0.6",
|
61
|
+
"@teambit/command-bar": "1.0.494",
|
62
62
|
"@teambit/lanes.hooks.use-lanes": "0.0.276",
|
63
63
|
"@teambit/lanes.hooks.use-viewed-lane-from-url": "0.0.229",
|
64
64
|
"@teambit/lanes.ui.lane-overview": "0.0.252",
|
65
65
|
"@teambit/lanes.ui.menus.use-lanes-menu": "0.0.224",
|
66
66
|
"@teambit/ui-foundation.ui.react-router.slot-router": "0.0.513",
|
67
|
-
"@teambit/ui": "1.0.
|
68
|
-
"@teambit/legacy.consumer": "0.0.
|
69
|
-
"@teambit/scope.network": "0.0.
|
67
|
+
"@teambit/ui": "1.0.494",
|
68
|
+
"@teambit/legacy.consumer": "0.0.6",
|
69
|
+
"@teambit/scope.network": "0.0.6"
|
70
70
|
},
|
71
71
|
"devDependencies": {
|
72
72
|
"@types/lodash": "4.14.165",
|
@@ -75,11 +75,11 @@
|
|
75
75
|
"fs-extra": "10.0.0",
|
76
76
|
"@types/mocha": "9.1.0",
|
77
77
|
"@teambit/harmony.envs.core-aspect-env": "0.0.63",
|
78
|
-
"@teambit/component.testing.mock-components": "0.0.
|
79
|
-
"@teambit/harmony.testing.load-aspect": "0.0.
|
80
|
-
"@teambit/merge-lanes": "1.0.
|
81
|
-
"@teambit/snapping": "1.0.
|
82
|
-
"@teambit/workspace.testing.mock-workspace": "0.0.
|
78
|
+
"@teambit/component.testing.mock-components": "0.0.265",
|
79
|
+
"@teambit/harmony.testing.load-aspect": "0.0.260",
|
80
|
+
"@teambit/merge-lanes": "1.0.494",
|
81
|
+
"@teambit/snapping": "1.0.494",
|
82
|
+
"@teambit/workspace.testing.mock-workspace": "0.0.33"
|
83
83
|
},
|
84
84
|
"peerDependencies": {
|
85
85
|
"react": "^17.0.0 || ^18.0.0",
|