@powerlines/plugin-tsc 0.3.36 → 0.3.38

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 +1 @@
1
- {"version":3,"file":"type-check.d.cts","names":[],"sources":["../../src/helpers/type-check.ts"],"mappings":";;;;;AA4BA;;;iBAAsB,SAAA,CAAU,OAAA,EAAS,OAAA,GAAU,OAAA"}
1
+ {"version":3,"file":"type-check.d.cts","names":[],"sources":["../../src/helpers/type-check.ts"],"mappings":";;;;;AA4BA;;;iBAAsB,SAAA,CAAU,OAAA,EAAS,OAAA,GAAU,OAAO"}
@@ -1 +1 @@
1
- {"version":3,"file":"type-check.d.mts","names":[],"sources":["../../src/helpers/type-check.ts"],"mappings":";;;;;AA4BA;;;iBAAsB,SAAA,CAAU,OAAA,EAAS,OAAA,GAAU,OAAA"}
1
+ {"version":3,"file":"type-check.d.mts","names":[],"sources":["../../src/helpers/type-check.ts"],"mappings":";;;;;AA4BA;;;iBAAsB,SAAA,CAAU,OAAA,EAAS,OAAA,GAAU,OAAO"}
@@ -1 +1 @@
1
- {"version":3,"file":"type-check.mjs","names":[],"sources":["../../src/helpers/type-check.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { createProgram } from \"@powerlines/core/lib/typescript\";\nimport { replacePath } from \"@stryke/path/replace\";\nimport { Context } from \"powerlines\";\nimport { flattenDiagnosticMessageText } from \"typescript\";\n\n/**\n * Perform type checks on the provided sources using TypeScript's compiler API.\n *\n * @param context - The build context containing information about the current build.\n */\nexport async function typeCheck(context: Context): Promise<void> {\n const program = createProgram(context, {\n skipAddingFilesFromTsConfig: true,\n compilerOptions: {\n declaration: true,\n declarationMap: false,\n emitDeclarationOnly: true,\n sourceMap: false,\n outDir: replacePath(context.builtinsPath, context.config.cwd),\n composite: false,\n incremental: false,\n tsBuildInfoFile: undefined\n }\n });\n const result = program.emitToMemory();\n\n const diagnosticMessages: string[] = [];\n result.getDiagnostics().forEach(diagnostic => {\n if (diagnostic.getSourceFile()?.getBaseName()) {\n diagnosticMessages.push(\n `${diagnostic.getSourceFile()?.getBaseName()} (${\n (diagnostic.getLineNumber() ?? 0) + 1\n }): ${flattenDiagnosticMessageText(\n diagnostic.getMessageText().toString(),\n \"\\n\"\n )}`\n );\n } else {\n diagnosticMessages.push(\n flattenDiagnosticMessageText(\n diagnostic.getMessageText().toString(),\n \"\\n\"\n )\n );\n }\n });\n\n const diagnosticMessage = diagnosticMessages.join(\"\\n\");\n if (diagnosticMessage) {\n throw new Error(\n `TypeScript compilation failed: \\n\\n${\n diagnosticMessage.length > 5000\n ? `${diagnosticMessage.slice(0, 5000)}...`\n : diagnosticMessage\n }`\n );\n }\n}\n"],"mappings":";;;;;;;;;;AA4BA,eAAsB,UAAU,SAAiC;CAc/D,MAAM,SAbU,cAAc,SAAS;EACrC,6BAA6B;EAC7B,iBAAiB;GACf,aAAa;GACb,gBAAgB;GAChB,qBAAqB;GACrB,WAAW;GACX,QAAQ,YAAY,QAAQ,cAAc,QAAQ,OAAO,IAAI;GAC7D,WAAW;GACX,aAAa;GACb,iBAAiB;GAClB;EACF,CACqB,CAAC,cAAc;CAErC,MAAM,qBAA+B,EAAE;AACvC,QAAO,gBAAgB,CAAC,SAAQ,eAAc;AAC5C,MAAI,WAAW,eAAe,EAAE,aAAa,CAC3C,oBAAmB,KACjB,GAAG,WAAW,eAAe,EAAE,aAAa,CAAC,KAC1C,WAAW,eAAe,IAAI,KAAK,EACrC,KAAK,6BACJ,WAAW,gBAAgB,CAAC,UAAU,EACtC,KACD,GACF;MAED,oBAAmB,KACjB,6BACE,WAAW,gBAAgB,CAAC,UAAU,EACtC,KACD,CACF;GAEH;CAEF,MAAM,oBAAoB,mBAAmB,KAAK,KAAK;AACvD,KAAI,kBACF,OAAM,IAAI,MACR,sCACE,kBAAkB,SAAS,MACvB,GAAG,kBAAkB,MAAM,GAAG,IAAK,CAAC,OACpC,oBAEP"}
1
+ {"version":3,"file":"type-check.mjs","names":[],"sources":["../../src/helpers/type-check.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { createProgram } from \"@powerlines/core/lib/typescript\";\nimport { replacePath } from \"@stryke/path/replace\";\nimport type { Context } from \"powerlines\";\nimport { flattenDiagnosticMessageText } from \"typescript\";\n\n/**\n * Perform type checks on the provided sources using TypeScript's compiler API.\n *\n * @param context - The build context containing information about the current build.\n */\nexport async function typeCheck(context: Context): Promise<void> {\n const program = createProgram(context, {\n skipAddingFilesFromTsConfig: true,\n compilerOptions: {\n declaration: true,\n declarationMap: false,\n emitDeclarationOnly: true,\n sourceMap: false,\n outDir: replacePath(context.builtinsPath, context.config.cwd),\n composite: false,\n incremental: false,\n tsBuildInfoFile: undefined\n }\n });\n const result = program.emitToMemory();\n\n const diagnosticMessages: string[] = [];\n result.getDiagnostics().forEach(diagnostic => {\n if (diagnostic.getSourceFile()?.getBaseName()) {\n diagnosticMessages.push(\n `${diagnostic.getSourceFile()?.getBaseName()} (${\n (diagnostic.getLineNumber() ?? 0) + 1\n }): ${flattenDiagnosticMessageText(\n diagnostic.getMessageText().toString(),\n \"\\n\"\n )}`\n );\n } else {\n diagnosticMessages.push(\n flattenDiagnosticMessageText(\n diagnostic.getMessageText().toString(),\n \"\\n\"\n )\n );\n }\n });\n\n const diagnosticMessage = diagnosticMessages.join(\"\\n\");\n if (diagnosticMessage) {\n throw new Error(\n `TypeScript compilation failed: \\n\\n${\n diagnosticMessage.length > 5000\n ? `${diagnosticMessage.slice(0, 5000)}...`\n : diagnosticMessage\n }`\n );\n }\n}\n"],"mappings":";;;;;;;;;;AA4BA,eAAsB,UAAU,SAAiC;CAc/D,MAAM,SAbU,cAAc,SAAS;EACrC,6BAA6B;EAC7B,iBAAiB;GACf,aAAa;GACb,gBAAgB;GAChB,qBAAqB;GACrB,WAAW;GACX,QAAQ,YAAY,QAAQ,cAAc,QAAQ,OAAO,GAAG;GAC5D,WAAW;GACX,aAAa;GACb,iBAAiB;EACnB;CACF,CACqB,EAAE,aAAa;CAEpC,MAAM,qBAA+B,CAAC;CACtC,OAAO,eAAe,EAAE,SAAQ,eAAc;EAC5C,IAAI,WAAW,cAAc,GAAG,YAAY,GAC1C,mBAAmB,KACjB,GAAG,WAAW,cAAc,GAAG,YAAY,EAAE,KAC1C,WAAW,cAAc,KAAK,KAAK,EACrC,KAAK,6BACJ,WAAW,eAAe,EAAE,SAAS,GACrC,IACF,GACF;OAEA,mBAAmB,KACjB,6BACE,WAAW,eAAe,EAAE,SAAS,GACrC,IACF,CACF;CAEJ,CAAC;CAED,MAAM,oBAAoB,mBAAmB,KAAK,IAAI;CACtD,IAAI,mBACF,MAAM,IAAI,MACR,sCACE,kBAAkB,SAAS,MACvB,GAAG,kBAAkB,MAAM,GAAG,GAAI,EAAE,OACpC,mBAER;AAEJ"}
package/dist/index.d.cts CHANGED
@@ -16,5 +16,5 @@ declare module "powerlines" {
16
16
  */
17
17
  declare const plugin: <TContext extends TypeScriptCompilerPluginContext = TypeScriptCompilerPluginContext>(options?: TypeScriptCompilerPluginOptions) => Plugin<TContext>;
18
18
  //#endregion
19
- export { TypeScriptCompilerPluginContext, TypeScriptCompilerPluginOptions, TypeScriptCompilerPluginResolvedConfig, TypeScriptCompilerPluginUserConfig, __ΩTypeScriptCompilerPluginContext, __ΩTypeScriptCompilerPluginOptions, __ΩTypeScriptCompilerPluginResolvedConfig, __ΩTypeScriptCompilerPluginUserConfig, plugin as default, plugin, typeCheck };
19
+ export { type TypeScriptCompilerPluginContext, type TypeScriptCompilerPluginOptions, type TypeScriptCompilerPluginResolvedConfig, type TypeScriptCompilerPluginUserConfig, type __ΩTypeScriptCompilerPluginContext, type __ΩTypeScriptCompilerPluginOptions, type __ΩTypeScriptCompilerPluginResolvedConfig, type __ΩTypeScriptCompilerPluginUserConfig, plugin as default, plugin, typeCheck };
20
20
  //# sourceMappingURL=index.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;;YAkCY,MAAA;IACR,GAAA,GAAM,+BAAA;EAAA;AAAA;;;;;;;cAUG,MAAA,oBACM,+BAAA,GACf,+BAAA,EAEF,OAAA,GAAS,+BAAA,KACR,MAAA,CAAO,QAAA"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;;YAkCY,MAAA;IACR,GAAA,GAAM,+BAA+B;EAAA;AAAA;;;;;;;cAU5B,MAAA,oBACM,+BAAA,GACf,+BAAA,EAEF,OAAA,GAAS,+BAAA,KACR,MAAA,CAAO,QAAA"}
package/dist/index.d.mts CHANGED
@@ -16,5 +16,5 @@ declare module "powerlines" {
16
16
  */
17
17
  declare const plugin: <TContext extends TypeScriptCompilerPluginContext = TypeScriptCompilerPluginContext>(options?: TypeScriptCompilerPluginOptions) => Plugin<TContext>;
18
18
  //#endregion
19
- export { TypeScriptCompilerPluginContext, TypeScriptCompilerPluginOptions, TypeScriptCompilerPluginResolvedConfig, TypeScriptCompilerPluginUserConfig, __ΩTypeScriptCompilerPluginContext, __ΩTypeScriptCompilerPluginOptions, __ΩTypeScriptCompilerPluginResolvedConfig, __ΩTypeScriptCompilerPluginUserConfig, plugin as default, plugin, typeCheck };
19
+ export { type TypeScriptCompilerPluginContext, type TypeScriptCompilerPluginOptions, type TypeScriptCompilerPluginResolvedConfig, type TypeScriptCompilerPluginUserConfig, type __ΩTypeScriptCompilerPluginContext, type __ΩTypeScriptCompilerPluginOptions, type __ΩTypeScriptCompilerPluginResolvedConfig, type __ΩTypeScriptCompilerPluginUserConfig, plugin as default, plugin, typeCheck };
20
20
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;;YAkCY,MAAA;IACR,GAAA,GAAM,+BAAA;EAAA;AAAA;;;;;;;cAUG,MAAA,oBACM,+BAAA,GACf,+BAAA,EAEF,OAAA,GAAS,+BAAA,KACR,MAAA,CAAO,QAAA"}
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;;YAkCY,MAAA;IACR,GAAA,GAAM,+BAA+B;EAAA;AAAA;;;;;;;cAU5B,MAAA,oBACM,+BAAA,GACf,+BAAA,EAEF,OAAA,GAAS,+BAAA,KACR,MAAA,CAAO,QAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { Plugin } from \"powerlines\";\nimport {\n createFilterForTransform,\n removeVirtualPrefix\n} from \"powerlines/plugin-utils\";\nimport ts from \"typescript\";\nimport { typeCheck } from \"./helpers/type-check\";\nimport type {\n TypeScriptCompilerPluginContext,\n TypeScriptCompilerPluginOptions\n} from \"./types/plugin\";\n\nexport * from \"./helpers\";\nexport type * from \"./types\";\n\ndeclare module \"powerlines\" {\n interface Config {\n tsc?: TypeScriptCompilerPluginOptions;\n }\n}\n\n/**\n * TypeScript Compiler plugin for Powerlines.\n *\n * @param options - The TypeScript Compiler plugin user configuration options.\n * @returns A Powerlines plugin that integrates TypeScript Compiler transformations.\n */\nexport const plugin = <\n TContext extends TypeScriptCompilerPluginContext =\n TypeScriptCompilerPluginContext\n>(\n options: TypeScriptCompilerPluginOptions = {}\n): Plugin<TContext> => {\n return {\n name: \"tsc\",\n config() {\n this.trace(\"Merging TypeScript Compiler plugin configuration\");\n\n return {\n tsc: {\n typeCheck: false,\n filter: {\n id: {\n include: /\\.(?:[cm]?ts|tsx)(?=\\s*$)/i,\n exclude: /\\.(?:d|spec|test)\\.(?:[cm]?ts|tsx)(?=\\s*$)/i\n }\n },\n ...options\n }\n };\n },\n async lint() {\n if (this.config.tsc.typeCheck) {\n await typeCheck(this);\n }\n },\n transform: {\n order: options.order,\n filter: {\n id: { exclude: /\\.(?:[cm]?js|jsx)(?=\\s*$)/i }\n },\n async handler(code: string, id: string) {\n if (\n this.config.tsc.filter &&\n !createFilterForTransform(\n this.config.tsc.filter.id,\n this.config.tsc.filter.code\n )?.(id, code)\n ) {\n return { code, id };\n }\n\n const result = ts.transpileModule(code, {\n ...this.config.tsc,\n compilerOptions: {\n ...this.tsconfig.options,\n ...this.config.tsc.compilerOptions\n },\n fileName: removeVirtualPrefix(id)\n });\n if (\n result.diagnostics &&\n result.diagnostics.length > 0 &&\n result.diagnostics?.some(\n diagnostic => diagnostic.category === ts.DiagnosticCategory.Error\n )\n ) {\n throw new Error(\n `TypeScript Compiler - TypeScript transpilation errors in file: ${id}\\n${ts.formatDiagnostics(\n result.diagnostics,\n {\n getCanonicalFileName: fileName =>\n ts.sys.useCaseSensitiveFileNames\n ? fileName\n : fileName.toLowerCase(),\n getCurrentDirectory: () => ts.sys.getCurrentDirectory(),\n getNewLine: () => ts.sys.newLine\n }\n )}`\n );\n }\n\n if (!result.outputText) {\n throw new Error(\n `TypeScript Compiler - No output generated for file during TypeScript transpilation: ${id}`\n );\n }\n\n return { code: result.outputText, id };\n }\n }\n };\n};\n\nexport default plugin;\n"],"mappings":";;;;;;;;;;;;AA6CA,MAAa,UAIX,UAA2C,EAAE,KACxB;AACrB,QAAO;EACL,MAAM;EACN,SAAS;AACP,QAAK,MAAM,mDAAmD;AAE9D,UAAO,EACL,KAAK;IACH,WAAW;IACX,QAAQ,EACN,IAAI;KACF,SAAS;KACT,SAAS;KACV,EACF;IACD,GAAG;IACJ,EACF;;EAEH,MAAM,OAAO;AACX,OAAI,KAAK,OAAO,IAAI,UAClB,OAAM,UAAU,KAAK;;EAGzB,WAAW;GACT,OAAO,QAAQ;GACf,QAAQ,EACN,IAAI,EAAE,SAAS,8BAA8B,EAC9C;GACD,MAAM,QAAQ,MAAc,IAAY;AACtC,QACE,KAAK,OAAO,IAAI,UAChB,CAAC,yBACC,KAAK,OAAO,IAAI,OAAO,IACvB,KAAK,OAAO,IAAI,OAAO,KACxB,GAAG,IAAI,KAAK,CAEb,QAAO;KAAE;KAAM;KAAI;IAGrB,MAAM,SAAS,GAAG,gBAAgB,MAAM;KACtC,GAAG,KAAK,OAAO;KACf,iBAAiB;MACf,GAAG,KAAK,SAAS;MACjB,GAAG,KAAK,OAAO,IAAI;MACpB;KACD,UAAU,oBAAoB,GAAG;KAClC,CAAC;AACF,QACE,OAAO,eACP,OAAO,YAAY,SAAS,KAC5B,OAAO,aAAa,MAClB,eAAc,WAAW,aAAa,GAAG,mBAAmB,MAC7D,CAED,OAAM,IAAI,MACR,kEAAkE,GAAG,IAAI,GAAG,kBAC1E,OAAO,aACP;KACE,uBAAsB,aACpB,GAAG,IAAI,4BACH,WACA,SAAS,aAAa;KAC5B,2BAA2B,GAAG,IAAI,qBAAqB;KACvD,kBAAkB,GAAG,IAAI;KAC1B,CACF,GACF;AAGH,QAAI,CAAC,OAAO,WACV,OAAM,IAAI,MACR,uFAAuF,KACxF;AAGH,WAAO;KAAE,MAAM,OAAO;KAAY;KAAI;;GAEzC;EACF"}
1
+ {"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { Plugin } from \"powerlines\";\nimport {\n createFilterForTransform,\n removeVirtualPrefix\n} from \"powerlines/plugin-utils\";\nimport ts from \"typescript\";\nimport { typeCheck } from \"./helpers/type-check\";\nimport type {\n TypeScriptCompilerPluginContext,\n TypeScriptCompilerPluginOptions\n} from \"./types/plugin\";\n\nexport * from \"./helpers\";\nexport type * from \"./types\";\n\ndeclare module \"powerlines\" {\n interface Config {\n tsc?: TypeScriptCompilerPluginOptions;\n }\n}\n\n/**\n * TypeScript Compiler plugin for Powerlines.\n *\n * @param options - The TypeScript Compiler plugin user configuration options.\n * @returns A Powerlines plugin that integrates TypeScript Compiler transformations.\n */\nexport const plugin = <\n TContext extends TypeScriptCompilerPluginContext =\n TypeScriptCompilerPluginContext\n>(\n options: TypeScriptCompilerPluginOptions = {}\n): Plugin<TContext> => {\n return {\n name: \"tsc\",\n config() {\n this.trace(\"Merging TypeScript Compiler plugin configuration\");\n\n return {\n tsc: {\n typeCheck: false,\n filter: {\n id: {\n include: /\\.(?:[cm]?ts|tsx)(?=\\s*$)/i,\n exclude: /\\.(?:d|spec|test)\\.(?:[cm]?ts|tsx)(?=\\s*$)/i\n }\n },\n ...options\n }\n };\n },\n async lint() {\n if (this.config.tsc.typeCheck) {\n await typeCheck(this);\n }\n },\n transform: {\n order: options.order,\n filter: {\n id: { exclude: /\\.(?:[cm]?js|jsx)(?=\\s*$)/i }\n },\n async handler(code: string, id: string) {\n if (\n this.config.tsc.filter &&\n !createFilterForTransform(\n this.config.tsc.filter.id,\n this.config.tsc.filter.code\n )?.(id, code)\n ) {\n return { code, id };\n }\n\n const result = ts.transpileModule(code, {\n ...this.config.tsc,\n compilerOptions: {\n ...this.tsconfig.options,\n ...this.config.tsc.compilerOptions\n },\n fileName: removeVirtualPrefix(id)\n });\n if (\n result.diagnostics &&\n result.diagnostics.length > 0 &&\n result.diagnostics?.some(\n diagnostic => diagnostic.category === ts.DiagnosticCategory.Error\n )\n ) {\n throw new Error(\n `TypeScript Compiler - TypeScript transpilation errors in file: ${id}\\n${ts.formatDiagnostics(\n result.diagnostics,\n {\n getCanonicalFileName: fileName =>\n ts.sys.useCaseSensitiveFileNames\n ? fileName\n : fileName.toLowerCase(),\n getCurrentDirectory: () => ts.sys.getCurrentDirectory(),\n getNewLine: () => ts.sys.newLine\n }\n )}`\n );\n }\n\n if (!result.outputText) {\n throw new Error(\n `TypeScript Compiler - No output generated for file during TypeScript transpilation: ${id}`\n );\n }\n\n return { code: result.outputText, id };\n }\n }\n };\n};\n\nexport default plugin;\n"],"mappings":";;;;;;;;;;;;AA6CA,MAAa,UAIX,UAA2C,CAAC,MACvB;CACrB,OAAO;EACL,MAAM;EACN,SAAS;GACP,KAAK,MAAM,kDAAkD;GAE7D,OAAO,EACL,KAAK;IACH,WAAW;IACX,QAAQ,EACN,IAAI;KACF,SAAS;KACT,SAAS;IACX,EACF;IACA,GAAG;GACL,EACF;EACF;EACA,MAAM,OAAO;GACX,IAAI,KAAK,OAAO,IAAI,WAClB,MAAM,UAAU,IAAI;EAExB;EACA,WAAW;GACT,OAAO,QAAQ;GACf,QAAQ,EACN,IAAI,EAAE,SAAS,6BAA6B,EAC9C;GACA,MAAM,QAAQ,MAAc,IAAY;IACtC,IACE,KAAK,OAAO,IAAI,UAChB,CAAC,yBACC,KAAK,OAAO,IAAI,OAAO,IACvB,KAAK,OAAO,IAAI,OAAO,IACzB,IAAI,IAAI,IAAI,GAEZ,OAAO;KAAE;KAAM;IAAG;IAGpB,MAAM,SAAS,GAAG,gBAAgB,MAAM;KACtC,GAAG,KAAK,OAAO;KACf,iBAAiB;MACf,GAAG,KAAK,SAAS;MACjB,GAAG,KAAK,OAAO,IAAI;KACrB;KACA,UAAU,oBAAoB,EAAE;IAClC,CAAC;IACD,IACE,OAAO,eACP,OAAO,YAAY,SAAS,KAC5B,OAAO,aAAa,MAClB,eAAc,WAAW,aAAa,GAAG,mBAAmB,KAC9D,GAEA,MAAM,IAAI,MACR,kEAAkE,GAAG,IAAI,GAAG,kBAC1E,OAAO,aACP;KACE,uBAAsB,aACpB,GAAG,IAAI,4BACH,WACA,SAAS,YAAY;KAC3B,2BAA2B,GAAG,IAAI,oBAAoB;KACtD,kBAAkB,GAAG,IAAI;IAC3B,CACF,GACF;IAGF,IAAI,CAAC,OAAO,YACV,MAAM,IAAI,MACR,uFAAuF,IACzF;IAGF,OAAO;KAAE,MAAM,OAAO;KAAY;IAAG;GACvC;EACF;CACF;AACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;;;;KAsBY,+BAAA,GAAkC,OAAA,CAC5C,IAAA,CAAK,EAAA,CAAG,gBAAA;;AADV;;;;EAQE,MAAA,GAAS,UAAA;EARmC;;;;;;;;EAkB5C,KAAA;EAVS;;;;;EAiBT,SAAA;AAAA;AAAA,UAGe,kCAAA,SAA2C,UAAA;EAC1D,GAAA,EAAK,OAAA,CAAQ,IAAA,CAAK,+BAAA,kBAChB,QAAA,CAAS,IAAA,CAAK,+BAAA;AAAA;AAAA,UAGD,sCAAA,SAA+C,cAAA;EAH9C;;;EAOhB,GAAA,EAAK,OAAA,CAAQ,IAAA,CAAK,+BAAA,kBAChB,QAAA,CAAS,IAAA,CAAK,+BAAA;AAAA;AAAA,KAGN,+BAAA,yBACc,sCAAA,GACtB,sCAAA,IACA,aAAA,CAAc,eAAA;AAAA"}
1
+ {"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;;;;KAsBY,+BAAA,GAAkC,OAAA,CAC5C,IAAA,CAAK,EAAA,CAAG,gBAAA;;AADV;;;;EAQE,MAAA,GAAS,UAAA;EARmC;;;;;;;;EAkB5C,KAAA;EAVS;;;;AAiBA;EAAT,SAAA;AAAA;AAAA,UAGe,kCAAA,SAA2C,UAAA;EAC1D,GAAA,EAAK,OAAA,CAAQ,IAAA,CAAK,+BAAA,kBAChB,QAAA,CAAS,IAAA,CAAK,+BAAA;AAAA;AAAA,UAGD,sCAAA,SAA+C,cAAA;EAH9C;;;EAOhB,GAAA,EAAK,OAAA,CAAQ,IAAA,CAAK,+BAAA,kBAChB,QAAA,CAAS,IAAA,CAAK,+BAAA;AAAA;AAAA,KAGN,+BAAA,yBACc,sCAAA,GACtB,sCAAA,IACA,aAAA,CAAc,eAAA;AAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.mts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;;;;KAsBY,+BAAA,GAAkC,OAAA,CAC5C,IAAA,CAAK,EAAA,CAAG,gBAAA;;AADV;;;;EAQE,MAAA,GAAS,UAAA;EARmC;;;;;;;;EAkB5C,KAAA;EAVS;;;;;EAiBT,SAAA;AAAA;AAAA,UAGe,kCAAA,SAA2C,UAAA;EAC1D,GAAA,EAAK,OAAA,CAAQ,IAAA,CAAK,+BAAA,kBAChB,QAAA,CAAS,IAAA,CAAK,+BAAA;AAAA;AAAA,UAGD,sCAAA,SAA+C,cAAA;EAH9C;;;EAOhB,GAAA,EAAK,OAAA,CAAQ,IAAA,CAAK,+BAAA,kBAChB,QAAA,CAAS,IAAA,CAAK,+BAAA;AAAA;AAAA,KAGN,+BAAA,yBACc,sCAAA,GACtB,sCAAA,IACA,aAAA,CAAc,eAAA;AAAA"}
1
+ {"version":3,"file":"plugin.d.mts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;;;;KAsBY,+BAAA,GAAkC,OAAA,CAC5C,IAAA,CAAK,EAAA,CAAG,gBAAA;;AADV;;;;EAQE,MAAA,GAAS,UAAA;EARmC;;;;;;;;EAkB5C,KAAA;EAVS;;;;AAiBA;EAAT,SAAA;AAAA;AAAA,UAGe,kCAAA,SAA2C,UAAA;EAC1D,GAAA,EAAK,OAAA,CAAQ,IAAA,CAAK,+BAAA,kBAChB,QAAA,CAAS,IAAA,CAAK,+BAAA;AAAA;AAAA,UAGD,sCAAA,SAA+C,cAAA;EAH9C;;;EAOhB,GAAA,EAAK,OAAA,CAAQ,IAAA,CAAK,+BAAA,kBAChB,QAAA,CAAS,IAAA,CAAK,+BAAA;AAAA;AAAA,KAGN,+BAAA,yBACc,sCAAA,GACtB,sCAAA,IACA,aAAA,CAAc,eAAA;AAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-tsc",
3
- "version": "0.3.36",
3
+ "version": "0.3.38",
4
4
  "type": "module",
5
5
  "description": "A package containing the TypeScript compiler plugin for Powerlines.",
6
6
  "repository": {
@@ -67,14 +67,14 @@
67
67
  "dependencies": {
68
68
  "@stryke/path": "^0.29.3",
69
69
  "defu": "^6.1.7",
70
- "powerlines": "^0.47.39",
70
+ "powerlines": "^0.47.41",
71
71
  "unplugin": "^3.0.0",
72
72
  "typescript": "^6.0.3"
73
73
  },
74
74
  "devDependencies": {
75
- "@powerlines/plugin-plugin": "^0.12.451",
75
+ "@powerlines/plugin-plugin": "^0.12.453",
76
76
  "@types/node": "^25.8.0"
77
77
  },
78
78
  "publishConfig": { "access": "public" },
79
- "gitHead": "defec65066e27532bba43fc6c8ef65ccb74d5877"
79
+ "gitHead": "b5c7361d0ca942652f98baf11488435c7918fd65"
80
80
  }