@powerlines/plugin-tsc 0.2.11 → 0.2.13

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
  export { typeCheck } from './type-check.cjs';
2
- import '../plugin-zj8ivj8v.cjs';
2
+ import '../plugin-CmfMkuiM.cjs';
3
3
  import '@stryke/types/base';
4
4
  import 'unplugin';
5
5
  import '@stryke/types/array';
@@ -1,5 +1,5 @@
1
1
  export { typeCheck } from './type-check.js';
2
- import '../plugin-zj8ivj8v.js';
2
+ import '../plugin-CmfMkuiM.js';
3
3
  import '@stryke/types/base';
4
4
  import 'unplugin';
5
5
  import '@stryke/types/array';
@@ -1,4 +1,4 @@
1
- import { C as Context } from '../plugin-zj8ivj8v.cjs';
1
+ import { C as Context } from '../plugin-CmfMkuiM.cjs';
2
2
  import '@stryke/types/base';
3
3
  import 'unplugin';
4
4
  import '@stryke/types/array';
@@ -1,4 +1,4 @@
1
- import { C as Context } from '../plugin-zj8ivj8v.js';
1
+ import { C as Context } from '../plugin-CmfMkuiM.js';
2
2
  import '@stryke/types/base';
3
3
  import 'unplugin';
4
4
  import '@stryke/types/array';
@@ -1,4 +1,4 @@
1
- 'use strict';Object.defineProperty(exports,'__esModule',{value:true});var chunkFBBMZ4NC_cjs=require('../chunk-FBBMZ4NC.cjs'),p=require('defu'),r=require('typescript'),typeCheck=require('./helpers/type-check'),helpers=require('./helpers'),types=require('./types');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var p__default=/*#__PURE__*/_interopDefault(p);var r__default=/*#__PURE__*/_interopDefault(r);/*****************************************
1
+ 'use strict';Object.defineProperty(exports,'__esModule',{value:true});var chunkFBBMZ4NC_cjs=require('./chunk-FBBMZ4NC.cjs'),p=require('defu'),r=require('typescript'),typeCheck=require('./helpers/type-check'),helpers=require('./helpers'),types=require('./types');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var p__default=/*#__PURE__*/_interopDefault(p);var r__default=/*#__PURE__*/_interopDefault(r);/*****************************************
2
2
  *
3
3
  * ⚡ Built by Storm Software
4
4
  *
@@ -1,7 +1,7 @@
1
- import { P as Plugin } from '../plugin-zj8ivj8v.cjs';
2
- import { TypeScriptCompilerPluginContext, TypeScriptCompilerPluginOptions } from '../types/plugin.cjs';
3
- export { TypeScriptCompilerPluginResolvedConfig, TypeScriptCompilerPluginUserConfig } from '../types/plugin.cjs';
4
- export { typeCheck } from '../helpers/type-check.cjs';
1
+ import { P as Plugin } from './plugin-CmfMkuiM.cjs';
2
+ import { TypeScriptCompilerPluginContext, TypeScriptCompilerPluginOptions } from './types/plugin.cjs';
3
+ export { TypeScriptCompilerPluginResolvedConfig, TypeScriptCompilerPluginUserConfig } from './types/plugin.cjs';
4
+ export { typeCheck } from './helpers/type-check.cjs';
5
5
  import '@stryke/types/base';
6
6
  import 'unplugin';
7
7
  import '@stryke/types/array';
@@ -1,7 +1,7 @@
1
- import { P as Plugin } from '../plugin-zj8ivj8v.js';
2
- import { TypeScriptCompilerPluginContext, TypeScriptCompilerPluginOptions } from '../types/plugin.js';
3
- export { TypeScriptCompilerPluginResolvedConfig, TypeScriptCompilerPluginUserConfig } from '../types/plugin.js';
4
- export { typeCheck } from '../helpers/type-check.js';
1
+ import { P as Plugin } from './plugin-CmfMkuiM.js';
2
+ import { TypeScriptCompilerPluginContext, TypeScriptCompilerPluginOptions } from './types/plugin.js';
3
+ export { TypeScriptCompilerPluginResolvedConfig, TypeScriptCompilerPluginUserConfig } from './types/plugin.js';
4
+ export { typeCheck } from './helpers/type-check.js';
5
5
  import '@stryke/types/base';
6
6
  import 'unplugin';
7
7
  import '@stryke/types/array';
@@ -1,4 +1,4 @@
1
- import {a as a$1}from'../chunk-UCUR73HG.js';import p from'defu';import r from'typescript';import {typeCheck}from'./helpers/type-check';export*from'./helpers';export*from'./types';/*****************************************
1
+ import {a as a$1}from'./chunk-UCUR73HG.js';import p from'defu';import r from'typescript';import {typeCheck}from'./helpers/type-check';export*from'./helpers';export*from'./types';/*****************************************
2
2
  *
3
3
  * ⚡ Built by Storm Software
4
4
  *
@@ -1,5 +1,5 @@
1
1
  import { MaybePromise, NonUndefined, FunctionLike } from '@stryke/types/base';
2
- import { UnpluginContext, UnpluginBuildContext, TransformResult, ExternalIdResult, HookFilter, UnpluginOptions } from 'unplugin';
2
+ import { UnpluginMessage, UnpluginContext, UnpluginBuildContext, TransformResult, ExternalIdResult, HookFilter, UnpluginOptions } from 'unplugin';
3
3
  import { ArrayValues } from '@stryke/types/array';
4
4
  import { Format } from '@storm-software/build-tools/types';
5
5
  import { LogLevelLabel } from '@storm-software/config-tools/types';
@@ -936,6 +936,30 @@ interface Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> {
936
936
  * A logging function for the Powerlines engine
937
937
  */
938
938
  log: LogFn;
939
+ /**
940
+ * A logging function for fatal messages
941
+ */
942
+ fatal: (message: string | UnpluginMessage) => void;
943
+ /**
944
+ * A logging function for error messages
945
+ */
946
+ error: (message: string | UnpluginMessage) => void;
947
+ /**
948
+ * A logging function for warning messages
949
+ */
950
+ warn: (message: string | UnpluginMessage) => void;
951
+ /**
952
+ * A logging function for informational messages
953
+ */
954
+ info: (message: string | UnpluginMessage) => void;
955
+ /**
956
+ * A logging function for debug messages
957
+ */
958
+ debug: (message: string | UnpluginMessage) => void;
959
+ /**
960
+ * A logging function for trace messages
961
+ */
962
+ trace: (message: string | UnpluginMessage) => void;
939
963
  /**
940
964
  * The metadata information
941
965
  */
@@ -1,5 +1,5 @@
1
1
  import { MaybePromise, NonUndefined, FunctionLike } from '@stryke/types/base';
2
- import { UnpluginContext, UnpluginBuildContext, TransformResult, ExternalIdResult, HookFilter, UnpluginOptions } from 'unplugin';
2
+ import { UnpluginMessage, UnpluginContext, UnpluginBuildContext, TransformResult, ExternalIdResult, HookFilter, UnpluginOptions } from 'unplugin';
3
3
  import { ArrayValues } from '@stryke/types/array';
4
4
  import { Format } from '@storm-software/build-tools/types';
5
5
  import { LogLevelLabel } from '@storm-software/config-tools/types';
@@ -936,6 +936,30 @@ interface Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> {
936
936
  * A logging function for the Powerlines engine
937
937
  */
938
938
  log: LogFn;
939
+ /**
940
+ * A logging function for fatal messages
941
+ */
942
+ fatal: (message: string | UnpluginMessage) => void;
943
+ /**
944
+ * A logging function for error messages
945
+ */
946
+ error: (message: string | UnpluginMessage) => void;
947
+ /**
948
+ * A logging function for warning messages
949
+ */
950
+ warn: (message: string | UnpluginMessage) => void;
951
+ /**
952
+ * A logging function for informational messages
953
+ */
954
+ info: (message: string | UnpluginMessage) => void;
955
+ /**
956
+ * A logging function for debug messages
957
+ */
958
+ debug: (message: string | UnpluginMessage) => void;
959
+ /**
960
+ * A logging function for trace messages
961
+ */
962
+ trace: (message: string | UnpluginMessage) => void;
939
963
  /**
940
964
  * The metadata information
941
965
  */
@@ -1,5 +1,5 @@
1
1
  export { TypeScriptCompilerPluginContext, TypeScriptCompilerPluginOptions, TypeScriptCompilerPluginResolvedConfig, TypeScriptCompilerPluginUserConfig } from './plugin.cjs';
2
- import '../plugin-zj8ivj8v.cjs';
2
+ import '../plugin-CmfMkuiM.cjs';
3
3
  import '@stryke/types/base';
4
4
  import 'unplugin';
5
5
  import '@stryke/types/array';
@@ -1,5 +1,5 @@
1
1
  export { TypeScriptCompilerPluginContext, TypeScriptCompilerPluginOptions, TypeScriptCompilerPluginResolvedConfig, TypeScriptCompilerPluginUserConfig } from './plugin.js';
2
- import '../plugin-zj8ivj8v.js';
2
+ import '../plugin-CmfMkuiM.js';
3
3
  import '@stryke/types/base';
4
4
  import 'unplugin';
5
5
  import '@stryke/types/array';
@@ -1,4 +1,4 @@
1
- import { R as ResolvedConfig, a as PluginContext, U as UserConfig } from '../plugin-zj8ivj8v.cjs';
1
+ import { R as ResolvedConfig, a as PluginContext, U as UserConfig } from '../plugin-CmfMkuiM.cjs';
2
2
  import ts from 'typescript';
3
3
  import '@stryke/types/base';
4
4
  import 'unplugin';
@@ -1,4 +1,4 @@
1
- import { R as ResolvedConfig, a as PluginContext, U as UserConfig } from '../plugin-zj8ivj8v.js';
1
+ import { R as ResolvedConfig, a as PluginContext, U as UserConfig } from '../plugin-CmfMkuiM.js';
2
2
  import ts from 'typescript';
3
3
  import '@stryke/types/base';
4
4
  import 'unplugin';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-tsc",
3
- "version": "0.2.11",
3
+ "version": "0.2.13",
4
4
  "type": "module",
5
5
  "description": "A package containing the TypeScript compiler plugin for Powerlines.",
6
6
  "repository": {
@@ -128,10 +128,10 @@
128
128
  "keywords": ["tsc", "powerlines", "storm-software", "powerlines-plugin"],
129
129
  "dependencies": {
130
130
  "defu": "^6.1.4",
131
- "powerlines": "^0.18.0",
131
+ "powerlines": "^0.19.1",
132
132
  "typescript": "^5.9.3"
133
133
  },
134
- "devDependencies": { "@powerlines/nx": "^0.10.3", "@types/node": "^22.19.0" },
134
+ "devDependencies": { "@powerlines/nx": "^0.10.5", "@types/node": "^22.19.0" },
135
135
  "publishConfig": { "access": "public" },
136
- "gitHead": "4af65138db7b5c7ccdbe493661f60c2a09ee1354"
136
+ "gitHead": "d25499feacd0143784f3cd426488909134bffab2"
137
137
  }