@teambit/scope 1.0.330 → 1.0.331

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.
@@ -1,7 +1,7 @@
1
1
  import { BitError } from '@teambit/bit-error';
2
2
  import { loadScope, Scope } from '@teambit/legacy/dist/scope';
3
3
 
4
- export async function catLane(name: string) {
4
+ export async function catLane(name: string): Promise<Record<string, any>> {
5
5
  const scope: Scope = await loadScope();
6
6
  const laneId = await scope.lanes.parseLaneIdFromString(name);
7
7
  const lane = await scope.loadLane(laneId);
@@ -1,17 +1 @@
1
- export declare function catLane(name: string): Promise<import("lodash").Dictionary<string | boolean | string[] | import("@teambit/legacy/dist/scope/models/lane").Log | {
2
- scope: string;
3
- name: string;
4
- } | {
5
- isDeleted?: true | undefined;
6
- id: {
7
- scope: string;
8
- name: string;
9
- };
10
- head: string;
11
- }[] | {
12
- id: {
13
- scope: string;
14
- name: string;
15
- };
16
- head: string | null;
17
- } | undefined>>;
1
+ export declare function catLane(name: string): Promise<Record<string, any>>;
@@ -1 +1 @@
1
- {"version":3,"names":["_bitError","data","require","_scope","catLane","name","scope","loadScope","laneId","lanes","parseLaneIdFromString","lane","loadLane","BitError","obj","toObject","hash","toString"],"sources":["cat-lane.ts"],"sourcesContent":["import { BitError } from '@teambit/bit-error';\nimport { loadScope, Scope } from '@teambit/legacy/dist/scope';\n\nexport async function catLane(name: string) {\n const scope: Scope = await loadScope();\n const laneId = await scope.lanes.parseLaneIdFromString(name);\n const lane = await scope.loadLane(laneId);\n if (!lane) throw new BitError(`lane ${name} was not found!`);\n const obj = lane.toObject();\n obj.hash = lane.hash().toString();\n return obj;\n}\n"],"mappings":";;;;;;AAAA,SAAAA,UAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,SAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,OAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,MAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEO,eAAeG,OAAOA,CAACC,IAAY,EAAE;EAC1C,MAAMC,KAAY,GAAG,MAAM,IAAAC,kBAAS,EAAC,CAAC;EACtC,MAAMC,MAAM,GAAG,MAAMF,KAAK,CAACG,KAAK,CAACC,qBAAqB,CAACL,IAAI,CAAC;EAC5D,MAAMM,IAAI,GAAG,MAAML,KAAK,CAACM,QAAQ,CAACJ,MAAM,CAAC;EACzC,IAAI,CAACG,IAAI,EAAE,MAAM,KAAIE,oBAAQ,EAAC,QAAQR,IAAI,iBAAiB,CAAC;EAC5D,MAAMS,GAAG,GAAGH,IAAI,CAACI,QAAQ,CAAC,CAAC;EAC3BD,GAAG,CAACE,IAAI,GAAGL,IAAI,CAACK,IAAI,CAAC,CAAC,CAACC,QAAQ,CAAC,CAAC;EACjC,OAAOH,GAAG;AACZ","ignoreList":[]}
1
+ {"version":3,"names":["_bitError","data","require","_scope","catLane","name","scope","loadScope","laneId","lanes","parseLaneIdFromString","lane","loadLane","BitError","obj","toObject","hash","toString"],"sources":["cat-lane.ts"],"sourcesContent":["import { BitError } from '@teambit/bit-error';\nimport { loadScope, Scope } from '@teambit/legacy/dist/scope';\n\nexport async function catLane(name: string): Promise<Record<string, any>> {\n const scope: Scope = await loadScope();\n const laneId = await scope.lanes.parseLaneIdFromString(name);\n const lane = await scope.loadLane(laneId);\n if (!lane) throw new BitError(`lane ${name} was not found!`);\n const obj = lane.toObject();\n obj.hash = lane.hash().toString();\n return obj;\n}\n"],"mappings":";;;;;;AAAA,SAAAA,UAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,SAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,OAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,MAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEO,eAAeG,OAAOA,CAACC,IAAY,EAAgC;EACxE,MAAMC,KAAY,GAAG,MAAM,IAAAC,kBAAS,EAAC,CAAC;EACtC,MAAMC,MAAM,GAAG,MAAMF,KAAK,CAACG,KAAK,CAACC,qBAAqB,CAACL,IAAI,CAAC;EAC5D,MAAMM,IAAI,GAAG,MAAML,KAAK,CAACM,QAAQ,CAACJ,MAAM,CAAC;EACzC,IAAI,CAACG,IAAI,EAAE,MAAM,KAAIE,oBAAQ,EAAC,QAAQR,IAAI,iBAAiB,CAAC;EAC5D,MAAMS,GAAG,GAAGH,IAAI,CAACI,QAAQ,CAAC,CAAC;EAC3BD,GAAG,CAACE,IAAI,GAAGL,IAAI,CAACK,IAAI,CAAC,CAAC,CAACC,QAAQ,CAAC,CAAC;EACjC,OAAOH,GAAG;AACZ","ignoreList":[]}
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.scope_scope@1.0.330/dist/scope.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.scope_scope@1.0.330/dist/scope.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.scope_scope@1.0.331/dist/scope.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.scope_scope@1.0.331/dist/scope.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/scope",
3
- "version": "1.0.330",
3
+ "version": "1.0.331",
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.330"
9
+ "version": "1.0.331"
10
10
  },
11
11
  "dependencies": {
12
12
  "fs-extra": "10.0.0",
@@ -49,44 +49,44 @@
49
49
  "@teambit/scopes.scope-id": "0.0.7",
50
50
  "@teambit/explorer.ui.component-card": "0.0.30",
51
51
  "@teambit/component.modules.component-url": "0.0.167",
52
- "@teambit/scope.models.scope-model": "0.0.510",
53
- "@teambit/scope.ui.hooks.scope-context": "0.0.504",
54
- "@teambit/aspect-loader": "1.0.330",
55
- "@teambit/cli": "0.0.907",
56
- "@teambit/compiler": "1.0.330",
57
- "@teambit/component": "1.0.330",
58
- "@teambit/dependency-resolver": "1.0.330",
59
- "@teambit/envs": "1.0.330",
60
- "@teambit/global-config": "0.0.910",
52
+ "@teambit/scope.models.scope-model": "0.0.511",
53
+ "@teambit/scope.ui.hooks.scope-context": "0.0.505",
54
+ "@teambit/aspect-loader": "1.0.331",
55
+ "@teambit/cli": "0.0.908",
56
+ "@teambit/compiler": "1.0.331",
57
+ "@teambit/component": "1.0.331",
58
+ "@teambit/dependency-resolver": "1.0.331",
59
+ "@teambit/envs": "1.0.331",
60
+ "@teambit/global-config": "0.0.911",
61
61
  "@teambit/harmony.modules.requireable-component": "0.0.497",
62
- "@teambit/isolator": "1.0.330",
63
- "@teambit/logger": "0.0.1000",
62
+ "@teambit/isolator": "1.0.331",
63
+ "@teambit/logger": "0.0.1001",
64
64
  "@teambit/harmony.modules.in-memory-cache": "0.0.1",
65
65
  "@teambit/bit.get-bit-version": "0.0.1",
66
66
  "@teambit/legacy-component-log": "0.0.403",
67
- "@teambit/legacy.scope-api": "0.0.3",
68
- "@teambit/builder": "1.0.330",
69
- "@teambit/express": "0.0.1006",
70
- "@teambit/graph": "1.0.330",
71
- "@teambit/graphql": "1.0.330",
72
- "@teambit/ui": "1.0.330",
67
+ "@teambit/legacy.scope-api": "0.0.4",
68
+ "@teambit/builder": "1.0.331",
69
+ "@teambit/express": "0.0.1007",
70
+ "@teambit/graph": "1.0.331",
71
+ "@teambit/graphql": "1.0.331",
72
+ "@teambit/ui": "1.0.331",
73
73
  "@teambit/workspace.modules.match-pattern": "0.0.505",
74
- "@teambit/component.ui.component-drawer": "0.0.401",
75
- "@teambit/lanes.hooks.use-lane-components": "0.0.264",
74
+ "@teambit/component.ui.component-drawer": "0.0.402",
75
+ "@teambit/lanes.hooks.use-lane-components": "0.0.265",
76
76
  "@teambit/lanes.hooks.use-lanes": "0.0.264",
77
77
  "@teambit/lanes.ui.models.lanes-model": "0.0.216",
78
- "@teambit/command-bar": "1.0.330",
79
- "@teambit/component-tree": "1.0.330",
78
+ "@teambit/command-bar": "1.0.331",
79
+ "@teambit/component-tree": "1.0.331",
80
80
  "@teambit/component.ui.component-filters.component-filter-context": "0.0.222",
81
81
  "@teambit/component.ui.component-filters.deprecate-filter": "0.0.220",
82
82
  "@teambit/component.ui.component-filters.env-filter": "0.0.230",
83
83
  "@teambit/component.ui.component-filters.show-main-filter": "0.0.213",
84
- "@teambit/sidebar": "1.0.330",
84
+ "@teambit/sidebar": "1.0.331",
85
85
  "@teambit/ui-foundation.ui.react-router.slot-router": "0.0.509",
86
86
  "@teambit/ui-foundation.ui.buttons.collapser": "0.0.222",
87
- "@teambit/component-descriptor": "0.0.421",
87
+ "@teambit/component-descriptor": "0.0.422",
88
88
  "@teambit/design.ui.tooltip": "0.0.369",
89
- "@teambit/preview.ui.preview-placeholder": "0.0.521"
89
+ "@teambit/preview.ui.preview-placeholder": "0.0.522"
90
90
  },
91
91
  "devDependencies": {
92
92
  "@types/fs-extra": "9.0.7",
@@ -97,7 +97,7 @@
97
97
  "@types/mocha": "9.1.0",
98
98
  "chai": "4.3.0",
99
99
  "@teambit/scope.content.scope-overview": "1.95.0",
100
- "@teambit/harmony.envs.core-aspect-env": "0.0.39"
100
+ "@teambit/harmony.envs.core-aspect-env": "0.0.42"
101
101
  },
102
102
  "peerDependencies": {
103
103
  "react": "^17.0.0 || ^18.0.0",