@teambit/workspace 0.0.836 → 0.0.837

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.
@@ -0,0 +1,171 @@
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 (runtime) * ❯ 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": "Root policies",
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 (runtime) ^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": "Root policies",
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 (runtime) * ❯ 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": "Root policies",
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 (runtime) 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 (runtime) 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 (dev) 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 (peer) 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": "Root policies",
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 (runtime) 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": "comp1 (component)",
152
+ },
153
+ Object {
154
+ "choices": Array [
155
+ Object {
156
+ "message": "bar (peer) 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": "{comp2} (variant)",
169
+ },
170
+ ]
171
+ `;
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/workspace",
3
- "version": "0.0.836",
3
+ "version": "0.0.837",
4
4
  "homepage": "https://bit.dev/teambit/workspace/workspace",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.workspace",
8
8
  "name": "workspace",
9
- "version": "0.0.836"
9
+ "version": "0.0.837"
10
10
  },
11
11
  "dependencies": {
12
12
  "lodash": "4.17.21",
@@ -37,59 +37,59 @@
37
37
  "@teambit/design.ui.surfaces.menu.link-item": "1.0.0",
38
38
  "@teambit/base-ui.surfaces.split-pane.hover-splitter": "1.0.0",
39
39
  "@teambit/base-ui.surfaces.split-pane.split-pane": "1.0.0",
40
- "@teambit/bit-error": "0.0.399",
41
- "@teambit/component-id": "0.0.410",
42
- "@teambit/lane-id": "0.0.80",
43
- "@teambit/legacy-bit-id": "0.0.407",
44
- "@teambit/logger": "0.0.654",
45
- "@teambit/scope": "0.0.836",
46
- "@teambit/cli": "0.0.561",
47
- "@teambit/isolator": "0.0.836",
48
- "@teambit/component-tree": "0.0.624",
49
- "@teambit/component.ui.component-status-resolver": "0.0.498",
50
- "@teambit/lanes.hooks.use-lanes": "0.0.15",
51
- "@teambit/harmony.modules.resolved-component": "0.0.489",
52
- "@teambit/dependency-resolver": "0.0.836",
53
- "@teambit/compiler": "0.0.836",
54
- "@teambit/component": "0.0.836",
55
- "@teambit/graphql": "0.0.836",
56
- "@teambit/aspect-loader": "0.0.836",
57
- "@teambit/bundler": "0.0.836",
58
- "@teambit/community": "0.0.109",
59
- "@teambit/envs": "0.0.836",
60
- "@teambit/pubsub": "0.0.836",
61
- "@teambit/ui": "0.0.836",
62
- "@teambit/variants": "0.0.658",
63
- "@teambit/component-issues": "0.0.65",
64
- "@teambit/config": "0.0.574",
65
- "@teambit/harmony.modules.requireable-component": "0.0.489",
66
- "@teambit/importer": "0.0.265",
67
- "@teambit/workspace.modules.match-pattern": "0.0.494",
68
- "@teambit/component.ui.component-drawer": "0.0.110",
69
- "@teambit/design.ui.tree": "0.0.11",
70
- "@teambit/ui-foundation.ui.side-bar": "0.0.627",
71
- "@teambit/command-bar": "0.0.836",
72
- "@teambit/component.ui.component-filters.component-filter-context": "0.0.6",
73
- "@teambit/component.ui.component-filters.deprecate-filter": "0.0.6",
74
- "@teambit/component.ui.component-filters.env-filter": "0.0.6",
75
- "@teambit/graph": "0.0.836",
76
- "@teambit/sidebar": "0.0.836",
77
- "@teambit/ui-foundation.ui.main-dropdown": "0.0.492",
78
- "@teambit/ui-foundation.ui.menu": "0.0.492",
79
- "@teambit/ui-foundation.ui.react-router.slot-router": "0.0.495",
80
- "@teambit/ui-foundation.ui.tree.drawer": "0.0.504",
81
- "@teambit/toolbox.time.time-format": "0.0.488",
82
- "@teambit/ui-foundation.ui.hooks.use-data-query": "0.0.495",
83
- "@teambit/component-descriptor": "0.0.124",
84
- "@teambit/deprecation": "0.0.836",
85
- "@teambit/ui-foundation.ui.constants.z-indexes": "0.0.493",
86
- "@teambit/ui-foundation.ui.buttons.collapser": "0.0.200",
87
- "@teambit/ui-foundation.ui.corner": "0.0.503",
88
- "@teambit/ui-foundation.ui.notifications.notification-context": "0.0.492",
89
- "@teambit/ui-foundation.ui.top-bar": "0.0.498",
90
- "@teambit/explorer.ui.gallery.component-grid": "0.0.491",
91
- "@teambit/workspace.ui.empty-workspace": "0.0.498",
92
- "@teambit/workspace.ui.workspace-component-card": "0.0.503"
40
+ "@teambit/bit-error": "0.0.400",
41
+ "@teambit/component-id": "0.0.411",
42
+ "@teambit/lane-id": "0.0.81",
43
+ "@teambit/legacy-bit-id": "0.0.408",
44
+ "@teambit/logger": "0.0.655",
45
+ "@teambit/scope": "0.0.837",
46
+ "@teambit/cli": "0.0.562",
47
+ "@teambit/isolator": "0.0.837",
48
+ "@teambit/component-tree": "0.0.625",
49
+ "@teambit/component.ui.component-status-resolver": "0.0.499",
50
+ "@teambit/lanes.hooks.use-lanes": "0.0.16",
51
+ "@teambit/harmony.modules.resolved-component": "0.0.490",
52
+ "@teambit/dependency-resolver": "0.0.837",
53
+ "@teambit/compiler": "0.0.837",
54
+ "@teambit/component": "0.0.837",
55
+ "@teambit/graphql": "0.0.837",
56
+ "@teambit/aspect-loader": "0.0.837",
57
+ "@teambit/bundler": "0.0.837",
58
+ "@teambit/community": "0.0.110",
59
+ "@teambit/envs": "0.0.837",
60
+ "@teambit/pubsub": "0.0.837",
61
+ "@teambit/ui": "0.0.837",
62
+ "@teambit/variants": "0.0.659",
63
+ "@teambit/component-issues": "0.0.66",
64
+ "@teambit/config": "0.0.575",
65
+ "@teambit/harmony.modules.requireable-component": "0.0.490",
66
+ "@teambit/importer": "0.0.266",
67
+ "@teambit/workspace.modules.match-pattern": "0.0.495",
68
+ "@teambit/component.ui.component-drawer": "0.0.111",
69
+ "@teambit/design.ui.tree": "0.0.12",
70
+ "@teambit/ui-foundation.ui.side-bar": "0.0.628",
71
+ "@teambit/command-bar": "0.0.837",
72
+ "@teambit/component.ui.component-filters.component-filter-context": "0.0.7",
73
+ "@teambit/component.ui.component-filters.deprecate-filter": "0.0.7",
74
+ "@teambit/component.ui.component-filters.env-filter": "0.0.7",
75
+ "@teambit/graph": "0.0.837",
76
+ "@teambit/sidebar": "0.0.837",
77
+ "@teambit/ui-foundation.ui.main-dropdown": "0.0.493",
78
+ "@teambit/ui-foundation.ui.menu": "0.0.493",
79
+ "@teambit/ui-foundation.ui.react-router.slot-router": "0.0.496",
80
+ "@teambit/ui-foundation.ui.tree.drawer": "0.0.505",
81
+ "@teambit/toolbox.time.time-format": "0.0.489",
82
+ "@teambit/ui-foundation.ui.hooks.use-data-query": "0.0.496",
83
+ "@teambit/component-descriptor": "0.0.125",
84
+ "@teambit/deprecation": "0.0.837",
85
+ "@teambit/ui-foundation.ui.constants.z-indexes": "0.0.494",
86
+ "@teambit/ui-foundation.ui.buttons.collapser": "0.0.201",
87
+ "@teambit/ui-foundation.ui.corner": "0.0.504",
88
+ "@teambit/ui-foundation.ui.notifications.notification-context": "0.0.493",
89
+ "@teambit/ui-foundation.ui.top-bar": "0.0.499",
90
+ "@teambit/explorer.ui.gallery.component-grid": "0.0.492",
91
+ "@teambit/workspace.ui.empty-workspace": "0.0.499",
92
+ "@teambit/workspace.ui.workspace-component-card": "0.0.504"
93
93
  },
94
94
  "devDependencies": {
95
95
  "@types/lodash": "4.14.165",
@@ -109,7 +109,7 @@
109
109
  "peerDependencies": {
110
110
  "react-router-dom": "^6.0.0",
111
111
  "@apollo/client": "^3.6.0",
112
- "@teambit/legacy": "1.0.342",
112
+ "@teambit/legacy": "1.0.343",
113
113
  "react-dom": "^16.8.0 || ^17.0.0",
114
114
  "react": "^16.8.0 || ^17.0.0"
115
115
  },
@@ -0,0 +1,5 @@
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_workspace@0.0.837/dist/workspace.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_workspace@0.0.837/dist/workspace.docs.mdx';
3
+
4
+ export const compositions = [compositions_0];
5
+ export const overview = [overview_0];
@@ -1,5 +0,0 @@
1
- import * as compositions_0 from '/Users/davidfirst/Library/Caches/Bit/capsules/6a158fe515d5b136e1d309ac7d6e8d2b96cc57b7/teambit.workspace_workspace@0.0.836/dist/workspace.composition.js';
2
- import * as overview_0 from '/Users/davidfirst/Library/Caches/Bit/capsules/6a158fe515d5b136e1d309ac7d6e8d2b96cc57b7/teambit.workspace_workspace@0.0.836/dist/workspace.docs.mdx';
3
-
4
- export const compositions = [compositions_0];
5
- export const overview = [overview_0];