@teambit/compiler 1.0.228 → 1.0.230

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.
@@ -0,0 +1,8 @@
1
+ import { EnvHandler } from '@teambit/envs';
2
+ import { Compiler } from './types';
3
+ export interface CompilerEnv {
4
+ /**
5
+ * return a compiler instance.
6
+ */
7
+ compiler(): EnvHandler<Compiler>;
8
+ }
@@ -0,0 +1,2 @@
1
+ import { Aspect } from '@teambit/harmony';
2
+ export declare const CompilerAspect: Aspect;
@@ -0,0 +1,32 @@
1
+ import { Command, CommandOptions } from '@teambit/cli';
2
+ import { Logger } from '@teambit/logger';
3
+ import type { PubsubMain } from '@teambit/pubsub';
4
+ import { WorkspaceCompiler, CompileOptions, BuildResult } from './workspace-compiler';
5
+ export declare class CompileCmd implements Command {
6
+ private compile;
7
+ private logger;
8
+ private pubsub;
9
+ name: string;
10
+ description: string;
11
+ helpUrl: string;
12
+ arguments: {
13
+ name: string;
14
+ description: string;
15
+ }[];
16
+ alias: string;
17
+ group: string;
18
+ options: CommandOptions;
19
+ constructor(compile: WorkspaceCompiler, logger: Logger, pubsub: PubsubMain);
20
+ report([components]: [string[]], compilerOptions: CompileOptions): Promise<{
21
+ data: string;
22
+ code: number;
23
+ }>;
24
+ json([components]: [string[]], compilerOptions: CompileOptions): Promise<{
25
+ data: BuildResult[];
26
+ code: number;
27
+ }>;
28
+ private failedComponents;
29
+ private getSummaryIcon;
30
+ private getExitCode;
31
+ private getStatusLine;
32
+ }
@@ -0,0 +1 @@
1
+ export declare const Logo: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,73 @@
1
+ import { AspectLoaderMain } from '@teambit/aspect-loader';
2
+ import { BuilderMain } from '@teambit/builder';
3
+ import { CLIMain } from '@teambit/cli';
4
+ import { IssuesMain } from '@teambit/issues';
5
+ import { Component } from '@teambit/component';
6
+ import { WatcherMain } from '@teambit/watcher';
7
+ import { EnvsMain, ExecutionContext } from '@teambit/envs';
8
+ import { ComponentID } from '@teambit/component-id';
9
+ import { DependencyResolverMain } from '@teambit/dependency-resolver';
10
+ import { LoggerMain } from '@teambit/logger';
11
+ import { GeneratorMain } from '@teambit/generator';
12
+ import { PubsubMain } from '@teambit/pubsub';
13
+ import { UiMain } from '@teambit/ui';
14
+ import { Workspace } from '@teambit/workspace';
15
+ import { CompilerService } from './compiler.service';
16
+ import { CompilerTask } from './compiler.task';
17
+ import { DistArtifact } from './dist-artifact';
18
+ import { Compiler } from './types';
19
+ import { CompileOptions, WorkspaceCompiler } from './workspace-compiler';
20
+ export declare class CompilerMain {
21
+ private pubsub;
22
+ private workspaceCompiler;
23
+ private envs;
24
+ private builder;
25
+ private workspace;
26
+ private dependencyResolver;
27
+ private compilerService;
28
+ constructor(pubsub: PubsubMain, workspaceCompiler: WorkspaceCompiler, envs: EnvsMain, builder: BuilderMain, workspace: Workspace, dependencyResolver: DependencyResolverMain, compilerService: CompilerService);
29
+ getCompiler(context: ExecutionContext): Compiler;
30
+ /**
31
+ * Run compilation on `bit new` and when new components are imported
32
+ */
33
+ compileOnWorkspace(componentsIds?: string[] | ComponentID[] | ComponentID[], // when empty, it compiles all
34
+ options?: CompileOptions): Promise<import("./workspace-compiler").BuildResult[]>;
35
+ /**
36
+ * API to create a new compiler task, it facilitates the usage of multiple compilers.
37
+ * with this method you can create any number of compilers and add them to the buildPipeline.
38
+ */
39
+ createTask(name: string, compiler: Compiler): CompilerTask;
40
+ /**
41
+ * find the compiler configured on the workspace and ask for the dist path.
42
+ */
43
+ getDistPathBySrcPath(component: Component, srcPath: string): string | null;
44
+ /**
45
+ * find the compiler configured on the workspace and ask for the dist folder path.
46
+ */
47
+ getRelativeDistFolder(component: Component): string;
48
+ /**
49
+ * Check if the dist folder (in the component package under node_modules) exist
50
+ * @param component
51
+ * @returns
52
+ */
53
+ isDistDirExists(component: Component): Promise<boolean>;
54
+ getDistsFiles(component: Component): Promise<DistArtifact>;
55
+ addMissingDistsIssue(components: Component[], issuesToIgnore: string[]): Promise<void>;
56
+ static runtime: import("@teambit/harmony").RuntimeDefinition;
57
+ static dependencies: import("@teambit/harmony").Aspect[];
58
+ static provider([cli, workspace, envs, loggerMain, pubsub, aspectLoader, builder, ui, generator, dependencyResolver, watcher, issues,]: [
59
+ CLIMain,
60
+ Workspace,
61
+ EnvsMain,
62
+ LoggerMain,
63
+ PubsubMain,
64
+ AspectLoaderMain,
65
+ BuilderMain,
66
+ UiMain,
67
+ GeneratorMain,
68
+ DependencyResolverMain,
69
+ WatcherMain,
70
+ IssuesMain
71
+ ]): Promise<CompilerMain>;
72
+ }
73
+ export default CompilerMain;
@@ -0,0 +1,24 @@
1
+ import { EnvService, EnvDefinition, Env, EnvContext, ServiceTransformationMap, ExecutionContext } from '@teambit/envs';
2
+ import { Compiler } from './types';
3
+ export type CompilerDescriptor = {
4
+ id: string;
5
+ icon?: string;
6
+ config?: string;
7
+ };
8
+ type CompilerTransformationMap = ServiceTransformationMap & {
9
+ getCompiler: () => Compiler;
10
+ };
11
+ export declare class CompilerService implements EnvService<{}, CompilerDescriptor> {
12
+ name: string;
13
+ getCompiler(context: ExecutionContext): Compiler;
14
+ render(env: EnvDefinition): string;
15
+ transform(env: Env, context: EnvContext): CompilerTransformationMap | undefined;
16
+ getDescriptor(env: EnvDefinition): {
17
+ id: any;
18
+ icon: any;
19
+ config: any;
20
+ version: any;
21
+ displayName: any;
22
+ } | undefined;
23
+ }
24
+ export {};
@@ -0,0 +1,37 @@
1
+ import { BuildContext, BuiltTaskResult, BuildTask, TaskResultsList } from '@teambit/builder';
2
+ import { Capsule } from '@teambit/isolator';
3
+ import { EnvContext, EnvHandler } from '@teambit/envs';
4
+ import { DependencyResolverMain } from '@teambit/dependency-resolver';
5
+ import { Compiler } from './types';
6
+ export type CompilerTaskOptions = {
7
+ /**
8
+ * instance of compiler to use.
9
+ */
10
+ compiler: EnvHandler<Compiler>;
11
+ /**
12
+ * name of compiler task
13
+ */
14
+ name?: string;
15
+ };
16
+ /**
17
+ * compiler build task. Allows to compile components during component build.
18
+ */
19
+ export declare class CompilerTask implements BuildTask {
20
+ readonly aspectId: string;
21
+ readonly name: string;
22
+ private compilerInstance;
23
+ private dependencyResolver;
24
+ readonly description = "compile components";
25
+ constructor(aspectId: string, name: string, compilerInstance: Compiler, dependencyResolver: DependencyResolverMain);
26
+ preBuild(context: BuildContext): Promise<void>;
27
+ execute(context: BuildContext): Promise<BuiltTaskResult>;
28
+ /**
29
+ * This function hard links the compiled artifacts to the `node_modules` of other component capsules.
30
+ * For instance, if we have a `button` component that is a dependency of the `card` component,
31
+ * then the `dist` folder of the `button` component will be copied to `<card_capsule>/node_modules/button/dist`.
32
+ */
33
+ private _hardLinkBuildArtifactsOnCapsules;
34
+ postBuild?(context: BuildContext, tasksResults: TaskResultsList): Promise<void>;
35
+ copyNonSupportedFiles(capsule: Capsule, compiler: Compiler): Promise<void>;
36
+ static from(options: CompilerTaskOptions): (context: EnvContext) => CompilerTask;
37
+ }
@@ -0,0 +1,6 @@
1
+ import { AbstractVinyl } from '@teambit/legacy/dist/consumer/component/sources';
2
+ export declare class DistArtifact {
3
+ private artifacts;
4
+ constructor(artifacts: AbstractVinyl[]);
5
+ getFile(path: string): AbstractVinyl | undefined;
6
+ }
@@ -0,0 +1,12 @@
1
+ import { BitBaseEvent } from '@teambit/pubsub';
2
+ declare class CompilerErrorEventData {
3
+ readonly error: any;
4
+ constructor(error: any);
5
+ }
6
+ export declare class CompilerErrorEvent extends BitBaseEvent<CompilerErrorEventData> {
7
+ readonly error: any;
8
+ readonly timestamp: number;
9
+ static readonly TYPE = "compiler-error";
10
+ constructor(error: any, timestamp?: number);
11
+ }
12
+ export {};
@@ -0,0 +1 @@
1
+ export * from './compiler-error';
@@ -0,0 +1,6 @@
1
+ import { ComponentID } from '@teambit/component';
2
+ import { BitError } from '@teambit/bit-error';
3
+ export declare class DistArtifactNotFound extends BitError {
4
+ readonly componentId: ComponentID;
5
+ constructor(componentId: ComponentID);
6
+ }
@@ -0,0 +1 @@
1
+ export { DistArtifactNotFound } from './dist-artifact-not-found';
@@ -0,0 +1,8 @@
1
+ export type { CompilerMain } from './compiler.main.runtime';
2
+ export type { CompilerTaskOptions } from './compiler.task';
3
+ export { CompilerTask } from './compiler.task';
4
+ export type { CompilerEnv } from './compiler-env-type';
5
+ export { CompilerAspect } from './compiler.aspect';
6
+ export { CompilationInitiator } from './types';
7
+ export type { Compiler, CompilerOptions, TranspileFileOutput, TranspileFileParams, TranspileComponentParams, TranspileFileOutputOneFile, } from './types';
8
+ export * from './events';
@@ -0,0 +1,2 @@
1
+ import { BuildResult } from './workspace-compiler';
2
+ export declare const formatCompileResults: (compileResults: BuildResult[], verbose: boolean) => string;
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.compilation_compiler@1.0.228/dist/compiler.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.compilation_compiler@1.0.228/dist/compiler.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.compilation_compiler@1.0.230/dist/compiler.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.compilation_compiler@1.0.230/dist/compiler.docs.mdx';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];
@@ -0,0 +1,2 @@
1
+ import { ComponentContext } from '@teambit/generator';
2
+ export declare function aspectFile({ namePascalCase, componentId }: ComponentContext): string;
@@ -0,0 +1,2 @@
1
+ import { ComponentContext } from '@teambit/generator';
2
+ export declare function compilerFile({ namePascalCase }: ComponentContext): string;
@@ -0,0 +1,2 @@
1
+ import { ComponentContext } from '@teambit/generator';
2
+ export declare function indexFile({ namePascalCase, name }: ComponentContext): string;
@@ -0,0 +1,2 @@
1
+ import { ComponentContext } from '@teambit/generator';
2
+ export declare function mainRuntimeFile({ name, namePascalCase }: ComponentContext): string;
@@ -0,0 +1,2 @@
1
+ import { ComponentTemplate } from '@teambit/generator';
2
+ export declare const compilerTemplate: ComponentTemplate;
@@ -0,0 +1,126 @@
1
+ import { BuildContext, BuildTask, BuiltTaskResult, TaskResultsList } from '@teambit/builder';
2
+ import type { Component } from '@teambit/component';
3
+ import { ServiceHandler } from '@teambit/envs';
4
+ export type TranspileFileParams = {
5
+ componentDir: string;
6
+ filePath: string;
7
+ };
8
+ export declare enum CompilationInitiator {
9
+ CmdReport = 0,
10
+ CmdJson = 1,
11
+ PreStart = 2,
12
+ PreWatch = 3,
13
+ Start = 4,
14
+ ComponentChanged = 5,
15
+ AspectLoadFail = 6,
16
+ ComponentAdded = 7,
17
+ Install = 8
18
+ }
19
+ export type TranspileComponentParams = {
20
+ component: Component;
21
+ componentDir: string;
22
+ outputDir: string;
23
+ initiator: CompilationInitiator;
24
+ };
25
+ export type TranspileFileOutputOneFile = {
26
+ outputText: string;
27
+ outputPath: string;
28
+ };
29
+ export type TranspileFileOutput = TranspileFileOutputOneFile[] | null;
30
+ export interface CompilerOptions {
31
+ /**
32
+ * name of the compiler.
33
+ */
34
+ name?: string;
35
+ /**
36
+ * relative path of the dist directory inside the capsule. e.g. "dist".
37
+ */
38
+ distDir: string;
39
+ /**
40
+ * determines which ones of the generated files will be saved in the bit objects when tagging.
41
+ * e.g. distGlobPatterns = [`${this.distDir}/**`, `!${this.distDir}/tsconfig.tsbuildinfo`];
42
+ * see https://github.com/mrmlnc/fast-glob for the supported glob patters syntax.
43
+ */
44
+ distGlobPatterns?: string[];
45
+ /**
46
+ * whether or not unsupported files (such as assets) should be copied into the dist directory
47
+ */
48
+ shouldCopyNonSupportedFiles?: boolean;
49
+ /**
50
+ * optional. default to "dist".
51
+ * useful when the build pipeline has multiple compiler tasks of the same compiler.
52
+ * e.g. using the same Babel compiler for two different tasks, one for creating "es5" files, and
53
+ * the second for creating "esm". the artifact names would be "es5" and "esm" accordingly.
54
+ */
55
+ artifactName?: string;
56
+ }
57
+ export interface Compiler extends CompilerOptions, ServiceHandler {
58
+ /**
59
+ * id of the compiler.
60
+ */
61
+ id: string;
62
+ /**
63
+ * Delete dist folder before writing the new compiled files
64
+ */
65
+ deleteDistDir?: boolean;
66
+ /**
67
+ * serialized config of the compiler.
68
+ */
69
+ displayConfig?(): string;
70
+ /**
71
+ * transpile a single file that gets saved into the workspace, used by `bit compile` and during
72
+ * development
73
+ */
74
+ transpileFile?: (fileContent: string, params: TranspileFileParams) => TranspileFileOutput | Promise<TranspileFileOutput>;
75
+ /**
76
+ * transpile all the files of a component, use this when you can't use `transpileFile`
77
+ */
78
+ transpileComponent?: (params: TranspileComponentParams) => Promise<void>;
79
+ /**
80
+ * compile components inside isolated capsules. this being used during tag for the release.
81
+ * meaning, the final package of the component has the dists generated by this method.
82
+ *
83
+ * no need to handle non-supported-files (e.g. assets) in this method because the compiler-aspect already copies them
84
+ * into the compiler.dist in the preBuild stage.
85
+ */
86
+ build(context: BuildContext): Promise<BuiltTaskResult>;
87
+ /**
88
+ * return the dist dir of the compiled files (relative path from the component root dir)
89
+ */
90
+ getDistDir?(): string;
91
+ /**
92
+ * given a source file, return its parallel in the dists. e.g. "index.ts" => "dist/index.js"
93
+ * both, the return path and the given path are relative paths.
94
+ */
95
+ getDistPathBySrcPath(srcPath: string): string;
96
+ /**
97
+ * given a component, returns the path to the source folder to use for the preview, uses the one
98
+ * in node_modules by default
99
+ */
100
+ getPreviewComponentRootPath?(component: Component): string;
101
+ /**
102
+ * only supported files matching get compiled. others, are copied to the dist dir.
103
+ */
104
+ isFileSupported(filePath: string): boolean;
105
+ /**
106
+ * sugar to create a Compiler task via the concrete compiler
107
+ */
108
+ createTask?(name?: string): BuildTask;
109
+ /**
110
+ * run before the build pipeline has started. this is useful when some preparation are needed to
111
+ * be done on all envs before the build starts.
112
+ */
113
+ preBuild?(context: BuildContext): Promise<void>;
114
+ /**
115
+ * run after the build pipeline completed for all envs. useful for some cleanups
116
+ */
117
+ postBuild?(context: BuildContext, tasksResults: TaskResultsList): Promise<void>;
118
+ /**
119
+ * returns the version of the current compiler instance (e.g. '4.0.1').
120
+ */
121
+ version(): string;
122
+ /**
123
+ * returns the display name of the current compiler instance (e.g. 'TypeScript')
124
+ */
125
+ displayName: string;
126
+ }
@@ -0,0 +1,83 @@
1
+ import { Component } from '@teambit/component';
2
+ import { EnvsMain } from '@teambit/envs';
3
+ import type { PubsubMain } from '@teambit/pubsub';
4
+ import { SerializableResults, Workspace } from '@teambit/workspace';
5
+ import { WatcherMain, WatchOptions } from '@teambit/watcher';
6
+ import { ComponentID } from '@teambit/component-id';
7
+ import { Logger } from '@teambit/logger';
8
+ import { Dist } from '@teambit/legacy/dist/consumer/component/sources';
9
+ import { AspectLoaderMain } from '@teambit/aspect-loader';
10
+ import { DependencyResolverMain } from '@teambit/dependency-resolver';
11
+ import { UiMain } from '@teambit/ui';
12
+ import type { PreStartOpts } from '@teambit/ui';
13
+ import { Compiler, CompilationInitiator } from './types';
14
+ export type BuildResult = {
15
+ component: string;
16
+ buildResults: string[];
17
+ errors: CompileError[];
18
+ };
19
+ export type CompileOptions = {
20
+ changed?: boolean;
21
+ verbose?: boolean;
22
+ /**
23
+ * whether the dist root dir should be deleted before writing new dists.
24
+ * defaults to true for `bit compile` and false everywhere else, such as `bit watch` and `bit
25
+ * start` to avoid webpack "EINTR" error.
26
+ */
27
+ deleteDistDir?: boolean;
28
+ initiator: CompilationInitiator;
29
+ linkComponents?: boolean;
30
+ };
31
+ export type CompileError = {
32
+ path: string;
33
+ error: Error;
34
+ };
35
+ export declare class ComponentCompiler {
36
+ private pubsub;
37
+ private workspace;
38
+ private component;
39
+ private compilerInstance;
40
+ private compilerId;
41
+ private logger;
42
+ private dependencyResolver;
43
+ private dists;
44
+ private compileErrors;
45
+ constructor(pubsub: PubsubMain, workspace: Workspace, component: Component, compilerInstance: Compiler, compilerId: string, logger: Logger, dependencyResolver: DependencyResolverMain, dists?: Dist[], compileErrors?: CompileError[]);
46
+ compile(noThrow: boolean | undefined, options: CompileOptions): Promise<BuildResult>;
47
+ private throwOnCompileErrors;
48
+ private distDirs;
49
+ private getInjectedDirs;
50
+ private get componentDir();
51
+ private compileOneFile;
52
+ private compileAllFiles;
53
+ }
54
+ export declare class WorkspaceCompiler {
55
+ private workspace;
56
+ private envs;
57
+ private pubsub;
58
+ private aspectLoader;
59
+ private ui;
60
+ private logger;
61
+ private dependencyResolver;
62
+ private watcher;
63
+ constructor(workspace: Workspace, envs: EnvsMain, pubsub: PubsubMain, aspectLoader: AspectLoaderMain, ui: UiMain, logger: Logger, dependencyResolver: DependencyResolverMain, watcher: WatcherMain);
64
+ onPreStart(preStartOpts: PreStartOpts): Promise<void>;
65
+ onAspectLoadFail(err: Error & {
66
+ code?: string;
67
+ }, id: ComponentID): Promise<boolean>;
68
+ onComponentAdd(component: Component, files: string[], watchOpts: WatchOptions): Promise<void | SerializableResults>;
69
+ onComponentChange(component: Component, files: string[], removedFiles: string[] | undefined, watchOpts: WatchOptions): Promise<SerializableResults | void>;
70
+ onPreWatch(componentIds: ComponentID[], watchOpts: WatchOptions): Promise<void>;
71
+ compileComponents(componentsIds: string[] | ComponentID[] | ComponentID[], // when empty, it compiles new+modified (unless options.all is set),
72
+ options: CompileOptions, noThrow?: boolean): Promise<BuildResult[]>;
73
+ private runCompileComponents;
74
+ /**
75
+ * This function get's a list of aspect ids and return them grouped by whether any of them is the env of other from the list
76
+ * @param ids
77
+ */
78
+ groupByIsEnv(components: Component[]): {
79
+ envs?: Component[];
80
+ other?: Component[];
81
+ };
82
+ private getIdsToCompile;
83
+ }
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/compiler",
3
- "version": "1.0.228",
3
+ "version": "1.0.230",
4
4
  "homepage": "https://bit.cloud/teambit/compilation/compiler",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.compilation",
8
8
  "name": "compiler",
9
- "version": "1.0.228"
9
+ "version": "1.0.230"
10
10
  },
11
11
  "dependencies": {
12
12
  "chalk": "2.4.2",
@@ -19,24 +19,24 @@
19
19
  "@teambit/component-id": "1.2.0",
20
20
  "@teambit/bit-roots": "0.0.133",
21
21
  "@teambit/bit-error": "0.0.404",
22
- "@teambit/envs": "1.0.228",
23
- "@teambit/cli": "0.0.861",
24
- "@teambit/logger": "0.0.954",
25
- "@teambit/pubsub": "1.0.228",
26
- "@teambit/aspect-loader": "1.0.228",
27
- "@teambit/builder": "1.0.228",
28
- "@teambit/component-issues": "0.0.143",
29
- "@teambit/component": "1.0.228",
30
- "@teambit/dependency-resolver": "1.0.228",
31
- "@teambit/generator": "1.0.229",
32
- "@teambit/issues": "1.0.228",
33
- "@teambit/ui": "1.0.228",
34
- "@teambit/watcher": "1.0.228",
35
- "@teambit/workspace": "1.0.228",
36
- "@teambit/isolator": "1.0.228",
22
+ "@teambit/envs": "1.0.230",
23
+ "@teambit/cli": "0.0.862",
24
+ "@teambit/logger": "0.0.955",
25
+ "@teambit/pubsub": "1.0.230",
26
+ "@teambit/aspect-loader": "1.0.230",
27
+ "@teambit/builder": "1.0.230",
28
+ "@teambit/component-issues": "0.0.144",
29
+ "@teambit/component": "1.0.230",
30
+ "@teambit/dependency-resolver": "1.0.230",
31
+ "@teambit/generator": "1.0.231",
32
+ "@teambit/issues": "1.0.230",
33
+ "@teambit/ui": "1.0.230",
34
+ "@teambit/watcher": "1.0.230",
35
+ "@teambit/workspace": "1.0.230",
36
+ "@teambit/isolator": "1.0.230",
37
37
  "@teambit/toolbox.fs.hard-link-directory": "0.0.21",
38
- "@teambit/multi-compiler": "1.0.228",
39
- "@teambit/workspace.modules.node-modules-linker": "0.0.167"
38
+ "@teambit/multi-compiler": "1.0.230",
39
+ "@teambit/workspace.modules.node-modules-linker": "0.0.168"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@types/fs-extra": "9.0.7",
@@ -44,7 +44,7 @@
44
44
  "@types/mocha": "9.1.0",
45
45
  "chai": "4.3.0",
46
46
  "@teambit/compilation.content.compiler-overview": "1.95.0",
47
- "@teambit/harmony.envs.core-aspect-env": "0.0.30"
47
+ "@teambit/harmony.envs.core-aspect-env": "0.0.33"
48
48
  },
49
49
  "peerDependencies": {
50
50
  "react": "^17.0.0 || ^18.0.0",
package/tsconfig.json CHANGED
@@ -20,8 +20,7 @@
20
20
  "emitDeclarationOnly": true,
21
21
  "strict": true,
22
22
  "strictPropertyInitialization": false,
23
- "noImplicitAny": false,
24
- "composite": true
23
+ "noImplicitAny": false
25
24
  },
26
25
  "exclude": [
27
26
  "artifacts",
@@ -36,49 +35,5 @@
36
35
  "include": [
37
36
  "**/*",
38
37
  "**/*.json"
39
- ],
40
- "references": [
41
- {
42
- "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.envs_envs@1.0.228"
43
- },
44
- {
45
- "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_cli@0.0.861"
46
- },
47
- {
48
- "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_logger@0.0.954"
49
- },
50
- {
51
- "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_pubsub@1.0.228"
52
- },
53
- {
54
- "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_aspect-loader@1.0.228"
55
- },
56
- {
57
- "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.pipelines_builder@1.0.228"
58
- },
59
- {
60
- "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_component@1.0.228"
61
- },
62
- {
63
- "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.generator_generator@1.0.229"
64
- },
65
- {
66
- "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_issues@1.0.228"
67
- },
68
- {
69
- "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.ui-foundation_ui@1.0.228"
70
- },
71
- {
72
- "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_watcher@1.0.228"
73
- },
74
- {
75
- "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_workspace@1.0.228"
76
- },
77
- {
78
- "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_isolator@1.0.228"
79
- },
80
- {
81
- "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.compilation_multi-compiler@1.0.228"
82
- }
83
38
  ]
84
39
  }