@teambit/workspace 1.0.309 → 1.0.311
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 +223 -113
- package/dist/{preview-1718767379753.js → preview-1719137078208.js} +2 -2
- package/dist/ui/workspace/use-workspace.d.ts +2 -2
- package/dist/ui/workspace/workspace-context.d.ts +0 -1
- package/dist/ui/workspace/workspace.d.ts +0 -1
- package/dist/workspace.ui.runtime.js +1 -0
- package/dist/workspace.ui.runtime.js.map +1 -1
- package/package.json +23 -23
- package/workspace.ui.runtime.tsx +2 -0
package/artifacts/schema.json
CHANGED
|
@@ -36,7 +36,8 @@
|
|
|
36
36
|
"character": 1
|
|
37
37
|
},
|
|
38
38
|
"raw": "/**\n * API of the Bit Workspace\n */",
|
|
39
|
-
"comment": "API of the Bit Workspace"
|
|
39
|
+
"comment": "API of the Bit Workspace",
|
|
40
|
+
"tags": []
|
|
40
41
|
},
|
|
41
42
|
"signature": "class Workspace",
|
|
42
43
|
"name": "Workspace",
|
|
@@ -163,7 +164,8 @@
|
|
|
163
164
|
"character": 3
|
|
164
165
|
},
|
|
165
166
|
"raw": "/**\n * Indicate that we are now running installation process\n * This is important to know to ignore missing modules across different places\n */",
|
|
166
|
-
"comment": "Indicate that we are now running installation process\nThis is important to know to ignore missing modules across different places"
|
|
167
|
+
"comment": "Indicate that we are now running installation process\nThis is important to know to ignore missing modules across different places",
|
|
168
|
+
"tags": []
|
|
167
169
|
},
|
|
168
170
|
"signature": "(property) Workspace.inInstallContext: boolean",
|
|
169
171
|
"name": "inInstallContext",
|
|
@@ -1276,7 +1278,8 @@
|
|
|
1276
1278
|
"character": 3
|
|
1277
1279
|
},
|
|
1278
1280
|
"raw": "/**\n * get Component issues\n */",
|
|
1279
|
-
"comment": "get Component issues"
|
|
1281
|
+
"comment": "get Component issues",
|
|
1282
|
+
"tags": []
|
|
1280
1283
|
},
|
|
1281
1284
|
"signature": "(method) Workspace.getComponentIssues(component: Component): IssuesList | null",
|
|
1282
1285
|
"name": "getComponentIssues",
|
|
@@ -1356,7 +1359,8 @@
|
|
|
1356
1359
|
"character": 3
|
|
1357
1360
|
},
|
|
1358
1361
|
"raw": "/**\n * provides status of all components in the workspace.\n */",
|
|
1359
|
-
"comment": "provides status of all components in the workspace."
|
|
1362
|
+
"comment": "provides status of all components in the workspace.",
|
|
1363
|
+
"tags": []
|
|
1360
1364
|
},
|
|
1361
1365
|
"signature": "(method) Workspace.getComponentStatus(component: Component): Promise<ComponentStatus>",
|
|
1362
1366
|
"name": "getComponentStatus",
|
|
@@ -1425,7 +1429,8 @@
|
|
|
1425
1429
|
"character": 3
|
|
1426
1430
|
},
|
|
1427
1431
|
"raw": "/**\n * list all workspace components.\n */",
|
|
1428
|
-
"comment": "list all workspace components."
|
|
1432
|
+
"comment": "list all workspace components.",
|
|
1433
|
+
"tags": []
|
|
1429
1434
|
},
|
|
1430
1435
|
"signature": "(method) Workspace.list(filter?: {\n offset: number;\n limit: number;\n}, loadOpts?: ComponentLoadOptions): Promise<Component[]>",
|
|
1431
1436
|
"name": "list",
|
|
@@ -1609,7 +1614,8 @@
|
|
|
1609
1614
|
"character": 3
|
|
1610
1615
|
},
|
|
1611
1616
|
"raw": "/**\n * list all invalid components.\n * (see the invalid criteria in ConsumerComponent.isComponentInvalidByErrorType())\n */",
|
|
1612
|
-
"comment": "list all invalid components.\n(see the invalid criteria in ConsumerComponent.isComponentInvalidByErrorType())"
|
|
1617
|
+
"comment": "list all invalid components.\n(see the invalid criteria in ConsumerComponent.isComponentInvalidByErrorType())",
|
|
1618
|
+
"tags": []
|
|
1613
1619
|
},
|
|
1614
1620
|
"signature": "(method) Workspace.listInvalid(): Promise<InvalidComponent[]>",
|
|
1615
1621
|
"name": "listInvalid",
|
|
@@ -1665,7 +1671,8 @@
|
|
|
1665
1671
|
"character": 3
|
|
1666
1672
|
},
|
|
1667
1673
|
"raw": "/**\n * get ids of all workspace components.\n */",
|
|
1668
|
-
"comment": "get ids of all workspace components."
|
|
1674
|
+
"comment": "get ids of all workspace components.",
|
|
1675
|
+
"tags": []
|
|
1669
1676
|
},
|
|
1670
1677
|
"signature": "(method) Workspace.listIds(): ComponentIdList",
|
|
1671
1678
|
"name": "listIds",
|
|
@@ -1796,7 +1803,8 @@
|
|
|
1796
1803
|
"character": 3
|
|
1797
1804
|
},
|
|
1798
1805
|
"raw": "/**\n * given component-ids, return the ones that are part of the workspace\n */",
|
|
1799
|
-
"comment": "given component-ids, return the ones that are part of the workspace"
|
|
1806
|
+
"comment": "given component-ids, return the ones that are part of the workspace",
|
|
1807
|
+
"tags": []
|
|
1800
1808
|
},
|
|
1801
1809
|
"signature": "(method) Workspace.filterIds(ids: ComponentID[]): Promise<ComponentID[]>",
|
|
1802
1810
|
"name": "filterIds",
|
|
@@ -1887,7 +1895,8 @@
|
|
|
1887
1895
|
"character": 3
|
|
1888
1896
|
},
|
|
1889
1897
|
"raw": "/**\n * whether or not a workspace has a component with the given name\n */",
|
|
1890
|
-
"comment": "whether or not a workspace has a component with the given name"
|
|
1898
|
+
"comment": "whether or not a workspace has a component with the given name",
|
|
1899
|
+
"tags": []
|
|
1891
1900
|
},
|
|
1892
1901
|
"signature": "(method) Workspace.hasName(name: string): Promise<boolean>",
|
|
1893
1902
|
"name": "hasName",
|
|
@@ -2055,7 +2064,8 @@
|
|
|
2055
2064
|
"character": 3
|
|
2056
2065
|
},
|
|
2057
2066
|
"raw": "/**\n * list all modified components in the workspace.\n */",
|
|
2058
|
-
"comment": "list all modified components in the workspace."
|
|
2067
|
+
"comment": "list all modified components in the workspace.",
|
|
2068
|
+
"tags": []
|
|
2059
2069
|
},
|
|
2060
2070
|
"signature": "(method) Workspace.modified(loadOpts?: ComponentLoadOptions): Promise<Component[]>",
|
|
2061
2071
|
"name": "modified",
|
|
@@ -2133,7 +2143,8 @@
|
|
|
2133
2143
|
"character": 3
|
|
2134
2144
|
},
|
|
2135
2145
|
"raw": "/**\n * list all new components in the workspace.\n */",
|
|
2136
|
-
"comment": "list all new components in the workspace."
|
|
2146
|
+
"comment": "list all new components in the workspace.",
|
|
2147
|
+
"tags": []
|
|
2137
2148
|
},
|
|
2138
2149
|
"signature": "(method) Workspace.newComponents(): Promise<Component[]>",
|
|
2139
2150
|
"name": "newComponents",
|
|
@@ -2307,6 +2318,7 @@
|
|
|
2307
2318
|
"character": 3
|
|
2308
2319
|
},
|
|
2309
2320
|
"raw": "/**\n * @deprecated use `listIds()` instead.\n * get all workspace component-ids\n */",
|
|
2321
|
+
"comment": "",
|
|
2310
2322
|
"tags": [
|
|
2311
2323
|
{
|
|
2312
2324
|
"__schema": "TagSchema",
|
|
@@ -2409,7 +2421,8 @@
|
|
|
2409
2421
|
"character": 3
|
|
2410
2422
|
},
|
|
2411
2423
|
"raw": "/**\n * list all components that can be tagged. (e.g. when tagging/snapping with --unmodified).\n * which are all components in the workspace, include locally deleted components.\n */",
|
|
2412
|
-
"comment": "list all components that can be tagged. (e.g. when tagging/snapping with --unmodified).\nwhich are all components in the workspace, include locally deleted components."
|
|
2424
|
+
"comment": "list all components that can be tagged. (e.g. when tagging/snapping with --unmodified).\nwhich are all components in the workspace, include locally deleted components.",
|
|
2425
|
+
"tags": []
|
|
2413
2426
|
},
|
|
2414
2427
|
"signature": "(method) Workspace.listPotentialTagIds(): Promise<ComponentID[]>",
|
|
2415
2428
|
"name": "listPotentialTagIds",
|
|
@@ -3025,7 +3038,8 @@
|
|
|
3025
3038
|
"character": 3
|
|
3026
3039
|
},
|
|
3027
3040
|
"raw": "/**\n * given component ids, find their dependents in the workspace\n */",
|
|
3028
|
-
"comment": "given component ids, find their dependents in the workspace"
|
|
3041
|
+
"comment": "given component ids, find their dependents in the workspace",
|
|
3042
|
+
"tags": []
|
|
3029
3043
|
},
|
|
3030
3044
|
"signature": "(method) Workspace.getDependentsIds(ids: ComponentID[], filterOutNowWorkspaceIds?: boolean): Promise<ComponentID[]>",
|
|
3031
3045
|
"name": "getDependentsIds",
|
|
@@ -3183,7 +3197,8 @@
|
|
|
3183
3197
|
"character": 3
|
|
3184
3198
|
},
|
|
3185
3199
|
"raw": "/**\n * this is not the complete legacy component (ConsumerComponent), it's missing dependencies and hooks from Harmony\n * are skipped. do not trust the data you get from this method unless you know what you're doing.\n */",
|
|
3186
|
-
"comment": "this is not the complete legacy component (ConsumerComponent), it's missing dependencies and hooks from Harmony\nare skipped. do not trust the data you get from this method unless you know what you're doing."
|
|
3200
|
+
"comment": "this is not the complete legacy component (ConsumerComponent), it's missing dependencies and hooks from Harmony\nare skipped. do not trust the data you get from this method unless you know what you're doing.",
|
|
3201
|
+
"tags": []
|
|
3187
3202
|
},
|
|
3188
3203
|
"signature": "(method) Workspace.getLegacyMinimal(id: ComponentID): Promise<ConsumerComponent | undefined>",
|
|
3189
3204
|
"name": "getLegacyMinimal",
|
|
@@ -3569,7 +3584,8 @@
|
|
|
3569
3584
|
"character": 3
|
|
3570
3585
|
},
|
|
3571
3586
|
"raw": "/**\n * clears workspace, scope and all components caches.\n * doesn't clear the dependencies-data from the filesystem-cache.\n */",
|
|
3572
|
-
"comment": "clears workspace, scope and all components caches.\ndoesn't clear the dependencies-data from the filesystem-cache."
|
|
3587
|
+
"comment": "clears workspace, scope and all components caches.\ndoesn't clear the dependencies-data from the filesystem-cache.",
|
|
3588
|
+
"tags": []
|
|
3573
3589
|
},
|
|
3574
3590
|
"signature": "(method) Workspace.clearCache(options?: ClearCacheOptions): Promise<void>",
|
|
3575
3591
|
"name": "clearCache",
|
|
@@ -3625,7 +3641,8 @@
|
|
|
3625
3641
|
"character": 3
|
|
3626
3642
|
},
|
|
3627
3643
|
"raw": "/**\n * clear the cache of all components in the workspace.\n * doesn't clear the dependencies-data from the filesystem-cache.\n */",
|
|
3628
|
-
"comment": "clear the cache of all components in the workspace.\ndoesn't clear the dependencies-data from the filesystem-cache."
|
|
3644
|
+
"comment": "clear the cache of all components in the workspace.\ndoesn't clear the dependencies-data from the filesystem-cache.",
|
|
3645
|
+
"tags": []
|
|
3629
3646
|
},
|
|
3630
3647
|
"signature": "(method) Workspace.clearAllComponentsCache(): void",
|
|
3631
3648
|
"name": "clearAllComponentsCache",
|
|
@@ -4152,7 +4169,8 @@
|
|
|
4152
4169
|
"character": 3
|
|
4153
4170
|
},
|
|
4154
4171
|
"raw": "/**\n * the purpose is mostly to reload the workspace config when it changes, so entries like \"defaultScope\" are updated.\n * it also updates the DependencyResolver config. I couldn't find a good way to update all aspects in workspace.jsonc.\n */",
|
|
4155
|
-
"comment": "the purpose is mostly to reload the workspace config when it changes, so entries like \"defaultScope\" are updated.\nit also updates the DependencyResolver config. I couldn't find a good way to update all aspects in workspace.jsonc."
|
|
4172
|
+
"comment": "the purpose is mostly to reload the workspace config when it changes, so entries like \"defaultScope\" are updated.\nit also updates the DependencyResolver config. I couldn't find a good way to update all aspects in workspace.jsonc.",
|
|
4173
|
+
"tags": []
|
|
4156
4174
|
},
|
|
4157
4175
|
"signature": "(method) Workspace.triggerOnWorkspaceConfigChange(): Promise<void>",
|
|
4158
4176
|
"name": "triggerOnWorkspaceConfigChange",
|
|
@@ -4452,7 +4470,8 @@
|
|
|
4452
4470
|
"character": 3
|
|
4453
4471
|
},
|
|
4454
4472
|
"raw": "/**\n * if checked out to a lane and the lane exists in the remote,\n * return the remote lane. otherwise, return null.\n */",
|
|
4455
|
-
"comment": "if checked out to a lane and the lane exists in the remote,\nreturn the remote lane. otherwise, return null."
|
|
4473
|
+
"comment": "if checked out to a lane and the lane exists in the remote,\nreturn the remote lane. otherwise, return null.",
|
|
4474
|
+
"tags": []
|
|
4456
4475
|
},
|
|
4457
4476
|
"signature": "(method) Workspace.getCurrentRemoteLane(): Promise<Lane | null>",
|
|
4458
4477
|
"name": "getCurrentRemoteLane",
|
|
@@ -4920,6 +4939,7 @@
|
|
|
4920
4939
|
"character": 3
|
|
4921
4940
|
},
|
|
4922
4941
|
"raw": "/**\n * @deprecated use `this.idsByPattern` instead for consistency. also, it supports negation and list of patterns.\n *\n * load components into the workspace through a variants pattern.\n * @param pattern variants.\n * @param scope scope name.\n */",
|
|
4942
|
+
"comment": "",
|
|
4923
4943
|
"tags": [
|
|
4924
4944
|
{
|
|
4925
4945
|
"__schema": "TagSchema",
|
|
@@ -5143,7 +5163,8 @@
|
|
|
5143
5163
|
"character": 3
|
|
5144
5164
|
},
|
|
5145
5165
|
"raw": "/**\n * get component-ids matching the given pattern. a pattern can have multiple patterns separated by a comma.\n * it supports negate (!) character to exclude ids.\n */",
|
|
5146
|
-
"comment": "get component-ids matching the given pattern. a pattern can have multiple patterns separated by a comma.\nit supports negate (!) character to exclude ids."
|
|
5166
|
+
"comment": "get component-ids matching the given pattern. a pattern can have multiple patterns separated by a comma.\nit supports negate (!) character to exclude ids.",
|
|
5167
|
+
"tags": []
|
|
5147
5168
|
},
|
|
5148
5169
|
"signature": "(method) Workspace.idsByPattern(pattern: string, throwForNoMatch?: boolean, opts?: {\n includeDeleted?: boolean;\n}): Promise<ComponentID[]>",
|
|
5149
5170
|
"name": "idsByPattern",
|
|
@@ -5382,7 +5403,8 @@
|
|
|
5382
5403
|
"character": 3
|
|
5383
5404
|
},
|
|
5384
5405
|
"raw": "/**\n * useful for workspace commands, such as `bit build`, `bit compile`.\n * by default, it should be running on new and modified components.\n * a user can specify `--all` to run on all components or specify a pattern to limit to specific components.\n * some commands such as build/test needs to run also on the dependents.\n */",
|
|
5385
|
-
"comment": "useful for workspace commands, such as `bit build`, `bit compile`.\nby default, it should be running on new and modified components.\na user can specify `--all` to run on all components or specify a pattern to limit to specific components.\nsome commands such as build/test needs to run also on the dependents."
|
|
5406
|
+
"comment": "useful for workspace commands, such as `bit build`, `bit compile`.\nby default, it should be running on new and modified components.\na user can specify `--all` to run on all components or specify a pattern to limit to specific components.\nsome commands such as build/test needs to run also on the dependents.",
|
|
5407
|
+
"tags": []
|
|
5386
5408
|
},
|
|
5387
5409
|
"signature": "(method) Workspace.getComponentsByUserInput(all?: boolean, pattern?: string, includeDependents?: boolean): Promise<Component[]>",
|
|
5388
5410
|
"name": "getComponentsByUserInput",
|
|
@@ -5829,7 +5851,8 @@
|
|
|
5829
5851
|
"character": 3
|
|
5830
5852
|
},
|
|
5831
5853
|
"raw": "/**\n * don't throw an error if the component was not found, simply return undefined.\n */",
|
|
5832
|
-
"comment": "don't throw an error if the component was not found, simply return undefined."
|
|
5854
|
+
"comment": "don't throw an error if the component was not found, simply return undefined.",
|
|
5855
|
+
"tags": []
|
|
5833
5856
|
},
|
|
5834
5857
|
"signature": "(method) Workspace.getIfExist(componentId: ComponentID): Promise<Component | undefined>",
|
|
5835
5858
|
"name": "getIfExist",
|
|
@@ -5922,7 +5945,8 @@
|
|
|
5922
5945
|
"character": 3
|
|
5923
5946
|
},
|
|
5924
5947
|
"raw": "/**\n * whether a component exists in the workspace\n */",
|
|
5925
|
-
"comment": "whether a component exists in the workspace"
|
|
5948
|
+
"comment": "whether a component exists in the workspace",
|
|
5949
|
+
"tags": []
|
|
5926
5950
|
},
|
|
5927
5951
|
"signature": "(method) Workspace.exists(componentId: ComponentID, opts?: {\n includeDeleted?: boolean;\n}): boolean",
|
|
5928
5952
|
"name": "exists",
|
|
@@ -6574,6 +6598,7 @@
|
|
|
6574
6598
|
"character": 3
|
|
6575
6599
|
},
|
|
6576
6600
|
"raw": "/**\n * @todo: the return path here is Linux when asking for relative and os-based when asking for absolute. fix this to be consistent.\n *\n * Get the component root dir in the file system (relative to workspace or full)\n * @param componentId\n * @param relative return the path relative to the workspace or full path\n */",
|
|
6601
|
+
"comment": "",
|
|
6577
6602
|
"tags": [
|
|
6578
6603
|
{
|
|
6579
6604
|
"__schema": "TagSchema",
|
|
@@ -7078,7 +7103,8 @@
|
|
|
7078
7103
|
"character": 3
|
|
7079
7104
|
},
|
|
7080
7105
|
"raw": "/**\n * Calculate the component config based on:\n * the config property in the .bitmap file\n * the component.json file in the component folder\n * matching pattern in the variants config\n * defaults extensions from workspace config\n * extensions from the model.\n */",
|
|
7081
|
-
"comment": "Calculate the component config based on:\nthe config property in the .bitmap file\nthe component.json file in the component folder\nmatching pattern in the variants config\ndefaults extensions from workspace config\nextensions from the model."
|
|
7106
|
+
"comment": "Calculate the component config based on:\nthe config property in the .bitmap file\nthe component.json file in the component folder\nmatching pattern in the variants config\ndefaults extensions from workspace config\nextensions from the model.",
|
|
7107
|
+
"tags": []
|
|
7082
7108
|
},
|
|
7083
7109
|
"signature": "(method) Workspace.componentExtensions(componentId: ComponentID, componentFromScope?: Component, excludeOrigins?: ExtensionsOrigin[], opts?: ComponentExtensionsOpts): Promise<{\n extensions: ExtensionDataList;\n beforeMerge: Array<{\n extensions: ExtensionDataList;\n origin: ExtensionsOrigin;\n extraData: any;\n }>;\n errors?: Error[];\n}>",
|
|
7084
7110
|
"name": "componentExtensions",
|
|
@@ -7539,6 +7565,7 @@
|
|
|
7539
7565
|
"character": 3
|
|
7540
7566
|
},
|
|
7541
7567
|
"raw": "/**\n * @deprecated\n * the workspace.jsonc conflicts are not written to the config-merge file anymore.\n * see https://github.com/teambit/bit/pull/8393 for more details.\n */",
|
|
7568
|
+
"comment": "",
|
|
7542
7569
|
"tags": [
|
|
7543
7570
|
{
|
|
7544
7571
|
"__schema": "TagSchema",
|
|
@@ -8034,7 +8061,8 @@
|
|
|
8034
8061
|
"character": 3
|
|
8035
8062
|
},
|
|
8036
8063
|
"raw": "/**\n * filter the given component-ids and set default-scope only to the new ones.\n * returns the affected components.\n */",
|
|
8037
|
-
"comment": "filter the given component-ids and set default-scope only to the new ones.\nreturns the affected components."
|
|
8064
|
+
"comment": "filter the given component-ids and set default-scope only to the new ones.\nreturns the affected components.",
|
|
8065
|
+
"tags": []
|
|
8038
8066
|
},
|
|
8039
8067
|
"signature": "(method) Workspace.setDefaultScopeToComponents(componentIds: ComponentID[], scopeName: string): Promise<ComponentID[]>",
|
|
8040
8068
|
"name": "setDefaultScopeToComponents",
|
|
@@ -8145,6 +8173,7 @@
|
|
|
8145
8173
|
"character": 3
|
|
8146
8174
|
},
|
|
8147
8175
|
"raw": "/**\n * @param scopeName\n * @param includeComponents whether to update new components in the workspace to use the new default-scope\n * this is relevant only for new components that were using the previous default-scope\n */",
|
|
8176
|
+
"comment": "",
|
|
8148
8177
|
"tags": [
|
|
8149
8178
|
{
|
|
8150
8179
|
"__schema": "PropertyLikeTagSchema",
|
|
@@ -8374,7 +8403,8 @@
|
|
|
8374
8403
|
"character": 7
|
|
8375
8404
|
},
|
|
8376
8405
|
"raw": "/**\n * relevant only when writing to .bitmap.\n * eject config of the given aspect-id, so then it won't override previous config. (see \"adding prod dep, tagging then adding devDep\" e2e-test)\n */",
|
|
8377
|
-
"comment": "relevant only when writing to .bitmap.\neject config of the given aspect-id, so then it won't override previous config. (see \"adding prod dep, tagging then adding devDep\" e2e-test)"
|
|
8406
|
+
"comment": "relevant only when writing to .bitmap.\neject config of the given aspect-id, so then it won't override previous config. (see \"adding prod dep, tagging then adding devDep\" e2e-test)",
|
|
8407
|
+
"tags": []
|
|
8378
8408
|
},
|
|
8379
8409
|
"signature": "(property) shouldMergeWithPrevious?: boolean | undefined",
|
|
8380
8410
|
"name": "shouldMergeWithPrevious",
|
|
@@ -8429,7 +8459,8 @@
|
|
|
8429
8459
|
"character": 7
|
|
8430
8460
|
},
|
|
8431
8461
|
"raw": "/**\n * relevant only when writing to .bitmap.\n * eject config of the given aspect-id, so then it won't override previous config. (see \"adding prod dep, tagging then adding devDep\" e2e-test)\n */",
|
|
8432
|
-
"comment": "relevant only when writing to .bitmap.\neject config of the given aspect-id, so then it won't override previous config. (see \"adding prod dep, tagging then adding devDep\" e2e-test)"
|
|
8462
|
+
"comment": "relevant only when writing to .bitmap.\neject config of the given aspect-id, so then it won't override previous config. (see \"adding prod dep, tagging then adding devDep\" e2e-test)",
|
|
8463
|
+
"tags": []
|
|
8433
8464
|
},
|
|
8434
8465
|
"signature": "(property) shouldMergeWithPrevious?: boolean | undefined",
|
|
8435
8466
|
"name": "shouldMergeWithPrevious",
|
|
@@ -8868,6 +8899,7 @@
|
|
|
8868
8899
|
"character": 3
|
|
8869
8900
|
},
|
|
8870
8901
|
"raw": "/**\n * @param componentPath can be relative or absolute. supports Linux and Windows\n */",
|
|
8902
|
+
"comment": "",
|
|
8871
8903
|
"tags": [
|
|
8872
8904
|
{
|
|
8873
8905
|
"__schema": "PropertyLikeTagSchema",
|
|
@@ -8970,7 +9002,8 @@
|
|
|
8970
9002
|
"character": 3
|
|
8971
9003
|
},
|
|
8972
9004
|
"raw": "/**\n * load aspects from the workspace and if not exists in the workspace, load from the scope.\n * keep in mind that the graph may have circles.\n */",
|
|
8973
|
-
"comment": "load aspects from the workspace and if not exists in the workspace, load from the scope.\nkeep in mind that the graph may have circles."
|
|
9005
|
+
"comment": "load aspects from the workspace and if not exists in the workspace, load from the scope.\nkeep in mind that the graph may have circles.",
|
|
9006
|
+
"tags": []
|
|
8974
9007
|
},
|
|
8975
9008
|
"signature": "(method) Workspace.loadAspects(ids?: string[], throwOnError?: boolean, neededFor?: string, opts?: WorkspaceLoadAspectsOptions): Promise<string[]>",
|
|
8976
9009
|
"name": "loadAspects",
|
|
@@ -9218,7 +9251,8 @@
|
|
|
9218
9251
|
"character": 3
|
|
9219
9252
|
},
|
|
9220
9253
|
"raw": "/**\n * returns one graph that includes all dependencies types. each edge has a label of the dependency\n * type. the nodes content is the Component object.\n */",
|
|
9221
|
-
"comment": "returns one graph that includes all dependencies types. each edge has a label of the dependency\ntype. the nodes content is the Component object."
|
|
9254
|
+
"comment": "returns one graph that includes all dependencies types. each edge has a label of the dependency\ntype. the nodes content is the Component object.",
|
|
9255
|
+
"tags": []
|
|
9222
9256
|
},
|
|
9223
9257
|
"signature": "(method) Workspace.buildOneGraphForComponents(ids: ComponentID[], ignoreIds?: string[], shouldLoadFunc?: ShouldLoadFunc, shouldThrowOnMissingDep?: boolean): Promise<Graph<Component, string>>",
|
|
9224
9258
|
"name": "buildOneGraphForComponents",
|
|
@@ -9519,7 +9553,8 @@
|
|
|
9519
9553
|
"character": 3
|
|
9520
9554
|
},
|
|
9521
9555
|
"raw": "/**\n * Provides a cache folder, unique per key.\n * Return value may be undefined, if workspace folder is unconventional (bare-scope, no node_modules, etc)\n */",
|
|
9522
|
-
"comment": "Provides a cache folder, unique per key.\nReturn value may be undefined, if workspace folder is unconventional (bare-scope, no node_modules, etc)"
|
|
9556
|
+
"comment": "Provides a cache folder, unique per key.\nReturn value may be undefined, if workspace folder is unconventional (bare-scope, no node_modules, etc)",
|
|
9557
|
+
"tags": []
|
|
9523
9558
|
},
|
|
9524
9559
|
"signature": "(method) Workspace.getTempDir(id: string): string",
|
|
9525
9560
|
"name": "getTempDir",
|
|
@@ -9635,7 +9670,8 @@
|
|
|
9635
9670
|
"character": 3
|
|
9636
9671
|
},
|
|
9637
9672
|
"raw": "/**\n }\n\n /**\n * this should be rarely in-use.\n * it's currently used by watch extension as a quick workaround to load .bitmap and the components\n */",
|
|
9638
|
-
"comment": "}\n\n/**\n this should be rarely in-use.\n it's currently used by watch extension as a quick workaround to load .bitmap and the components"
|
|
9673
|
+
"comment": "}\n\n/**\n this should be rarely in-use.\n it's currently used by watch extension as a quick workaround to load .bitmap and the components",
|
|
9674
|
+
"tags": []
|
|
9639
9675
|
},
|
|
9640
9676
|
"signature": "(method) Workspace._reloadConsumer(): Promise<void>",
|
|
9641
9677
|
"name": "_reloadConsumer",
|
|
@@ -9814,7 +9850,8 @@
|
|
|
9814
9850
|
"character": 3
|
|
9815
9851
|
},
|
|
9816
9852
|
"raw": "/**\n * Transform the id to ComponentId and get the exact id as appear in bitmap\n */",
|
|
9817
|
-
"comment": "Transform the id to ComponentId and get the exact id as appear in bitmap"
|
|
9853
|
+
"comment": "Transform the id to ComponentId and get the exact id as appear in bitmap",
|
|
9854
|
+
"tags": []
|
|
9818
9855
|
},
|
|
9819
9856
|
"signature": "(method) Workspace.resolveComponentId(id: string | BitId | ComponentID): Promise<ComponentID>",
|
|
9820
9857
|
"name": "resolveComponentId",
|
|
@@ -10039,7 +10076,8 @@
|
|
|
10039
10076
|
"character": 3
|
|
10040
10077
|
},
|
|
10041
10078
|
"raw": "/**\n * component-id coming from Scope don't have the defaultScope, the legacyComponentId.scope is always populated.\n * in the .bitmap we need to distinguish between the two, so the componentId needs to be corrected with the defaultScope.\n */",
|
|
10042
|
-
"comment": "component-id coming from Scope don't have the defaultScope, the legacyComponentId.scope is always populated.\nin the .bitmap we need to distinguish between the two, so the componentId needs to be corrected with the defaultScope."
|
|
10079
|
+
"comment": "component-id coming from Scope don't have the defaultScope, the legacyComponentId.scope is always populated.\nin the .bitmap we need to distinguish between the two, so the componentId needs to be corrected with the defaultScope.",
|
|
10080
|
+
"tags": []
|
|
10043
10081
|
},
|
|
10044
10082
|
"signature": "(method) Workspace.resolveIdWithDefaultScope(componentId: ComponentID): ComponentID",
|
|
10045
10083
|
"name": "resolveIdWithDefaultScope",
|
|
@@ -10242,7 +10280,8 @@
|
|
|
10242
10280
|
"character": 3
|
|
10243
10281
|
},
|
|
10244
10282
|
"raw": "/**\n * configure an environment to the given components in the .bitmap file, this configuration overrides other, such as\n * overrides in workspace.jsonc.\n */",
|
|
10245
|
-
"comment": "configure an environment to the given components in the .bitmap file, this configuration overrides other, such as\noverrides in workspace.jsonc."
|
|
10283
|
+
"comment": "configure an environment to the given components in the .bitmap file, this configuration overrides other, such as\noverrides in workspace.jsonc.",
|
|
10284
|
+
"tags": []
|
|
10246
10285
|
},
|
|
10247
10286
|
"signature": "(method) Workspace.setEnvToComponents(envId: ComponentID, componentIds: ComponentID[]): Promise<void>",
|
|
10248
10287
|
"name": "setEnvToComponents",
|
|
@@ -10334,7 +10373,8 @@
|
|
|
10334
10373
|
"character": 3
|
|
10335
10374
|
},
|
|
10336
10375
|
"raw": "/**\n * helpful when a user provides an env-string to be set and this env has no version.\n * in the workspace config, a custom-env needs to be set with a version unless it's part of the workspace.\n * (inside envs/envs it's set without a version).\n */",
|
|
10337
|
-
"comment": "helpful when a user provides an env-string to be set and this env has no version.\nin the workspace config, a custom-env needs to be set with a version unless it's part of the workspace.\n(inside envs/envs it's set without a version)."
|
|
10376
|
+
"comment": "helpful when a user provides an env-string to be set and this env has no version.\nin the workspace config, a custom-env needs to be set with a version unless it's part of the workspace.\n(inside envs/envs it's set without a version).",
|
|
10377
|
+
"tags": []
|
|
10338
10378
|
},
|
|
10339
10379
|
"signature": "(method) Workspace.resolveEnvIdWithPotentialVersionForConfig(envId: ComponentID): Promise<string>",
|
|
10340
10380
|
"name": "resolveEnvIdWithPotentialVersionForConfig",
|
|
@@ -10404,7 +10444,8 @@
|
|
|
10404
10444
|
"character": 3
|
|
10405
10445
|
},
|
|
10406
10446
|
"raw": "/**\n * remove env configuration from the .bitmap file, so then other configuration, such as \"variants\" will take place\n */",
|
|
10407
|
-
"comment": "remove env configuration from the .bitmap file, so then other configuration, such as \"variants\" will take place"
|
|
10447
|
+
"comment": "remove env configuration from the .bitmap file, so then other configuration, such as \"variants\" will take place",
|
|
10448
|
+
"tags": []
|
|
10408
10449
|
},
|
|
10409
10450
|
"signature": "(method) Workspace.unsetEnvFromComponents(ids: ComponentID[]): Promise<{\n changed: ComponentID[];\n unchanged: ComponentID[];\n}>",
|
|
10410
10451
|
"name": "unsetEnvFromComponents",
|
|
@@ -11015,7 +11056,7 @@
|
|
|
11015
11056
|
"_legacy": {
|
|
11016
11057
|
"scope": "teambit.workspace",
|
|
11017
11058
|
"name": "workspace",
|
|
11018
|
-
"version": "1.0.
|
|
11059
|
+
"version": "1.0.311"
|
|
11019
11060
|
},
|
|
11020
11061
|
"_scope": "teambit.workspace"
|
|
11021
11062
|
}
|
|
@@ -11223,7 +11264,7 @@
|
|
|
11223
11264
|
"_legacy": {
|
|
11224
11265
|
"scope": "teambit.workspace",
|
|
11225
11266
|
"name": "workspace",
|
|
11226
|
-
"version": "1.0.
|
|
11267
|
+
"version": "1.0.311"
|
|
11227
11268
|
},
|
|
11228
11269
|
"_scope": "teambit.workspace"
|
|
11229
11270
|
}
|
|
@@ -11680,7 +11721,7 @@
|
|
|
11680
11721
|
"_legacy": {
|
|
11681
11722
|
"scope": "teambit.workspace",
|
|
11682
11723
|
"name": "workspace",
|
|
11683
|
-
"version": "1.0.
|
|
11724
|
+
"version": "1.0.311"
|
|
11684
11725
|
},
|
|
11685
11726
|
"_scope": "teambit.workspace"
|
|
11686
11727
|
}
|
|
@@ -11836,7 +11877,7 @@
|
|
|
11836
11877
|
"_legacy": {
|
|
11837
11878
|
"scope": "teambit.workspace",
|
|
11838
11879
|
"name": "workspace",
|
|
11839
|
-
"version": "1.0.
|
|
11880
|
+
"version": "1.0.311"
|
|
11840
11881
|
},
|
|
11841
11882
|
"_scope": "teambit.workspace"
|
|
11842
11883
|
}
|
|
@@ -11972,7 +12013,7 @@
|
|
|
11972
12013
|
"_legacy": {
|
|
11973
12014
|
"scope": "teambit.workspace",
|
|
11974
12015
|
"name": "workspace",
|
|
11975
|
-
"version": "1.0.
|
|
12016
|
+
"version": "1.0.311"
|
|
11976
12017
|
},
|
|
11977
12018
|
"_scope": "teambit.workspace"
|
|
11978
12019
|
}
|
|
@@ -12303,7 +12344,8 @@
|
|
|
12303
12344
|
"character": 3
|
|
12304
12345
|
},
|
|
12305
12346
|
"raw": "/**\n * register a route to the workspace.\n */",
|
|
12306
|
-
"comment": "register a route to the workspace."
|
|
12347
|
+
"comment": "register a route to the workspace.",
|
|
12348
|
+
"tags": []
|
|
12307
12349
|
},
|
|
12308
12350
|
"signature": "(method) WorkspaceUI.registerRoutes(routes: RouteProps[]): this",
|
|
12309
12351
|
"name": "registerRoutes",
|
|
@@ -12570,7 +12612,8 @@
|
|
|
12570
12612
|
"character": 3
|
|
12571
12613
|
},
|
|
12572
12614
|
"raw": "/**\n * register component filters\n */",
|
|
12573
|
-
"comment": "register component filters"
|
|
12615
|
+
"comment": "register component filters",
|
|
12616
|
+
"tags": []
|
|
12574
12617
|
},
|
|
12575
12618
|
"signature": "(property) WorkspaceUI.registerDrawerComponentFilters: (filters: ComponentFilters) => void",
|
|
12576
12619
|
"name": "registerDrawerComponentFilters",
|
|
@@ -13851,7 +13894,8 @@
|
|
|
13851
13894
|
"character": 3
|
|
13852
13895
|
},
|
|
13853
13896
|
"raw": "/**\n * return a component from the workspace.\n */",
|
|
13854
|
-
"comment": "return a component from the workspace."
|
|
13897
|
+
"comment": "return a component from the workspace.",
|
|
13898
|
+
"tags": []
|
|
13855
13899
|
},
|
|
13856
13900
|
"signature": "(method) Workspace.getComponent(id: ComponentID): ComponentModel | undefined",
|
|
13857
13901
|
"name": "getComponent",
|
|
@@ -14115,7 +14159,7 @@
|
|
|
14115
14159
|
"_legacy": {
|
|
14116
14160
|
"scope": "teambit.workspace",
|
|
14117
14161
|
"name": "workspace",
|
|
14118
|
-
"version": "1.0.
|
|
14162
|
+
"version": "1.0.311"
|
|
14119
14163
|
},
|
|
14120
14164
|
"_scope": "teambit.workspace"
|
|
14121
14165
|
}
|
|
@@ -14351,7 +14395,8 @@
|
|
|
14351
14395
|
"character": 3
|
|
14352
14396
|
},
|
|
14353
14397
|
"raw": "/**\n * get all issues reported on the component.\n */",
|
|
14354
|
-
"comment": "get all issues reported on the component."
|
|
14398
|
+
"comment": "get all issues reported on the component.",
|
|
14399
|
+
"tags": []
|
|
14355
14400
|
},
|
|
14356
14401
|
"signature": "(method) WorkspaceComponent.getIssues(): IssuesList | null",
|
|
14357
14402
|
"name": "getIssues",
|
|
@@ -14482,7 +14527,7 @@
|
|
|
14482
14527
|
"_legacy": {
|
|
14483
14528
|
"scope": "teambit.workspace",
|
|
14484
14529
|
"name": "workspace",
|
|
14485
|
-
"version": "1.0.
|
|
14530
|
+
"version": "1.0.311"
|
|
14486
14531
|
},
|
|
14487
14532
|
"_scope": "teambit.workspace"
|
|
14488
14533
|
}
|
|
@@ -15677,7 +15722,8 @@
|
|
|
15677
15722
|
"character": 3
|
|
15678
15723
|
},
|
|
15679
15724
|
"raw": "/**\n * name of the workspace.\n */",
|
|
15680
|
-
"comment": "name of the workspace."
|
|
15725
|
+
"comment": "name of the workspace.",
|
|
15726
|
+
"tags": []
|
|
15681
15727
|
},
|
|
15682
15728
|
"signature": "(property) WorkspaceExtConfig.name: string",
|
|
15683
15729
|
"name": "name",
|
|
@@ -15707,7 +15753,8 @@
|
|
|
15707
15753
|
"character": 3
|
|
15708
15754
|
},
|
|
15709
15755
|
"raw": "/**\n * path to icon.\n */",
|
|
15710
|
-
"comment": "path to icon."
|
|
15756
|
+
"comment": "path to icon.",
|
|
15757
|
+
"tags": []
|
|
15711
15758
|
},
|
|
15712
15759
|
"signature": "(property) WorkspaceExtConfig.icon: string",
|
|
15713
15760
|
"name": "icon",
|
|
@@ -15737,7 +15784,8 @@
|
|
|
15737
15784
|
"character": 3
|
|
15738
15785
|
},
|
|
15739
15786
|
"raw": "/**\n * set the default scope when there is no matching for the component in the components array.\n */",
|
|
15740
|
-
"comment": "set the default scope when there is no matching for the component in the components array."
|
|
15787
|
+
"comment": "set the default scope when there is no matching for the component in the components array.",
|
|
15788
|
+
"tags": []
|
|
15741
15789
|
},
|
|
15742
15790
|
"signature": "(property) WorkspaceExtConfig.defaultScope: string",
|
|
15743
15791
|
"name": "defaultScope",
|
|
@@ -15767,7 +15815,8 @@
|
|
|
15767
15815
|
"character": 3
|
|
15768
15816
|
},
|
|
15769
15817
|
"raw": "/**\n * set the default directory when there is no matching for the component in the components array.\n */",
|
|
15770
|
-
"comment": "set the default directory when there is no matching for the component in the components array."
|
|
15818
|
+
"comment": "set the default directory when there is no matching for the component in the components array.",
|
|
15819
|
+
"tags": []
|
|
15771
15820
|
},
|
|
15772
15821
|
"signature": "(property) WorkspaceExtConfig.defaultDirectory: string",
|
|
15773
15822
|
"name": "defaultDirectory",
|
|
@@ -15797,7 +15846,8 @@
|
|
|
15797
15846
|
"character": 3
|
|
15798
15847
|
},
|
|
15799
15848
|
"raw": "/**\n * set the default structure of components in your project\n */",
|
|
15800
|
-
"comment": "set the default structure of components in your project"
|
|
15849
|
+
"comment": "set the default structure of components in your project",
|
|
15850
|
+
"tags": []
|
|
15801
15851
|
},
|
|
15802
15852
|
"signature": "(property) WorkspaceExtConfig.vendor: VendorConfig",
|
|
15803
15853
|
"name": "vendor",
|
|
@@ -15828,7 +15878,8 @@
|
|
|
15828
15878
|
"character": 3
|
|
15829
15879
|
},
|
|
15830
15880
|
"raw": "/**\n * All component extensions applied by default on all components in the workspace (except vendor components)\n */",
|
|
15831
|
-
"comment": "All component extensions applied by default on all components in the workspace (except vendor components)"
|
|
15881
|
+
"comment": "All component extensions applied by default on all components in the workspace (except vendor components)",
|
|
15882
|
+
"tags": []
|
|
15832
15883
|
},
|
|
15833
15884
|
"signature": "(property) WorkspaceExtConfig.extensions: {\n [extensionsId: string]: string;\n}",
|
|
15834
15885
|
"name": "extensions",
|
|
@@ -15896,7 +15947,8 @@
|
|
|
15896
15947
|
"character": 3
|
|
15897
15948
|
},
|
|
15898
15949
|
"raw": "/**\n * If set to\n * `true`, it allows the workspace to resolve scope's aspects from node modules\n * installed in the workspace's `node_modules` directory. If not set or set to `false`, aspects will only be resolved\n * from the scope aspects capsule.\n */",
|
|
15899
|
-
"comment": "If set to\n`true`, it allows the workspace to resolve scope's aspects from node modules\ninstalled in the workspace's `node_modules` directory. If not set or set to `false`, aspects will only be resolved\nfrom the scope aspects capsule."
|
|
15950
|
+
"comment": "If set to\n`true`, it allows the workspace to resolve scope's aspects from node modules\ninstalled in the workspace's `node_modules` directory. If not set or set to `false`, aspects will only be resolved\nfrom the scope aspects capsule.",
|
|
15951
|
+
"tags": []
|
|
15900
15952
|
},
|
|
15901
15953
|
"signature": "(property) WorkspaceExtConfig.resolveAspectsFromNodeModules?: boolean | undefined",
|
|
15902
15954
|
"name": "resolveAspectsFromNodeModules",
|
|
@@ -15926,7 +15978,8 @@
|
|
|
15926
15978
|
"character": 3
|
|
15927
15979
|
},
|
|
15928
15980
|
"raw": "/**\n * If set to `true`, it allows the workspace to resolve envs from node modules\n * installed in the workspace's `node_modules` directory.\n * the envs will be resolved from the node_modules of the env's root (workspace/node_modules/.bit_roots/{envId})\n * and if not found (usually when the env was hoisted to the root node_modules) then from the node_modules of the\n * workspace.\n * If not set or set to `false`, envs will only be resolved from the scope envs capsule.\n */",
|
|
15929
|
-
"comment": "If set to `true`, it allows the workspace to resolve envs from node modules\ninstalled in the workspace's `node_modules` directory.\nthe envs will be resolved from the node_modules of the env's root (workspace/node_modules/.bit_roots/{envId})\nand if not found (usually when the env was hoisted to the root node_modules) then from the node_modules of the\nworkspace.\nIf not set or set to `false`, envs will only be resolved from the scope envs capsule."
|
|
15981
|
+
"comment": "If set to `true`, it allows the workspace to resolve envs from node modules\ninstalled in the workspace's `node_modules` directory.\nthe envs will be resolved from the node_modules of the env's root (workspace/node_modules/.bit_roots/{envId})\nand if not found (usually when the env was hoisted to the root node_modules) then from the node_modules of the\nworkspace.\nIf not set or set to `false`, envs will only be resolved from the scope envs capsule.",
|
|
15982
|
+
"tags": []
|
|
15930
15983
|
},
|
|
15931
15984
|
"signature": "(property) WorkspaceExtConfig.resolveEnvsFromRoots?: boolean | undefined",
|
|
15932
15985
|
"name": "resolveEnvsFromRoots",
|
|
@@ -15956,7 +16009,8 @@
|
|
|
15956
16009
|
"character": 3
|
|
15957
16010
|
},
|
|
15958
16011
|
"raw": "/**\n * If set to `true`, bit will try to load aspects dependencies automatically.\n * even if the aspects dependencies are not configured in the workspace.jsonc root config.\n * for example having the aspect\n * main aspect\n * export class MainAspectMain {\n * ...\n * static dependencies = [MyDepAspect];\n * }\n * and the in the workspace.jsonc file:\n * {\n * ...\n * main-aspect: {}\n * }\n * when set to true, bit will try to load MyDepAspect automatically.\n */",
|
|
15959
|
-
"comment": "If set to `true`, bit will try to load aspects dependencies automatically.\neven if the aspects dependencies are not configured in the workspace.jsonc root config.\nfor example having the aspect\nmain aspect\nexport class MainAspectMain {\n ...\n static dependencies = [MyDepAspect];\n}\nand the in the workspace.jsonc file:\n{\n ...\n main-aspect: {}\n}\nwhen set to true, bit will try to load MyDepAspect automatically."
|
|
16012
|
+
"comment": "If set to `true`, bit will try to load aspects dependencies automatically.\neven if the aspects dependencies are not configured in the workspace.jsonc root config.\nfor example having the aspect\nmain aspect\nexport class MainAspectMain {\n ...\n static dependencies = [MyDepAspect];\n}\nand the in the workspace.jsonc file:\n{\n ...\n main-aspect: {}\n}\nwhen set to true, bit will try to load MyDepAspect automatically.",
|
|
16013
|
+
"tags": []
|
|
15960
16014
|
},
|
|
15961
16015
|
"signature": "(property) WorkspaceExtConfig.autoLoadAspectsDeps?: boolean | undefined",
|
|
15962
16016
|
"name": "autoLoadAspectsDeps",
|
|
@@ -16387,7 +16441,8 @@
|
|
|
16387
16441
|
"character": 1
|
|
16388
16442
|
},
|
|
16389
16443
|
"raw": "/**\n * API of the Bit Workspace\n */",
|
|
16390
|
-
"comment": "API of the Bit Workspace"
|
|
16444
|
+
"comment": "API of the Bit Workspace",
|
|
16445
|
+
"tags": []
|
|
16391
16446
|
},
|
|
16392
16447
|
"signature": "class Workspace",
|
|
16393
16448
|
"name": "Workspace",
|
|
@@ -16514,7 +16569,8 @@
|
|
|
16514
16569
|
"character": 3
|
|
16515
16570
|
},
|
|
16516
16571
|
"raw": "/**\n * Indicate that we are now running installation process\n * This is important to know to ignore missing modules across different places\n */",
|
|
16517
|
-
"comment": "Indicate that we are now running installation process\nThis is important to know to ignore missing modules across different places"
|
|
16572
|
+
"comment": "Indicate that we are now running installation process\nThis is important to know to ignore missing modules across different places",
|
|
16573
|
+
"tags": []
|
|
16518
16574
|
},
|
|
16519
16575
|
"signature": "(property) Workspace.inInstallContext: boolean",
|
|
16520
16576
|
"name": "inInstallContext",
|
|
@@ -17627,7 +17683,8 @@
|
|
|
17627
17683
|
"character": 3
|
|
17628
17684
|
},
|
|
17629
17685
|
"raw": "/**\n * get Component issues\n */",
|
|
17630
|
-
"comment": "get Component issues"
|
|
17686
|
+
"comment": "get Component issues",
|
|
17687
|
+
"tags": []
|
|
17631
17688
|
},
|
|
17632
17689
|
"signature": "(method) Workspace.getComponentIssues(component: Component): IssuesList | null",
|
|
17633
17690
|
"name": "getComponentIssues",
|
|
@@ -17707,7 +17764,8 @@
|
|
|
17707
17764
|
"character": 3
|
|
17708
17765
|
},
|
|
17709
17766
|
"raw": "/**\n * provides status of all components in the workspace.\n */",
|
|
17710
|
-
"comment": "provides status of all components in the workspace."
|
|
17767
|
+
"comment": "provides status of all components in the workspace.",
|
|
17768
|
+
"tags": []
|
|
17711
17769
|
},
|
|
17712
17770
|
"signature": "(method) Workspace.getComponentStatus(component: Component): Promise<ComponentStatus>",
|
|
17713
17771
|
"name": "getComponentStatus",
|
|
@@ -17776,7 +17834,8 @@
|
|
|
17776
17834
|
"character": 3
|
|
17777
17835
|
},
|
|
17778
17836
|
"raw": "/**\n * list all workspace components.\n */",
|
|
17779
|
-
"comment": "list all workspace components."
|
|
17837
|
+
"comment": "list all workspace components.",
|
|
17838
|
+
"tags": []
|
|
17780
17839
|
},
|
|
17781
17840
|
"signature": "(method) Workspace.list(filter?: {\n offset: number;\n limit: number;\n}, loadOpts?: ComponentLoadOptions): Promise<Component[]>",
|
|
17782
17841
|
"name": "list",
|
|
@@ -17960,7 +18019,8 @@
|
|
|
17960
18019
|
"character": 3
|
|
17961
18020
|
},
|
|
17962
18021
|
"raw": "/**\n * list all invalid components.\n * (see the invalid criteria in ConsumerComponent.isComponentInvalidByErrorType())\n */",
|
|
17963
|
-
"comment": "list all invalid components.\n(see the invalid criteria in ConsumerComponent.isComponentInvalidByErrorType())"
|
|
18022
|
+
"comment": "list all invalid components.\n(see the invalid criteria in ConsumerComponent.isComponentInvalidByErrorType())",
|
|
18023
|
+
"tags": []
|
|
17964
18024
|
},
|
|
17965
18025
|
"signature": "(method) Workspace.listInvalid(): Promise<InvalidComponent[]>",
|
|
17966
18026
|
"name": "listInvalid",
|
|
@@ -18016,7 +18076,8 @@
|
|
|
18016
18076
|
"character": 3
|
|
18017
18077
|
},
|
|
18018
18078
|
"raw": "/**\n * get ids of all workspace components.\n */",
|
|
18019
|
-
"comment": "get ids of all workspace components."
|
|
18079
|
+
"comment": "get ids of all workspace components.",
|
|
18080
|
+
"tags": []
|
|
18020
18081
|
},
|
|
18021
18082
|
"signature": "(method) Workspace.listIds(): ComponentIdList",
|
|
18022
18083
|
"name": "listIds",
|
|
@@ -18147,7 +18208,8 @@
|
|
|
18147
18208
|
"character": 3
|
|
18148
18209
|
},
|
|
18149
18210
|
"raw": "/**\n * given component-ids, return the ones that are part of the workspace\n */",
|
|
18150
|
-
"comment": "given component-ids, return the ones that are part of the workspace"
|
|
18211
|
+
"comment": "given component-ids, return the ones that are part of the workspace",
|
|
18212
|
+
"tags": []
|
|
18151
18213
|
},
|
|
18152
18214
|
"signature": "(method) Workspace.filterIds(ids: ComponentID[]): Promise<ComponentID[]>",
|
|
18153
18215
|
"name": "filterIds",
|
|
@@ -18238,7 +18300,8 @@
|
|
|
18238
18300
|
"character": 3
|
|
18239
18301
|
},
|
|
18240
18302
|
"raw": "/**\n * whether or not a workspace has a component with the given name\n */",
|
|
18241
|
-
"comment": "whether or not a workspace has a component with the given name"
|
|
18303
|
+
"comment": "whether or not a workspace has a component with the given name",
|
|
18304
|
+
"tags": []
|
|
18242
18305
|
},
|
|
18243
18306
|
"signature": "(method) Workspace.hasName(name: string): Promise<boolean>",
|
|
18244
18307
|
"name": "hasName",
|
|
@@ -18406,7 +18469,8 @@
|
|
|
18406
18469
|
"character": 3
|
|
18407
18470
|
},
|
|
18408
18471
|
"raw": "/**\n * list all modified components in the workspace.\n */",
|
|
18409
|
-
"comment": "list all modified components in the workspace."
|
|
18472
|
+
"comment": "list all modified components in the workspace.",
|
|
18473
|
+
"tags": []
|
|
18410
18474
|
},
|
|
18411
18475
|
"signature": "(method) Workspace.modified(loadOpts?: ComponentLoadOptions): Promise<Component[]>",
|
|
18412
18476
|
"name": "modified",
|
|
@@ -18484,7 +18548,8 @@
|
|
|
18484
18548
|
"character": 3
|
|
18485
18549
|
},
|
|
18486
18550
|
"raw": "/**\n * list all new components in the workspace.\n */",
|
|
18487
|
-
"comment": "list all new components in the workspace."
|
|
18551
|
+
"comment": "list all new components in the workspace.",
|
|
18552
|
+
"tags": []
|
|
18488
18553
|
},
|
|
18489
18554
|
"signature": "(method) Workspace.newComponents(): Promise<Component[]>",
|
|
18490
18555
|
"name": "newComponents",
|
|
@@ -18658,6 +18723,7 @@
|
|
|
18658
18723
|
"character": 3
|
|
18659
18724
|
},
|
|
18660
18725
|
"raw": "/**\n * @deprecated use `listIds()` instead.\n * get all workspace component-ids\n */",
|
|
18726
|
+
"comment": "",
|
|
18661
18727
|
"tags": [
|
|
18662
18728
|
{
|
|
18663
18729
|
"__schema": "TagSchema",
|
|
@@ -18760,7 +18826,8 @@
|
|
|
18760
18826
|
"character": 3
|
|
18761
18827
|
},
|
|
18762
18828
|
"raw": "/**\n * list all components that can be tagged. (e.g. when tagging/snapping with --unmodified).\n * which are all components in the workspace, include locally deleted components.\n */",
|
|
18763
|
-
"comment": "list all components that can be tagged. (e.g. when tagging/snapping with --unmodified).\nwhich are all components in the workspace, include locally deleted components."
|
|
18829
|
+
"comment": "list all components that can be tagged. (e.g. when tagging/snapping with --unmodified).\nwhich are all components in the workspace, include locally deleted components.",
|
|
18830
|
+
"tags": []
|
|
18764
18831
|
},
|
|
18765
18832
|
"signature": "(method) Workspace.listPotentialTagIds(): Promise<ComponentID[]>",
|
|
18766
18833
|
"name": "listPotentialTagIds",
|
|
@@ -19376,7 +19443,8 @@
|
|
|
19376
19443
|
"character": 3
|
|
19377
19444
|
},
|
|
19378
19445
|
"raw": "/**\n * given component ids, find their dependents in the workspace\n */",
|
|
19379
|
-
"comment": "given component ids, find their dependents in the workspace"
|
|
19446
|
+
"comment": "given component ids, find their dependents in the workspace",
|
|
19447
|
+
"tags": []
|
|
19380
19448
|
},
|
|
19381
19449
|
"signature": "(method) Workspace.getDependentsIds(ids: ComponentID[], filterOutNowWorkspaceIds?: boolean): Promise<ComponentID[]>",
|
|
19382
19450
|
"name": "getDependentsIds",
|
|
@@ -19534,7 +19602,8 @@
|
|
|
19534
19602
|
"character": 3
|
|
19535
19603
|
},
|
|
19536
19604
|
"raw": "/**\n * this is not the complete legacy component (ConsumerComponent), it's missing dependencies and hooks from Harmony\n * are skipped. do not trust the data you get from this method unless you know what you're doing.\n */",
|
|
19537
|
-
"comment": "this is not the complete legacy component (ConsumerComponent), it's missing dependencies and hooks from Harmony\nare skipped. do not trust the data you get from this method unless you know what you're doing."
|
|
19605
|
+
"comment": "this is not the complete legacy component (ConsumerComponent), it's missing dependencies and hooks from Harmony\nare skipped. do not trust the data you get from this method unless you know what you're doing.",
|
|
19606
|
+
"tags": []
|
|
19538
19607
|
},
|
|
19539
19608
|
"signature": "(method) Workspace.getLegacyMinimal(id: ComponentID): Promise<ConsumerComponent | undefined>",
|
|
19540
19609
|
"name": "getLegacyMinimal",
|
|
@@ -19920,7 +19989,8 @@
|
|
|
19920
19989
|
"character": 3
|
|
19921
19990
|
},
|
|
19922
19991
|
"raw": "/**\n * clears workspace, scope and all components caches.\n * doesn't clear the dependencies-data from the filesystem-cache.\n */",
|
|
19923
|
-
"comment": "clears workspace, scope and all components caches.\ndoesn't clear the dependencies-data from the filesystem-cache."
|
|
19992
|
+
"comment": "clears workspace, scope and all components caches.\ndoesn't clear the dependencies-data from the filesystem-cache.",
|
|
19993
|
+
"tags": []
|
|
19924
19994
|
},
|
|
19925
19995
|
"signature": "(method) Workspace.clearCache(options?: ClearCacheOptions): Promise<void>",
|
|
19926
19996
|
"name": "clearCache",
|
|
@@ -19976,7 +20046,8 @@
|
|
|
19976
20046
|
"character": 3
|
|
19977
20047
|
},
|
|
19978
20048
|
"raw": "/**\n * clear the cache of all components in the workspace.\n * doesn't clear the dependencies-data from the filesystem-cache.\n */",
|
|
19979
|
-
"comment": "clear the cache of all components in the workspace.\ndoesn't clear the dependencies-data from the filesystem-cache."
|
|
20049
|
+
"comment": "clear the cache of all components in the workspace.\ndoesn't clear the dependencies-data from the filesystem-cache.",
|
|
20050
|
+
"tags": []
|
|
19980
20051
|
},
|
|
19981
20052
|
"signature": "(method) Workspace.clearAllComponentsCache(): void",
|
|
19982
20053
|
"name": "clearAllComponentsCache",
|
|
@@ -20503,7 +20574,8 @@
|
|
|
20503
20574
|
"character": 3
|
|
20504
20575
|
},
|
|
20505
20576
|
"raw": "/**\n * the purpose is mostly to reload the workspace config when it changes, so entries like \"defaultScope\" are updated.\n * it also updates the DependencyResolver config. I couldn't find a good way to update all aspects in workspace.jsonc.\n */",
|
|
20506
|
-
"comment": "the purpose is mostly to reload the workspace config when it changes, so entries like \"defaultScope\" are updated.\nit also updates the DependencyResolver config. I couldn't find a good way to update all aspects in workspace.jsonc."
|
|
20577
|
+
"comment": "the purpose is mostly to reload the workspace config when it changes, so entries like \"defaultScope\" are updated.\nit also updates the DependencyResolver config. I couldn't find a good way to update all aspects in workspace.jsonc.",
|
|
20578
|
+
"tags": []
|
|
20507
20579
|
},
|
|
20508
20580
|
"signature": "(method) Workspace.triggerOnWorkspaceConfigChange(): Promise<void>",
|
|
20509
20581
|
"name": "triggerOnWorkspaceConfigChange",
|
|
@@ -20803,7 +20875,8 @@
|
|
|
20803
20875
|
"character": 3
|
|
20804
20876
|
},
|
|
20805
20877
|
"raw": "/**\n * if checked out to a lane and the lane exists in the remote,\n * return the remote lane. otherwise, return null.\n */",
|
|
20806
|
-
"comment": "if checked out to a lane and the lane exists in the remote,\nreturn the remote lane. otherwise, return null."
|
|
20878
|
+
"comment": "if checked out to a lane and the lane exists in the remote,\nreturn the remote lane. otherwise, return null.",
|
|
20879
|
+
"tags": []
|
|
20807
20880
|
},
|
|
20808
20881
|
"signature": "(method) Workspace.getCurrentRemoteLane(): Promise<Lane | null>",
|
|
20809
20882
|
"name": "getCurrentRemoteLane",
|
|
@@ -21271,6 +21344,7 @@
|
|
|
21271
21344
|
"character": 3
|
|
21272
21345
|
},
|
|
21273
21346
|
"raw": "/**\n * @deprecated use `this.idsByPattern` instead for consistency. also, it supports negation and list of patterns.\n *\n * load components into the workspace through a variants pattern.\n * @param pattern variants.\n * @param scope scope name.\n */",
|
|
21347
|
+
"comment": "",
|
|
21274
21348
|
"tags": [
|
|
21275
21349
|
{
|
|
21276
21350
|
"__schema": "TagSchema",
|
|
@@ -21494,7 +21568,8 @@
|
|
|
21494
21568
|
"character": 3
|
|
21495
21569
|
},
|
|
21496
21570
|
"raw": "/**\n * get component-ids matching the given pattern. a pattern can have multiple patterns separated by a comma.\n * it supports negate (!) character to exclude ids.\n */",
|
|
21497
|
-
"comment": "get component-ids matching the given pattern. a pattern can have multiple patterns separated by a comma.\nit supports negate (!) character to exclude ids."
|
|
21571
|
+
"comment": "get component-ids matching the given pattern. a pattern can have multiple patterns separated by a comma.\nit supports negate (!) character to exclude ids.",
|
|
21572
|
+
"tags": []
|
|
21498
21573
|
},
|
|
21499
21574
|
"signature": "(method) Workspace.idsByPattern(pattern: string, throwForNoMatch?: boolean, opts?: {\n includeDeleted?: boolean;\n}): Promise<ComponentID[]>",
|
|
21500
21575
|
"name": "idsByPattern",
|
|
@@ -21733,7 +21808,8 @@
|
|
|
21733
21808
|
"character": 3
|
|
21734
21809
|
},
|
|
21735
21810
|
"raw": "/**\n * useful for workspace commands, such as `bit build`, `bit compile`.\n * by default, it should be running on new and modified components.\n * a user can specify `--all` to run on all components or specify a pattern to limit to specific components.\n * some commands such as build/test needs to run also on the dependents.\n */",
|
|
21736
|
-
"comment": "useful for workspace commands, such as `bit build`, `bit compile`.\nby default, it should be running on new and modified components.\na user can specify `--all` to run on all components or specify a pattern to limit to specific components.\nsome commands such as build/test needs to run also on the dependents."
|
|
21811
|
+
"comment": "useful for workspace commands, such as `bit build`, `bit compile`.\nby default, it should be running on new and modified components.\na user can specify `--all` to run on all components or specify a pattern to limit to specific components.\nsome commands such as build/test needs to run also on the dependents.",
|
|
21812
|
+
"tags": []
|
|
21737
21813
|
},
|
|
21738
21814
|
"signature": "(method) Workspace.getComponentsByUserInput(all?: boolean, pattern?: string, includeDependents?: boolean): Promise<Component[]>",
|
|
21739
21815
|
"name": "getComponentsByUserInput",
|
|
@@ -22180,7 +22256,8 @@
|
|
|
22180
22256
|
"character": 3
|
|
22181
22257
|
},
|
|
22182
22258
|
"raw": "/**\n * don't throw an error if the component was not found, simply return undefined.\n */",
|
|
22183
|
-
"comment": "don't throw an error if the component was not found, simply return undefined."
|
|
22259
|
+
"comment": "don't throw an error if the component was not found, simply return undefined.",
|
|
22260
|
+
"tags": []
|
|
22184
22261
|
},
|
|
22185
22262
|
"signature": "(method) Workspace.getIfExist(componentId: ComponentID): Promise<Component | undefined>",
|
|
22186
22263
|
"name": "getIfExist",
|
|
@@ -22273,7 +22350,8 @@
|
|
|
22273
22350
|
"character": 3
|
|
22274
22351
|
},
|
|
22275
22352
|
"raw": "/**\n * whether a component exists in the workspace\n */",
|
|
22276
|
-
"comment": "whether a component exists in the workspace"
|
|
22353
|
+
"comment": "whether a component exists in the workspace",
|
|
22354
|
+
"tags": []
|
|
22277
22355
|
},
|
|
22278
22356
|
"signature": "(method) Workspace.exists(componentId: ComponentID, opts?: {\n includeDeleted?: boolean;\n}): boolean",
|
|
22279
22357
|
"name": "exists",
|
|
@@ -22925,6 +23003,7 @@
|
|
|
22925
23003
|
"character": 3
|
|
22926
23004
|
},
|
|
22927
23005
|
"raw": "/**\n * @todo: the return path here is Linux when asking for relative and os-based when asking for absolute. fix this to be consistent.\n *\n * Get the component root dir in the file system (relative to workspace or full)\n * @param componentId\n * @param relative return the path relative to the workspace or full path\n */",
|
|
23006
|
+
"comment": "",
|
|
22928
23007
|
"tags": [
|
|
22929
23008
|
{
|
|
22930
23009
|
"__schema": "TagSchema",
|
|
@@ -23429,7 +23508,8 @@
|
|
|
23429
23508
|
"character": 3
|
|
23430
23509
|
},
|
|
23431
23510
|
"raw": "/**\n * Calculate the component config based on:\n * the config property in the .bitmap file\n * the component.json file in the component folder\n * matching pattern in the variants config\n * defaults extensions from workspace config\n * extensions from the model.\n */",
|
|
23432
|
-
"comment": "Calculate the component config based on:\nthe config property in the .bitmap file\nthe component.json file in the component folder\nmatching pattern in the variants config\ndefaults extensions from workspace config\nextensions from the model."
|
|
23511
|
+
"comment": "Calculate the component config based on:\nthe config property in the .bitmap file\nthe component.json file in the component folder\nmatching pattern in the variants config\ndefaults extensions from workspace config\nextensions from the model.",
|
|
23512
|
+
"tags": []
|
|
23433
23513
|
},
|
|
23434
23514
|
"signature": "(method) Workspace.componentExtensions(componentId: ComponentID, componentFromScope?: Component, excludeOrigins?: ExtensionsOrigin[], opts?: ComponentExtensionsOpts): Promise<{\n extensions: ExtensionDataList;\n beforeMerge: Array<{\n extensions: ExtensionDataList;\n origin: ExtensionsOrigin;\n extraData: any;\n }>;\n errors?: Error[];\n}>",
|
|
23435
23515
|
"name": "componentExtensions",
|
|
@@ -23890,6 +23970,7 @@
|
|
|
23890
23970
|
"character": 3
|
|
23891
23971
|
},
|
|
23892
23972
|
"raw": "/**\n * @deprecated\n * the workspace.jsonc conflicts are not written to the config-merge file anymore.\n * see https://github.com/teambit/bit/pull/8393 for more details.\n */",
|
|
23973
|
+
"comment": "",
|
|
23893
23974
|
"tags": [
|
|
23894
23975
|
{
|
|
23895
23976
|
"__schema": "TagSchema",
|
|
@@ -24385,7 +24466,8 @@
|
|
|
24385
24466
|
"character": 3
|
|
24386
24467
|
},
|
|
24387
24468
|
"raw": "/**\n * filter the given component-ids and set default-scope only to the new ones.\n * returns the affected components.\n */",
|
|
24388
|
-
"comment": "filter the given component-ids and set default-scope only to the new ones.\nreturns the affected components."
|
|
24469
|
+
"comment": "filter the given component-ids and set default-scope only to the new ones.\nreturns the affected components.",
|
|
24470
|
+
"tags": []
|
|
24389
24471
|
},
|
|
24390
24472
|
"signature": "(method) Workspace.setDefaultScopeToComponents(componentIds: ComponentID[], scopeName: string): Promise<ComponentID[]>",
|
|
24391
24473
|
"name": "setDefaultScopeToComponents",
|
|
@@ -24496,6 +24578,7 @@
|
|
|
24496
24578
|
"character": 3
|
|
24497
24579
|
},
|
|
24498
24580
|
"raw": "/**\n * @param scopeName\n * @param includeComponents whether to update new components in the workspace to use the new default-scope\n * this is relevant only for new components that were using the previous default-scope\n */",
|
|
24581
|
+
"comment": "",
|
|
24499
24582
|
"tags": [
|
|
24500
24583
|
{
|
|
24501
24584
|
"__schema": "PropertyLikeTagSchema",
|
|
@@ -24725,7 +24808,8 @@
|
|
|
24725
24808
|
"character": 7
|
|
24726
24809
|
},
|
|
24727
24810
|
"raw": "/**\n * relevant only when writing to .bitmap.\n * eject config of the given aspect-id, so then it won't override previous config. (see \"adding prod dep, tagging then adding devDep\" e2e-test)\n */",
|
|
24728
|
-
"comment": "relevant only when writing to .bitmap.\neject config of the given aspect-id, so then it won't override previous config. (see \"adding prod dep, tagging then adding devDep\" e2e-test)"
|
|
24811
|
+
"comment": "relevant only when writing to .bitmap.\neject config of the given aspect-id, so then it won't override previous config. (see \"adding prod dep, tagging then adding devDep\" e2e-test)",
|
|
24812
|
+
"tags": []
|
|
24729
24813
|
},
|
|
24730
24814
|
"signature": "(property) shouldMergeWithPrevious?: boolean | undefined",
|
|
24731
24815
|
"name": "shouldMergeWithPrevious",
|
|
@@ -24780,7 +24864,8 @@
|
|
|
24780
24864
|
"character": 7
|
|
24781
24865
|
},
|
|
24782
24866
|
"raw": "/**\n * relevant only when writing to .bitmap.\n * eject config of the given aspect-id, so then it won't override previous config. (see \"adding prod dep, tagging then adding devDep\" e2e-test)\n */",
|
|
24783
|
-
"comment": "relevant only when writing to .bitmap.\neject config of the given aspect-id, so then it won't override previous config. (see \"adding prod dep, tagging then adding devDep\" e2e-test)"
|
|
24867
|
+
"comment": "relevant only when writing to .bitmap.\neject config of the given aspect-id, so then it won't override previous config. (see \"adding prod dep, tagging then adding devDep\" e2e-test)",
|
|
24868
|
+
"tags": []
|
|
24784
24869
|
},
|
|
24785
24870
|
"signature": "(property) shouldMergeWithPrevious?: boolean | undefined",
|
|
24786
24871
|
"name": "shouldMergeWithPrevious",
|
|
@@ -25219,6 +25304,7 @@
|
|
|
25219
25304
|
"character": 3
|
|
25220
25305
|
},
|
|
25221
25306
|
"raw": "/**\n * @param componentPath can be relative or absolute. supports Linux and Windows\n */",
|
|
25307
|
+
"comment": "",
|
|
25222
25308
|
"tags": [
|
|
25223
25309
|
{
|
|
25224
25310
|
"__schema": "PropertyLikeTagSchema",
|
|
@@ -25321,7 +25407,8 @@
|
|
|
25321
25407
|
"character": 3
|
|
25322
25408
|
},
|
|
25323
25409
|
"raw": "/**\n * load aspects from the workspace and if not exists in the workspace, load from the scope.\n * keep in mind that the graph may have circles.\n */",
|
|
25324
|
-
"comment": "load aspects from the workspace and if not exists in the workspace, load from the scope.\nkeep in mind that the graph may have circles."
|
|
25410
|
+
"comment": "load aspects from the workspace and if not exists in the workspace, load from the scope.\nkeep in mind that the graph may have circles.",
|
|
25411
|
+
"tags": []
|
|
25325
25412
|
},
|
|
25326
25413
|
"signature": "(method) Workspace.loadAspects(ids?: string[], throwOnError?: boolean, neededFor?: string, opts?: WorkspaceLoadAspectsOptions): Promise<string[]>",
|
|
25327
25414
|
"name": "loadAspects",
|
|
@@ -25569,7 +25656,8 @@
|
|
|
25569
25656
|
"character": 3
|
|
25570
25657
|
},
|
|
25571
25658
|
"raw": "/**\n * returns one graph that includes all dependencies types. each edge has a label of the dependency\n * type. the nodes content is the Component object.\n */",
|
|
25572
|
-
"comment": "returns one graph that includes all dependencies types. each edge has a label of the dependency\ntype. the nodes content is the Component object."
|
|
25659
|
+
"comment": "returns one graph that includes all dependencies types. each edge has a label of the dependency\ntype. the nodes content is the Component object.",
|
|
25660
|
+
"tags": []
|
|
25573
25661
|
},
|
|
25574
25662
|
"signature": "(method) Workspace.buildOneGraphForComponents(ids: ComponentID[], ignoreIds?: string[], shouldLoadFunc?: ShouldLoadFunc, shouldThrowOnMissingDep?: boolean): Promise<Graph<Component, string>>",
|
|
25575
25663
|
"name": "buildOneGraphForComponents",
|
|
@@ -25870,7 +25958,8 @@
|
|
|
25870
25958
|
"character": 3
|
|
25871
25959
|
},
|
|
25872
25960
|
"raw": "/**\n * Provides a cache folder, unique per key.\n * Return value may be undefined, if workspace folder is unconventional (bare-scope, no node_modules, etc)\n */",
|
|
25873
|
-
"comment": "Provides a cache folder, unique per key.\nReturn value may be undefined, if workspace folder is unconventional (bare-scope, no node_modules, etc)"
|
|
25961
|
+
"comment": "Provides a cache folder, unique per key.\nReturn value may be undefined, if workspace folder is unconventional (bare-scope, no node_modules, etc)",
|
|
25962
|
+
"tags": []
|
|
25874
25963
|
},
|
|
25875
25964
|
"signature": "(method) Workspace.getTempDir(id: string): string",
|
|
25876
25965
|
"name": "getTempDir",
|
|
@@ -25986,7 +26075,8 @@
|
|
|
25986
26075
|
"character": 3
|
|
25987
26076
|
},
|
|
25988
26077
|
"raw": "/**\n }\n\n /**\n * this should be rarely in-use.\n * it's currently used by watch extension as a quick workaround to load .bitmap and the components\n */",
|
|
25989
|
-
"comment": "}\n\n/**\n this should be rarely in-use.\n it's currently used by watch extension as a quick workaround to load .bitmap and the components"
|
|
26078
|
+
"comment": "}\n\n/**\n this should be rarely in-use.\n it's currently used by watch extension as a quick workaround to load .bitmap and the components",
|
|
26079
|
+
"tags": []
|
|
25990
26080
|
},
|
|
25991
26081
|
"signature": "(method) Workspace._reloadConsumer(): Promise<void>",
|
|
25992
26082
|
"name": "_reloadConsumer",
|
|
@@ -26165,7 +26255,8 @@
|
|
|
26165
26255
|
"character": 3
|
|
26166
26256
|
},
|
|
26167
26257
|
"raw": "/**\n * Transform the id to ComponentId and get the exact id as appear in bitmap\n */",
|
|
26168
|
-
"comment": "Transform the id to ComponentId and get the exact id as appear in bitmap"
|
|
26258
|
+
"comment": "Transform the id to ComponentId and get the exact id as appear in bitmap",
|
|
26259
|
+
"tags": []
|
|
26169
26260
|
},
|
|
26170
26261
|
"signature": "(method) Workspace.resolveComponentId(id: string | BitId | ComponentID): Promise<ComponentID>",
|
|
26171
26262
|
"name": "resolveComponentId",
|
|
@@ -26390,7 +26481,8 @@
|
|
|
26390
26481
|
"character": 3
|
|
26391
26482
|
},
|
|
26392
26483
|
"raw": "/**\n * component-id coming from Scope don't have the defaultScope, the legacyComponentId.scope is always populated.\n * in the .bitmap we need to distinguish between the two, so the componentId needs to be corrected with the defaultScope.\n */",
|
|
26393
|
-
"comment": "component-id coming from Scope don't have the defaultScope, the legacyComponentId.scope is always populated.\nin the .bitmap we need to distinguish between the two, so the componentId needs to be corrected with the defaultScope."
|
|
26484
|
+
"comment": "component-id coming from Scope don't have the defaultScope, the legacyComponentId.scope is always populated.\nin the .bitmap we need to distinguish between the two, so the componentId needs to be corrected with the defaultScope.",
|
|
26485
|
+
"tags": []
|
|
26394
26486
|
},
|
|
26395
26487
|
"signature": "(method) Workspace.resolveIdWithDefaultScope(componentId: ComponentID): ComponentID",
|
|
26396
26488
|
"name": "resolveIdWithDefaultScope",
|
|
@@ -26593,7 +26685,8 @@
|
|
|
26593
26685
|
"character": 3
|
|
26594
26686
|
},
|
|
26595
26687
|
"raw": "/**\n * configure an environment to the given components in the .bitmap file, this configuration overrides other, such as\n * overrides in workspace.jsonc.\n */",
|
|
26596
|
-
"comment": "configure an environment to the given components in the .bitmap file, this configuration overrides other, such as\noverrides in workspace.jsonc."
|
|
26688
|
+
"comment": "configure an environment to the given components in the .bitmap file, this configuration overrides other, such as\noverrides in workspace.jsonc.",
|
|
26689
|
+
"tags": []
|
|
26597
26690
|
},
|
|
26598
26691
|
"signature": "(method) Workspace.setEnvToComponents(envId: ComponentID, componentIds: ComponentID[]): Promise<void>",
|
|
26599
26692
|
"name": "setEnvToComponents",
|
|
@@ -26685,7 +26778,8 @@
|
|
|
26685
26778
|
"character": 3
|
|
26686
26779
|
},
|
|
26687
26780
|
"raw": "/**\n * helpful when a user provides an env-string to be set and this env has no version.\n * in the workspace config, a custom-env needs to be set with a version unless it's part of the workspace.\n * (inside envs/envs it's set without a version).\n */",
|
|
26688
|
-
"comment": "helpful when a user provides an env-string to be set and this env has no version.\nin the workspace config, a custom-env needs to be set with a version unless it's part of the workspace.\n(inside envs/envs it's set without a version)."
|
|
26781
|
+
"comment": "helpful when a user provides an env-string to be set and this env has no version.\nin the workspace config, a custom-env needs to be set with a version unless it's part of the workspace.\n(inside envs/envs it's set without a version).",
|
|
26782
|
+
"tags": []
|
|
26689
26783
|
},
|
|
26690
26784
|
"signature": "(method) Workspace.resolveEnvIdWithPotentialVersionForConfig(envId: ComponentID): Promise<string>",
|
|
26691
26785
|
"name": "resolveEnvIdWithPotentialVersionForConfig",
|
|
@@ -26755,7 +26849,8 @@
|
|
|
26755
26849
|
"character": 3
|
|
26756
26850
|
},
|
|
26757
26851
|
"raw": "/**\n * remove env configuration from the .bitmap file, so then other configuration, such as \"variants\" will take place\n */",
|
|
26758
|
-
"comment": "remove env configuration from the .bitmap file, so then other configuration, such as \"variants\" will take place"
|
|
26852
|
+
"comment": "remove env configuration from the .bitmap file, so then other configuration, such as \"variants\" will take place",
|
|
26853
|
+
"tags": []
|
|
26759
26854
|
},
|
|
26760
26855
|
"signature": "(method) Workspace.unsetEnvFromComponents(ids: ComponentID[]): Promise<{\n changed: ComponentID[];\n unchanged: ComponentID[];\n}>",
|
|
26761
26856
|
"name": "unsetEnvFromComponents",
|
|
@@ -27366,7 +27461,7 @@
|
|
|
27366
27461
|
"_legacy": {
|
|
27367
27462
|
"scope": "teambit.workspace",
|
|
27368
27463
|
"name": "workspace",
|
|
27369
|
-
"version": "1.0.
|
|
27464
|
+
"version": "1.0.311"
|
|
27370
27465
|
},
|
|
27371
27466
|
"_scope": "teambit.workspace"
|
|
27372
27467
|
}
|
|
@@ -27433,7 +27528,8 @@
|
|
|
27433
27528
|
"character": 1
|
|
27434
27529
|
},
|
|
27435
27530
|
"raw": "/**\n * this is a super hacky way to do it. problem is that loadAspect is running as onStart hook, where we don't\n * have the CLI fully loaded yet, so we can't get the command from the CLI aspect, we have to retrieve it from\n * process.argv.\n * in general, we don't want every command to try again and again fetching un-built versions. otherwise, every time\n * Bit loads (even bit --help), it'll fetch them and slow down everything.\n * instead, long-running commands and those that need the artifacts from the Version objects, should try to re-fetch.\n */",
|
|
27436
|
-
"comment": "this is a super hacky way to do it. problem is that loadAspect is running as onStart hook, where we don't\nhave the CLI fully loaded yet, so we can't get the command from the CLI aspect, we have to retrieve it from\nprocess.argv.\nin general, we don't want every command to try again and again fetching un-built versions. otherwise, every time\nBit loads (even bit --help), it'll fetch them and slow down everything.\ninstead, long-running commands and those that need the artifacts from the Version objects, should try to re-fetch."
|
|
27531
|
+
"comment": "this is a super hacky way to do it. problem is that loadAspect is running as onStart hook, where we don't\nhave the CLI fully loaded yet, so we can't get the command from the CLI aspect, we have to retrieve it from\nprocess.argv.\nin general, we don't want every command to try again and again fetching un-built versions. otherwise, every time\nBit loads (even bit --help), it'll fetch them and slow down everything.\ninstead, long-running commands and those that need the artifacts from the Version objects, should try to re-fetch.",
|
|
27532
|
+
"tags": []
|
|
27437
27533
|
},
|
|
27438
27534
|
"signature": "function shouldReFetchUnBuiltVersion(): boolean",
|
|
27439
27535
|
"name": "shouldReFetchUnBuiltVersion",
|
|
@@ -28604,7 +28700,8 @@
|
|
|
28604
28700
|
"character": 1
|
|
28605
28701
|
},
|
|
28606
28702
|
"raw": "/**\n * don't use loadConsumer() here, which throws ConsumerNotFound because some commands don't require\n * the consumer to be available. such as, `bit init` or `bit list --remote`.\n * most of the commands do need the consumer. the legacy commands that need the consumer throw an\n * error when is missing. in the new/Harmony commands, such as `bis compile`, the workspace object\n * is passed to the provider, so before using it, make sure it exists.\n * keep in mind that you can't verify it in the provider itself, because the provider is running\n * always for all commands before anything else is happening.\n */",
|
|
28607
|
-
"comment": "don't use loadConsumer() here, which throws ConsumerNotFound because some commands don't require\nthe consumer to be available. such as, `bit init` or `bit list --remote`.\nmost of the commands do need the consumer. the legacy commands that need the consumer throw an\nerror when is missing. in the new/Harmony commands, such as `bis compile`, the workspace object\nis passed to the provider, so before using it, make sure it exists.\nkeep in mind that you can't verify it in the provider itself, because the provider is running\nalways for all commands before anything else is happening."
|
|
28703
|
+
"comment": "don't use loadConsumer() here, which throws ConsumerNotFound because some commands don't require\nthe consumer to be available. such as, `bit init` or `bit list --remote`.\nmost of the commands do need the consumer. the legacy commands that need the consumer throw an\nerror when is missing. in the new/Harmony commands, such as `bis compile`, the workspace object\nis passed to the provider, so before using it, make sure it exists.\nkeep in mind that you can't verify it in the provider itself, because the provider is running\nalways for all commands before anything else is happening.",
|
|
28704
|
+
"tags": []
|
|
28608
28705
|
},
|
|
28609
28706
|
"signature": "function getConsumer(path?: string): Promise<Consumer | undefined>",
|
|
28610
28707
|
"name": "getConsumer",
|
|
@@ -28841,7 +28938,7 @@
|
|
|
28841
28938
|
"_legacy": {
|
|
28842
28939
|
"scope": "teambit.workspace",
|
|
28843
28940
|
"name": "workspace",
|
|
28844
|
-
"version": "1.0.
|
|
28941
|
+
"version": "1.0.311"
|
|
28845
28942
|
},
|
|
28846
28943
|
"_scope": "teambit.workspace"
|
|
28847
28944
|
}
|
|
@@ -29085,7 +29182,7 @@
|
|
|
29085
29182
|
"_legacy": {
|
|
29086
29183
|
"scope": "teambit.workspace",
|
|
29087
29184
|
"name": "workspace",
|
|
29088
|
-
"version": "1.0.
|
|
29185
|
+
"version": "1.0.311"
|
|
29089
29186
|
},
|
|
29090
29187
|
"_scope": "teambit.workspace"
|
|
29091
29188
|
}
|
|
@@ -29309,7 +29406,7 @@
|
|
|
29309
29406
|
"_legacy": {
|
|
29310
29407
|
"scope": "teambit.workspace",
|
|
29311
29408
|
"name": "workspace",
|
|
29312
|
-
"version": "1.0.
|
|
29409
|
+
"version": "1.0.311"
|
|
29313
29410
|
},
|
|
29314
29411
|
"_scope": "teambit.workspace"
|
|
29315
29412
|
}
|
|
@@ -29739,7 +29836,8 @@
|
|
|
29739
29836
|
"character": 3
|
|
29740
29837
|
},
|
|
29741
29838
|
"raw": "/**\n * register a route to the workspace.\n */",
|
|
29742
|
-
"comment": "register a route to the workspace."
|
|
29839
|
+
"comment": "register a route to the workspace.",
|
|
29840
|
+
"tags": []
|
|
29743
29841
|
},
|
|
29744
29842
|
"signature": "(method) WorkspaceUI.registerRoutes(routes: RouteProps[]): this",
|
|
29745
29843
|
"name": "registerRoutes",
|
|
@@ -30006,7 +30104,8 @@
|
|
|
30006
30104
|
"character": 3
|
|
30007
30105
|
},
|
|
30008
30106
|
"raw": "/**\n * register component filters\n */",
|
|
30009
|
-
"comment": "register component filters"
|
|
30107
|
+
"comment": "register component filters",
|
|
30108
|
+
"tags": []
|
|
30010
30109
|
},
|
|
30011
30110
|
"signature": "(property) WorkspaceUI.registerDrawerComponentFilters: (filters: ComponentFilters) => void",
|
|
30012
30111
|
"name": "registerDrawerComponentFilters",
|
|
@@ -30428,7 +30527,7 @@
|
|
|
30428
30527
|
"__schema": "UnImplementedSchema",
|
|
30429
30528
|
"location": {
|
|
30430
30529
|
"filePath": "workspace.ui.runtime.tsx",
|
|
30431
|
-
"line":
|
|
30530
|
+
"line": 286,
|
|
30432
30531
|
"character": 16
|
|
30433
30532
|
},
|
|
30434
30533
|
"name": "WorkspaceUI",
|
|
@@ -30440,7 +30539,7 @@
|
|
|
30440
30539
|
"__schema": "UnImplementedSchema",
|
|
30441
30540
|
"location": {
|
|
30442
30541
|
"filePath": "workspace.ui.runtime.tsx",
|
|
30443
|
-
"line":
|
|
30542
|
+
"line": 288,
|
|
30444
30543
|
"character": 1
|
|
30445
30544
|
},
|
|
30446
30545
|
"name": "WorkspaceAspect.addRuntime(WorkspaceUI);",
|
|
@@ -31900,7 +31999,8 @@
|
|
|
31900
31999
|
"character": 3
|
|
31901
32000
|
},
|
|
31902
32001
|
"raw": "/**\n * return a component from the workspace.\n */",
|
|
31903
|
-
"comment": "return a component from the workspace."
|
|
32002
|
+
"comment": "return a component from the workspace.",
|
|
32003
|
+
"tags": []
|
|
31904
32004
|
},
|
|
31905
32005
|
"signature": "(method) Workspace.getComponent(id: ComponentID): ComponentModel | undefined",
|
|
31906
32006
|
"name": "getComponent",
|
|
@@ -32288,7 +32388,8 @@
|
|
|
32288
32388
|
"character": 3
|
|
32289
32389
|
},
|
|
32290
32390
|
"raw": "/**\n * get all issues reported on the component.\n */",
|
|
32291
|
-
"comment": "get all issues reported on the component."
|
|
32391
|
+
"comment": "get all issues reported on the component.",
|
|
32392
|
+
"tags": []
|
|
32292
32393
|
},
|
|
32293
32394
|
"signature": "(method) WorkspaceComponent.getIssues(): IssuesList | null",
|
|
32294
32395
|
"name": "getIssues",
|
|
@@ -32419,7 +32520,7 @@
|
|
|
32419
32520
|
"_legacy": {
|
|
32420
32521
|
"scope": "teambit.workspace",
|
|
32421
32522
|
"name": "workspace",
|
|
32422
|
-
"version": "1.0.
|
|
32523
|
+
"version": "1.0.311"
|
|
32423
32524
|
},
|
|
32424
32525
|
"_scope": "teambit.workspace"
|
|
32425
32526
|
}
|
|
@@ -33944,7 +34045,8 @@
|
|
|
33944
34045
|
"character": 3
|
|
33945
34046
|
},
|
|
33946
34047
|
"raw": "/**\n * name of the workspace.\n */",
|
|
33947
|
-
"comment": "name of the workspace."
|
|
34048
|
+
"comment": "name of the workspace.",
|
|
34049
|
+
"tags": []
|
|
33948
34050
|
},
|
|
33949
34051
|
"signature": "(property) WorkspaceExtConfig.name: string",
|
|
33950
34052
|
"name": "name",
|
|
@@ -33974,7 +34076,8 @@
|
|
|
33974
34076
|
"character": 3
|
|
33975
34077
|
},
|
|
33976
34078
|
"raw": "/**\n * path to icon.\n */",
|
|
33977
|
-
"comment": "path to icon."
|
|
34079
|
+
"comment": "path to icon.",
|
|
34080
|
+
"tags": []
|
|
33978
34081
|
},
|
|
33979
34082
|
"signature": "(property) WorkspaceExtConfig.icon: string",
|
|
33980
34083
|
"name": "icon",
|
|
@@ -34004,7 +34107,8 @@
|
|
|
34004
34107
|
"character": 3
|
|
34005
34108
|
},
|
|
34006
34109
|
"raw": "/**\n * set the default scope when there is no matching for the component in the components array.\n */",
|
|
34007
|
-
"comment": "set the default scope when there is no matching for the component in the components array."
|
|
34110
|
+
"comment": "set the default scope when there is no matching for the component in the components array.",
|
|
34111
|
+
"tags": []
|
|
34008
34112
|
},
|
|
34009
34113
|
"signature": "(property) WorkspaceExtConfig.defaultScope: string",
|
|
34010
34114
|
"name": "defaultScope",
|
|
@@ -34034,7 +34138,8 @@
|
|
|
34034
34138
|
"character": 3
|
|
34035
34139
|
},
|
|
34036
34140
|
"raw": "/**\n * set the default directory when there is no matching for the component in the components array.\n */",
|
|
34037
|
-
"comment": "set the default directory when there is no matching for the component in the components array."
|
|
34141
|
+
"comment": "set the default directory when there is no matching for the component in the components array.",
|
|
34142
|
+
"tags": []
|
|
34038
34143
|
},
|
|
34039
34144
|
"signature": "(property) WorkspaceExtConfig.defaultDirectory: string",
|
|
34040
34145
|
"name": "defaultDirectory",
|
|
@@ -34064,7 +34169,8 @@
|
|
|
34064
34169
|
"character": 3
|
|
34065
34170
|
},
|
|
34066
34171
|
"raw": "/**\n * set the default structure of components in your project\n */",
|
|
34067
|
-
"comment": "set the default structure of components in your project"
|
|
34172
|
+
"comment": "set the default structure of components in your project",
|
|
34173
|
+
"tags": []
|
|
34068
34174
|
},
|
|
34069
34175
|
"signature": "(property) WorkspaceExtConfig.vendor: VendorConfig",
|
|
34070
34176
|
"name": "vendor",
|
|
@@ -34095,7 +34201,8 @@
|
|
|
34095
34201
|
"character": 3
|
|
34096
34202
|
},
|
|
34097
34203
|
"raw": "/**\n * All component extensions applied by default on all components in the workspace (except vendor components)\n */",
|
|
34098
|
-
"comment": "All component extensions applied by default on all components in the workspace (except vendor components)"
|
|
34204
|
+
"comment": "All component extensions applied by default on all components in the workspace (except vendor components)",
|
|
34205
|
+
"tags": []
|
|
34099
34206
|
},
|
|
34100
34207
|
"signature": "(property) WorkspaceExtConfig.extensions: {\n [extensionsId: string]: string;\n}",
|
|
34101
34208
|
"name": "extensions",
|
|
@@ -34163,7 +34270,8 @@
|
|
|
34163
34270
|
"character": 3
|
|
34164
34271
|
},
|
|
34165
34272
|
"raw": "/**\n * If set to\n * `true`, it allows the workspace to resolve scope's aspects from node modules\n * installed in the workspace's `node_modules` directory. If not set or set to `false`, aspects will only be resolved\n * from the scope aspects capsule.\n */",
|
|
34166
|
-
"comment": "If set to\n`true`, it allows the workspace to resolve scope's aspects from node modules\ninstalled in the workspace's `node_modules` directory. If not set or set to `false`, aspects will only be resolved\nfrom the scope aspects capsule."
|
|
34273
|
+
"comment": "If set to\n`true`, it allows the workspace to resolve scope's aspects from node modules\ninstalled in the workspace's `node_modules` directory. If not set or set to `false`, aspects will only be resolved\nfrom the scope aspects capsule.",
|
|
34274
|
+
"tags": []
|
|
34167
34275
|
},
|
|
34168
34276
|
"signature": "(property) WorkspaceExtConfig.resolveAspectsFromNodeModules?: boolean | undefined",
|
|
34169
34277
|
"name": "resolveAspectsFromNodeModules",
|
|
@@ -34193,7 +34301,8 @@
|
|
|
34193
34301
|
"character": 3
|
|
34194
34302
|
},
|
|
34195
34303
|
"raw": "/**\n * If set to `true`, it allows the workspace to resolve envs from node modules\n * installed in the workspace's `node_modules` directory.\n * the envs will be resolved from the node_modules of the env's root (workspace/node_modules/.bit_roots/{envId})\n * and if not found (usually when the env was hoisted to the root node_modules) then from the node_modules of the\n * workspace.\n * If not set or set to `false`, envs will only be resolved from the scope envs capsule.\n */",
|
|
34196
|
-
"comment": "If set to `true`, it allows the workspace to resolve envs from node modules\ninstalled in the workspace's `node_modules` directory.\nthe envs will be resolved from the node_modules of the env's root (workspace/node_modules/.bit_roots/{envId})\nand if not found (usually when the env was hoisted to the root node_modules) then from the node_modules of the\nworkspace.\nIf not set or set to `false`, envs will only be resolved from the scope envs capsule."
|
|
34304
|
+
"comment": "If set to `true`, it allows the workspace to resolve envs from node modules\ninstalled in the workspace's `node_modules` directory.\nthe envs will be resolved from the node_modules of the env's root (workspace/node_modules/.bit_roots/{envId})\nand if not found (usually when the env was hoisted to the root node_modules) then from the node_modules of the\nworkspace.\nIf not set or set to `false`, envs will only be resolved from the scope envs capsule.",
|
|
34305
|
+
"tags": []
|
|
34197
34306
|
},
|
|
34198
34307
|
"signature": "(property) WorkspaceExtConfig.resolveEnvsFromRoots?: boolean | undefined",
|
|
34199
34308
|
"name": "resolveEnvsFromRoots",
|
|
@@ -34223,7 +34332,8 @@
|
|
|
34223
34332
|
"character": 3
|
|
34224
34333
|
},
|
|
34225
34334
|
"raw": "/**\n * If set to `true`, bit will try to load aspects dependencies automatically.\n * even if the aspects dependencies are not configured in the workspace.jsonc root config.\n * for example having the aspect\n * main aspect\n * export class MainAspectMain {\n * ...\n * static dependencies = [MyDepAspect];\n * }\n * and the in the workspace.jsonc file:\n * {\n * ...\n * main-aspect: {}\n * }\n * when set to true, bit will try to load MyDepAspect automatically.\n */",
|
|
34226
|
-
"comment": "If set to `true`, bit will try to load aspects dependencies automatically.\neven if the aspects dependencies are not configured in the workspace.jsonc root config.\nfor example having the aspect\nmain aspect\nexport class MainAspectMain {\n ...\n static dependencies = [MyDepAspect];\n}\nand the in the workspace.jsonc file:\n{\n ...\n main-aspect: {}\n}\nwhen set to true, bit will try to load MyDepAspect automatically."
|
|
34335
|
+
"comment": "If set to `true`, bit will try to load aspects dependencies automatically.\neven if the aspects dependencies are not configured in the workspace.jsonc root config.\nfor example having the aspect\nmain aspect\nexport class MainAspectMain {\n ...\n static dependencies = [MyDepAspect];\n}\nand the in the workspace.jsonc file:\n{\n ...\n main-aspect: {}\n}\nwhen set to true, bit will try to load MyDepAspect automatically.",
|
|
34336
|
+
"tags": []
|
|
34227
34337
|
},
|
|
34228
34338
|
"signature": "(property) WorkspaceExtConfig.autoLoadAspectsDeps?: boolean | undefined",
|
|
34229
34339
|
"name": "autoLoadAspectsDeps",
|
|
@@ -34329,7 +34439,7 @@
|
|
|
34329
34439
|
"componentId": {
|
|
34330
34440
|
"scope": "teambit.workspace",
|
|
34331
34441
|
"name": "workspace",
|
|
34332
|
-
"version": "1.0.
|
|
34442
|
+
"version": "1.0.311"
|
|
34333
34443
|
},
|
|
34334
34444
|
"taggedModuleExports": []
|
|
34335
34445
|
}
|