@teambit/pkg 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.
@@ -358,7 +358,8 @@
358
358
  "character": 3
359
359
  },
360
360
  "raw": "/**\n * get the package name of a component.\n */",
361
- "comment": "get the package name of a component."
361
+ "comment": "get the package name of a component.",
362
+ "tags": []
362
363
  },
363
364
  "signature": "(method) PkgMain.getPackageName(component: Component): string",
364
365
  "name": "getPackageName",
@@ -482,7 +483,8 @@
482
483
  "character": 3
483
484
  },
484
485
  "raw": "/**\n * returns the package path in the /node_modules/ folder\n * In case you call this in order to run the code from the path, please refer to the `getRuntimeModulePath` API\n */",
485
- "comment": "returns the package path in the /node_modules/ folder\nIn case you call this in order to run the code from the path, please refer to the `getRuntimeModulePath` API"
486
+ "comment": "returns the package path in the /node_modules/ folder\nIn case you call this in order to run the code from the path, please refer to the `getRuntimeModulePath` API",
487
+ "tags": []
486
488
  },
487
489
  "signature": "(method) PkgMain.getModulePath(component: Component, options?: GetModulePathOptions): string",
488
490
  "name": "getModulePath",
@@ -928,7 +930,8 @@
928
930
  "character": 3
929
931
  },
930
932
  "raw": "/**\n * register changes in the package.json\n */",
931
- "comment": "register changes in the package.json"
933
+ "comment": "register changes in the package.json",
934
+ "tags": []
932
935
  },
933
936
  "signature": "(method) PkgMain.registerPackageJsonNewProps(props: PackageJsonProps): void",
934
937
  "name": "registerPackageJsonNewProps",
@@ -1289,7 +1292,8 @@
1289
1292
  "character": 3
1290
1293
  },
1291
1294
  "raw": "/**\n * Merge the configs provided by:\n * 1. envs configured in the component - via getPackageJsonProps method\n * 2. extensions that registered to the registerPackageJsonNewProps slot (and configured for the component)\n * 3. props defined by the user (they are the strongest one)\n */",
1292
- "comment": "Merge the configs provided by:\n1. envs configured in the component - via getPackageJsonProps method\n2. extensions that registered to the registerPackageJsonNewProps slot (and configured for the component)\n3. props defined by the user (they are the strongest one)"
1295
+ "comment": "Merge the configs provided by:\n1. envs configured in the component - via getPackageJsonProps method\n2. extensions that registered to the registerPackageJsonNewProps slot (and configured for the component)\n3. props defined by the user (they are the strongest one)",
1296
+ "tags": []
1293
1297
  },
1294
1298
  "signature": "(method) PkgMain.mergePackageJsonProps(component: Component): Promise<PackageJsonProps>",
1295
1299
  "name": "mergePackageJsonProps",
@@ -2101,7 +2105,8 @@
2101
2105
  "character": 1
2102
2106
  },
2103
2107
  "raw": "/**\n * Data stored in the component\n */",
2104
- "comment": "Data stored in the component"
2108
+ "comment": "Data stored in the component",
2109
+ "tags": []
2105
2110
  },
2106
2111
  "signature": "type ComponentPkgExtensionData = {\n packageJsonModification: Record<string, any>;\n pkgJson?: Record<string, any> | undefined;\n integrity?: string | undefined;\n checksum?: string | undefined;\n}",
2107
2112
  "name": "ComponentPkgExtensionData",
@@ -2128,7 +2133,8 @@
2128
2133
  "character": 3
2129
2134
  },
2130
2135
  "raw": "/**\n * properties to add to the package.json of the component.\n */",
2131
- "comment": "properties to add to the package.json of the component."
2136
+ "comment": "properties to add to the package.json of the component.",
2137
+ "tags": []
2132
2138
  },
2133
2139
  "signature": "(property) packageJsonModification: Record<string, any>",
2134
2140
  "name": "packageJsonModification",
@@ -2178,7 +2184,8 @@
2178
2184
  "character": 3
2179
2185
  },
2180
2186
  "raw": "/**\n * Final package.json after creating tar file\n */",
2181
- "comment": "Final package.json after creating tar file"
2187
+ "comment": "Final package.json after creating tar file",
2188
+ "tags": []
2182
2189
  },
2183
2190
  "signature": "(property) pkgJson?: Record<string, any> | undefined",
2184
2191
  "name": "pkgJson",
@@ -2228,7 +2235,8 @@
2228
2235
  "character": 3
2229
2236
  },
2230
2237
  "raw": "/**\n * integrity of the tar file\n */",
2231
- "comment": "integrity of the tar file"
2238
+ "comment": "integrity of the tar file",
2239
+ "tags": []
2232
2240
  },
2233
2241
  "signature": "(property) integrity?: string | undefined",
2234
2242
  "name": "integrity",
@@ -2258,7 +2266,8 @@
2258
2266
  "character": 3
2259
2267
  },
2260
2268
  "raw": "/**\n * Checksum of the tar file\n */",
2261
- "comment": "Checksum of the tar file"
2269
+ "comment": "Checksum of the tar file",
2270
+ "tags": []
2262
2271
  },
2263
2272
  "signature": "(property) checksum?: string | undefined",
2264
2273
  "name": "checksum",
@@ -2616,7 +2625,7 @@
2616
2625
  "_legacy": {
2617
2626
  "scope": "teambit.pkg",
2618
2627
  "name": "pkg",
2619
- "version": "1.0.309"
2628
+ "version": "1.0.311"
2620
2629
  },
2621
2630
  "_scope": "teambit.pkg"
2622
2631
  }
@@ -2815,7 +2824,7 @@
2815
2824
  "_legacy": {
2816
2825
  "scope": "teambit.pkg",
2817
2826
  "name": "pkg",
2818
- "version": "1.0.309"
2827
+ "version": "1.0.311"
2819
2828
  },
2820
2829
  "_scope": "teambit.pkg"
2821
2830
  }
@@ -2857,7 +2866,8 @@
2857
2866
  "character": 3
2858
2867
  },
2859
2868
  "raw": "/**\n * return a PackageGenerator instance.\n */",
2860
- "comment": "return a PackageGenerator instance."
2869
+ "comment": "return a PackageGenerator instance.",
2870
+ "tags": []
2861
2871
  },
2862
2872
  "signature": "(method) PackageEnv.package(): EnvHandler<PackageGenerator>",
2863
2873
  "name": "package",
@@ -2915,7 +2925,8 @@
2915
2925
  "character": 1
2916
2926
  },
2917
2927
  "raw": "/**\n * create and maintain build pipelines for component\n * dev environments.\n */",
2918
- "comment": "create and maintain build pipelines for component\ndev environments."
2928
+ "comment": "create and maintain build pipelines for component\ndev environments.",
2929
+ "tags": []
2919
2930
  },
2920
2931
  "signature": "class PackageGenerator",
2921
2932
  "name": "PackageGenerator",
@@ -3580,7 +3591,8 @@
3580
3591
  "character": 1
3581
3592
  },
3582
3593
  "raw": "/**\n * Config for variants\n */",
3583
- "comment": "Config for variants"
3594
+ "comment": "Config for variants",
3595
+ "tags": []
3584
3596
  },
3585
3597
  "signature": "type ComponentPkgExtensionConfig = {\n packageJson: Record<string, any>;\n}",
3586
3598
  "name": "ComponentPkgExtensionConfig",
@@ -3607,7 +3619,8 @@
3607
3619
  "character": 3
3608
3620
  },
3609
3621
  "raw": "/**\n * properties to add to the package.json of the component.\n */",
3610
- "comment": "properties to add to the package.json of the component."
3622
+ "comment": "properties to add to the package.json of the component.",
3623
+ "tags": []
3611
3624
  },
3612
3625
  "signature": "(property) packageJson: Record<string, any>",
3613
3626
  "name": "packageJson",
@@ -3660,7 +3673,8 @@
3660
3673
  "character": 1
3661
3674
  },
3662
3675
  "raw": "/**\n * Data stored in the component\n */",
3663
- "comment": "Data stored in the component"
3676
+ "comment": "Data stored in the component",
3677
+ "tags": []
3664
3678
  },
3665
3679
  "signature": "type ComponentPkgExtensionData = {\n packageJsonModification: Record<string, any>;\n pkgJson?: Record<string, any> | undefined;\n integrity?: string | undefined;\n checksum?: string | undefined;\n}",
3666
3680
  "name": "ComponentPkgExtensionData",
@@ -3687,7 +3701,8 @@
3687
3701
  "character": 3
3688
3702
  },
3689
3703
  "raw": "/**\n * properties to add to the package.json of the component.\n */",
3690
- "comment": "properties to add to the package.json of the component."
3704
+ "comment": "properties to add to the package.json of the component.",
3705
+ "tags": []
3691
3706
  },
3692
3707
  "signature": "(property) packageJsonModification: Record<string, any>",
3693
3708
  "name": "packageJsonModification",
@@ -3737,7 +3752,8 @@
3737
3752
  "character": 3
3738
3753
  },
3739
3754
  "raw": "/**\n * Final package.json after creating tar file\n */",
3740
- "comment": "Final package.json after creating tar file"
3755
+ "comment": "Final package.json after creating tar file",
3756
+ "tags": []
3741
3757
  },
3742
3758
  "signature": "(property) pkgJson?: Record<string, any> | undefined",
3743
3759
  "name": "pkgJson",
@@ -3787,7 +3803,8 @@
3787
3803
  "character": 3
3788
3804
  },
3789
3805
  "raw": "/**\n * integrity of the tar file\n */",
3790
- "comment": "integrity of the tar file"
3806
+ "comment": "integrity of the tar file",
3807
+ "tags": []
3791
3808
  },
3792
3809
  "signature": "(property) integrity?: string | undefined",
3793
3810
  "name": "integrity",
@@ -3817,7 +3834,8 @@
3817
3834
  "character": 3
3818
3835
  },
3819
3836
  "raw": "/**\n * Checksum of the tar file\n */",
3820
- "comment": "Checksum of the tar file"
3837
+ "comment": "Checksum of the tar file",
3838
+ "tags": []
3821
3839
  },
3822
3840
  "signature": "(property) checksum?: string | undefined",
3823
3841
  "name": "checksum",
@@ -4418,7 +4436,8 @@
4418
4436
  "character": 3
4419
4437
  },
4420
4438
  "raw": "/**\n * get the package name of a component.\n */",
4421
- "comment": "get the package name of a component."
4439
+ "comment": "get the package name of a component.",
4440
+ "tags": []
4422
4441
  },
4423
4442
  "signature": "(method) PkgMain.getPackageName(component: Component): string",
4424
4443
  "name": "getPackageName",
@@ -4542,7 +4561,8 @@
4542
4561
  "character": 3
4543
4562
  },
4544
4563
  "raw": "/**\n * returns the package path in the /node_modules/ folder\n * In case you call this in order to run the code from the path, please refer to the `getRuntimeModulePath` API\n */",
4545
- "comment": "returns the package path in the /node_modules/ folder\nIn case you call this in order to run the code from the path, please refer to the `getRuntimeModulePath` API"
4564
+ "comment": "returns the package path in the /node_modules/ folder\nIn case you call this in order to run the code from the path, please refer to the `getRuntimeModulePath` API",
4565
+ "tags": []
4546
4566
  },
4547
4567
  "signature": "(method) PkgMain.getModulePath(component: Component, options?: GetModulePathOptions): string",
4548
4568
  "name": "getModulePath",
@@ -4988,7 +5008,8 @@
4988
5008
  "character": 3
4989
5009
  },
4990
5010
  "raw": "/**\n * register changes in the package.json\n */",
4991
- "comment": "register changes in the package.json"
5011
+ "comment": "register changes in the package.json",
5012
+ "tags": []
4992
5013
  },
4993
5014
  "signature": "(method) PkgMain.registerPackageJsonNewProps(props: PackageJsonProps): void",
4994
5015
  "name": "registerPackageJsonNewProps",
@@ -5349,7 +5370,8 @@
5349
5370
  "character": 3
5350
5371
  },
5351
5372
  "raw": "/**\n * Merge the configs provided by:\n * 1. envs configured in the component - via getPackageJsonProps method\n * 2. extensions that registered to the registerPackageJsonNewProps slot (and configured for the component)\n * 3. props defined by the user (they are the strongest one)\n */",
5352
- "comment": "Merge the configs provided by:\n1. envs configured in the component - via getPackageJsonProps method\n2. extensions that registered to the registerPackageJsonNewProps slot (and configured for the component)\n3. props defined by the user (they are the strongest one)"
5373
+ "comment": "Merge the configs provided by:\n1. envs configured in the component - via getPackageJsonProps method\n2. extensions that registered to the registerPackageJsonNewProps slot (and configured for the component)\n3. props defined by the user (they are the strongest one)",
5374
+ "tags": []
5353
5375
  },
5354
5376
  "signature": "(method) PkgMain.mergePackageJsonProps(component: Component): Promise<PackageJsonProps>",
5355
5377
  "name": "mergePackageJsonProps",
@@ -6035,7 +6057,7 @@
6035
6057
  "_legacy": {
6036
6058
  "scope": "teambit.pkg",
6037
6059
  "name": "pkg",
6038
- "version": "1.0.309"
6060
+ "version": "1.0.311"
6039
6061
  },
6040
6062
  "_scope": "teambit.pkg"
6041
6063
  }
@@ -6247,7 +6269,7 @@
6247
6269
  "_legacy": {
6248
6270
  "scope": "teambit.pkg",
6249
6271
  "name": "pkg",
6250
- "version": "1.0.309"
6272
+ "version": "1.0.311"
6251
6273
  },
6252
6274
  "_scope": "teambit.pkg"
6253
6275
  }
@@ -6448,7 +6470,7 @@
6448
6470
  "_legacy": {
6449
6471
  "scope": "teambit.pkg",
6450
6472
  "name": "pkg",
6451
- "version": "1.0.309"
6473
+ "version": "1.0.311"
6452
6474
  },
6453
6475
  "_scope": "teambit.pkg"
6454
6476
  }
@@ -6620,7 +6642,8 @@
6620
6642
  "character": 3
6621
6643
  },
6622
6644
  "raw": "/**\n * return a PackageGenerator instance.\n */",
6623
- "comment": "return a PackageGenerator instance."
6645
+ "comment": "return a PackageGenerator instance.",
6646
+ "tags": []
6624
6647
  },
6625
6648
  "signature": "(method) PackageEnv.package(): EnvHandler<PackageGenerator>",
6626
6649
  "name": "package",
@@ -6748,7 +6771,8 @@
6748
6771
  "character": 1
6749
6772
  },
6750
6773
  "raw": "/**\n * create and maintain build pipelines for component\n * dev environments.\n */",
6751
- "comment": "create and maintain build pipelines for component\ndev environments."
6774
+ "comment": "create and maintain build pipelines for component\ndev environments.",
6775
+ "tags": []
6752
6776
  },
6753
6777
  "signature": "class PackageGenerator",
6754
6778
  "name": "PackageGenerator",
@@ -7198,7 +7222,7 @@
7198
7222
  "componentId": {
7199
7223
  "scope": "teambit.pkg",
7200
7224
  "name": "pkg",
7201
- "version": "1.0.309"
7225
+ "version": "1.0.311"
7202
7226
  },
7203
7227
  "taggedModuleExports": []
7204
7228
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="express" />
2
1
  import { Request, Response, Route } from '@teambit/express';
3
2
  import { PkgMain } from './pkg.main.runtime';
4
3
  export declare const routePath = "package";
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.pkg_pkg@1.0.309/dist/pkg.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.pkg_pkg@1.0.309/dist/pkg.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.pkg_pkg@1.0.311/dist/pkg.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.pkg_pkg@1.0.311/dist/pkg.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/pkg",
3
- "version": "1.0.309",
3
+ "version": "1.0.311",
4
4
  "homepage": "https://bit.cloud/teambit/pkg/pkg",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.pkg",
8
8
  "name": "pkg",
9
- "version": "1.0.309"
9
+ "version": "1.0.311"
10
10
  },
11
11
  "dependencies": {
12
12
  "chalk": "2.4.2",
@@ -26,23 +26,23 @@
26
26
  "@teambit/bit-error": "0.0.404",
27
27
  "@teambit/ui-foundation.ui.use-box.menu": "1.0.10",
28
28
  "@teambit/component-id": "1.2.0",
29
- "@teambit/cli": "0.0.886",
30
- "@teambit/builder": "1.0.309",
31
- "@teambit/logger": "0.0.979",
32
- "@teambit/typescript": "1.0.309",
33
- "@teambit/envs": "1.0.309",
34
- "@teambit/component": "1.0.309",
35
- "@teambit/express": "0.0.985",
36
- "@teambit/isolator": "1.0.309",
37
- "@teambit/scope": "1.0.309",
38
- "@teambit/graphql": "1.0.309",
29
+ "@teambit/cli": "0.0.888",
30
+ "@teambit/builder": "1.0.311",
31
+ "@teambit/logger": "0.0.981",
32
+ "@teambit/typescript": "1.0.311",
33
+ "@teambit/envs": "1.0.311",
34
+ "@teambit/component": "1.0.311",
35
+ "@teambit/express": "0.0.987",
36
+ "@teambit/isolator": "1.0.311",
37
+ "@teambit/scope": "1.0.311",
38
+ "@teambit/graphql": "1.0.311",
39
39
  "@teambit/component-issues": "0.0.149",
40
40
  "@teambit/component-package-version": "0.0.433",
41
- "@teambit/dependency-resolver": "1.0.309",
41
+ "@teambit/dependency-resolver": "1.0.311",
42
42
  "@teambit/workspace.modules.node-modules-linker": "0.0.174",
43
- "@teambit/workspace": "1.0.309",
44
- "@teambit/ui": "1.0.309",
45
- "@teambit/compiler": "1.0.309"
43
+ "@teambit/workspace": "1.0.311",
44
+ "@teambit/ui": "1.0.311",
45
+ "@teambit/compiler": "1.0.311"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@types/mime": "2.0.3",