@teambit/lanes 1.0.515 → 1.0.516
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,27 +1,27 @@
|
|
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.
|
3
|
+
<testsuite name="teambit.lanes/lanes@1.0.516" tests="18" failures="0" errors="0" skipped="2">
|
4
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.
|
6
|
-
<testcase classname="dist/lanes.spec.js" name="should return that the lane is not up to date when main is ahead" time="1.
|
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.
|
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.015"/>
|
6
|
+
<testcase classname="dist/lanes.spec.js" name="should return that the lane is not up to date when main is ahead" time="1.827"/>
|
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.577"/>
|
8
|
+
<testcase classname="dist/lanes.spec.js" name="should return that the lane is not up to date when main is ahead" time="1.231"/>
|
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
|
-
<testcase classname="dist/lanes.spec.js" name="should add a record to LaneHistory when snapping" time="0.
|
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.244"/>
|
17
|
+
<testcase classname="dist/lanes.spec.js" name="should be able to revert to a previous history id" time="5.283"/>
|
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>
|
22
22
|
<testcase classname="dist/lanes.spec.js" name="should save the deleted data into lane history">
|
23
23
|
<skipped/>
|
24
24
|
</testcase>
|
25
|
-
<testcase classname="dist/lanes.spec.js" name="the components should be available on main"
|
25
|
+
<testcase classname="dist/lanes.spec.js" name="the components should be available on main"/>
|
26
26
|
</testsuite>
|
27
27
|
</testsuites>
|
@@ -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={97:(e,t,n)=>{var a={id:"teambit.lanes/lanes@1.0.515",homepage:"https://bit.cloud/teambit/lanes/lanes",exported:!0};function o(){const e=i(n(594));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},594: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(97);n(594);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={9366:(e,t,n)=>{var a={id:"teambit.lanes/lanes@1.0.516",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(9366);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.21"
|
752
752
|
}
|
753
753
|
}
|
754
754
|
}
|
@@ -1722,7 +1722,7 @@
|
|
1722
1722
|
"componentId": {
|
1723
1723
|
"scope": "teambit.legacy",
|
1724
1724
|
"name": "scope",
|
1725
|
-
"version": "0.0.
|
1725
|
+
"version": "0.0.21"
|
1726
1726
|
}
|
1727
1727
|
},
|
1728
1728
|
"isOptional": true
|
@@ -1747,7 +1747,7 @@
|
|
1747
1747
|
"componentId": {
|
1748
1748
|
"scope": "teambit.legacy",
|
1749
1749
|
"name": "scope",
|
1750
|
-
"version": "0.0.
|
1750
|
+
"version": "0.0.21"
|
1751
1751
|
}
|
1752
1752
|
},
|
1753
1753
|
"isOptional": false
|
@@ -2747,7 +2747,7 @@
|
|
2747
2747
|
"character": 7
|
2748
2748
|
},
|
2749
2749
|
"name": "merge",
|
2750
|
-
"type": "\"
|
2750
|
+
"type": "\"manual\" | \"theirs\" | \"ours\" | undefined",
|
2751
2751
|
"isSpread": false
|
2752
2752
|
},
|
2753
2753
|
{
|
@@ -2902,7 +2902,7 @@
|
|
2902
2902
|
"componentId": {
|
2903
2903
|
"scope": "teambit.legacy",
|
2904
2904
|
"name": "component-diff",
|
2905
|
-
"version": "0.0.
|
2905
|
+
"version": "0.0.74"
|
2906
2906
|
}
|
2907
2907
|
},
|
2908
2908
|
"isOptional": true,
|
@@ -2950,7 +2950,7 @@
|
|
2950
2950
|
"componentId": {
|
2951
2951
|
"scope": "teambit.lanes",
|
2952
2952
|
"name": "modules/diff",
|
2953
|
-
"version": "0.0.
|
2953
|
+
"version": "0.0.518"
|
2954
2954
|
}
|
2955
2955
|
}
|
2956
2956
|
]
|
@@ -2989,7 +2989,7 @@
|
|
2989
2989
|
"componentId": {
|
2990
2990
|
"scope": "teambit.legacy",
|
2991
2991
|
"name": "scope",
|
2992
|
-
"version": "0.0.
|
2992
|
+
"version": "0.0.21"
|
2993
2993
|
}
|
2994
2994
|
},
|
2995
2995
|
"isOptional": false,
|
@@ -3061,7 +3061,7 @@
|
|
3061
3061
|
"componentId": {
|
3062
3062
|
"scope": "teambit.legacy",
|
3063
3063
|
"name": "scope",
|
3064
|
-
"version": "0.0.
|
3064
|
+
"version": "0.0.21"
|
3065
3065
|
}
|
3066
3066
|
},
|
3067
3067
|
"isOptional": false,
|
@@ -3134,7 +3134,7 @@
|
|
3134
3134
|
"componentId": {
|
3135
3135
|
"scope": "teambit.legacy",
|
3136
3136
|
"name": "scope",
|
3137
|
-
"version": "0.0.
|
3137
|
+
"version": "0.0.21"
|
3138
3138
|
}
|
3139
3139
|
},
|
3140
3140
|
"isOptional": false,
|
@@ -3553,7 +3553,7 @@
|
|
3553
3553
|
"componentId": {
|
3554
3554
|
"scope": "teambit.legacy",
|
3555
3555
|
"name": "component-list",
|
3556
|
-
"version": "0.0.
|
3556
|
+
"version": "0.0.75"
|
3557
3557
|
}
|
3558
3558
|
},
|
3559
3559
|
"isOptional": false,
|
@@ -3633,7 +3633,7 @@
|
|
3633
3633
|
"componentId": {
|
3634
3634
|
"scope": "teambit.legacy",
|
3635
3635
|
"name": "component-list",
|
3636
|
-
"version": "0.0.
|
3636
|
+
"version": "0.0.75"
|
3637
3637
|
}
|
3638
3638
|
},
|
3639
3639
|
"isOptional": false,
|
@@ -4278,7 +4278,7 @@
|
|
4278
4278
|
"line": 98,
|
4279
4279
|
"character": 3
|
4280
4280
|
},
|
4281
|
-
"signature": "(property) LanesUI.slots: (((registerFn: () => string) => SlotRegistry<RouteProps>) | ((registerFn: () => string) => SlotRegistry<
|
4281
|
+
"signature": "(property) LanesUI.slots: (((registerFn: () => string) => SlotRegistry<RouteProps>) | ((registerFn: () => string) => SlotRegistry<NavigationSlot>) | ((registerFn: () => string) => SlotRegistry<MenuWidgetSlot>) | ((registerFn: () => string) => SlotRegistry<LaneProviderIgnoreSlot>))[]",
|
4282
4282
|
"name": "slots",
|
4283
4283
|
"type": {
|
4284
4284
|
"__schema": "InferenceTypeSchema",
|
@@ -4287,7 +4287,7 @@
|
|
4287
4287
|
"line": 98,
|
4288
4288
|
"character": 3
|
4289
4289
|
},
|
4290
|
-
"type": "(((registerFn: () => string) => SlotRegistry<RouteProps>) | ((registerFn: () => string) => SlotRegistry<
|
4290
|
+
"type": "(((registerFn: () => string) => SlotRegistry<RouteProps>) | ((registerFn: () => string) => SlotRegistry<NavigationSlot>) | ((registerFn: () => string) => SlotRegistry<MenuWidgetSlot>) | ((registerFn: () => string) => SlotRegistry<LaneProviderIgnoreSlot>))[]"
|
4291
4291
|
},
|
4292
4292
|
"isOptional": true,
|
4293
4293
|
"defaultValue": "[\n Slot.withType<RouteProps>(),\n Slot.withType<LaneOverviewLineSlot>(),\n Slot.withType<NavigationSlot>(),\n Slot.withType<MenuWidgetSlot>(),\n Slot.withType<LaneProviderIgnoreSlot>(),\n ]"
|
@@ -5926,7 +5926,7 @@
|
|
5926
5926
|
"componentId": {
|
5927
5927
|
"scope": "teambit.legacy",
|
5928
5928
|
"name": "scope",
|
5929
|
-
"version": "0.0.
|
5929
|
+
"version": "0.0.21"
|
5930
5930
|
}
|
5931
5931
|
}
|
5932
5932
|
},
|
@@ -6118,7 +6118,7 @@
|
|
6118
6118
|
"line": 84,
|
6119
6119
|
"character": 3
|
6120
6120
|
},
|
6121
|
-
"signature": "(property) merge?: \"
|
6121
|
+
"signature": "(property) merge?: \"manual\" | \"theirs\" | \"ours\" | undefined",
|
6122
6122
|
"name": "merge",
|
6123
6123
|
"type": {
|
6124
6124
|
"__schema": "TypeRefSchema",
|
@@ -6606,7 +6606,7 @@
|
|
6606
6606
|
"componentId": {
|
6607
6607
|
"scope": "teambit.component",
|
6608
6608
|
"name": "snap-distance",
|
6609
|
-
"version": "0.0.
|
6609
|
+
"version": "0.0.22"
|
6610
6610
|
}
|
6611
6611
|
},
|
6612
6612
|
"isOptional": false
|
@@ -7515,7 +7515,7 @@
|
|
7515
7515
|
"componentId": {
|
7516
7516
|
"scope": "teambit.legacy",
|
7517
7517
|
"name": "scope",
|
7518
|
-
"version": "0.0.
|
7518
|
+
"version": "0.0.21"
|
7519
7519
|
}
|
7520
7520
|
}
|
7521
7521
|
}
|
@@ -8489,7 +8489,7 @@
|
|
8489
8489
|
"componentId": {
|
8490
8490
|
"scope": "teambit.legacy",
|
8491
8491
|
"name": "scope",
|
8492
|
-
"version": "0.0.
|
8492
|
+
"version": "0.0.21"
|
8493
8493
|
}
|
8494
8494
|
},
|
8495
8495
|
"isOptional": true
|
@@ -8514,7 +8514,7 @@
|
|
8514
8514
|
"componentId": {
|
8515
8515
|
"scope": "teambit.legacy",
|
8516
8516
|
"name": "scope",
|
8517
|
-
"version": "0.0.
|
8517
|
+
"version": "0.0.21"
|
8518
8518
|
}
|
8519
8519
|
},
|
8520
8520
|
"isOptional": false
|
@@ -9514,7 +9514,7 @@
|
|
9514
9514
|
"character": 7
|
9515
9515
|
},
|
9516
9516
|
"name": "merge",
|
9517
|
-
"type": "\"
|
9517
|
+
"type": "\"manual\" | \"theirs\" | \"ours\" | undefined",
|
9518
9518
|
"isSpread": false
|
9519
9519
|
},
|
9520
9520
|
{
|
@@ -9669,7 +9669,7 @@
|
|
9669
9669
|
"componentId": {
|
9670
9670
|
"scope": "teambit.legacy",
|
9671
9671
|
"name": "component-diff",
|
9672
|
-
"version": "0.0.
|
9672
|
+
"version": "0.0.74"
|
9673
9673
|
}
|
9674
9674
|
},
|
9675
9675
|
"isOptional": true,
|
@@ -9717,7 +9717,7 @@
|
|
9717
9717
|
"componentId": {
|
9718
9718
|
"scope": "teambit.lanes",
|
9719
9719
|
"name": "modules/diff",
|
9720
|
-
"version": "0.0.
|
9720
|
+
"version": "0.0.518"
|
9721
9721
|
}
|
9722
9722
|
}
|
9723
9723
|
]
|
@@ -9756,7 +9756,7 @@
|
|
9756
9756
|
"componentId": {
|
9757
9757
|
"scope": "teambit.legacy",
|
9758
9758
|
"name": "scope",
|
9759
|
-
"version": "0.0.
|
9759
|
+
"version": "0.0.21"
|
9760
9760
|
}
|
9761
9761
|
},
|
9762
9762
|
"isOptional": false,
|
@@ -9828,7 +9828,7 @@
|
|
9828
9828
|
"componentId": {
|
9829
9829
|
"scope": "teambit.legacy",
|
9830
9830
|
"name": "scope",
|
9831
|
-
"version": "0.0.
|
9831
|
+
"version": "0.0.21"
|
9832
9832
|
}
|
9833
9833
|
},
|
9834
9834
|
"isOptional": false,
|
@@ -9901,7 +9901,7 @@
|
|
9901
9901
|
"componentId": {
|
9902
9902
|
"scope": "teambit.legacy",
|
9903
9903
|
"name": "scope",
|
9904
|
-
"version": "0.0.
|
9904
|
+
"version": "0.0.21"
|
9905
9905
|
}
|
9906
9906
|
},
|
9907
9907
|
"isOptional": false,
|
@@ -10320,7 +10320,7 @@
|
|
10320
10320
|
"componentId": {
|
10321
10321
|
"scope": "teambit.legacy",
|
10322
10322
|
"name": "component-list",
|
10323
|
-
"version": "0.0.
|
10323
|
+
"version": "0.0.75"
|
10324
10324
|
}
|
10325
10325
|
},
|
10326
10326
|
"isOptional": false,
|
@@ -10400,7 +10400,7 @@
|
|
10400
10400
|
"componentId": {
|
10401
10401
|
"scope": "teambit.legacy",
|
10402
10402
|
"name": "component-list",
|
10403
|
-
"version": "0.0.
|
10403
|
+
"version": "0.0.75"
|
10404
10404
|
}
|
10405
10405
|
},
|
10406
10406
|
"isOptional": false,
|
@@ -11171,7 +11171,7 @@
|
|
11171
11171
|
"line": 98,
|
11172
11172
|
"character": 3
|
11173
11173
|
},
|
11174
|
-
"signature": "(property) LanesUI.slots: (((registerFn: () => string) => SlotRegistry<RouteProps>) | ((registerFn: () => string) => SlotRegistry<
|
11174
|
+
"signature": "(property) LanesUI.slots: (((registerFn: () => string) => SlotRegistry<RouteProps>) | ((registerFn: () => string) => SlotRegistry<NavigationSlot>) | ((registerFn: () => string) => SlotRegistry<MenuWidgetSlot>) | ((registerFn: () => string) => SlotRegistry<LaneProviderIgnoreSlot>))[]",
|
11175
11175
|
"name": "slots",
|
11176
11176
|
"type": {
|
11177
11177
|
"__schema": "InferenceTypeSchema",
|
@@ -11180,7 +11180,7 @@
|
|
11180
11180
|
"line": 98,
|
11181
11181
|
"character": 3
|
11182
11182
|
},
|
11183
|
-
"type": "(((registerFn: () => string) => SlotRegistry<RouteProps>) | ((registerFn: () => string) => SlotRegistry<
|
11183
|
+
"type": "(((registerFn: () => string) => SlotRegistry<RouteProps>) | ((registerFn: () => string) => SlotRegistry<NavigationSlot>) | ((registerFn: () => string) => SlotRegistry<MenuWidgetSlot>) | ((registerFn: () => string) => SlotRegistry<LaneProviderIgnoreSlot>))[]"
|
11184
11184
|
},
|
11185
11185
|
"isOptional": true,
|
11186
11186
|
"defaultValue": "[\n Slot.withType<RouteProps>(),\n Slot.withType<LaneOverviewLineSlot>(),\n Slot.withType<NavigationSlot>(),\n Slot.withType<MenuWidgetSlot>(),\n Slot.withType<LaneProviderIgnoreSlot>(),\n ]"
|
@@ -12586,7 +12586,7 @@
|
|
12586
12586
|
"componentId": {
|
12587
12587
|
"scope": "teambit.lanes",
|
12588
12588
|
"name": "lanes",
|
12589
|
-
"version": "1.0.
|
12589
|
+
"version": "1.0.516"
|
12590
12590
|
},
|
12591
12591
|
"taggedModuleExports": []
|
12592
12592
|
}
|
@@ -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.516/dist/lanes.composition.js';
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.lanes_lanes@1.0.516/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.516",
|
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.516"
|
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.
|
37
|
-
"@teambit/legacy.cli.prompts": "0.0.
|
38
|
-
"@teambit/legacy.constants": "0.0.
|
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.
|
50
|
-
"@teambit/harmony.modules.concurrency": "0.0.
|
51
|
-
"@teambit/install": "1.0.
|
34
|
+
"@teambit/checkout": "1.0.516",
|
35
|
+
"@teambit/cli": "0.0.1093",
|
36
|
+
"@teambit/importer": "1.0.516",
|
37
|
+
"@teambit/legacy.cli.prompts": "0.0.12",
|
38
|
+
"@teambit/legacy.constants": "0.0.7",
|
39
|
+
"@teambit/legacy.scope": "0.0.21",
|
40
|
+
"@teambit/scope": "1.0.516",
|
41
|
+
"@teambit/workspace": "1.0.516",
|
42
|
+
"@teambit/express": "0.0.1192",
|
43
|
+
"@teambit/logger": "0.0.1186",
|
44
|
+
"@teambit/graphql": "1.0.516",
|
45
|
+
"@teambit/component-compare": "1.0.516",
|
46
|
+
"@teambit/component-writer": "1.0.516",
|
47
|
+
"@teambit/component.snap-distance": "0.0.22",
|
48
|
+
"@teambit/component": "1.0.516",
|
49
|
+
"@teambit/export": "1.0.516",
|
50
|
+
"@teambit/harmony.modules.concurrency": "0.0.8",
|
51
|
+
"@teambit/install": "1.0.516",
|
52
52
|
"@teambit/lanes.entities.lane-diff": "0.0.171",
|
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/objects": "0.0.
|
59
|
-
"@teambit/remove": "1.0.
|
60
|
-
"@teambit/scope.remotes": "0.0.
|
61
|
-
"@teambit/command-bar": "1.0.
|
53
|
+
"@teambit/lanes.modules.create-lane": "0.0.55",
|
54
|
+
"@teambit/lanes.modules.diff": "0.0.518",
|
55
|
+
"@teambit/legacy.component-diff": "0.0.74",
|
56
|
+
"@teambit/legacy.component-list": "0.0.75",
|
57
|
+
"@teambit/merging": "1.0.516",
|
58
|
+
"@teambit/objects": "0.0.23",
|
59
|
+
"@teambit/remove": "1.0.516",
|
60
|
+
"@teambit/scope.remotes": "0.0.21",
|
61
|
+
"@teambit/command-bar": "1.0.516",
|
62
62
|
"@teambit/lanes.hooks.use-lanes": "0.0.278",
|
63
63
|
"@teambit/lanes.hooks.use-viewed-lane-from-url": "0.0.232",
|
64
64
|
"@teambit/lanes.ui.lane-overview": "0.0.257",
|
65
65
|
"@teambit/lanes.ui.menus.use-lanes-menu": "0.0.226",
|
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.516",
|
68
|
+
"@teambit/legacy.consumer": "0.0.21",
|
69
|
+
"@teambit/scope.network": "0.0.21"
|
70
70
|
},
|
71
71
|
"devDependencies": {
|
72
72
|
"@types/lodash": "4.14.165",
|
@@ -74,11 +74,11 @@
|
|
74
74
|
"fs-extra": "10.0.0",
|
75
75
|
"@types/mocha": "9.1.0",
|
76
76
|
"@teambit/harmony.envs.core-aspect-env": "0.0.68",
|
77
|
-
"@teambit/component.testing.mock-components": "0.0.
|
78
|
-
"@teambit/harmony.testing.load-aspect": "0.0.
|
79
|
-
"@teambit/merge-lanes": "1.0.
|
80
|
-
"@teambit/snapping": "1.0.
|
81
|
-
"@teambit/workspace.testing.mock-workspace": "0.0.
|
77
|
+
"@teambit/component.testing.mock-components": "0.0.281",
|
78
|
+
"@teambit/harmony.testing.load-aspect": "0.0.276",
|
79
|
+
"@teambit/merge-lanes": "1.0.516",
|
80
|
+
"@teambit/snapping": "1.0.516",
|
81
|
+
"@teambit/workspace.testing.mock-workspace": "0.0.48"
|
82
82
|
},
|
83
83
|
"peerDependencies": {
|
84
84
|
"react": "^17.0.0 || ^18.0.0",
|