@teambit/component 1.0.557 → 1.0.559
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.
|
@@ -204,7 +204,7 @@ class ComponentMain {
|
|
|
204
204
|
const componentExtension = new ComponentMain(hostSlot, express, showFragmentSlot);
|
|
205
205
|
cli.register(new (_show().ShowCmd)(componentExtension, logger));
|
|
206
206
|
componentExtension.registerShowFragments([new (_show().NameFragment)(), new (_show().MainFileFragment)(), new (_show().IDFragment)(), new (_show().ScopeFragment)(), new (_show().FilesFragment)(), new (_show().ExtensionsFragment)()]);
|
|
207
|
-
graphql.register((0, _component2().componentSchema)(componentExtension));
|
|
207
|
+
graphql.register(() => (0, _component2().componentSchema)(componentExtension));
|
|
208
208
|
return componentExtension;
|
|
209
209
|
}
|
|
210
210
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_cli","data","require","_express","_graphql","_harmony","_lodash","_logger","_component","_component2","_component3","_aspectList","_exceptions","_show","_defineProperty","e","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","ComponentMain","constructor","hostSlot","express","showFragmentSlot","registerHost","host","register","createAspectListFromLegacy","legacyExtensionDataList","AspectList","fromLegacyExtensions","createAspectListFromEntries","entries","registerRoute","routes","routeEntries","map","route","ComponentRoute","flattenRoutes","flatten","setHostPriority","id","get","HostNotFound","_priorHost","getHost","getPriorHost","getHostIfExist","err","undefined","getRoute","routeName","toString","hosts","values","priorityHost","find","priority","getShowFragments","fragments","orderBy","isHost","name","registerShowFragments","showFragments","provider","graphql","cli","loggerMain","config","logger","createLogger","ComponentAspect","componentExtension","ShowCmd","NameFragment","MainFileFragment","IDFragment","ScopeFragment","FilesFragment","ExtensionsFragment","componentSchema","exports","Slot","withType","MainRuntime","GraphqlAspect","ExpressAspect","CLIAspect","LoggerAspect","addRuntime"],"sources":["component.main.runtime.ts"],"sourcesContent":["import { CLIAspect, CLIMain, MainRuntime } from '@teambit/cli';\nimport { ExpressAspect, ExpressMain, Route } from '@teambit/express';\nimport { GraphqlAspect, GraphqlMain } from '@teambit/graphql';\nimport { Slot, SlotRegistry } from '@teambit/harmony';\nimport { ComponentID } from '@teambit/component-id';\nimport { flatten, orderBy } from 'lodash';\nimport { LoggerAspect, LoggerMain } from '@teambit/logger';\nimport { ExtensionDataList } from '@teambit/legacy.extension-data';\nimport { ComponentFactory } from './component-factory';\nimport { ComponentAspect } from './component.aspect';\nimport { componentSchema } from './component.graphql';\nimport { ComponentRoute, RegisteredComponentRoute } from './component.route';\nimport { AspectList } from './aspect-list';\nimport { HostNotFound } from './exceptions';\nimport { AspectEntry } from './aspect-entry';\nimport {\n ShowCmd,\n ShowFragment,\n NameFragment,\n MainFileFragment,\n IDFragment,\n ScopeFragment,\n FilesFragment,\n ExtensionsFragment,\n} from './show';\n\nexport type ComponentHostSlot = SlotRegistry<ComponentFactory>;\n\nexport type ShowFragmentSlot = SlotRegistry<ShowFragment[]>;\n\nexport class ComponentMain {\n constructor(\n /**\n * slot for component hosts to register.\n */\n private hostSlot: ComponentHostSlot,\n\n /**\n * Express Extension\n */\n private express: ExpressMain,\n\n private showFragmentSlot: ShowFragmentSlot\n ) {}\n\n /**\n * register a new component host.\n */\n registerHost(host: ComponentFactory) {\n this.hostSlot.register(host);\n return this;\n }\n\n /**\n * important! avoid using this method.\n * seems like this method was written to work around a very specific case when the ComponentID of the aspects are\n * not available. in case of new components, to get the ComponentID, the workspace-aspect is needed to get the\n * default-scope. when this method is called from the scope, there is no way to get the real component-id.\n * instead, this method asks for the \"scope\", which when called by the scope-aspect is the current scope-name.\n * it may or may not be the real scope-name of the aspect.\n * to fix this possibly incorrect scope-name, the `workspace.resolveScopeAspectListIds()` checks whether the\n * scope-name is the same as scope.name, and if so, resolve it to the correct scope-name.\n */\n createAspectListFromLegacy(legacyExtensionDataList: ExtensionDataList) {\n return AspectList.fromLegacyExtensions(legacyExtensionDataList);\n }\n\n createAspectListFromEntries(entries: AspectEntry[]) {\n return new AspectList(entries);\n }\n\n registerRoute(routes: RegisteredComponentRoute[]) {\n const routeEntries = routes.map((route: RegisteredComponentRoute) => {\n return new ComponentRoute(route, this);\n });\n\n const flattenRoutes = flatten(routeEntries) as any as Route[];\n\n this.express.register(flattenRoutes);\n return this;\n }\n\n /**\n * set the prior host.\n */\n setHostPriority(id: string) {\n const host = this.hostSlot.get(id);\n if (!host) {\n throw new HostNotFound(id);\n }\n\n this._priorHost = host;\n return this;\n }\n\n /**\n * get component host by extension ID.\n */\n getHost(id?: string): ComponentFactory {\n if (id) {\n const host = this.hostSlot.get(id);\n if (!host) throw new HostNotFound(id);\n return host;\n }\n\n return this.getPriorHost();\n }\n\n getHostIfExist(id?: string): ComponentFactory | undefined {\n try {\n return this.getHost(id);\n } catch (err) {\n if (err instanceof HostNotFound) return undefined;\n throw err;\n }\n }\n\n getRoute(id: ComponentID, routeName: string) {\n return `/api/${id.toString()}/~aspect/${routeName}`;\n }\n\n /**\n * get the prior host.\n */\n private getPriorHost() {\n if (this._priorHost) return this._priorHost;\n\n const hosts = this.hostSlot.values();\n const priorityHost = hosts.find((host) => host.priority);\n return priorityHost || hosts[0];\n }\n\n\n\n getShowFragments() {\n const fragments = orderBy(flatten(this.showFragmentSlot.values()), ['weight', ['asc']]);\n return fragments;\n }\n\n isHost(name: string) {\n return !!this.hostSlot.get(name);\n }\n\n /**\n * register a show fragment to display further information in the `bit show` command.\n */\n registerShowFragments(showFragments: ShowFragment[]) {\n this.showFragmentSlot.register(showFragments);\n return this;\n }\n\n private _priorHost: ComponentFactory | undefined;\n\n static slots = [Slot.withType<ComponentFactory>(), Slot.withType<Route[]>(), Slot.withType<ShowFragment[]>()];\n\n static runtime = MainRuntime;\n static dependencies = [GraphqlAspect, ExpressAspect, CLIAspect, LoggerAspect];\n\n static async provider(\n [graphql, express, cli, loggerMain]: [GraphqlMain, ExpressMain, CLIMain, LoggerMain],\n config,\n [hostSlot, showFragmentSlot]: [ComponentHostSlot, ShowFragmentSlot]\n ) {\n const logger = loggerMain.createLogger(ComponentAspect.id);\n const componentExtension = new ComponentMain(hostSlot, express, showFragmentSlot);\n cli.register(new ShowCmd(componentExtension, logger));\n\n componentExtension.registerShowFragments([\n new NameFragment(),\n new MainFileFragment(),\n new IDFragment(),\n new ScopeFragment(),\n new FilesFragment(),\n new ExtensionsFragment(),\n ]);\n graphql.register(componentSchema(componentExtension));\n\n return componentExtension;\n }\n}\n\nComponentAspect.addRuntime(ComponentMain);\n"],"mappings":";;;;;;AAAA,SAAAA,KAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,IAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,SAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,QAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,SAAA;EAAA,MAAAH,IAAA,GAAAC,OAAA;EAAAE,QAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAI,SAAA;EAAA,MAAAJ,IAAA,GAAAC,OAAA;EAAAG,QAAA,YAAAA,CAAA;IAAA,OAAAJ,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,SAAAK,QAAA;EAAA,MAAAL,IAAA,GAAAC,OAAA;EAAAI,OAAA,YAAAA,CAAA;IAAA,OAAAL,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAM,QAAA;EAAA,MAAAN,IAAA,GAAAC,OAAA;EAAAK,OAAA,YAAAA,CAAA;IAAA,OAAAN,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAGA,SAAAO,WAAA;EAAA,MAAAP,IAAA,GAAAC,OAAA;EAAAM,UAAA,YAAAA,CAAA;IAAA,OAAAP,IAAA;EAAA;EAAA,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AED,eAAI,CAACC,QAAQ,CAAiB,CAAC,CAAC;AAAArF,eAAA,CA3HlGmB,aAAa,aA6HPmE,kBAAW;AAAAtF,eAAA,CA7HjBmB,aAAa,kBA8HF,CAACoE,wBAAa,EAAEC,wBAAa,EAAEC,gBAAS,EAAEC,sBAAY,CAAC;AAyB/EjB,4BAAe,CAACkB,UAAU,CAACxE,aAAa,CAAC","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["_cli","data","require","_express","_graphql","_harmony","_lodash","_logger","_component","_component2","_component3","_aspectList","_exceptions","_show","_defineProperty","e","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","ComponentMain","constructor","hostSlot","express","showFragmentSlot","registerHost","host","register","createAspectListFromLegacy","legacyExtensionDataList","AspectList","fromLegacyExtensions","createAspectListFromEntries","entries","registerRoute","routes","routeEntries","map","route","ComponentRoute","flattenRoutes","flatten","setHostPriority","id","get","HostNotFound","_priorHost","getHost","getPriorHost","getHostIfExist","err","undefined","getRoute","routeName","toString","hosts","values","priorityHost","find","priority","getShowFragments","fragments","orderBy","isHost","name","registerShowFragments","showFragments","provider","graphql","cli","loggerMain","config","logger","createLogger","ComponentAspect","componentExtension","ShowCmd","NameFragment","MainFileFragment","IDFragment","ScopeFragment","FilesFragment","ExtensionsFragment","componentSchema","exports","Slot","withType","MainRuntime","GraphqlAspect","ExpressAspect","CLIAspect","LoggerAspect","addRuntime"],"sources":["component.main.runtime.ts"],"sourcesContent":["import { CLIAspect, CLIMain, MainRuntime } from '@teambit/cli';\nimport { ExpressAspect, ExpressMain, Route } from '@teambit/express';\nimport { GraphqlAspect, GraphqlMain } from '@teambit/graphql';\nimport { Slot, SlotRegistry } from '@teambit/harmony';\nimport { ComponentID } from '@teambit/component-id';\nimport { flatten, orderBy } from 'lodash';\nimport { LoggerAspect, LoggerMain } from '@teambit/logger';\nimport { ExtensionDataList } from '@teambit/legacy.extension-data';\nimport { ComponentFactory } from './component-factory';\nimport { ComponentAspect } from './component.aspect';\nimport { componentSchema } from './component.graphql';\nimport { ComponentRoute, RegisteredComponentRoute } from './component.route';\nimport { AspectList } from './aspect-list';\nimport { HostNotFound } from './exceptions';\nimport { AspectEntry } from './aspect-entry';\nimport {\n ShowCmd,\n ShowFragment,\n NameFragment,\n MainFileFragment,\n IDFragment,\n ScopeFragment,\n FilesFragment,\n ExtensionsFragment,\n} from './show';\n\nexport type ComponentHostSlot = SlotRegistry<ComponentFactory>;\n\nexport type ShowFragmentSlot = SlotRegistry<ShowFragment[]>;\n\nexport class ComponentMain {\n constructor(\n /**\n * slot for component hosts to register.\n */\n private hostSlot: ComponentHostSlot,\n\n /**\n * Express Extension\n */\n private express: ExpressMain,\n\n private showFragmentSlot: ShowFragmentSlot\n ) {}\n\n /**\n * register a new component host.\n */\n registerHost(host: ComponentFactory) {\n this.hostSlot.register(host);\n return this;\n }\n\n /**\n * important! avoid using this method.\n * seems like this method was written to work around a very specific case when the ComponentID of the aspects are\n * not available. in case of new components, to get the ComponentID, the workspace-aspect is needed to get the\n * default-scope. when this method is called from the scope, there is no way to get the real component-id.\n * instead, this method asks for the \"scope\", which when called by the scope-aspect is the current scope-name.\n * it may or may not be the real scope-name of the aspect.\n * to fix this possibly incorrect scope-name, the `workspace.resolveScopeAspectListIds()` checks whether the\n * scope-name is the same as scope.name, and if so, resolve it to the correct scope-name.\n */\n createAspectListFromLegacy(legacyExtensionDataList: ExtensionDataList) {\n return AspectList.fromLegacyExtensions(legacyExtensionDataList);\n }\n\n createAspectListFromEntries(entries: AspectEntry[]) {\n return new AspectList(entries);\n }\n\n registerRoute(routes: RegisteredComponentRoute[]) {\n const routeEntries = routes.map((route: RegisteredComponentRoute) => {\n return new ComponentRoute(route, this);\n });\n\n const flattenRoutes = flatten(routeEntries) as any as Route[];\n\n this.express.register(flattenRoutes);\n return this;\n }\n\n /**\n * set the prior host.\n */\n setHostPriority(id: string) {\n const host = this.hostSlot.get(id);\n if (!host) {\n throw new HostNotFound(id);\n }\n\n this._priorHost = host;\n return this;\n }\n\n /**\n * get component host by extension ID.\n */\n getHost(id?: string): ComponentFactory {\n if (id) {\n const host = this.hostSlot.get(id);\n if (!host) throw new HostNotFound(id);\n return host;\n }\n\n return this.getPriorHost();\n }\n\n getHostIfExist(id?: string): ComponentFactory | undefined {\n try {\n return this.getHost(id);\n } catch (err) {\n if (err instanceof HostNotFound) return undefined;\n throw err;\n }\n }\n\n getRoute(id: ComponentID, routeName: string) {\n return `/api/${id.toString()}/~aspect/${routeName}`;\n }\n\n /**\n * get the prior host.\n */\n private getPriorHost() {\n if (this._priorHost) return this._priorHost;\n\n const hosts = this.hostSlot.values();\n const priorityHost = hosts.find((host) => host.priority);\n return priorityHost || hosts[0];\n }\n\n\n\n getShowFragments() {\n const fragments = orderBy(flatten(this.showFragmentSlot.values()), ['weight', ['asc']]);\n return fragments;\n }\n\n isHost(name: string) {\n return !!this.hostSlot.get(name);\n }\n\n /**\n * register a show fragment to display further information in the `bit show` command.\n */\n registerShowFragments(showFragments: ShowFragment[]) {\n this.showFragmentSlot.register(showFragments);\n return this;\n }\n\n private _priorHost: ComponentFactory | undefined;\n\n static slots = [Slot.withType<ComponentFactory>(), Slot.withType<Route[]>(), Slot.withType<ShowFragment[]>()];\n\n static runtime = MainRuntime;\n static dependencies = [GraphqlAspect, ExpressAspect, CLIAspect, LoggerAspect];\n\n static async provider(\n [graphql, express, cli, loggerMain]: [GraphqlMain, ExpressMain, CLIMain, LoggerMain],\n config,\n [hostSlot, showFragmentSlot]: [ComponentHostSlot, ShowFragmentSlot]\n ) {\n const logger = loggerMain.createLogger(ComponentAspect.id);\n const componentExtension = new ComponentMain(hostSlot, express, showFragmentSlot);\n cli.register(new ShowCmd(componentExtension, logger));\n\n componentExtension.registerShowFragments([\n new NameFragment(),\n new MainFileFragment(),\n new IDFragment(),\n new ScopeFragment(),\n new FilesFragment(),\n new ExtensionsFragment(),\n ]);\n graphql.register(() => componentSchema(componentEx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 @@
|
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_component@1.0.
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_component@1.0.
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_component@1.0.559/dist/component.composition.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_component@1.0.559/dist/component.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/component",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.559",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/component/component",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.component",
|
|
8
8
|
"name": "component",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.559"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@teambit/any-fs": "0.0.5",
|
|
@@ -14,21 +14,21 @@
|
|
|
14
14
|
"graphql-type-json": "0.3.2",
|
|
15
15
|
"strip-ansi": "6.0.0",
|
|
16
16
|
"lodash": "4.17.21",
|
|
17
|
-
"semver": "7.
|
|
17
|
+
"semver": "7.7.1",
|
|
18
18
|
"copy-to-clipboard": "3.3.1",
|
|
19
19
|
"lodash.flatten": "4.4.0",
|
|
20
20
|
"open": "7.4.2",
|
|
21
|
-
"chalk": "
|
|
21
|
+
"chalk": "4.1.2",
|
|
22
22
|
"cli-table": "0.3.6",
|
|
23
23
|
"pad-right": "0.2.2",
|
|
24
24
|
"table": "6.7.3",
|
|
25
25
|
"classnames": "2.2.6",
|
|
26
26
|
"lodash.compact": "3.0.1",
|
|
27
|
-
"@teambit/component-id": "1.2.
|
|
27
|
+
"@teambit/component-id": "1.2.3",
|
|
28
28
|
"@teambit/ui-foundation.ui.menu-widget-icon": "0.0.502",
|
|
29
29
|
"@teambit/graph.cleargraph": "0.0.11",
|
|
30
|
-
"@teambit/legacy-bit-id": "1.1.
|
|
31
|
-
"@teambit/harmony": "0.4.
|
|
30
|
+
"@teambit/legacy-bit-id": "1.1.2",
|
|
31
|
+
"@teambit/harmony": "0.4.7",
|
|
32
32
|
"@teambit/bit-error": "0.0.404",
|
|
33
33
|
"@teambit/component.ui.deprecation-icon": "0.0.509",
|
|
34
34
|
"@teambit/ui-foundation.ui.is-browser": "0.0.500",
|
|
@@ -45,57 +45,57 @@
|
|
|
45
45
|
"@teambit/explorer.ui.command-bar": "2.0.16",
|
|
46
46
|
"@teambit/design.navigation.responsive-navbar": "0.0.8",
|
|
47
47
|
"@teambit/base-ui.layout.breakpoints": "1.0.0",
|
|
48
|
-
"@teambit/lanes.ui.models.lanes-model": "0.0.
|
|
48
|
+
"@teambit/lanes.ui.models.lanes-model": "0.0.224",
|
|
49
49
|
"@teambit/ui-foundation.ui.use-box.dropdown": "0.0.143",
|
|
50
|
-
"@teambit/legacy.extension-data": "0.0.
|
|
51
|
-
"@teambit/aspect-loader": "1.0.
|
|
52
|
-
"@teambit/dependency-resolver": "1.0.
|
|
53
|
-
"@teambit/graph": "1.0.
|
|
54
|
-
"@teambit/legacy.consumer-component": "0.0.
|
|
55
|
-
"@teambit/objects": "0.0.
|
|
56
|
-
"@teambit/component.sources": "0.0.
|
|
50
|
+
"@teambit/legacy.extension-data": "0.0.42",
|
|
51
|
+
"@teambit/aspect-loader": "1.0.559",
|
|
52
|
+
"@teambit/dependency-resolver": "1.0.559",
|
|
53
|
+
"@teambit/graph": "1.0.559",
|
|
54
|
+
"@teambit/legacy.consumer-component": "0.0.41",
|
|
55
|
+
"@teambit/objects": "0.0.66",
|
|
56
|
+
"@teambit/component.sources": "0.0.92",
|
|
57
57
|
"@teambit/toolbox.path.match-patterns": "0.0.19",
|
|
58
58
|
"@teambit/toolbox.string.eol": "0.0.5",
|
|
59
59
|
"@teambit/toolbox.string.capitalize": "0.0.500",
|
|
60
|
-
"@teambit/graphql": "1.0.
|
|
60
|
+
"@teambit/graphql": "1.0.559",
|
|
61
61
|
"@teambit/toolbox.path.path": "0.0.8",
|
|
62
|
-
"@teambit/cli": "0.0.
|
|
63
|
-
"@teambit/express": "0.0.
|
|
64
|
-
"@teambit/logger": "0.0.
|
|
62
|
+
"@teambit/cli": "0.0.1136",
|
|
63
|
+
"@teambit/express": "0.0.1235",
|
|
64
|
+
"@teambit/logger": "0.0.1229",
|
|
65
65
|
"@teambit/legacy.constants": "0.0.11",
|
|
66
|
-
"@teambit/command-bar": "1.0.
|
|
67
|
-
"@teambit/component-package-version": "0.0.
|
|
68
|
-
"@teambit/preview": "1.0.
|
|
69
|
-
"@teambit/pubsub": "1.0.
|
|
70
|
-
"@teambit/react-router": "1.0.
|
|
71
|
-
"@teambit/ui-foundation.ui.react-router.slot-router": "0.0.
|
|
72
|
-
"@teambit/ui": "1.0.
|
|
73
|
-
"@teambit/legacy.utils": "0.0.
|
|
74
|
-
"@teambit/component-issues": "0.0.
|
|
75
|
-
"@teambit/pkg.modules.semver-helper": "0.0.
|
|
66
|
+
"@teambit/command-bar": "1.0.559",
|
|
67
|
+
"@teambit/component-package-version": "0.0.438",
|
|
68
|
+
"@teambit/preview": "1.0.559",
|
|
69
|
+
"@teambit/pubsub": "1.0.559",
|
|
70
|
+
"@teambit/react-router": "1.0.559",
|
|
71
|
+
"@teambit/ui-foundation.ui.react-router.slot-router": "0.0.516",
|
|
72
|
+
"@teambit/ui": "1.0.559",
|
|
73
|
+
"@teambit/legacy.utils": "0.0.19",
|
|
74
|
+
"@teambit/component-issues": "0.0.157",
|
|
75
|
+
"@teambit/pkg.modules.semver-helper": "0.0.8",
|
|
76
76
|
"@teambit/cli-table": "0.0.50",
|
|
77
|
-
"@teambit/legacy.bit-map": "0.0.
|
|
77
|
+
"@teambit/legacy.bit-map": "0.0.97",
|
|
78
78
|
"@teambit/legacy-component-log": "0.0.407",
|
|
79
|
-
"@teambit/component-descriptor": "0.0.
|
|
80
|
-
"@teambit/semantics.doc-parser": "0.0.
|
|
81
|
-
"@teambit/legacy.consumer": "0.0.
|
|
82
|
-
"@teambit/legacy.dependency-graph": "0.0.
|
|
79
|
+
"@teambit/component-descriptor": "0.0.433",
|
|
80
|
+
"@teambit/semantics.doc-parser": "0.0.48",
|
|
81
|
+
"@teambit/legacy.consumer": "0.0.40",
|
|
82
|
+
"@teambit/legacy.dependency-graph": "0.0.43",
|
|
83
83
|
"@teambit/legacy.loader": "0.0.7",
|
|
84
|
-
"@teambit/legacy.scope": "0.0.
|
|
85
|
-
"@teambit/scope.remotes": "0.0.
|
|
86
|
-
"@teambit/legacy.component-diff": "0.0.
|
|
84
|
+
"@teambit/legacy.scope": "0.0.40",
|
|
85
|
+
"@teambit/scope.remotes": "0.0.40",
|
|
86
|
+
"@teambit/legacy.component-diff": "0.0.94",
|
|
87
87
|
"@teambit/harmony.ui.aspect-box": "0.0.508",
|
|
88
|
-
"@teambit/compositions": "1.0.
|
|
89
|
-
"@teambit/deprecation": "1.0.
|
|
90
|
-
"@teambit/envs": "1.0.
|
|
88
|
+
"@teambit/compositions": "1.0.559",
|
|
89
|
+
"@teambit/deprecation": "1.0.559",
|
|
90
|
+
"@teambit/envs": "1.0.559",
|
|
91
91
|
"@teambit/envs.ui.env-icon": "0.0.506",
|
|
92
92
|
"@teambit/workspace.ui.use-workspace-mode": "0.0.2",
|
|
93
|
-
"@teambit/component.ui.version-dropdown": "0.0.
|
|
94
|
-
"@teambit/lanes.hooks.use-lanes": "0.0.
|
|
93
|
+
"@teambit/component.ui.version-dropdown": "0.0.885",
|
|
94
|
+
"@teambit/lanes.hooks.use-lanes": "0.0.283"
|
|
95
95
|
},
|
|
96
96
|
"devDependencies": {
|
|
97
97
|
"@types/lodash": "4.14.165",
|
|
98
|
-
"@types/semver": "7.
|
|
98
|
+
"@types/semver": "7.5.8",
|
|
99
99
|
"@types/lodash.flatten": "4.4.6",
|
|
100
100
|
"@types/cli-table": "^0.3.0",
|
|
101
101
|
"@types/classnames": "2.2.11",
|