@teambit/scope 1.0.487 → 1.0.489

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.
Files changed (44) hide show
  1. package/artifacts/__bit_junit.xml +1 -1
  2. package/artifacts/preview/teambit_scope_scope-preview.js +1 -1
  3. package/artifacts/schema.json +3627 -1988
  4. package/debug-commands/cat-component.ts +3 -3
  5. package/debug-commands/cat-lane.ts +1 -1
  6. package/debug-commands/cat-object.ts +1 -1
  7. package/debug-commands/cat-scope.ts +2 -3
  8. package/dist/_scope-garbage-collector.cmd.d.ts +1 -1
  9. package/dist/_scope-garbage-collector.cmd.js.map +1 -1
  10. package/dist/debug-commands/cat-component.js +8 -8
  11. package/dist/debug-commands/cat-component.js.map +1 -1
  12. package/dist/debug-commands/cat-lane.js +4 -4
  13. package/dist/debug-commands/cat-lane.js.map +1 -1
  14. package/dist/debug-commands/cat-object.js +4 -4
  15. package/dist/debug-commands/cat-object.js.map +1 -1
  16. package/dist/debug-commands/cat-scope-cmd.d.ts +1 -1
  17. package/dist/debug-commands/cat-scope.d.ts +1 -1
  18. package/dist/debug-commands/cat-scope.js +8 -8
  19. package/dist/debug-commands/cat-scope.js.map +1 -1
  20. package/dist/{preview-1733714450424.js → preview-1733851236714.js} +2 -2
  21. package/dist/routes/action.route.js +4 -4
  22. package/dist/routes/action.route.js.map +1 -1
  23. package/dist/routes/fetch.route.js +4 -4
  24. package/dist/routes/fetch.route.js.map +1 -1
  25. package/dist/routes/put.route.js +4 -4
  26. package/dist/routes/put.route.js.map +1 -1
  27. package/dist/run-action/run-action.js +8 -8
  28. package/dist/run-action/run-action.js.map +1 -1
  29. package/dist/scope-aspects-loader.d.ts +1 -1
  30. package/dist/scope-aspects-loader.js +10 -10
  31. package/dist/scope-aspects-loader.js.map +1 -1
  32. package/dist/scope-component-loader.d.ts +1 -1
  33. package/dist/scope-component-loader.js +8 -15
  34. package/dist/scope-component-loader.js.map +1 -1
  35. package/dist/scope.graphql.d.ts +1 -1
  36. package/dist/scope.main.runtime.d.ts +7 -11
  37. package/dist/scope.main.runtime.js +65 -86
  38. package/dist/scope.main.runtime.js.map +1 -1
  39. package/dist/scope.ui.runtime.d.ts +1 -1
  40. package/package.json +52 -42
  41. package/routes/action.route.ts +1 -1
  42. package/routes/fetch.route.ts +1 -1
  43. package/routes/put.route.ts +1 -1
  44. package/run-action/run-action.ts +2 -2
package/package.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "@teambit/scope",
3
- "version": "1.0.487",
3
+ "version": "1.0.489",
4
4
  "homepage": "https://bit.cloud/teambit/scope/scope",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.scope",
8
8
  "name": "scope",
9
- "version": "1.0.487"
9
+ "version": "1.0.489"
10
10
  },
11
11
  "dependencies": {
12
12
  "fs-extra": "10.0.0",
13
13
  "lodash": "4.17.21",
14
14
  "p-map-series": "2.1.0",
15
15
  "chalk": "2.4.2",
16
- "semver": "7.5.2",
16
+ "semver": "7.5.4",
17
17
  "graphql-tag": "2.12.1",
18
18
  "chokidar": "3.6.0",
19
19
  "multimatch": "5.0.0",
@@ -41,53 +41,63 @@
41
41
  "@teambit/ui-foundation.ui.hooks.use-is-mobile": "0.0.198",
42
42
  "@teambit/ui-foundation.ui.top-bar": "0.0.514",
43
43
  "@teambit/scope.ui.hooks.use-scope": "0.0.453",
44
+ "@teambit/ui-foundation.ui.use-box.dropdown": "0.0.143",
45
+ "@teambit/ui-foundation.ui.use-box.scope-menu": "0.0.146",
44
46
  "@teambit/explorer.ui.component-card": "0.0.30",
45
47
  "@teambit/explorer.ui.gallery.component-grid": "0.0.496",
46
48
  "@teambit/scope.ui.empty-scope": "0.0.509",
47
49
  "@teambit/scope.ui.scope-details": "0.0.526",
48
50
  "@teambit/scopes.scope-id": "0.0.7",
49
- "@teambit/ui-foundation.ui.use-box.dropdown": "0.0.143",
50
- "@teambit/ui-foundation.ui.use-box.scope-menu": "0.0.146",
51
- "@teambit/cli": "0.0.1064",
52
- "@teambit/component.modules.component-url": "0.0.169",
53
- "@teambit/scope.models.scope-model": "0.0.517",
54
- "@teambit/scope.ui.hooks.scope-context": "0.0.511",
55
- "@teambit/aspect-loader": "1.0.487",
56
- "@teambit/compiler": "1.0.487",
57
- "@teambit/component": "1.0.487",
58
- "@teambit/dependency-resolver": "1.0.487",
59
- "@teambit/envs": "1.0.487",
60
- "@teambit/global-config": "0.0.1067",
61
- "@teambit/harmony.modules.requireable-component": "0.0.498",
62
- "@teambit/isolator": "1.0.487",
63
- "@teambit/logger": "0.0.1157",
64
- "@teambit/harmony.modules.in-memory-cache": "0.0.2",
51
+ "@teambit/cli": "0.0.1066",
52
+ "@teambit/legacy.scope": "0.0.2",
53
+ "@teambit/component.modules.component-url": "0.0.170",
54
+ "@teambit/scope.models.scope-model": "0.0.518",
55
+ "@teambit/scope.ui.hooks.scope-context": "0.0.512",
56
+ "@teambit/aspect-loader": "1.0.489",
57
+ "@teambit/compiler": "1.0.489",
58
+ "@teambit/component": "1.0.489",
59
+ "@teambit/dependency-resolver": "1.0.489",
60
+ "@teambit/envs": "1.0.489",
61
+ "@teambit/global-config": "0.0.1069",
62
+ "@teambit/harmony.modules.requireable-component": "0.0.499",
63
+ "@teambit/isolator": "1.0.489",
64
+ "@teambit/legacy.constants": "0.0.2",
65
+ "@teambit/logger": "0.0.1159",
66
+ "@teambit/scope.objects": "0.0.2",
67
+ "@teambit/harmony.modules.in-memory-cache": "0.0.4",
68
+ "@teambit/legacy.consumer-component": "0.0.3",
65
69
  "@teambit/bit.get-bit-version": "0.0.1",
66
70
  "@teambit/legacy-component-log": "0.0.404",
67
- "@teambit/legacy.scope-api": "0.0.55",
68
- "@teambit/builder": "1.0.487",
69
- "@teambit/express": "0.0.1163",
70
- "@teambit/graph": "1.0.487",
71
- "@teambit/graphql": "1.0.487",
72
- "@teambit/legacy.extension-data": "0.0.2",
73
- "@teambit/ui": "1.0.487",
74
- "@teambit/workspace.modules.match-pattern": "0.0.505",
75
- "@teambit/component.ui.component-drawer": "0.0.422",
76
- "@teambit/lanes.hooks.use-lane-components": "0.0.272",
77
- "@teambit/lanes.hooks.use-lanes": "0.0.275",
78
- "@teambit/ui-foundation.ui.side-bar": "0.0.890",
79
- "@teambit/command-bar": "1.0.487",
80
- "@teambit/component-tree": "1.0.487",
81
- "@teambit/component.ui.component-filters.component-filter-context": "0.0.230",
82
- "@teambit/component.ui.component-filters.deprecate-filter": "0.0.228",
83
- "@teambit/component.ui.component-filters.env-filter": "0.0.241",
84
- "@teambit/component.ui.component-filters.show-main-filter": "0.0.221",
85
- "@teambit/sidebar": "1.0.487",
86
- "@teambit/ui-foundation.ui.react-router.slot-router": "0.0.512",
87
- "@teambit/ui-foundation.ui.buttons.collapser": "0.0.224",
71
+ "@teambit/legacy.scope-api": "0.0.57",
72
+ "@teambit/builder": "1.0.489",
73
+ "@teambit/component.snap-distance": "0.0.2",
74
+ "@teambit/export": "1.0.489",
75
+ "@teambit/express": "0.0.1165",
76
+ "@teambit/graph": "1.0.489",
77
+ "@teambit/graphql": "1.0.489",
78
+ "@teambit/legacy.extension-data": "0.0.4",
79
+ "@teambit/legacy.global-config": "0.0.2",
80
+ "@teambit/scope.network": "0.0.2",
81
+ "@teambit/scope.remote-actions": "0.0.2",
82
+ "@teambit/scope.remotes": "0.0.2",
83
+ "@teambit/ui": "1.0.489",
84
+ "@teambit/workspace.modules.match-pattern": "0.0.506",
85
+ "@teambit/component.ui.component-drawer": "0.0.423",
86
+ "@teambit/lanes.hooks.use-lane-components": "0.0.273",
87
+ "@teambit/lanes.hooks.use-lanes": "0.0.276",
88
+ "@teambit/ui-foundation.ui.side-bar": "0.0.891",
89
+ "@teambit/command-bar": "1.0.489",
90
+ "@teambit/component-tree": "1.0.489",
91
+ "@teambit/component.ui.component-filters.component-filter-context": "0.0.231",
92
+ "@teambit/component.ui.component-filters.deprecate-filter": "0.0.229",
93
+ "@teambit/component.ui.component-filters.env-filter": "0.0.242",
94
+ "@teambit/component.ui.component-filters.show-main-filter": "0.0.222",
95
+ "@teambit/sidebar": "1.0.489",
96
+ "@teambit/ui-foundation.ui.react-router.slot-router": "0.0.513",
97
+ "@teambit/ui-foundation.ui.buttons.collapser": "0.0.225",
88
98
  "@teambit/component-descriptor": "0.0.428",
89
- "@teambit/design.ui.tooltip": "0.0.371",
90
- "@teambit/preview.ui.preview-placeholder": "0.0.528"
99
+ "@teambit/design.ui.tooltip": "0.0.372",
100
+ "@teambit/preview.ui.preview-placeholder": "0.0.529"
91
101
  },
92
102
  "devDependencies": {
93
103
  "@types/fs-extra": "9.0.7",
@@ -1,6 +1,6 @@
1
1
  import { Route, Verb, Request, Response } from '@teambit/express';
2
2
  import { action } from '@teambit/legacy.scope-api';
3
- import { getAuthDataFromHeader } from '@teambit/legacy/dist/scope/network/http/http';
3
+ import { getAuthDataFromHeader } from '@teambit/scope.network';
4
4
  import { ScopeMain } from '../scope.main.runtime';
5
5
 
6
6
  export class ActionRoute implements Route {
@@ -1,6 +1,6 @@
1
1
  import { Route, Verb, Request, Response } from '@teambit/express';
2
2
  import { fetch } from '@teambit/legacy.scope-api';
3
- import { ObjectList } from '@teambit/legacy/dist/scope/objects/object-list';
3
+ import { ObjectList } from '@teambit/scope.objects';
4
4
  import { Logger } from '@teambit/logger';
5
5
  // @ts-ignore
6
6
  import { pipeline } from 'stream/promises';
@@ -1,5 +1,5 @@
1
1
  import { Route, Verb, Request, Response } from '@teambit/express';
2
- import { ObjectList } from '@teambit/legacy/dist/scope/objects/object-list';
2
+ import { ObjectList } from '@teambit/scope.objects';
3
3
  import { put } from '@teambit/legacy.scope-api';
4
4
  import { OnPostPutSlot, ScopeMain } from '../scope.main.runtime';
5
5
 
@@ -1,5 +1,5 @@
1
- import { loadScope, Scope } from '@teambit/legacy/dist/scope';
2
- import { getScopeRemotes } from '@teambit/legacy/dist/scope/scope-remotes';
1
+ import { loadScope, Scope } from '@teambit/legacy.scope';
2
+ import { getScopeRemotes } from '@teambit/scope.remotes';
3
3
 
4
4
  export async function runAction(actionName: string, remote: string, options = {}): Promise<any> {
5
5
  const scope: Scope = await loadScope();