@teambit/workspace 1.0.269 → 1.0.271
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/artifacts/__bit_junit.xml +1 -1
- package/artifacts/preview/teambit_workspace_workspace-preview.js +1 -1
- package/artifacts/schema.json +2045 -2045
- package/dist/{preview-1715311140438.js → preview-1715656872728.js} +2 -2
- package/dist/workspace-component/component-status-loader.js +1 -8
- package/dist/workspace-component/component-status-loader.js.map +1 -1
- package/dist/workspace.js +0 -10
- package/dist/workspace.js.map +1 -1
- package/package.json +25 -25
- package/workspace-component/component-status-loader.ts +1 -6
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/workspace",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.271",
|
|
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.271"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"lodash": "4.17.21",
|
|
@@ -51,46 +51,46 @@
|
|
|
51
51
|
"@teambit/explorer.ui.gallery.component-grid": "0.0.496",
|
|
52
52
|
"@teambit/scopes.scope-id": "0.0.7",
|
|
53
53
|
"@teambit/workspace.ui.empty-workspace": "0.0.508",
|
|
54
|
-
"@teambit/component": "1.0.
|
|
55
|
-
"@teambit/dependency-resolver": "1.0.
|
|
56
|
-
"@teambit/envs": "1.0.
|
|
54
|
+
"@teambit/component": "1.0.271",
|
|
55
|
+
"@teambit/dependency-resolver": "1.0.271",
|
|
56
|
+
"@teambit/envs": "1.0.271",
|
|
57
57
|
"@teambit/logger": "0.0.958",
|
|
58
|
-
"@teambit/scope": "1.0.
|
|
59
|
-
"@teambit/graph": "1.0.
|
|
58
|
+
"@teambit/scope": "1.0.271",
|
|
59
|
+
"@teambit/graph": "1.0.271",
|
|
60
60
|
"@teambit/cli": "0.0.865",
|
|
61
|
-
"@teambit/isolator": "1.0.
|
|
62
|
-
"@teambit/component-tree": "1.0.
|
|
61
|
+
"@teambit/isolator": "1.0.271",
|
|
62
|
+
"@teambit/component-tree": "1.0.271",
|
|
63
63
|
"@teambit/harmony.modules.resolved-component": "0.0.497",
|
|
64
|
-
"@teambit/watcher": "1.0.
|
|
65
|
-
"@teambit/aspect-loader": "1.0.
|
|
66
|
-
"@teambit/config": "0.0.
|
|
64
|
+
"@teambit/watcher": "1.0.271",
|
|
65
|
+
"@teambit/aspect-loader": "1.0.271",
|
|
66
|
+
"@teambit/config": "0.0.1022",
|
|
67
67
|
"@teambit/global-config": "0.0.868",
|
|
68
68
|
"@teambit/harmony.modules.requireable-component": "0.0.497",
|
|
69
69
|
"@teambit/toolbox.modules.module-resolver": "0.0.7",
|
|
70
|
-
"@teambit/workspace.modules.node-modules-linker": "0.0.
|
|
71
|
-
"@teambit/graphql": "1.0.
|
|
72
|
-
"@teambit/bundler": "1.0.
|
|
73
|
-
"@teambit/pubsub": "1.0.
|
|
74
|
-
"@teambit/ui": "1.0.
|
|
75
|
-
"@teambit/variants": "0.0.
|
|
76
|
-
"@teambit/component-issues": "0.0.
|
|
70
|
+
"@teambit/workspace.modules.node-modules-linker": "0.0.173",
|
|
71
|
+
"@teambit/graphql": "1.0.271",
|
|
72
|
+
"@teambit/bundler": "1.0.271",
|
|
73
|
+
"@teambit/pubsub": "1.0.271",
|
|
74
|
+
"@teambit/ui": "1.0.271",
|
|
75
|
+
"@teambit/variants": "0.0.1115",
|
|
76
|
+
"@teambit/component-issues": "0.0.149",
|
|
77
77
|
"@teambit/workspace.modules.match-pattern": "0.0.505",
|
|
78
78
|
"@teambit/component.ui.component-drawer": "0.0.399",
|
|
79
79
|
"@teambit/lanes.hooks.use-lane-components": "0.0.262",
|
|
80
80
|
"@teambit/lanes.hooks.use-lanes": "0.0.264",
|
|
81
81
|
"@teambit/lanes.ui.models.lanes-model": "0.0.216",
|
|
82
|
-
"@teambit/command-bar": "1.0.
|
|
82
|
+
"@teambit/command-bar": "1.0.271",
|
|
83
83
|
"@teambit/component.ui.component-filters.component-filter-context": "0.0.222",
|
|
84
84
|
"@teambit/component.ui.component-filters.deprecate-filter": "0.0.220",
|
|
85
|
-
"@teambit/component.ui.component-filters.env-filter": "0.0.
|
|
85
|
+
"@teambit/component.ui.component-filters.env-filter": "0.0.230",
|
|
86
86
|
"@teambit/component.ui.component-filters.show-main-filter": "0.0.213",
|
|
87
|
-
"@teambit/sidebar": "1.0.
|
|
87
|
+
"@teambit/sidebar": "1.0.271",
|
|
88
88
|
"@teambit/ui-foundation.ui.react-router.slot-router": "0.0.509",
|
|
89
89
|
"@teambit/component-descriptor": "0.0.419",
|
|
90
|
-
"@teambit/deprecation": "1.0.
|
|
91
|
-
"@teambit/ui-foundation.ui.buttons.collapser": "0.0.
|
|
90
|
+
"@teambit/deprecation": "1.0.271",
|
|
91
|
+
"@teambit/ui-foundation.ui.buttons.collapser": "0.0.222",
|
|
92
92
|
"@teambit/cloud.hooks.use-cloud-scopes": "0.0.3",
|
|
93
|
-
"@teambit/design.ui.tooltip": "0.0.
|
|
93
|
+
"@teambit/design.ui.tooltip": "0.0.369",
|
|
94
94
|
"@teambit/preview.ui.preview-placeholder": "0.0.518",
|
|
95
95
|
"@teambit/workspace.ui.workspace-component-card": "0.0.526"
|
|
96
96
|
},
|
|
@@ -8,7 +8,6 @@ import { ModelComponent } from '@teambit/legacy/dist/scope/models';
|
|
|
8
8
|
import { MissingBitMapComponent } from '@teambit/legacy/dist/consumer/bit-map/exceptions';
|
|
9
9
|
import ComponentsPendingImport from '@teambit/legacy/dist/consumer/component-ops/exceptions/components-pending-import';
|
|
10
10
|
import ComponentNotFoundInPath from '@teambit/legacy/dist/consumer/component/exceptions/component-not-found-in-path';
|
|
11
|
-
import MissingFilesFromComponent from '@teambit/legacy/dist/consumer/component/exceptions/missing-files-from-component';
|
|
12
11
|
import ComponentOutOfSync from '@teambit/legacy/dist/consumer/exceptions/component-out-of-sync';
|
|
13
12
|
import { Workspace } from '..';
|
|
14
13
|
|
|
@@ -82,11 +81,7 @@ export class ComponentStatusLoader {
|
|
|
82
81
|
}
|
|
83
82
|
componentFromFileSystem = components[0];
|
|
84
83
|
} catch (err: any) {
|
|
85
|
-
if (
|
|
86
|
-
err instanceof MissingFilesFromComponent ||
|
|
87
|
-
err instanceof ComponentNotFoundInPath ||
|
|
88
|
-
err instanceof MissingBitMapComponent
|
|
89
|
-
) {
|
|
84
|
+
if (err instanceof ComponentNotFoundInPath || err instanceof MissingBitMapComponent) {
|
|
90
85
|
// the file/s have been deleted or the component doesn't exist in bit.map file
|
|
91
86
|
if (componentFromModel) status.deleted = true;
|
|
92
87
|
else status.notExist = true;
|