@teambit/workspace 0.0.845 → 0.0.848
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/index.d.ts +1 -0
- package/dist/index.js.map +1 -1
- package/dist/workspace-component/workspace-component-loader.js +6 -0
- package/dist/workspace-component/workspace-component-loader.js.map +1 -1
- package/dist/workspace.d.ts +9 -60
- package/dist/workspace.js +23 -409
- package/dist/workspace.js.map +1 -1
- package/dist/workspace.main.runtime.js +1 -11
- package/dist/workspace.main.runtime.js.map +1 -1
- package/dist/workspace.provider.d.ts +2 -4
- package/dist/workspace.provider.js +3 -66
- package/dist/workspace.provider.js.map +1 -1
- package/package-tar/teambit-workspace-0.0.848.tgz +0 -0
- package/package.json +28 -37
- package/{preview-1662521943539.js → preview-1662780958471.js} +2 -2
- package/workspace-component/workspace-component-loader.ts +5 -0
- package/__snapshots__/pick-outdated-pkgs.spec.ts.snap +0 -171
- package/dist/__snapshots__/pick-outdated-pkgs.spec.js.snap +0 -171
- package/dist/__snapshots__/pick-outdated-pkgs.spec.ts.snap +0 -171
- package/dist/exceptions/dependency-type-not-supported-in-policy.d.ts +0 -4
- package/dist/exceptions/dependency-type-not-supported-in-policy.js +0 -27
- package/dist/exceptions/dependency-type-not-supported-in-policy.js.map +0 -1
- package/dist/exceptions/index.d.ts +0 -1
- package/dist/exceptions/index.js +0 -23
- package/dist/exceptions/index.js.map +0 -1
- package/dist/install.cmd.d.ts +0 -44
- package/dist/install.cmd.js +0 -85
- package/dist/install.cmd.js.map +0 -1
- package/dist/link/component-list-links.d.ts +0 -7
- package/dist/link/component-list-links.js +0 -98
- package/dist/link/component-list-links.js.map +0 -1
- package/dist/link/core-aspects-links.d.ts +0 -7
- package/dist/link/core-aspects-links.js +0 -95
- package/dist/link/core-aspects-links.js.map +0 -1
- package/dist/link/get-package-name-from-target.d.ts +0 -1
- package/dist/link/get-package-name-from-target.js +0 -16
- package/dist/link/get-package-name-from-target.js.map +0 -1
- package/dist/link/index.d.ts +0 -1
- package/dist/link/index.js +0 -23
- package/dist/link/index.js.map +0 -1
- package/dist/link/link-row.d.ts +0 -12
- package/dist/link/link-row.js +0 -38
- package/dist/link/link-row.js.map +0 -1
- package/dist/link/link-to-dir.d.ts +0 -2
- package/dist/link/link-to-dir.js +0 -45
- package/dist/link/link-to-dir.js.map +0 -1
- package/dist/link/link.cmd.d.ts +0 -44
- package/dist/link/link.cmd.js +0 -176
- package/dist/link/link.cmd.js.map +0 -1
- package/dist/link/nested-deps-in-nm-links.d.ts +0 -7
- package/dist/link/nested-deps-in-nm-links.js +0 -74
- package/dist/link/nested-deps-in-nm-links.js.map +0 -1
- package/dist/link/rewire-row.d.ts +0 -6
- package/dist/link/rewire-row.js +0 -31
- package/dist/link/rewire-row.js.map +0 -1
- package/dist/pick-outdated-pkgs.d.ts +0 -16
- package/dist/pick-outdated-pkgs.js +0 -308
- package/dist/pick-outdated-pkgs.js.map +0 -1
- package/dist/pick-outdated-pkgs.spec.d.ts +0 -1
- package/dist/pick-outdated-pkgs.spec.js +0 -121
- package/dist/pick-outdated-pkgs.spec.js.map +0 -1
- package/dist/uninstall.cmd.d.ts +0 -19
- package/dist/uninstall.cmd.js +0 -47
- package/dist/uninstall.cmd.js.map +0 -1
- package/dist/update.cmd.d.ts +0 -23
- package/dist/update.cmd.js +0 -47
- package/dist/update.cmd.js.map +0 -1
- package/exceptions/dependency-type-not-supported-in-policy.ts +0 -7
- package/exceptions/index.ts +0 -1
- package/install.cmd.tsx +0 -72
- package/link/component-list-links.ts +0 -50
- package/link/core-aspects-links.ts +0 -50
- package/link/get-package-name-from-target.ts +0 -5
- package/link/index.ts +0 -1
- package/link/link-row.ts +0 -20
- package/link/link-to-dir.ts +0 -13
- package/link/link.cmd.ts +0 -100
- package/link/nested-deps-in-nm-links.ts +0 -47
- package/link/rewire-row.ts +0 -17
- package/package-tar/teambit-workspace-0.0.845.tgz +0 -0
- package/uninstall.cmd.tsx +0 -23
- package/update.cmd.tsx +0 -29
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`makeOutdatedPkgChoices should group component model updates of the same dependency 1`] = `
|
|
4
|
-
Array [
|
|
5
|
-
Object {
|
|
6
|
-
"choices": Array [
|
|
7
|
-
Object {
|
|
8
|
-
"message": "foo [90m(runtime)[39m * ❯ 2.0.0 because of comp1 and 1 other components ",
|
|
9
|
-
"name": "foo",
|
|
10
|
-
"value": Object {
|
|
11
|
-
"currentRange": "1.0.0",
|
|
12
|
-
"dependentComponents": Array [
|
|
13
|
-
"comp1",
|
|
14
|
-
"comp2",
|
|
15
|
-
],
|
|
16
|
-
"hasDifferentRanges": true,
|
|
17
|
-
"latestRange": "2.0.0",
|
|
18
|
-
"name": "foo",
|
|
19
|
-
"source": "rootPolicy",
|
|
20
|
-
"targetField": "dependencies",
|
|
21
|
-
},
|
|
22
|
-
},
|
|
23
|
-
],
|
|
24
|
-
"message": "[36mRoot policies[39m",
|
|
25
|
-
},
|
|
26
|
-
]
|
|
27
|
-
`;
|
|
28
|
-
|
|
29
|
-
exports[`makeOutdatedPkgChoices should group component model updates of the same dependency and display the current range when all components use the same range 1`] = `
|
|
30
|
-
Array [
|
|
31
|
-
Object {
|
|
32
|
-
"choices": Array [
|
|
33
|
-
Object {
|
|
34
|
-
"message": "foo [90m(runtime)[39m ^1.2.3 ❯ 2.0.0 because of comp1 and 1 other components ",
|
|
35
|
-
"name": "foo",
|
|
36
|
-
"value": Object {
|
|
37
|
-
"currentRange": "^1.2.3",
|
|
38
|
-
"dependentComponents": Array [
|
|
39
|
-
"comp1",
|
|
40
|
-
"comp2",
|
|
41
|
-
],
|
|
42
|
-
"latestRange": "2.0.0",
|
|
43
|
-
"name": "foo",
|
|
44
|
-
"source": "rootPolicy",
|
|
45
|
-
"targetField": "dependencies",
|
|
46
|
-
},
|
|
47
|
-
},
|
|
48
|
-
],
|
|
49
|
-
"message": "[36mRoot policies[39m",
|
|
50
|
-
},
|
|
51
|
-
]
|
|
52
|
-
`;
|
|
53
|
-
|
|
54
|
-
exports[`makeOutdatedPkgChoices should group component model updates of the same dependency and use * as current range when can't compare ranges 1`] = `
|
|
55
|
-
Array [
|
|
56
|
-
Object {
|
|
57
|
-
"choices": Array [
|
|
58
|
-
Object {
|
|
59
|
-
"message": "foo [90m(runtime)[39m * ❯ 2.0.0 because of comp1 and 1 other components ",
|
|
60
|
-
"name": "foo",
|
|
61
|
-
"value": Object {
|
|
62
|
-
"currentRange": "*",
|
|
63
|
-
"dependentComponents": Array [
|
|
64
|
-
"comp1",
|
|
65
|
-
"comp2",
|
|
66
|
-
],
|
|
67
|
-
"hasDifferentRanges": true,
|
|
68
|
-
"latestRange": "2.0.0",
|
|
69
|
-
"name": "foo",
|
|
70
|
-
"source": "rootPolicy",
|
|
71
|
-
"targetField": "dependencies",
|
|
72
|
-
},
|
|
73
|
-
},
|
|
74
|
-
],
|
|
75
|
-
"message": "[36mRoot policies[39m",
|
|
76
|
-
},
|
|
77
|
-
]
|
|
78
|
-
`;
|
|
79
|
-
|
|
80
|
-
exports[`makeOutdatedPkgChoices should render choices in correct order 1`] = `
|
|
81
|
-
Array [
|
|
82
|
-
Object {
|
|
83
|
-
"choices": Array [
|
|
84
|
-
Object {
|
|
85
|
-
"message": "foo [90m(runtime)[39m 1.0.0 ❯ 2.0.0 ",
|
|
86
|
-
"name": "foo",
|
|
87
|
-
"value": Object {
|
|
88
|
-
"currentRange": "1.0.0",
|
|
89
|
-
"latestRange": "2.0.0",
|
|
90
|
-
"name": "foo",
|
|
91
|
-
"source": "rootPolicy",
|
|
92
|
-
"targetField": "dependencies",
|
|
93
|
-
},
|
|
94
|
-
},
|
|
95
|
-
Object {
|
|
96
|
-
"message": "qar [90m(runtime)[39m 1.0.0 ❯ 1.1.0 ",
|
|
97
|
-
"name": "qar",
|
|
98
|
-
"value": Object {
|
|
99
|
-
"currentRange": "1.0.0",
|
|
100
|
-
"latestRange": "1.1.0",
|
|
101
|
-
"name": "qar",
|
|
102
|
-
"source": "rootPolicy",
|
|
103
|
-
"targetField": "dependencies",
|
|
104
|
-
},
|
|
105
|
-
},
|
|
106
|
-
Object {
|
|
107
|
-
"message": "zoo [90m(dev)[39m 1.0.0 ❯ 1.1.0 ",
|
|
108
|
-
"name": "zoo",
|
|
109
|
-
"value": Object {
|
|
110
|
-
"currentRange": "1.0.0",
|
|
111
|
-
"latestRange": "1.1.0",
|
|
112
|
-
"name": "zoo",
|
|
113
|
-
"source": "rootPolicy",
|
|
114
|
-
"targetField": "devDependencies",
|
|
115
|
-
},
|
|
116
|
-
},
|
|
117
|
-
Object {
|
|
118
|
-
"message": "bar [90m(peer)[39m 1.0.0 ❯ 1.1.0 ",
|
|
119
|
-
"name": "bar",
|
|
120
|
-
"value": Object {
|
|
121
|
-
"currentRange": "1.0.0",
|
|
122
|
-
"latestRange": "1.1.0",
|
|
123
|
-
"name": "bar",
|
|
124
|
-
"source": "rootPolicy",
|
|
125
|
-
"targetField": "peerDependencies",
|
|
126
|
-
},
|
|
127
|
-
},
|
|
128
|
-
],
|
|
129
|
-
"message": "[36mRoot policies[39m",
|
|
130
|
-
},
|
|
131
|
-
]
|
|
132
|
-
`;
|
|
133
|
-
|
|
134
|
-
exports[`makeOutdatedPkgChoices should render choices with context information 1`] = `
|
|
135
|
-
Array [
|
|
136
|
-
Object {
|
|
137
|
-
"choices": Array [
|
|
138
|
-
Object {
|
|
139
|
-
"message": "foo [90m(runtime)[39m 1.0.0 ❯ 2.0.0 ",
|
|
140
|
-
"name": "foo",
|
|
141
|
-
"value": Object {
|
|
142
|
-
"componentId": "comp1",
|
|
143
|
-
"currentRange": "1.0.0",
|
|
144
|
-
"latestRange": "2.0.0",
|
|
145
|
-
"name": "foo",
|
|
146
|
-
"source": "component",
|
|
147
|
-
"targetField": "dependencies",
|
|
148
|
-
},
|
|
149
|
-
},
|
|
150
|
-
],
|
|
151
|
-
"message": "[36mcomp1 (component)[39m",
|
|
152
|
-
},
|
|
153
|
-
Object {
|
|
154
|
-
"choices": Array [
|
|
155
|
-
Object {
|
|
156
|
-
"message": "bar [90m(peer)[39m 1.0.0 ❯ 1.1.0 ",
|
|
157
|
-
"name": "bar",
|
|
158
|
-
"value": Object {
|
|
159
|
-
"currentRange": "1.0.0",
|
|
160
|
-
"latestRange": "1.1.0",
|
|
161
|
-
"name": "bar",
|
|
162
|
-
"source": "variants",
|
|
163
|
-
"targetField": "peerDependencies",
|
|
164
|
-
"variantPattern": "{comp2}",
|
|
165
|
-
},
|
|
166
|
-
},
|
|
167
|
-
],
|
|
168
|
-
"message": "[36m{comp2} (variant)[39m",
|
|
169
|
-
},
|
|
170
|
-
]
|
|
171
|
-
`;
|
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`makeOutdatedPkgChoices should group component model updates of the same dependency 1`] = `
|
|
4
|
-
Array [
|
|
5
|
-
Object {
|
|
6
|
-
"choices": Array [
|
|
7
|
-
Object {
|
|
8
|
-
"message": "foo [90m(runtime)[39m * ❯ [91m[1m2.0.0[22m[39m because of comp1 and 1 other components ",
|
|
9
|
-
"name": "foo",
|
|
10
|
-
"value": Object {
|
|
11
|
-
"currentRange": "1.0.0",
|
|
12
|
-
"dependentComponents": Array [
|
|
13
|
-
"comp1",
|
|
14
|
-
"comp2",
|
|
15
|
-
],
|
|
16
|
-
"hasDifferentRanges": true,
|
|
17
|
-
"latestRange": "2.0.0",
|
|
18
|
-
"name": "foo",
|
|
19
|
-
"source": "rootPolicy",
|
|
20
|
-
"targetField": "dependencies",
|
|
21
|
-
},
|
|
22
|
-
},
|
|
23
|
-
],
|
|
24
|
-
"message": "[36mRoot policies[39m",
|
|
25
|
-
},
|
|
26
|
-
]
|
|
27
|
-
`;
|
|
28
|
-
|
|
29
|
-
exports[`makeOutdatedPkgChoices should group component model updates of the same dependency and display the current range when all components use the same range 1`] = `
|
|
30
|
-
Array [
|
|
31
|
-
Object {
|
|
32
|
-
"choices": Array [
|
|
33
|
-
Object {
|
|
34
|
-
"message": "foo [90m(runtime)[39m ^1.2.3 ❯ [91m[1m2.0.0[22m[39m because of comp1 and 1 other components ",
|
|
35
|
-
"name": "foo",
|
|
36
|
-
"value": Object {
|
|
37
|
-
"currentRange": "^1.2.3",
|
|
38
|
-
"dependentComponents": Array [
|
|
39
|
-
"comp1",
|
|
40
|
-
"comp2",
|
|
41
|
-
],
|
|
42
|
-
"latestRange": "2.0.0",
|
|
43
|
-
"name": "foo",
|
|
44
|
-
"source": "rootPolicy",
|
|
45
|
-
"targetField": "dependencies",
|
|
46
|
-
},
|
|
47
|
-
},
|
|
48
|
-
],
|
|
49
|
-
"message": "[36mRoot policies[39m",
|
|
50
|
-
},
|
|
51
|
-
]
|
|
52
|
-
`;
|
|
53
|
-
|
|
54
|
-
exports[`makeOutdatedPkgChoices should group component model updates of the same dependency and use * as current range when can't compare ranges 1`] = `
|
|
55
|
-
Array [
|
|
56
|
-
Object {
|
|
57
|
-
"choices": Array [
|
|
58
|
-
Object {
|
|
59
|
-
"message": "foo [90m(runtime)[39m * ❯ [91m[1m2.0.0[22m[39m because of comp1 and 1 other components ",
|
|
60
|
-
"name": "foo",
|
|
61
|
-
"value": Object {
|
|
62
|
-
"currentRange": "*",
|
|
63
|
-
"dependentComponents": Array [
|
|
64
|
-
"comp1",
|
|
65
|
-
"comp2",
|
|
66
|
-
],
|
|
67
|
-
"hasDifferentRanges": true,
|
|
68
|
-
"latestRange": "2.0.0",
|
|
69
|
-
"name": "foo",
|
|
70
|
-
"source": "rootPolicy",
|
|
71
|
-
"targetField": "dependencies",
|
|
72
|
-
},
|
|
73
|
-
},
|
|
74
|
-
],
|
|
75
|
-
"message": "[36mRoot policies[39m",
|
|
76
|
-
},
|
|
77
|
-
]
|
|
78
|
-
`;
|
|
79
|
-
|
|
80
|
-
exports[`makeOutdatedPkgChoices should render choices in correct order 1`] = `
|
|
81
|
-
Array [
|
|
82
|
-
Object {
|
|
83
|
-
"choices": Array [
|
|
84
|
-
Object {
|
|
85
|
-
"message": "foo [90m(runtime)[39m 1.0.0 ❯ [91m[1m2.0.0[22m[39m ",
|
|
86
|
-
"name": "foo",
|
|
87
|
-
"value": Object {
|
|
88
|
-
"currentRange": "1.0.0",
|
|
89
|
-
"latestRange": "2.0.0",
|
|
90
|
-
"name": "foo",
|
|
91
|
-
"source": "rootPolicy",
|
|
92
|
-
"targetField": "dependencies",
|
|
93
|
-
},
|
|
94
|
-
},
|
|
95
|
-
Object {
|
|
96
|
-
"message": "qar [90m(runtime)[39m 1.0.0 ❯ 1.[92m[1m1.0[22m[39m ",
|
|
97
|
-
"name": "qar",
|
|
98
|
-
"value": Object {
|
|
99
|
-
"currentRange": "1.0.0",
|
|
100
|
-
"latestRange": "1.1.0",
|
|
101
|
-
"name": "qar",
|
|
102
|
-
"source": "rootPolicy",
|
|
103
|
-
"targetField": "dependencies",
|
|
104
|
-
},
|
|
105
|
-
},
|
|
106
|
-
Object {
|
|
107
|
-
"message": "zoo [90m(dev)[39m 1.0.0 ❯ 1.[92m[1m1.0[22m[39m ",
|
|
108
|
-
"name": "zoo",
|
|
109
|
-
"value": Object {
|
|
110
|
-
"currentRange": "1.0.0",
|
|
111
|
-
"latestRange": "1.1.0",
|
|
112
|
-
"name": "zoo",
|
|
113
|
-
"source": "rootPolicy",
|
|
114
|
-
"targetField": "devDependencies",
|
|
115
|
-
},
|
|
116
|
-
},
|
|
117
|
-
Object {
|
|
118
|
-
"message": "bar [90m(peer)[39m 1.0.0 ❯ 1.[92m[1m1.0[22m[39m ",
|
|
119
|
-
"name": "bar",
|
|
120
|
-
"value": Object {
|
|
121
|
-
"currentRange": "1.0.0",
|
|
122
|
-
"latestRange": "1.1.0",
|
|
123
|
-
"name": "bar",
|
|
124
|
-
"source": "rootPolicy",
|
|
125
|
-
"targetField": "peerDependencies",
|
|
126
|
-
},
|
|
127
|
-
},
|
|
128
|
-
],
|
|
129
|
-
"message": "[36mRoot policies[39m",
|
|
130
|
-
},
|
|
131
|
-
]
|
|
132
|
-
`;
|
|
133
|
-
|
|
134
|
-
exports[`makeOutdatedPkgChoices should render choices with context information 1`] = `
|
|
135
|
-
Array [
|
|
136
|
-
Object {
|
|
137
|
-
"choices": Array [
|
|
138
|
-
Object {
|
|
139
|
-
"message": "foo [90m(runtime)[39m 1.0.0 ❯ [91m[1m2.0.0[22m[39m ",
|
|
140
|
-
"name": "foo",
|
|
141
|
-
"value": Object {
|
|
142
|
-
"componentId": "comp1",
|
|
143
|
-
"currentRange": "1.0.0",
|
|
144
|
-
"latestRange": "2.0.0",
|
|
145
|
-
"name": "foo",
|
|
146
|
-
"source": "component",
|
|
147
|
-
"targetField": "dependencies",
|
|
148
|
-
},
|
|
149
|
-
},
|
|
150
|
-
],
|
|
151
|
-
"message": "[36mcomp1 (component)[39m",
|
|
152
|
-
},
|
|
153
|
-
Object {
|
|
154
|
-
"choices": Array [
|
|
155
|
-
Object {
|
|
156
|
-
"message": "bar [90m(peer)[39m 1.0.0 ❯ 1.[92m[1m1.0[22m[39m ",
|
|
157
|
-
"name": "bar",
|
|
158
|
-
"value": Object {
|
|
159
|
-
"currentRange": "1.0.0",
|
|
160
|
-
"latestRange": "1.1.0",
|
|
161
|
-
"name": "bar",
|
|
162
|
-
"source": "variants",
|
|
163
|
-
"targetField": "peerDependencies",
|
|
164
|
-
"variantPattern": "{comp2}",
|
|
165
|
-
},
|
|
166
|
-
},
|
|
167
|
-
],
|
|
168
|
-
"message": "[36m{comp2} (variant)[39m",
|
|
169
|
-
},
|
|
170
|
-
]
|
|
171
|
-
`;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.DependencyTypeNotSupportedInPolicy = void 0;
|
|
7
|
-
|
|
8
|
-
function _bitError() {
|
|
9
|
-
const data = require("@teambit/bit-error");
|
|
10
|
-
|
|
11
|
-
_bitError = function () {
|
|
12
|
-
return data;
|
|
13
|
-
};
|
|
14
|
-
|
|
15
|
-
return data;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
class DependencyTypeNotSupportedInPolicy extends _bitError().BitError {
|
|
19
|
-
constructor(type) {
|
|
20
|
-
super(`the workspace policy does not support ${type} dependencies`);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
exports.DependencyTypeNotSupportedInPolicy = DependencyTypeNotSupportedInPolicy;
|
|
26
|
-
|
|
27
|
-
//# sourceMappingURL=dependency-type-not-supported-in-policy.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["DependencyTypeNotSupportedInPolicy","BitError","constructor","type"],"sources":["dependency-type-not-supported-in-policy.ts"],"sourcesContent":["import { BitError } from '@teambit/bit-error';\n\nexport class DependencyTypeNotSupportedInPolicy extends BitError {\n constructor(type: string) {\n super(`the workspace policy does not support ${type} dependencies`);\n }\n}\n"],"mappings":";;;;;;;AAAA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAEO,MAAMA,kCAAN,SAAiDC,oBAAjD,CAA0D;EAC/DC,WAAW,CAACC,IAAD,EAAe;IACxB,MAAO,yCAAwCA,IAAK,eAApD;EACD;;AAH8D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { DependencyTypeNotSupportedInPolicy } from './dependency-type-not-supported-in-policy';
|
package/dist/exceptions/index.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
Object.defineProperty(exports, "DependencyTypeNotSupportedInPolicy", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function () {
|
|
9
|
-
return _dependencyTypeNotSupportedInPolicy().DependencyTypeNotSupportedInPolicy;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
function _dependencyTypeNotSupportedInPolicy() {
|
|
14
|
-
const data = require("./dependency-type-not-supported-in-policy");
|
|
15
|
-
|
|
16
|
-
_dependencyTypeNotSupportedInPolicy = function () {
|
|
17
|
-
return data;
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
return data;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export { DependencyTypeNotSupportedInPolicy } from './dependency-type-not-supported-in-policy';\n"],"mappings":";;;;;;;;;;;;AAAA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA"}
|
package/dist/install.cmd.d.ts
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { Command, CommandOptions } from '@teambit/cli';
|
|
2
|
-
import { WorkspaceDependencyLifecycleType } from '@teambit/dependency-resolver';
|
|
3
|
-
import { Logger } from '@teambit/logger';
|
|
4
|
-
import { Workspace } from './workspace';
|
|
5
|
-
declare type InstallCmdOptions = {
|
|
6
|
-
variants: string;
|
|
7
|
-
type: WorkspaceDependencyLifecycleType;
|
|
8
|
-
skipDedupe: boolean;
|
|
9
|
-
skipImport: boolean;
|
|
10
|
-
updateExisting: boolean;
|
|
11
|
-
savePrefix: string;
|
|
12
|
-
addMissingPeers: boolean;
|
|
13
|
-
};
|
|
14
|
-
export default class InstallCmd implements Command {
|
|
15
|
-
/**
|
|
16
|
-
* workspace extension.
|
|
17
|
-
*/
|
|
18
|
-
private workspace;
|
|
19
|
-
/**
|
|
20
|
-
* logger extension.
|
|
21
|
-
*/
|
|
22
|
-
private logger;
|
|
23
|
-
name: string;
|
|
24
|
-
description: string;
|
|
25
|
-
extendedDescription: string;
|
|
26
|
-
arguments: {
|
|
27
|
-
name: string;
|
|
28
|
-
description: string;
|
|
29
|
-
}[];
|
|
30
|
-
alias: string;
|
|
31
|
-
group: string;
|
|
32
|
-
options: CommandOptions;
|
|
33
|
-
constructor(
|
|
34
|
-
/**
|
|
35
|
-
* workspace extension.
|
|
36
|
-
*/
|
|
37
|
-
workspace: Workspace,
|
|
38
|
-
/**
|
|
39
|
-
* logger extension.
|
|
40
|
-
*/
|
|
41
|
-
logger: Logger);
|
|
42
|
-
report([packages]: [string[]], options: InstallCmdOptions): Promise<string>;
|
|
43
|
-
}
|
|
44
|
-
export {};
|
package/dist/install.cmd.js
DELETED
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
|
-
require("core-js/modules/es.array.iterator.js");
|
|
6
|
-
|
|
7
|
-
require("core-js/modules/es.promise.js");
|
|
8
|
-
|
|
9
|
-
Object.defineProperty(exports, "__esModule", {
|
|
10
|
-
value: true
|
|
11
|
-
});
|
|
12
|
-
exports.default = void 0;
|
|
13
|
-
|
|
14
|
-
function _defineProperty2() {
|
|
15
|
-
const data = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
16
|
-
|
|
17
|
-
_defineProperty2 = function () {
|
|
18
|
-
return data;
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
return data;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
function _chalk() {
|
|
25
|
-
const data = _interopRequireDefault(require("chalk"));
|
|
26
|
-
|
|
27
|
-
_chalk = function () {
|
|
28
|
-
return data;
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
return data;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
class InstallCmd {
|
|
35
|
-
constructor(
|
|
36
|
-
/**
|
|
37
|
-
* workspace extension.
|
|
38
|
-
*/
|
|
39
|
-
workspace,
|
|
40
|
-
/**
|
|
41
|
-
* logger extension.
|
|
42
|
-
*/
|
|
43
|
-
logger) {
|
|
44
|
-
this.workspace = workspace;
|
|
45
|
-
this.logger = logger;
|
|
46
|
-
(0, _defineProperty2().default)(this, "name", 'install [packages...]');
|
|
47
|
-
(0, _defineProperty2().default)(this, "description", 'installs workspace dependencies');
|
|
48
|
-
(0, _defineProperty2().default)(this, "extendedDescription", 'when no package is specified, all workspace dependencies are installed and all workspace components are imported.');
|
|
49
|
-
(0, _defineProperty2().default)(this, "arguments", [{
|
|
50
|
-
name: 'packages...',
|
|
51
|
-
description: 'a list of packages to install (separated by spaces)'
|
|
52
|
-
}]);
|
|
53
|
-
(0, _defineProperty2().default)(this, "alias", 'in');
|
|
54
|
-
(0, _defineProperty2().default)(this, "group", 'development');
|
|
55
|
-
(0, _defineProperty2().default)(this, "options", [['v', 'variants <variants>', 'add packages to specific variants'], ['t', 'type [lifecycleType]', '"runtime" (default) or "peer" (dev is not a valid option)'], ['u', 'update-existing [updateExisting]', 'update existing dependencies version and types'], ['', 'save-prefix [savePrefix]', 'set the prefix to use when adding dependency to workspace.jsonc'], ['', 'skip-dedupe [skipDedupe]', 'do not dedupe dependencies on installation'], ['', 'skip-import [skipImport]', 'do not import bit objects post installation'], ['', 'add-missing-peers [addMissingPeers]', 'install all missing peer dependencies']]);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
async report([packages = []], options) {
|
|
59
|
-
const startTime = Date.now();
|
|
60
|
-
this.logger.console(`Resolving component dependencies for workspace: '${_chalk().default.cyan(this.workspace.name)}'`);
|
|
61
|
-
const installOpts = {
|
|
62
|
-
variants: options.variants,
|
|
63
|
-
lifecycleType: options.addMissingPeers ? 'peer' : options.type,
|
|
64
|
-
dedupe: !options.skipDedupe,
|
|
65
|
-
import: !options.skipImport,
|
|
66
|
-
updateExisting: options.updateExisting,
|
|
67
|
-
savePrefix: options.savePrefix,
|
|
68
|
-
addMissingPeers: options.addMissingPeers
|
|
69
|
-
};
|
|
70
|
-
const components = await this.workspace.install(packages, installOpts);
|
|
71
|
-
const endTime = Date.now();
|
|
72
|
-
const executionTime = calculateTime(startTime, endTime);
|
|
73
|
-
return `Successfully resolved dependencies for ${_chalk().default.cyan(components.toArray().length.toString())} component(s) in ${_chalk().default.cyan(executionTime.toString())} seconds`;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
exports.default = InstallCmd;
|
|
79
|
-
|
|
80
|
-
function calculateTime(startTime, endTime) {
|
|
81
|
-
const diff = endTime - startTime;
|
|
82
|
-
return diff / 1000;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
//# sourceMappingURL=install.cmd.js.map
|
package/dist/install.cmd.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["InstallCmd","constructor","workspace","logger","name","description","report","packages","options","startTime","Date","now","console","chalk","cyan","installOpts","variants","lifecycleType","addMissingPeers","type","dedupe","skipDedupe","import","skipImport","updateExisting","savePrefix","components","install","endTime","executionTime","calculateTime","toArray","length","toString","diff"],"sources":["install.cmd.tsx"],"sourcesContent":["import { Command, CommandOptions } from '@teambit/cli';\nimport { WorkspaceDependencyLifecycleType } from '@teambit/dependency-resolver';\nimport { Logger } from '@teambit/logger';\nimport chalk from 'chalk';\n\nimport { Workspace, WorkspaceInstallOptions } from './workspace';\n\ntype InstallCmdOptions = {\n variants: string;\n type: WorkspaceDependencyLifecycleType;\n skipDedupe: boolean;\n skipImport: boolean;\n updateExisting: boolean;\n savePrefix: string;\n addMissingPeers: boolean;\n};\n\nexport default class InstallCmd implements Command {\n name = 'install [packages...]';\n description = 'installs workspace dependencies';\n extendedDescription =\n 'when no package is specified, all workspace dependencies are installed and all workspace components are imported.';\n arguments = [{ name: 'packages...', description: 'a list of packages to install (separated by spaces)' }];\n alias = 'in';\n group = 'development';\n options = [\n ['v', 'variants <variants>', 'add packages to specific variants'],\n ['t', 'type [lifecycleType]', '\"runtime\" (default) or \"peer\" (dev is not a valid option)'],\n ['u', 'update-existing [updateExisting]', 'update existing dependencies version and types'],\n ['', 'save-prefix [savePrefix]', 'set the prefix to use when adding dependency to workspace.jsonc'],\n ['', 'skip-dedupe [skipDedupe]', 'do not dedupe dependencies on installation'],\n ['', 'skip-import [skipImport]', 'do not import bit objects post installation'],\n ['', 'add-missing-peers [addMissingPeers]', 'install all missing peer dependencies'],\n ] as CommandOptions;\n\n constructor(\n /**\n * workspace extension.\n */\n private workspace: Workspace,\n\n /**\n * logger extension.\n */\n private logger: Logger\n ) {}\n\n async report([packages = []]: [string[]], options: InstallCmdOptions) {\n const startTime = Date.now();\n this.logger.console(`Resolving component dependencies for workspace: '${chalk.cyan(this.workspace.name)}'`);\n const installOpts: WorkspaceInstallOptions = {\n variants: options.variants,\n lifecycleType: options.addMissingPeers ? 'peer' : options.type,\n dedupe: !options.skipDedupe,\n import: !options.skipImport,\n updateExisting: options.updateExisting,\n savePrefix: options.savePrefix,\n addMissingPeers: options.addMissingPeers,\n };\n const components = await this.workspace.install(packages, installOpts);\n const endTime = Date.now();\n const executionTime = calculateTime(startTime, endTime);\n return `Successfully resolved dependencies for ${chalk.cyan(\n components.toArray().length.toString()\n )} component(s) in ${chalk.cyan(executionTime.toString())} seconds`;\n }\n}\n\nfunction calculateTime(startTime: number, endTime: number) {\n const diff = endTime - startTime;\n return diff / 1000;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAGA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAce,MAAMA,UAAN,CAAoC;EAkBjDC,WAAW;EACT;AACJ;AACA;EACYC,SAJC;EAMT;AACJ;AACA;EACYC,MATC,EAUT;IAAA,KANQD,SAMR,GANQA,SAMR;IAAA,KADQC,MACR,GADQA,MACR;IAAA,8CA3BK,uBA2BL;IAAA,qDA1BY,iCA0BZ;IAAA,6DAxBA,mHAwBA;IAAA,mDAvBU,CAAC;MAAEC,IAAI,EAAE,aAAR;MAAuBC,WAAW,EAAE;IAApC,CAAD,CAuBV;IAAA,+CAtBM,IAsBN;IAAA,+CArBM,aAqBN;IAAA,iDApBQ,CACR,CAAC,GAAD,EAAM,qBAAN,EAA6B,mCAA7B,CADQ,EAER,CAAC,GAAD,EAAM,sBAAN,EAA8B,2DAA9B,CAFQ,EAGR,CAAC,GAAD,EAAM,kCAAN,EAA0C,gDAA1C,CAHQ,EAIR,CAAC,EAAD,EAAK,0BAAL,EAAiC,iEAAjC,CAJQ,EAKR,CAAC,EAAD,EAAK,0BAAL,EAAiC,4CAAjC,CALQ,EAMR,CAAC,EAAD,EAAK,0BAAL,EAAiC,6CAAjC,CANQ,EAOR,CAAC,EAAD,EAAK,qCAAL,EAA4C,uCAA5C,CAPQ,CAoBR;EAAE;;EAEQ,MAANC,MAAM,CAAC,CAACC,QAAQ,GAAG,EAAZ,CAAD,EAA8BC,OAA9B,EAA0D;IACpE,MAAMC,SAAS,GAAGC,IAAI,CAACC,GAAL,EAAlB;IACA,KAAKR,MAAL,CAAYS,OAAZ,CAAqB,oDAAmDC,gBAAA,CAAMC,IAAN,CAAW,KAAKZ,SAAL,CAAeE,IAA1B,CAAgC,GAAxG;IACA,MAAMW,WAAoC,GAAG;MAC3CC,QAAQ,EAAER,OAAO,CAACQ,QADyB;MAE3CC,aAAa,EAAET,OAAO,CAACU,eAAR,GAA0B,MAA1B,GAAmCV,OAAO,CAACW,IAFf;MAG3CC,MAAM,EAAE,CAACZ,OAAO,CAACa,UAH0B;MAI3CC,MAAM,EAAE,CAACd,OAAO,CAACe,UAJ0B;MAK3CC,cAAc,EAAEhB,OAAO,CAACgB,cALmB;MAM3CC,UAAU,EAAEjB,OAAO,CAACiB,UANuB;MAO3CP,eAAe,EAAEV,OAAO,CAACU;IAPkB,CAA7C;IASA,MAAMQ,UAAU,GAAG,MAAM,KAAKxB,SAAL,CAAeyB,OAAf,CAAuBpB,QAAvB,EAAiCQ,WAAjC,CAAzB;IACA,MAAMa,OAAO,GAAGlB,IAAI,CAACC,GAAL,EAAhB;IACA,MAAMkB,aAAa,GAAGC,aAAa,CAACrB,SAAD,EAAYmB,OAAZ,CAAnC;IACA,OAAQ,0CAAyCf,gBAAA,CAAMC,IAAN,CAC/CY,UAAU,CAACK,OAAX,GAAqBC,MAArB,CAA4BC,QAA5B,EAD+C,CAE/C,oBAAmBpB,gBAAA,CAAMC,IAAN,CAAWe,aAAa,CAACI,QAAd,EAAX,CAAqC,UAF1D;EAGD;;AAhDgD;;;;AAmDnD,SAASH,aAAT,CAAuBrB,SAAvB,EAA0CmB,OAA1C,EAA2D;EACzD,MAAMM,IAAI,GAAGN,OAAO,GAAGnB,SAAvB;EACA,OAAOyB,IAAI,GAAG,IAAd;AACD"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { LinksResult as LegacyLinksResult } from '@teambit/legacy/dist/links/node-modules-linker';
|
|
2
|
-
declare type ComponentListLinksProps = {
|
|
3
|
-
componentListLinks?: LegacyLinksResult[];
|
|
4
|
-
verbose: boolean;
|
|
5
|
-
};
|
|
6
|
-
export declare function ComponentListLinks({ componentListLinks, verbose }: ComponentListLinksProps): string;
|
|
7
|
-
export {};
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.ComponentListLinks = ComponentListLinks;
|
|
9
|
-
|
|
10
|
-
function _chalk() {
|
|
11
|
-
const data = _interopRequireDefault(require("chalk"));
|
|
12
|
-
|
|
13
|
-
_chalk = function () {
|
|
14
|
-
return data;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
return data;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
function _getPackageNameFromTarget() {
|
|
21
|
-
const data = require("./get-package-name-from-target");
|
|
22
|
-
|
|
23
|
-
_getPackageNameFromTarget = function () {
|
|
24
|
-
return data;
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
return data;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
function _linkRow() {
|
|
31
|
-
const data = require("./link-row");
|
|
32
|
-
|
|
33
|
-
_linkRow = function () {
|
|
34
|
-
return data;
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
return data;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
function ComponentListLinks({
|
|
41
|
-
componentListLinks,
|
|
42
|
-
verbose = false
|
|
43
|
-
}) {
|
|
44
|
-
if (!componentListLinks || !componentListLinks.length) {
|
|
45
|
-
return _chalk().default.cyan('No components link were generated');
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
const title = _chalk().default.bold.cyan('Components links');
|
|
49
|
-
|
|
50
|
-
const links = componentListLinks.map(componentLinks => ComponentLinks({
|
|
51
|
-
componentLinks,
|
|
52
|
-
verbose
|
|
53
|
-
})).join('\n');
|
|
54
|
-
return `${title}\n${links}`;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
function ComponentLinks({
|
|
58
|
-
componentLinks,
|
|
59
|
-
verbose = false
|
|
60
|
-
}) {
|
|
61
|
-
if (!componentLinks.bound || componentLinks.bound.length < 1) return '';
|
|
62
|
-
if (verbose) return VerboseComponentLinks({
|
|
63
|
-
componentLinks
|
|
64
|
-
});
|
|
65
|
-
return RegularComponentLinks({
|
|
66
|
-
componentLinks
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
function RegularComponentLinks({
|
|
71
|
-
componentLinks
|
|
72
|
-
}) {
|
|
73
|
-
const id = componentLinks.id.toString();
|
|
74
|
-
if (!componentLinks.bound || componentLinks.bound.length < 1) return '';
|
|
75
|
-
const packagePath = (0, _getPackageNameFromTarget().getPackageNameFromTarget)(componentLinks.bound[0].to);
|
|
76
|
-
return (0, _linkRow().LinkRow)({
|
|
77
|
-
title: id,
|
|
78
|
-
target: packagePath,
|
|
79
|
-
padding: 50
|
|
80
|
-
});
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
function VerboseComponentLinks({
|
|
84
|
-
componentLinks
|
|
85
|
-
}) {
|
|
86
|
-
const id = componentLinks.id.toString();
|
|
87
|
-
if (!componentLinks.bound || componentLinks.bound.length < 1) return '';
|
|
88
|
-
|
|
89
|
-
const title = _chalk().default.bold.cyan(id);
|
|
90
|
-
|
|
91
|
-
const links = componentLinks.bound.map(link => (0, _linkRow().VerboseLinkRow)({
|
|
92
|
-
from: link.from,
|
|
93
|
-
to: link.to
|
|
94
|
-
})).join('\n');
|
|
95
|
-
return `${title}\n${links}\n`;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
//# sourceMappingURL=component-list-links.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["ComponentListLinks","componentListLinks","verbose","length","chalk","cyan","title","bold","links","map","componentLinks","ComponentLinks","join","bound","VerboseComponentLinks","RegularComponentLinks","id","toString","packagePath","getPackageNameFromTarget","to","LinkRow","target","padding","link","VerboseLinkRow","from"],"sources":["component-list-links.ts"],"sourcesContent":["import chalk from 'chalk';\nimport { LinksResult as LegacyLinksResult } from '@teambit/legacy/dist/links/node-modules-linker';\nimport { getPackageNameFromTarget } from './get-package-name-from-target';\nimport { LinkRow, VerboseLinkRow } from './link-row';\n\ntype ComponentListLinksProps = {\n componentListLinks?: LegacyLinksResult[];\n verbose: boolean;\n};\n\nexport function ComponentListLinks({ componentListLinks, verbose = false }: ComponentListLinksProps) {\n if (!componentListLinks || !componentListLinks.length) {\n return chalk.cyan('No components link were generated');\n }\n const title = chalk.bold.cyan('Components links');\n const links = componentListLinks.map((componentLinks) => ComponentLinks({ componentLinks, verbose })).join('\\n');\n\n return `${title}\\n${links}`;\n}\n\ntype ComponentLinksProps = {\n componentLinks: LegacyLinksResult;\n verbose: boolean;\n};\nfunction ComponentLinks({ componentLinks, verbose = false }: ComponentLinksProps) {\n if (!componentLinks.bound || componentLinks.bound.length < 1) return '';\n if (verbose) return VerboseComponentLinks({ componentLinks });\n return RegularComponentLinks({ componentLinks });\n}\n\ntype RegularComponentLinksProps = {\n componentLinks: LegacyLinksResult;\n};\nfunction RegularComponentLinks({ componentLinks }: RegularComponentLinksProps) {\n const id = componentLinks.id.toString();\n if (!componentLinks.bound || componentLinks.bound.length < 1) return '';\n const packagePath = getPackageNameFromTarget(componentLinks.bound[0].to);\n return LinkRow({ title: id, target: packagePath, padding: 50 });\n}\n\ntype VerboseComponentLinksProps = {\n componentLinks: LegacyLinksResult;\n};\nfunction VerboseComponentLinks({ componentLinks }: VerboseComponentLinksProps) {\n const id = componentLinks.id.toString();\n if (!componentLinks.bound || componentLinks.bound.length < 1) return '';\n const title = chalk.bold.cyan(id);\n const links = componentLinks.bound.map((link) => VerboseLinkRow({ from: link.from, to: link.to })).join('\\n');\n return `${title}\\n${links}\\n`;\n}\n"],"mappings":";;;;;;;;;AAAA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAEA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AACA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAOO,SAASA,kBAAT,CAA4B;EAAEC,kBAAF;EAAsBC,OAAO,GAAG;AAAhC,CAA5B,EAA8F;EACnG,IAAI,CAACD,kBAAD,IAAuB,CAACA,kBAAkB,CAACE,MAA/C,EAAuD;IACrD,OAAOC,gBAAA,CAAMC,IAAN,CAAW,mCAAX,CAAP;EACD;;EACD,MAAMC,KAAK,GAAGF,gBAAA,CAAMG,IAAN,CAAWF,IAAX,CAAgB,kBAAhB,CAAd;;EACA,MAAMG,KAAK,GAAGP,kBAAkB,CAACQ,GAAnB,CAAwBC,cAAD,IAAoBC,cAAc,CAAC;IAAED,cAAF;IAAkBR;EAAlB,CAAD,CAAzD,EAAwFU,IAAxF,CAA6F,IAA7F,CAAd;EAEA,OAAQ,GAAEN,KAAM,KAAIE,KAAM,EAA1B;AACD;;AAMD,SAASG,cAAT,CAAwB;EAAED,cAAF;EAAkBR,OAAO,GAAG;AAA5B,CAAxB,EAAkF;EAChF,IAAI,CAACQ,cAAc,CAACG,KAAhB,IAAyBH,cAAc,CAACG,KAAf,CAAqBV,MAArB,GAA8B,CAA3D,EAA8D,OAAO,EAAP;EAC9D,IAAID,OAAJ,EAAa,OAAOY,qBAAqB,CAAC;IAAEJ;EAAF,CAAD,CAA5B;EACb,OAAOK,qBAAqB,CAAC;IAAEL;EAAF,CAAD,CAA5B;AACD;;AAKD,SAASK,qBAAT,CAA+B;EAAEL;AAAF,CAA/B,EAA+E;EAC7E,MAAMM,EAAE,GAAGN,cAAc,CAACM,EAAf,CAAkBC,QAAlB,EAAX;EACA,IAAI,CAACP,cAAc,CAACG,KAAhB,IAAyBH,cAAc,CAACG,KAAf,CAAqBV,MAArB,GAA8B,CAA3D,EAA8D,OAAO,EAAP;EAC9D,MAAMe,WAAW,GAAG,IAAAC,oDAAA,EAAyBT,cAAc,CAACG,KAAf,CAAqB,CAArB,EAAwBO,EAAjD,CAApB;EACA,OAAO,IAAAC,kBAAA,EAAQ;IAAEf,KAAK,EAAEU,EAAT;IAAaM,MAAM,EAAEJ,WAArB;IAAkCK,OAAO,EAAE;EAA3C,CAAR,CAAP;AACD;;AAKD,SAAST,qBAAT,CAA+B;EAAEJ;AAAF,CAA/B,EAA+E;EAC7E,MAAMM,EAAE,GAAGN,cAAc,CAACM,EAAf,CAAkBC,QAAlB,EAAX;EACA,IAAI,CAACP,cAAc,CAACG,KAAhB,IAAyBH,cAAc,CAACG,KAAf,CAAqBV,MAArB,GAA8B,CAA3D,EAA8D,OAAO,EAAP;;EAC9D,MAAMG,KAAK,GAAGF,gBAAA,CAAMG,IAAN,CAAWF,IAAX,CAAgBW,EAAhB,CAAd;;EACA,MAAMR,KAAK,GAAGE,cAAc,CAACG,KAAf,CAAqBJ,GAArB,CAA0Be,IAAD,IAAU,IAAAC,yBAAA,EAAe;IAAEC,IAAI,EAAEF,IAAI,CAACE,IAAb;IAAmBN,EAAE,EAAEI,IAAI,CAACJ;EAA5B,CAAf,CAAnC,EAAqFR,IAArF,CAA0F,IAA1F,CAAd;EACA,OAAQ,GAAEN,KAAM,KAAIE,KAAM,IAA1B;AACD"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { CoreAspectLinkResult } from '@teambit/dependency-resolver';
|
|
2
|
-
declare type CoreAspectsLinksProps = {
|
|
3
|
-
coreAspectsLinks?: CoreAspectLinkResult[];
|
|
4
|
-
verbose: boolean;
|
|
5
|
-
};
|
|
6
|
-
export declare function CoreAspectsLinks({ coreAspectsLinks, verbose }: CoreAspectsLinksProps): string;
|
|
7
|
-
export {};
|