@rushstack/heft-typescript-plugin 0.4.0 → 0.5.0

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.
@@ -6,9 +6,12 @@ const node_worker_threads_1 = require("node:worker_threads");
6
6
  const configureProgramForMultiEmit_1 = require("./configureProgramForMultiEmit");
7
7
  const typedWorkerData = node_worker_threads_1.workerData;
8
8
  const ts = require(typedWorkerData.typeScriptToolPath);
9
+ process.exitCode = 1;
9
10
  function handleMessage(message) {
10
11
  if (!message) {
11
- process.exit(0);
12
+ node_worker_threads_1.parentPort.off('message', handleMessage);
13
+ node_worker_threads_1.parentPort.close();
14
+ return;
12
15
  }
13
16
  try {
14
17
  const response = runTranspiler(message);
@@ -81,5 +84,8 @@ function runTranspiler(message) {
81
84
  };
82
85
  return response;
83
86
  }
87
+ node_worker_threads_1.parentPort.once('close', () => {
88
+ process.exitCode = 0;
89
+ });
84
90
  node_worker_threads_1.parentPort.on('message', handleMessage);
85
91
  //# sourceMappingURL=TranspilerWorker.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TranspilerWorker.js","sourceRoot":"","sources":["../src/TranspilerWorker.ts"],"names":[],"mappings":";AAAA,4FAA4F;AAC5F,2DAA2D;;AAE3D,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,CAAC;QACb,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;IAED,IAAI,CAAC;QACH,MAAM,QAAQ,GAAiC,aAAa,CAAC,OAAO,CAAC,CAAC;QACtE,gCAAW,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC;IACpC,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,MAAM,aAAa,GAA+B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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.\n\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
+ {"version":3,"file":"TranspilerWorker.js","sourceRoot":"","sources":["../src/TranspilerWorker.ts"],"names":[],"mappings":";AAAA,4FAA4F;AAC5F,2DAA2D;;AAE3D,6DAA6D;AAU7D,iFAA8E;AAE9E,MAAM,eAAe,GAA0B,gCAAU,CAAC;AAE1D,MAAM,EAAE,GAAuB,OAAO,CAAC,eAAe,CAAC,kBAAkB,CAAC,CAAC;AAE3E,OAAO,CAAC,QAAQ,GAAG,CAAC,CAAC;AAErB,SAAS,aAAa,CAAC,OAA6C;IAClE,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,gCAAW,CAAC,GAAG,CAAC,SAAS,EAAE,aAAa,CAAC,CAAC;QAC1C,gCAAW,CAAC,KAAK,EAAE,CAAC;QACpB,OAAO;IACT,CAAC;IAED,IAAI,CAAC;QACH,MAAM,QAAQ,GAAiC,aAAa,CAAC,OAAO,CAAC,CAAC;QACtE,gCAAW,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC;IACpC,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,MAAM,aAAa,GAA+B;YAChD,SAAS,EAAE,OAAO,CAAC,SAAS;YAC5B,IAAI,EAAE,OAAO;YACb,MAAM,kBACJ,OAAO,EAAE,GAAG,CAAC,OAAO,IACjB,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAC3C;SACF,CAAC;QACF,gCAAW,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC;IACzC,CAAC;AACH,CAAC;AAED,SAAS,aAAa,CAAC,OAAqC;IAC1D,MAAM,EAAE,SAAS,EAAE,eAAe,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,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AAED,gCAAW,CAAC,IAAI,CAAC,OAAO,EAAE,GAAG,EAAE;IAC7B,OAAO,CAAC,QAAQ,GAAG,CAAC,CAAC;AACvB,CAAC,CAAC,CAAC;AACH,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.\n\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\nprocess.exitCode = 1;\n\nfunction handleMessage(message: ITranspilationRequestMessage | false): void {\n if (!message) {\n parentPort!.off('message', handleMessage);\n parentPort!.close();\n return;\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!.once('close', () => {\n process.exitCode = 0;\n});\nparentPort!.on('message', handleMessage);\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rushstack/heft-typescript-plugin",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "description": "Heft plugin for TypeScript",
5
5
  "repository": {
6
6
  "type": "git",
@@ -26,9 +26,9 @@
26
26
  "@types/node": "18.17.15",
27
27
  "@types/semver": "7.5.0",
28
28
  "typescript": "~5.4.2",
29
+ "@rushstack/heft": "0.66.2",
29
30
  "local-eslint-config": "1.0.0",
30
- "@rushstack/terminal": "0.10.0",
31
- "@rushstack/heft": "0.66.2"
31
+ "@rushstack/terminal": "0.10.0"
32
32
  },
33
33
  "scripts": {
34
34
  "build": "heft test --clean",