@teambit/workspace 1.0.827 → 1.0.829
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.
package/dist/pattern.cmd.d.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import type { Command, CommandOptions } from '@teambit/cli';
|
|
2
2
|
import type { Workspace } from './workspace';
|
|
3
|
+
type PatternFlags = {
|
|
4
|
+
json?: boolean;
|
|
5
|
+
remote?: boolean;
|
|
6
|
+
};
|
|
3
7
|
export declare class PatternCommand implements Command {
|
|
4
8
|
private workspace;
|
|
5
9
|
name: string;
|
|
@@ -13,7 +17,11 @@ export declare class PatternCommand implements Command {
|
|
|
13
17
|
group: string;
|
|
14
18
|
private: boolean;
|
|
15
19
|
options: CommandOptions;
|
|
20
|
+
remoteOp: boolean;
|
|
16
21
|
constructor(workspace: Workspace);
|
|
17
|
-
report([pattern]: [string]): Promise<string>;
|
|
18
|
-
json([pattern]: [string]): Promise<
|
|
22
|
+
report([pattern]: [string], flags: PatternFlags): Promise<string>;
|
|
23
|
+
json([pattern]: [string], flags: PatternFlags): Promise<string[]>;
|
|
24
|
+
private getRemoteIds;
|
|
25
|
+
private extractScopeNames;
|
|
19
26
|
}
|
|
27
|
+
export {};
|
package/dist/pattern.cmd.js
CHANGED
|
@@ -11,6 +11,20 @@ function _chalk() {
|
|
|
11
11
|
};
|
|
12
12
|
return data;
|
|
13
13
|
}
|
|
14
|
+
function _bitError() {
|
|
15
|
+
const data = require("@teambit/bit-error");
|
|
16
|
+
_bitError = function () {
|
|
17
|
+
return data;
|
|
18
|
+
};
|
|
19
|
+
return data;
|
|
20
|
+
}
|
|
21
|
+
function _scope() {
|
|
22
|
+
const data = require("@teambit/scope.remotes");
|
|
23
|
+
_scope = function () {
|
|
24
|
+
return data;
|
|
25
|
+
};
|
|
26
|
+
return data;
|
|
27
|
+
}
|
|
14
28
|
function _filter() {
|
|
15
29
|
const data = require("./filter");
|
|
16
30
|
_filter = function () {
|
|
@@ -57,18 +71,58 @@ to match a state and another criteria, use " AND " keyword. e.g. '$modified AND
|
|
|
57
71
|
}, {
|
|
58
72
|
cmd: "bit pattern 'my-scope.org/**'",
|
|
59
73
|
description: 'matches all components of the scope "my-scope.org"'
|
|
74
|
+
}, {
|
|
75
|
+
cmd: "bit pattern --remote 'teambit.workspace/**'",
|
|
76
|
+
description: 'matches all components from the remote scope "teambit.workspace"'
|
|
60
77
|
}]);
|
|
61
78
|
_defineProperty(this, "group", 'info-analysis');
|
|
62
79
|
_defineProperty(this, "private", false);
|
|
63
|
-
_defineProperty(this, "options", [['j', 'json', 'return the output as JSON']]);
|
|
80
|
+
_defineProperty(this, "options", [['j', 'json', 'return the output as JSON'], ['r', 'remote', 'query a remote scope (the pattern must start with the scope name, e.g. "scope-name/**")']]);
|
|
81
|
+
_defineProperty(this, "remoteOp", true);
|
|
64
82
|
}
|
|
65
|
-
async report([pattern]) {
|
|
66
|
-
const ids = await this.json([pattern]);
|
|
83
|
+
async report([pattern], flags) {
|
|
84
|
+
const ids = await this.json([pattern], flags);
|
|
67
85
|
const title = _chalk().default.green(`found ${_chalk().default.bold(ids.length.toString())} components matching the pattern`);
|
|
68
86
|
return `${title}\n${ids.join('\n')}`;
|
|
69
87
|
}
|
|
70
|
-
async json([pattern]) {
|
|
71
|
-
|
|
88
|
+
async json([pattern], flags) {
|
|
89
|
+
const {
|
|
90
|
+
remote
|
|
91
|
+
} = flags;
|
|
92
|
+
if (remote) {
|
|
93
|
+
const ids = await this.getRemoteIds(pattern);
|
|
94
|
+
return ids.map(id => id.toString());
|
|
95
|
+
}
|
|
96
|
+
const ids = await this.workspace.idsByPattern(pattern, false);
|
|
97
|
+
return ids.map(id => id.toString());
|
|
98
|
+
}
|
|
99
|
+
async getRemoteIds(pattern) {
|
|
100
|
+
const patterns = pattern.split(',').map(p => p.trim());
|
|
101
|
+
// Extract unique scope names from patterns (excluding negation patterns for fetching)
|
|
102
|
+
const scopeNames = this.extractScopeNames(patterns.filter(p => !p.startsWith('!')));
|
|
103
|
+
|
|
104
|
+
// Fetch all component IDs from all referenced remote scopes
|
|
105
|
+
const allIds = [];
|
|
106
|
+
for (const scopeName of scopeNames) {
|
|
107
|
+
const remoteObj = await (0, _scope().getRemoteByName)(scopeName, this.workspace.consumer);
|
|
108
|
+
const listResults = await remoteObj.list();
|
|
109
|
+
allIds.push(...listResults.map(r => r.id));
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
// Use the existing pattern filtering logic
|
|
113
|
+
const filteredIds = await this.workspace.scope.filterIdsFromPoolIdsByPattern(pattern, allIds, false);
|
|
114
|
+
return filteredIds;
|
|
115
|
+
}
|
|
116
|
+
extractScopeNames(patterns) {
|
|
117
|
+
const scopeNames = new Set();
|
|
118
|
+
for (const p of patterns) {
|
|
119
|
+
if (!p.includes('/')) {
|
|
120
|
+
throw new (_bitError().BitError)(`when using --remote, the pattern must include the scope name followed by "/", e.g. "scope-name/**". got "${p}"`);
|
|
121
|
+
}
|
|
122
|
+
const [scopeName] = p.split('/');
|
|
123
|
+
scopeNames.add(scopeName);
|
|
124
|
+
}
|
|
125
|
+
return Array.from(scopeNames);
|
|
72
126
|
}
|
|
73
127
|
}
|
|
74
128
|
exports.PatternCommand = PatternCommand;
|
package/dist/pattern.cmd.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_chalk","data","_interopRequireDefault","require","_filter","e","__esModule","default","_defineProperty","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","PatternCommand","constructor","workspace","statesFilter","join","cmd","description","report","pattern","ids","json","title","chalk","green","bold","length","toString","idsByPattern","exports"],"sources":["pattern.cmd.ts"],"sourcesContent":["import type { Command, CommandOptions } from '@teambit/cli';\nimport chalk from 'chalk';\nimport type { Workspace } from './workspace';\nimport { statesFilter } from './filter';\n\nexport class PatternCommand implements Command {\n name = 'pattern <pattern>';\n alias = '';\n description = 'test and validate component patterns';\n extendedDescription = `this command helps validating a pattern before using it in other commands.\nNOTE: always wrap the pattern with quotes to avoid collision with shell commands. depending on your shell, it might be single or double quotes.\na pattern can be a simple component-id or component-name. e.g. 'ui/button'.\na pattern can be used with wildcards for multiple component ids, e.g. 'org.scope/utils/**' or '**/utils/**' to capture all org/scopes.\nto enter multiple patterns, separate them by a comma, e.g. 'ui/*, lib/*'\nto exclude, use '!'. e.g. 'ui/**, !ui/button'\nthe matching algorithm is from multimatch (@see https://github.com/sindresorhus/multimatch).\n\nto filter by a state or attribute, prefix the pattern with \"$\". e.g. '$deprecated', '$modified'.\nlist of supported states: [${statesFilter.join(', ')}].\nto filter by multi-params state/attribute, separate the params with \":\", e.g. '$env:teambit.react/react'.\nlist of supported multi-params states: [env].\nto match a state and another criteria, use \" AND \" keyword. e.g. '$modified AND teambit.workspace/** AND $env:teambit.react/react'.\n`;\n examples = [\n { cmd: \"bit pattern '**'\", description: 'matches all components' },\n {\n cmd: \"bit pattern '*/ui/*'\",\n description:\n 'matches components with any scope-name and the \"ui\" namespace. e.g. \"ui/button\" but not \"ui/elements/button\"',\n },\n {\n cmd: \"bit pattern '*/ui/**'\",\n description: 'matches components whose namespace starts with \"ui/\" e.g. \"ui/button\", \"ui/elements/button\"',\n },\n { cmd: \"bit pattern 'bar, foo'\", description: 'matches two components: bar and foo' },\n { cmd: \"bit pattern 'my-scope.org/**'\", description: 'matches all components of the scope \"my-scope.org\"' },\n ];\n group = 'info-analysis';\n private = false;\n options = [['j', 'json', 'return the output as JSON']] as CommandOptions;\n\n constructor(private workspace: Workspace) {}\n\n async report([pattern]: [string]) {\n const ids = await this.json([pattern]);\n const title = chalk.green(`found ${chalk.bold(ids.length.toString())} components matching the pattern`);\n return `${title}\\n${ids.join('\\n')}`;\n }\n\n async json([pattern]: [string]) {\n return this.workspace.idsByPattern(pattern, false);\n }\n}\n"],"mappings":";;;;;;AACA,SAAAA,OAAA;EAAA,MAAAC,IAAA,GAAAC,sBAAA,CAAAC,OAAA;EAAAH,MAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;
|
|
1
|
+
{"version":3,"names":["_chalk","data","_interopRequireDefault","require","_bitError","_scope","_filter","e","__esModule","default","_defineProperty","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","PatternCommand","constructor","workspace","statesFilter","join","cmd","description","report","pattern","flags","ids","json","title","chalk","green","bold","length","toString","remote","getRemoteIds","map","id","idsByPattern","patterns","split","p","trim","scopeNames","extractScopeNames","filter","startsWith","allIds","scopeName","remoteObj","getRemoteByName","consumer","listResults","list","push","filteredIds","scope","filterIdsFromPoolIdsByPattern","Set","includes","BitError","add","Array","from","exports"],"sources":["pattern.cmd.ts"],"sourcesContent":["import type { Command, CommandOptions } from '@teambit/cli';\nimport chalk from 'chalk';\nimport { BitError } from '@teambit/bit-error';\nimport { ComponentID } from '@teambit/component-id';\nimport { getRemoteByName } from '@teambit/scope.remotes';\nimport type { Workspace } from './workspace';\nimport { statesFilter } from './filter';\n\ntype PatternFlags = {\n json?: boolean;\n remote?: boolean;\n};\n\nexport class PatternCommand implements Command {\n name = 'pattern <pattern>';\n alias = '';\n description = 'test and validate component patterns';\n extendedDescription = `this command helps validating a pattern before using it in other commands.\nNOTE: always wrap the pattern with quotes to avoid collision with shell commands. depending on your shell, it might be single or double quotes.\na pattern can be a simple component-id or component-name. e.g. 'ui/button'.\na pattern can be used with wildcards for multiple component ids, e.g. 'org.scope/utils/**' or '**/utils/**' to capture all org/scopes.\nto enter multiple patterns, separate them by a comma, e.g. 'ui/*, lib/*'\nto exclude, use '!'. e.g. 'ui/**, !ui/button'\nthe matching algorithm is from multimatch (@see https://github.com/sindresorhus/multimatch).\n\nto filter by a state or attribute, prefix the pattern with \"$\". e.g. '$deprecated', '$modified'.\nlist of supported states: [${statesFilter.join(', ')}].\nto filter by multi-params state/attribute, separate the params with \":\", e.g. '$env:teambit.react/react'.\nlist of supported multi-params states: [env].\nto match a state and another criteria, use \" AND \" keyword. e.g. '$modified AND teambit.workspace/** AND $env:teambit.react/react'.\n`;\n examples = [\n { cmd: \"bit pattern '**'\", description: 'matches all components' },\n {\n cmd: \"bit pattern '*/ui/*'\",\n description:\n 'matches components with any scope-name and the \"ui\" namespace. e.g. \"ui/button\" but not \"ui/elements/button\"',\n },\n {\n cmd: \"bit pattern '*/ui/**'\",\n description: 'matches components whose namespace starts with \"ui/\" e.g. \"ui/button\", \"ui/elements/button\"',\n },\n { cmd: \"bit pattern 'bar, foo'\", description: 'matches two components: bar and foo' },\n { cmd: \"bit pattern 'my-scope.org/**'\", description: 'matches all components of the scope \"my-scope.org\"' },\n {\n cmd: \"bit pattern --remote 'teambit.workspace/**'\",\n description: 'matches all components from the remote scope \"teambit.workspace\"',\n },\n ];\n group = 'info-analysis';\n private = false;\n options = [\n ['j', 'json', 'return the output as JSON'],\n ['r', 'remote', 'query a remote scope (the pattern must start with the scope name, e.g. \"scope-name/**\")'],\n ] as CommandOptions;\n remoteOp = true;\n\n constructor(private workspace: Workspace) {}\n\n async report([pattern]: [string], flags: PatternFlags) {\n const ids = await this.json([pattern], flags);\n const title = chalk.green(`found ${chalk.bold(ids.length.toString())} components matching the pattern`);\n return `${title}\\n${ids.join('\\n')}`;\n }\n\n async json([pattern]: [string], flags: PatternFlags): Promise<string[]> {\n const { remote } = flags;\n if (remote) {\n const ids = await this.getRemoteIds(pattern);\n return ids.map((id) => id.toString());\n }\n const ids = await this.workspace.idsByPattern(pattern, false);\n return ids.map((id) => id.toString());\n }\n\n private async getRemoteIds(pattern: string): Promise<ComponentID[]> {\n const patterns = pattern.split(',').map((p) => p.trim());\n // Extract unique scope names from patterns (excluding negation patterns for fetching)\n const scopeNames = this.extractScopeNames(patterns.filter((p) => !p.startsWith('!')));\n\n // Fetch all component IDs from all referenced remote scopes\n const allIds: ComponentID[] = [];\n for (const scopeName of scopeNames) {\n const remoteObj = await getRemoteByName(scopeName, this.workspace.consumer);\n const listResults = await remoteObj.list();\n allIds.push(...listResults.map((r) => r.id));\n }\n\n // Use the existing pattern filtering logic\n const filteredIds = await this.workspace.scope.filterIdsFromPoolIdsByPattern(pattern, allIds, false);\n return filteredIds;\n }\n\n private extractScopeNames(patterns: string[]): string[] {\n const scopeNames = new Set<string>();\n for (const p of patterns) {\n if (!p.includes('/')) {\n throw new BitError(\n `when using --remote, the pattern must include the scope name followed by \"/\", e.g. \"scope-name/**\". got \"${p}\"`\n );\n }\n const [scopeName] = p.split('/');\n scopeNames.add(scopeName);\n }\n return Array.from(scopeNames);\n }\n}\n"],"mappings":";;;;;;AACA,SAAAA,OAAA;EAAA,MAAAC,IAAA,GAAAC,sBAAA,CAAAC,OAAA;EAAAH,MAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,UAAA;EAAA,MAAAH,IAAA,GAAAE,OAAA;EAAAC,SAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,SAAAI,OAAA;EAAA,MAAAJ,IAAA,GAAAE,OAAA;EAAAE,MAAA,YAAAA,CAAA;IAAA,OAAAJ,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,SAAAK,QAAA;EAAA,MAAAL,IAAA,GAAAE,OAAA;EAAAG,OAAA,YAAAA,CAAA;IAAA,OAAAL,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAAwC,SAAAC,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,gBAAAH,CAAA,EAAAI,CAAA,EAAAC,CAAA,YAAAD,CAAA,GAAAE,cAAA,CAAAF,CAAA,MAAAJ,CAAA,GAAAO,MAAA,CAAAC,cAAA,CAAAR,CAAA,EAAAI,CAAA,IAAAK,KAAA,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ignoreList":[]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.829/dist/workspace.composition.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.829/dist/workspace.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/workspace",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.829",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/workspace/workspace",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.workspace",
|
|
8
8
|
"name": "workspace",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.829"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"lodash": "4.17.21",
|
|
@@ -28,22 +28,39 @@
|
|
|
28
28
|
"reset-css": "5.0.1",
|
|
29
29
|
"@teambit/component-id": "1.2.4",
|
|
30
30
|
"@teambit/harmony": "0.4.7",
|
|
31
|
+
"@teambit/legacy.extension-data": "0.0.91",
|
|
32
|
+
"@teambit/legacy.scope": "0.0.89",
|
|
31
33
|
"@teambit/component-version": "1.0.4",
|
|
34
|
+
"@teambit/legacy.consumer-component": "0.0.90",
|
|
35
|
+
"@teambit/legacy.consumer": "0.0.89",
|
|
32
36
|
"@teambit/bit-error": "0.0.404",
|
|
33
37
|
"@teambit/lane-id": "0.0.312",
|
|
38
|
+
"@teambit/legacy.bit-map": "0.0.146",
|
|
34
39
|
"@teambit/toolbox.fs.last-modified": "0.0.10",
|
|
35
40
|
"@teambit/toolbox.path.path": "0.0.12",
|
|
36
41
|
"@teambit/graph.cleargraph": "0.0.11",
|
|
42
|
+
"@teambit/logger": "0.0.1382",
|
|
43
|
+
"@teambit/cli": "0.0.1289",
|
|
37
44
|
"@teambit/component.ui.component-status-resolver": "0.0.510",
|
|
38
45
|
"@teambit/legacy.constants": "0.0.20",
|
|
39
46
|
"@teambit/harmony.modules.resolved-component": "0.0.509",
|
|
40
47
|
"@teambit/legacy.utils": "0.0.29",
|
|
48
|
+
"@teambit/scope.remotes": "0.0.89",
|
|
49
|
+
"@teambit/config-store": "0.0.169",
|
|
50
|
+
"@teambit/config": "0.0.1463",
|
|
41
51
|
"@teambit/harmony.modules.requireable-component": "0.0.509",
|
|
42
52
|
"@teambit/toolbox.modules.module-resolver": "0.0.15",
|
|
53
|
+
"@teambit/workspace.modules.node-modules-linker": "0.0.318",
|
|
54
|
+
"@teambit/global-config": "0.0.1292",
|
|
55
|
+
"@teambit/legacy.consumer-config": "0.0.89",
|
|
56
|
+
"@teambit/variants": "0.0.1556",
|
|
43
57
|
"@teambit/component-issues": "0.0.166",
|
|
58
|
+
"@teambit/component.sources": "0.0.141",
|
|
44
59
|
"@teambit/dependencies.modules.packages-excluder": "1.0.8",
|
|
45
60
|
"@teambit/harmony.modules.in-memory-cache": "0.0.24",
|
|
46
61
|
"@teambit/legacy-bit-id": "1.1.3",
|
|
62
|
+
"@teambit/legacy.component-list": "0.0.143",
|
|
63
|
+
"@teambit/legacy.scope-api": "0.0.144",
|
|
47
64
|
"@teambit/toolbox.path.is-path-inside": "0.0.504",
|
|
48
65
|
"@teambit/workspace.modules.match-pattern": "0.0.516",
|
|
49
66
|
"@teambit/component.ui.component-drawer": "0.0.472",
|
|
@@ -85,40 +102,23 @@
|
|
|
85
102
|
"@teambit/scopes.scope-id": "0.0.9",
|
|
86
103
|
"@teambit/workspace.ui.empty-workspace": "0.0.509",
|
|
87
104
|
"@teambit/workspace.ui.workspace-component-card": "0.0.565",
|
|
88
|
-
"@teambit/component": "1.0.
|
|
89
|
-
"@teambit/dependency-resolver": "1.0.
|
|
90
|
-
"@teambit/envs": "1.0.
|
|
91
|
-
"@teambit/
|
|
92
|
-
"@teambit/
|
|
93
|
-
"@teambit/
|
|
94
|
-
"@teambit/
|
|
95
|
-
"@teambit/
|
|
96
|
-
"@teambit/
|
|
97
|
-
"@teambit/
|
|
98
|
-
"@teambit/
|
|
99
|
-
"@teambit/
|
|
100
|
-
"@teambit/
|
|
101
|
-
"@teambit/
|
|
102
|
-
"@teambit/
|
|
103
|
-
"@teambit/
|
|
104
|
-
"@teambit/
|
|
105
|
-
"@teambit/config-store": "0.0.169",
|
|
106
|
-
"@teambit/config": "0.0.1463",
|
|
107
|
-
"@teambit/workspace.modules.node-modules-linker": "0.0.318",
|
|
108
|
-
"@teambit/graphql": "1.0.827",
|
|
109
|
-
"@teambit/bundler": "1.0.827",
|
|
110
|
-
"@teambit/global-config": "0.0.1292",
|
|
111
|
-
"@teambit/legacy.consumer-config": "0.0.89",
|
|
112
|
-
"@teambit/ui": "1.0.827",
|
|
113
|
-
"@teambit/variants": "0.0.1556",
|
|
114
|
-
"@teambit/component.sources": "0.0.141",
|
|
115
|
-
"@teambit/legacy.component-list": "0.0.143",
|
|
116
|
-
"@teambit/legacy.scope-api": "0.0.144",
|
|
117
|
-
"@teambit/scope.remotes": "0.0.89",
|
|
118
|
-
"@teambit/command-bar": "1.0.827",
|
|
119
|
-
"@teambit/sidebar": "1.0.827",
|
|
120
|
-
"@teambit/pubsub": "1.0.827",
|
|
121
|
-
"@teambit/deprecation": "1.0.827"
|
|
105
|
+
"@teambit/component": "1.0.829",
|
|
106
|
+
"@teambit/dependency-resolver": "1.0.829",
|
|
107
|
+
"@teambit/envs": "1.0.829",
|
|
108
|
+
"@teambit/objects": "0.0.336",
|
|
109
|
+
"@teambit/scope": "1.0.829",
|
|
110
|
+
"@teambit/graph": "1.0.829",
|
|
111
|
+
"@teambit/isolator": "1.0.829",
|
|
112
|
+
"@teambit/component-tree": "1.0.829",
|
|
113
|
+
"@teambit/watcher": "1.0.829",
|
|
114
|
+
"@teambit/aspect-loader": "1.0.829",
|
|
115
|
+
"@teambit/graphql": "1.0.829",
|
|
116
|
+
"@teambit/bundler": "1.0.829",
|
|
117
|
+
"@teambit/ui": "1.0.829",
|
|
118
|
+
"@teambit/command-bar": "1.0.829",
|
|
119
|
+
"@teambit/sidebar": "1.0.829",
|
|
120
|
+
"@teambit/pubsub": "1.0.829",
|
|
121
|
+
"@teambit/deprecation": "1.0.829"
|
|
122
122
|
},
|
|
123
123
|
"devDependencies": {
|
|
124
124
|
"@types/lodash": "4.14.165",
|