@teambit/pkg 1.0.141 → 1.0.143

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import { BitError } from '@teambit/bit-error';
2
2
  export declare class ScopeNotFound extends BitError {
3
- readonly scopePath?: string;
4
- constructor(scopePath?: string);
3
+ readonly scopePath?: string | undefined;
4
+ constructor(scopePath?: string | undefined);
5
5
  }
package/dist/packer.d.ts CHANGED
@@ -32,7 +32,7 @@ export declare class Packer {
32
32
  private logger;
33
33
  private host;
34
34
  private scope?;
35
- constructor(isolator: IsolatorMain, logger: Logger, host: ComponentFactory, scope?: ScopeMain);
35
+ constructor(isolator: IsolatorMain, logger: Logger, host: ComponentFactory, scope?: ScopeMain | undefined);
36
36
  packComponent(componentId: string, scopePath: string | undefined, options: PackOptions): Promise<PackResultWithId>;
37
37
  packMultipleCapsules(capsules: Capsule[], writeOptions?: PackWriteOptions, dryRun?: boolean, omitFullTarPath?: boolean): Promise<ComponentResult[]>;
38
38
  packCapsule(capsule: Capsule, writeOptions?: PackWriteOptions, dryRun?: boolean, omitFullTarPath?: boolean): Promise<ComponentResult>;
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export declare const Logo: () => JSX.Element;
@@ -125,7 +125,7 @@ export declare class PkgMain {
125
125
  */
126
126
  getModulePath(component: Component, options?: GetModulePathOptions): string;
127
127
  isModulePathExists(component: Component): boolean;
128
- addMissingLinksFromNodeModulesIssue(component: Component): Promise<any>;
128
+ addMissingLinksFromNodeModulesIssue(component: Component): Promise<undefined>;
129
129
  private manifestCache;
130
130
  constructor(
131
131
  /**
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { EnvService, EnvDefinition, Env, EnvContext, ServiceTransformationMap, GetNpmIgnoreContext } from '@teambit/envs';
2
3
  import { PackageJsonProps } from './pkg.main.runtime';
3
4
  export type PkgDescriptor = {
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.pkg_pkg@1.0.141/dist/pkg.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.pkg_pkg@1.0.141/dist/pkg.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.pkg_pkg@1.0.143/dist/pkg.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.pkg_pkg@1.0.143/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.141",
3
+ "version": "1.0.143",
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.141"
9
+ "version": "1.0.143"
10
10
  },
11
11
  "dependencies": {
12
12
  "chalk": "2.4.2",
@@ -27,37 +27,36 @@
27
27
  "@teambit/bit-error": "0.0.404",
28
28
  "@teambit/ui-foundation.ui.use-box.menu": "1.0.7",
29
29
  "@teambit/component-id": "1.2.0",
30
- "@teambit/cli": "0.0.848",
31
- "@teambit/builder": "1.0.141",
32
- "@teambit/logger": "0.0.941",
33
- "@teambit/typescript": "1.0.141",
34
- "@teambit/envs": "1.0.141",
35
- "@teambit/component": "1.0.141",
36
- "@teambit/express": "0.0.947",
37
- "@teambit/isolator": "1.0.141",
38
- "@teambit/scope": "1.0.141",
39
- "@teambit/graphql": "1.0.141",
40
- "@teambit/component-issues": "0.0.140",
30
+ "@teambit/cli": "0.0.849",
31
+ "@teambit/builder": "1.0.143",
32
+ "@teambit/logger": "0.0.942",
33
+ "@teambit/typescript": "1.0.143",
34
+ "@teambit/envs": "1.0.143",
35
+ "@teambit/component": "1.0.143",
36
+ "@teambit/express": "0.0.948",
37
+ "@teambit/isolator": "1.0.143",
38
+ "@teambit/scope": "1.0.143",
39
+ "@teambit/graphql": "1.0.143",
40
+ "@teambit/component-issues": "0.0.141",
41
41
  "@teambit/component-package-version": "0.0.433",
42
- "@teambit/dependency-resolver": "1.0.141",
43
- "@teambit/workspace.modules.node-modules-linker": "0.0.162",
44
- "@teambit/workspace": "1.0.141",
45
- "@teambit/ui": "1.0.141",
46
- "@teambit/compiler": "1.0.141"
42
+ "@teambit/dependency-resolver": "1.0.143",
43
+ "@teambit/workspace.modules.node-modules-linker": "0.0.163",
44
+ "@teambit/workspace": "1.0.143",
45
+ "@teambit/ui": "1.0.143",
46
+ "@teambit/compiler": "1.0.143"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@types/mime": "2.0.3",
50
50
  "@types/fs-extra": "9.0.7",
51
51
  "@types/lodash": "4.14.165",
52
52
  "@types/mocha": "9.1.0",
53
- "@types/jest": "^29.2.2",
54
- "@types/testing-library__jest-dom": "^5.9.5",
53
+ "chai": "4.3.0",
55
54
  "@teambit/pkg.content.packages-overview": "1.95.9",
56
- "@teambit/harmony.envs.core-aspect-env": "0.0.19"
55
+ "@teambit/harmony.envs.core-aspect-env": "0.0.24"
57
56
  },
58
57
  "peerDependencies": {
59
58
  "react": "^17.0.0 || ^18.0.0",
60
- "@types/react": "17.0.8",
59
+ "@types/react": "^17.0.73",
61
60
  "@teambit/legacy": "1.0.624"
62
61
  },
63
62
  "license": "Apache-2.0",
@@ -72,7 +71,8 @@
72
71
  "default": "./dist/index.js"
73
72
  },
74
73
  "./dist/*": "./dist/*",
75
- "./artifacts/*": "./artifacts/*"
74
+ "./artifacts/*": "./artifacts/*",
75
+ "./*": "./*.ts"
76
76
  },
77
77
  "private": false,
78
78
  "engines": {
package/tsconfig.json CHANGED
@@ -17,7 +17,10 @@
17
17
  "resolveJsonModule": true,
18
18
  "allowJs": true,
19
19
  "outDir": "dist",
20
- "emitDeclarationOnly": true
20
+ "emitDeclarationOnly": true,
21
+ "strict": true,
22
+ "strictPropertyInitialization": false,
23
+ "noImplicitAny": false
21
24
  },
22
25
  "exclude": [
23
26
  "artifacts",