@rushstack/heft-typescript-plugin 0.1.0-rc.5 → 0.1.1

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.
@@ -71,17 +71,16 @@ export declare interface ITypeScriptConfigurationJson {
71
71
  * Note that this will effectively enable \"noEmitOnError\".
72
72
  */
73
73
  buildProjectReferences?: boolean;
74
+ /**
75
+ * If true, and the tsconfig has \"isolatedModules\": true, then transpilation will happen in parallel in a worker thread.
76
+ */
77
+ useTranspilerWorker?: boolean;
74
78
  project?: string;
75
79
  /**
76
80
  * Configures additional file types that should be copied into the TypeScript compiler's emit folders, for example
77
81
  * so that these files can be resolved by import statements.
78
82
  */
79
83
  staticAssetsToCopy?: IStaticAssetsCopyConfiguration;
80
- /**
81
- * Set this to change the maximum number of file handles that will be opened concurrently for writing.
82
- * The default is 50.
83
- */
84
- maxWriteParallelism?: number;
85
84
  }
86
85
 
87
86
  /**
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.34.4"
8
+ "packageVersion": "7.35.0"
9
9
  }
10
10
  ]
11
11
  }
@@ -1,7 +1,7 @@
1
- export declare type PerformanceMeasurer = <TResult extends object | void>(measurementName: string, fn: () => TResult) => TResult & {
1
+ export type PerformanceMeasurer = <TResult extends object | void>(measurementName: string, fn: () => TResult) => TResult & {
2
2
  duration: number;
3
3
  };
4
- export declare type PerformanceMeasurerAsync = <TResult extends object | void>(measurementName: string, fn: () => Promise<TResult>) => Promise<TResult & {
4
+ export type PerformanceMeasurerAsync = <TResult extends object | void>(measurementName: string, fn: () => Promise<TResult>) => Promise<TResult & {
5
5
  duration: number;
6
6
  }>;
7
7
  //# sourceMappingURL=Performance.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Performance.d.ts","sourceRoot":"","sources":["../src/Performance.ts"],"names":[],"mappings":"AAGA,oBAAY,mBAAmB,GAAG,CAAC,OAAO,SAAS,MAAM,GAAG,IAAI,EAC9D,eAAe,EAAE,MAAM,EACvB,EAAE,EAAE,MAAM,OAAO,KACd,OAAO,GAAG;IAAE,QAAQ,EAAE,MAAM,CAAA;CAAE,CAAC;AAEpC,oBAAY,wBAAwB,GAAG,CAAC,OAAO,SAAS,MAAM,GAAG,IAAI,EACnE,eAAe,EAAE,MAAM,EACvB,EAAE,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,KACvB,OAAO,CAAC,OAAO,GAAG;IAAE,QAAQ,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC"}
1
+ {"version":3,"file":"Performance.d.ts","sourceRoot":"","sources":["../src/Performance.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,mBAAmB,GAAG,CAAC,OAAO,SAAS,MAAM,GAAG,IAAI,EAC9D,eAAe,EAAE,MAAM,EACvB,EAAE,EAAE,MAAM,OAAO,KACd,OAAO,GAAG;IAAE,QAAQ,EAAE,MAAM,CAAA;CAAE,CAAC;AAEpC,MAAM,MAAM,wBAAwB,GAAG,CAAC,OAAO,SAAS,MAAM,GAAG,IAAI,EACnE,eAAe,EAAE,MAAM,EACvB,EAAE,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,KACvB,OAAO,CAAC,OAAO,GAAG;IAAE,QAAQ,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=TranspilerWorker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TranspilerWorker.d.ts","sourceRoot":"","sources":["../src/TranspilerWorker.ts"],"names":[],"mappings":""}
@@ -0,0 +1,85 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
4
+ // See LICENSE in the project root for license information.
5
+ const node_worker_threads_1 = require("node:worker_threads");
6
+ const configureProgramForMultiEmit_1 = require("./configureProgramForMultiEmit");
7
+ const typedWorkerData = node_worker_threads_1.workerData;
8
+ const ts = require(typedWorkerData.typeScriptToolPath);
9
+ function handleMessage(message) {
10
+ if (!message) {
11
+ process.exit(0);
12
+ }
13
+ try {
14
+ const response = runTranspiler(message);
15
+ node_worker_threads_1.parentPort.postMessage(response);
16
+ }
17
+ catch (err) {
18
+ const errorResponse = {
19
+ requestId: message.requestId,
20
+ type: 'error',
21
+ result: Object.assign({ message: err.message }, Object.fromEntries(Object.entries(err)))
22
+ };
23
+ node_worker_threads_1.parentPort.postMessage(errorResponse);
24
+ }
25
+ }
26
+ function runTranspiler(message) {
27
+ const { requestId, compilerOptions, moduleKindsToEmit, filesToTranspile } = message;
28
+ const fullySkipTypeCheck =
29
+ /* TypeScript 5+ */ compilerOptions.verbatimModuleSyntax ||
30
+ /* TypeScript 4 */ compilerOptions.importsNotUsedAsValues === ts.ImportsNotUsedAsValues.Error;
31
+ for (const [option, value] of Object.entries(ts.getDefaultCompilerOptions())) {
32
+ if (compilerOptions[option] === undefined) {
33
+ compilerOptions[option] = value;
34
+ }
35
+ }
36
+ const { target: rawTarget } = compilerOptions;
37
+ for (const option of ts.transpileOptionValueCompilerOptions) {
38
+ compilerOptions[option.name] = option.transpileOptionValue;
39
+ }
40
+ compilerOptions.suppressOutputPathCheck = true;
41
+ compilerOptions.skipDefaultLibCheck = true;
42
+ // To fully disable the type checker, we have to set `hasNoDefaultLib: true` on every source file.
43
+ // However, doing so loses the information about which imports are used.
44
+ // To retain the imports, we use `preserveValueImports`. However, if some imports are only used for types,
45
+ // this will produce invalid runtime output unless said imports are marked with `type `.
46
+ // Thus we can only enable this optimization if `verbatimModuleSyntax` is enabled (or equivalent).
47
+ compilerOptions.preserveValueImports = fullySkipTypeCheck;
48
+ const sourceFileByPath = new Map();
49
+ const includedFiles = [];
50
+ for (const [fileName, sourceText] of filesToTranspile) {
51
+ if (sourceText) {
52
+ const sourceFile = ts.createSourceFile(fileName, sourceText, rawTarget);
53
+ sourceFile.hasNoDefaultLib = fullySkipTypeCheck;
54
+ sourceFileByPath.set(fileName, sourceFile);
55
+ includedFiles.push(fileName);
56
+ }
57
+ }
58
+ const newLine = ts.getNewLineCharacter(compilerOptions);
59
+ const compilerHost = {
60
+ getSourceFile: (fileName) => sourceFileByPath.get(fileName),
61
+ writeFile: ts.sys.writeFile,
62
+ getDefaultLibFileName: () => 'lib.d.ts',
63
+ useCaseSensitiveFileNames: () => true,
64
+ getCanonicalFileName: (fileName) => fileName,
65
+ getCurrentDirectory: () => '',
66
+ getNewLine: () => newLine,
67
+ fileExists: (fileName) => sourceFileByPath.has(fileName),
68
+ readFile: () => '',
69
+ directoryExists: () => true,
70
+ getDirectories: () => []
71
+ };
72
+ const program = ts.createProgram(includedFiles, compilerOptions, compilerHost);
73
+ (0, configureProgramForMultiEmit_1.configureProgramForMultiEmit)(program, ts, moduleKindsToEmit, 'transpile');
74
+ const result = program.emit(undefined,
75
+ // The writeFile callback must be provided for the multi-emit redirector
76
+ ts.sys.writeFile, undefined, undefined, undefined);
77
+ const response = {
78
+ requestId,
79
+ type: 'success',
80
+ result
81
+ };
82
+ return response;
83
+ }
84
+ node_worker_threads_1.parentPort.on('message', handleMessage);
85
+ //# sourceMappingURL=TranspilerWorker.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TranspilerWorker.js","sourceRoot":"","sources":["../src/TranspilerWorker.ts"],"names":[],"mappings":";;AAAA,4FAA4F;AAC5F,2DAA2D;AAC3D,6DAA6D;AAU7D,iFAA8E;AAE9E,MAAM,eAAe,GAA0B,gCAAU,CAAC;AAE1D,MAAM,EAAE,GAAuB,OAAO,CAAC,eAAe,CAAC,kBAAkB,CAAC,CAAC;AAE3E,SAAS,aAAa,CAAC,OAA6C;IAClE,IAAI,CAAC,OAAO,EAAE;QACZ,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;KACjB;IAED,IAAI;QACF,MAAM,QAAQ,GAAiC,aAAa,CAAC,OAAO,CAAC,CAAC;QACtE,gCAAW,CAAC,WAAW,CA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Ae,EAAE,YAAY,CAAC,CAAC;IAEpG,IAAA,2DAA4B,EAAC,OAAO,EAAE,EAAE,EAAE,iBAAiB,EAAE,WAAW,CAAC,CAAC;IAE1E,MAAM,MAAM,GAA2B,OAAO,CAAC,IAAI,CACjD,SAAS;IACT,wEAAwE;IACxE,EAAE,CAAC,GAAG,CAAC,SAAS,EAChB,SAAS,EACT,SAAS,EACT,SAAS,CACV,CAAC;IAEF,MAAM,QAAQ,GAAiC;QAC7C,SAAS;QACT,IAAI,EAAE,SAAS;QACf,MAAM;KACP,CAAC;IAEF,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED,gCAAW,CAAC,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.\n// See LICENSE in the project root for license information.\nimport { parentPort, workerData } from 'node:worker_threads';\n\nimport type * as TTypescript from 'typescript';\nimport type {\n ITranspilationErrorMessage,\n ITranspilationRequestMessage,\n ITranspilationSuccessMessage,\n ITypescriptWorkerData\n} from './types';\nimport type { ExtendedTypeScript } from './internalTypings/TypeScriptInternals';\nimport { configureProgramForMultiEmit } from './configureProgramForMultiEmit';\n\nconst typedWorkerData: ITypescriptWorkerData = workerData;\n\nconst ts: ExtendedTypeScript = require(typedWorkerData.typeScriptToolPath);\n\nfunction handleMessage(message: ITranspilationRequestMessage | false): void {\n if (!message) {\n process.exit(0);\n }\n\n try {\n const response: ITranspilationSuccessMessage = runTranspiler(message);\n parentPort!.postMessage(response);\n } catch (err) {\n const errorResponse: ITranspilationErrorMessage = {\n requestId: message.requestId,\n type: 'error',\n result: {\n message: err.message,\n ...Object.fromEntries(Object.entries(err))\n }\n };\n parentPort!.postMessage(errorResponse);\n }\n}\n\nfunction runTranspiler(message: ITranspilationRequestMessage): ITranspilationSuccessMessage {\n const { requestId, compilerOptions, moduleKindsToEmit, filesToTranspile } = message;\n\n const fullySkipTypeCheck: boolean =\n /* TypeScript 5+ */ compilerOptions.verbatimModuleSyntax ||\n /* TypeScript 4 */ compilerOptions.importsNotUsedAsValues === ts.ImportsNotUsedAsValues.Error;\n\n for (const [option, value] of Object.entries(ts.getDefaultCompilerOptions())) {\n if (compilerOptions[option] === undefined) {\n compilerOptions[option] = value;\n }\n }\n\n const { target: rawTarget } = compilerOptions;\n\n for (const option of ts.transpileOptionValueCompilerOptions) {\n compilerOptions[option.name] = option.transpileOptionValue;\n }\n\n compilerOptions.suppressOutputPathCheck = true;\n compilerOptions.skipDefaultLibCheck = true;\n // To fully disable the type checker, we have to set `hasNoDefaultLib: true` on every source file.\n // However, doing so loses the information about which imports are used.\n // To retain the imports, we use `preserveValueImports`. However, if some imports are only used for types,\n // this will produce invalid runtime output unless said imports are marked with `type `.\n // Thus we can only enable this optimization if `verbatimModuleSyntax` is enabled (or equivalent).\n compilerOptions.preserveValueImports = fullySkipTypeCheck;\n\n const sourceFileByPath: Map<string, TTypescript.SourceFile> = new Map();\n\n const includedFiles: string[] = [];\n for (const [fileName, sourceText] of filesToTranspile) {\n if (sourceText) {\n const sourceFile: TTypescript.SourceFile = ts.createSourceFile(fileName, sourceText, rawTarget!);\n sourceFile.hasNoDefaultLib = fullySkipTypeCheck;\n sourceFileByPath.set(fileName, sourceFile);\n includedFiles.push(fileName);\n }\n }\n\n const newLine: string = ts.getNewLineCharacter(compilerOptions);\n\n const compilerHost: TTypescript.CompilerHost = {\n getSourceFile: (fileName: string) => sourceFileByPath.get(fileName),\n writeFile: ts.sys.writeFile,\n getDefaultLibFileName: () => 'lib.d.ts',\n useCaseSensitiveFileNames: () => true,\n getCanonicalFileName: (fileName: string) => fileName,\n getCurrentDirectory: () => '',\n getNewLine: () => newLine,\n fileExists: (fileName: string) => sourceFileByPath.has(fileName),\n readFile: () => '',\n directoryExists: () => true,\n getDirectories: () => []\n };\n\n const program: TTypescript.Program = ts.createProgram(includedFiles, compilerOptions, compilerHost);\n\n configureProgramForMultiEmit(program, ts, moduleKindsToEmit, 'transpile');\n\n const result: TTypescript.EmitResult = program.emit(\n undefined,\n // The writeFile callback must be provided for the multi-emit redirector\n ts.sys.writeFile,\n undefined,\n undefined,\n undefined\n );\n\n const response: ITranspilationSuccessMessage = {\n requestId,\n type: 'success',\n result\n };\n\n return response;\n}\n\nparentPort!.on('message', handleMessage);\n"]}
@@ -1,8 +1,10 @@
1
+ /// <reference types="node" />
2
+ import { Worker } from 'worker_threads';
1
3
  import type * as TTypescript from 'typescript';
2
4
  import type { IScopedLogger } from '@rushstack/heft';
3
5
  import type { ExtendedTypeScript, IExtendedSolutionBuilder } from './internalTypings/TypeScriptInternals';
4
6
  import type { ITypeScriptConfigurationJson } from './TypeScriptPlugin';
5
- import type { PerformanceMeasurer, PerformanceMeasurerAsync } from './Performance';
7
+ import type { PerformanceMeasurer } from './Performance';
6
8
  export interface ITypeScriptBuilderConfiguration extends ITypeScriptConfigurationJson {
7
9
  /**
8
10
  * The root folder of the build.
@@ -20,11 +22,6 @@ export interface ITypeScriptBuilderConfiguration extends ITypeScriptConfiguratio
20
22
  * The path to the tsconfig file being built.
21
23
  */
22
24
  tsconfigPath: string;
23
- /**
24
- * Set this to change the maximum number of file handles that will be opened concurrently for writing.
25
- * The default is 50.
26
- */
27
- maxWriteParallelism: number;
28
25
  /**
29
26
  * The scoped logger that the builder will log to.
30
27
  */
@@ -34,20 +31,26 @@ export interface ITypeScriptBuilderConfiguration extends ITypeScriptConfiguratio
34
31
  */
35
32
  emitChangedFilesCallback: (program: TTypescript.Program, changedFiles?: Set<TTypescript.SourceFile>) => void;
36
33
  }
37
- declare type TWatchProgram = TTypescript.WatchOfFilesAndCompilerOptions<TTypescript.EmitAndSemanticDiagnosticsBuilderProgram>;
34
+ type TWatchProgram = TTypescript.WatchOfFilesAndCompilerOptions<TTypescript.EmitAndSemanticDiagnosticsBuilderProgram>;
38
35
  interface IPendingWork {
39
36
  (): void;
40
37
  }
38
+ interface ITranspileSignal {
39
+ resolve: (result: TTypescript.EmitResult) => void;
40
+ reject: (error: Error) => void;
41
+ }
41
42
  interface ITypeScriptTool {
42
43
  ts: ExtendedTypeScript;
43
44
  measureSync: PerformanceMeasurer;
44
- measureAsync: PerformanceMeasurerAsync;
45
45
  sourceFileCache: Map<string, TTypescript.SourceFile>;
46
46
  watchProgram: TWatchProgram | undefined;
47
47
  solutionBuilder: IExtendedSolutionBuilder | undefined;
48
48
  rawDiagnostics: TTypescript.Diagnostic[];
49
49
  pendingOperations: Set<IPendingWork>;
50
50
  executing: boolean;
51
+ worker: Worker | undefined;
52
+ pendingTranspilePromises: Map<number, Promise<TTypescript.EmitResult>>;
53
+ pendingTranspileSignals: Map<number, ITranspileSignal>;
51
54
  reportDiagnostic: TTypescript.DiagnosticReporter;
52
55
  clearTimeout: (timeout: IPendingWork) => void;
53
56
  setTimeout: <T extends unknown[]>(timeout: (...args: T) => void, ms: number, ...args: T) => IPendingWork;
@@ -63,15 +66,14 @@ export declare class TypeScriptBuilder {
63
66
  private _moduleKindsToEmit;
64
67
  private readonly _suppressedDiagnosticCodes;
65
68
  private __tsCacheFilePath;
66
- private _cachedFileSystem;
67
69
  private _tool;
70
+ private _nextRequestId;
68
71
  private get _tsCacheFilePath();
69
72
  constructor(configuration: ITypeScriptBuilderConfiguration);
70
73
  invokeAsync(onChangeDetected?: () => void): Promise<void>;
71
- private _configureProgramForMultiEmit;
72
- _runWatch(tool: ITypeScriptTool): void;
74
+ _runWatchAsync(tool: ITypeScriptTool): Promise<void>;
73
75
  _runBuildAsync(tool: ITypeScriptTool): Promise<void>;
74
- _runSolutionBuild(tool: ITypeScriptTool): void;
76
+ _runSolutionBuildAsync(tool: ITypeScriptTool): Promise<void>;
75
77
  private _logDiagnostics;
76
78
  private _logEmitPerformance;
77
79
  private _logReadPerformance;
@@ -87,6 +89,8 @@ export declare class TypeScriptBuilder {
87
89
  private _changeCompilerHostToUseCache;
88
90
  private _buildWatchSolutionBuilderHost;
89
91
  private _parseModuleKind;
92
+ private _queueTranspileInWorker;
93
+ private _cleanupWorker;
90
94
  }
91
95
  export {};
92
96
  //# sourceMappingURL=TypeScriptBuilder.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TypeScriptBuilder.d.ts","sourceRoot":"","sources":["../src/TypeScriptBuilder.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,KAAK,WAAW,MAAM,YAAY,CAAC;AAU/C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,OAAO,KAAK,EAAE,kBAAkB,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AAE1G,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AACvE,OAAO,KAAK,EAAE,mBAAmB,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAC;AAoBnF,MAAM,WAAW,+BAAgC,SAAQ,4BAA4B;IACnF;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAEhC;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAI3B;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;;OAGG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAE5B;;OAEG;IACH,YAAY,EAAE,aAAa,CAAC;IAE5B;;OAEG;IACH,wBAAwB,EAAE,CACxB,OAAO,EAAE,WAAW,CAAC,OAAO,EAC5B,YAAY,CAAC,EAAE,GAAG,CAAC,WAAW,CAAC,UAAU,CAAC,KACvC,IAAI,CAAC;CACX;AAOD,aAAK,aAAa,GAChB,WAAW,CAAC,8BAA8B,CAAC,WAAW,CAAC,wCAAwC,CAAC,CAAC;AAiCnG,UAAU,YAAY;IACpB,IAAI,IAAI,CAAC;CACV;AAYD,UAAU,eAAe;IACvB,EAAE,EAAE,kBAAkB,CAAC;IACvB,WAAW,EAAE,mBAAmB,CAAC;IACjC,YAAY,EAAE,wBAAwB,CAAC;IAEvC,eAAe,EAAE,GAAG,CAAC,MAAM,EAAE,WAAW,CA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