@powerlines/plugin-oxc-transform 0.5.11 → 0.5.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.
@@ -11,7 +11,7 @@ import { PackageJson } from '@stryke/types/package-json';
11
11
  import { Jiti } from 'jiti';
12
12
  import { ParserOptions, ParseResult } from 'oxc-parser';
13
13
  import { Range } from 'semver';
14
- import { UnpluginContext, UnpluginBuildContext, TransformResult, ExternalIdResult, HookFilter, UnpluginOptions } from 'unplugin';
14
+ import { UnpluginMessage, UnpluginContext, UnpluginBuildContext, TransformResult, ExternalIdResult, HookFilter, UnpluginOptions } from 'unplugin';
15
15
  import { TsConfigJson, CompilerOptions } from '@stryke/types/tsconfig';
16
16
  import ts from 'typescript';
17
17
  import { PrimitiveJsonValue } from '@stryke/json/types';
@@ -937,6 +937,30 @@ interface Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> {
937
937
  * A logging function for the Powerlines engine
938
938
  */
939
939
  log: LogFn;
940
+ /**
941
+ * A logging function for fatal messages
942
+ */
943
+ fatal: (message: string | UnpluginMessage) => void;
944
+ /**
945
+ * A logging function for error messages
946
+ */
947
+ error: (message: string | UnpluginMessage) => void;
948
+ /**
949
+ * A logging function for warning messages
950
+ */
951
+ warn: (message: string | UnpluginMessage) => void;
952
+ /**
953
+ * A logging function for informational messages
954
+ */
955
+ info: (message: string | UnpluginMessage) => void;
956
+ /**
957
+ * A logging function for debug messages
958
+ */
959
+ debug: (message: string | UnpluginMessage) => void;
960
+ /**
961
+ * A logging function for trace messages
962
+ */
963
+ trace: (message: string | UnpluginMessage) => void;
940
964
  /**
941
965
  * The metadata information
942
966
  */
@@ -11,7 +11,7 @@ import { PackageJson } from '@stryke/types/package-json';
11
11
  import { Jiti } from 'jiti';
12
12
  import { ParserOptions, ParseResult } from 'oxc-parser';
13
13
  import { Range } from 'semver';
14
- import { UnpluginContext, UnpluginBuildContext, TransformResult, ExternalIdResult, HookFilter, UnpluginOptions } from 'unplugin';
14
+ import { UnpluginMessage, UnpluginContext, UnpluginBuildContext, TransformResult, ExternalIdResult, HookFilter, UnpluginOptions } from 'unplugin';
15
15
  import { TsConfigJson, CompilerOptions } from '@stryke/types/tsconfig';
16
16
  import ts from 'typescript';
17
17
  import { PrimitiveJsonValue } from '@stryke/json/types';
@@ -937,6 +937,30 @@ interface Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> {
937
937
  * A logging function for the Powerlines engine
938
938
  */
939
939
  log: LogFn;
940
+ /**
941
+ * A logging function for fatal messages
942
+ */
943
+ fatal: (message: string | UnpluginMessage) => void;
944
+ /**
945
+ * A logging function for error messages
946
+ */
947
+ error: (message: string | UnpluginMessage) => void;
948
+ /**
949
+ * A logging function for warning messages
950
+ */
951
+ warn: (message: string | UnpluginMessage) => void;
952
+ /**
953
+ * A logging function for informational messages
954
+ */
955
+ info: (message: string | UnpluginMessage) => void;
956
+ /**
957
+ * A logging function for debug messages
958
+ */
959
+ debug: (message: string | UnpluginMessage) => void;
960
+ /**
961
+ * A logging function for trace messages
962
+ */
963
+ trace: (message: string | UnpluginMessage) => void;
940
964
  /**
941
965
  * The metadata information
942
966
  */
@@ -1,5 +1,5 @@
1
- import { O as OxcTransformPluginContext, a as OxcTransformPluginOptions, P as Plugin } from '../index-B8OQ0eP1.cjs';
2
- export { c as OxcTransformPluginResolvedConfig, b as OxcTransformPluginUserConfig } from '../index-B8OQ0eP1.cjs';
1
+ import { O as OxcTransformPluginContext, a as OxcTransformPluginOptions, P as Plugin } from '../index-wbDAh8y0.cjs';
2
+ export { c as OxcTransformPluginResolvedConfig, b as OxcTransformPluginUserConfig } from '../index-wbDAh8y0.cjs';
3
3
  import 'oxc-transform';
4
4
  import '@storm-software/build-tools/types';
5
5
  import '@storm-software/config-tools/types';
@@ -1,5 +1,5 @@
1
- import { O as OxcTransformPluginContext, a as OxcTransformPluginOptions, P as Plugin } from '../index-B8OQ0eP1.js';
2
- export { c as OxcTransformPluginResolvedConfig, b as OxcTransformPluginUserConfig } from '../index-B8OQ0eP1.js';
1
+ import { O as OxcTransformPluginContext, a as OxcTransformPluginOptions, P as Plugin } from '../index-wbDAh8y0.js';
2
+ export { c as OxcTransformPluginResolvedConfig, b as OxcTransformPluginUserConfig } from '../index-wbDAh8y0.js';
3
3
  import 'oxc-transform';
4
4
  import '@storm-software/build-tools/types';
5
5
  import '@storm-software/config-tools/types';
@@ -1,4 +1,4 @@
1
- export { O as OxcTransformPluginContext, a as OxcTransformPluginOptions, c as OxcTransformPluginResolvedConfig, b as OxcTransformPluginUserConfig } from '../index-B8OQ0eP1.cjs';
1
+ export { O as OxcTransformPluginContext, a as OxcTransformPluginOptions, c as OxcTransformPluginResolvedConfig, b as OxcTransformPluginUserConfig } from '../index-wbDAh8y0.cjs';
2
2
  import 'oxc-transform';
3
3
  import '@storm-software/build-tools/types';
4
4
  import '@storm-software/config-tools/types';
@@ -1,4 +1,4 @@
1
- export { O as OxcTransformPluginContext, a as OxcTransformPluginOptions, c as OxcTransformPluginResolvedConfig, b as OxcTransformPluginUserConfig } from '../index-B8OQ0eP1.js';
1
+ export { O as OxcTransformPluginContext, a as OxcTransformPluginOptions, c as OxcTransformPluginResolvedConfig, b as OxcTransformPluginUserConfig } from '../index-wbDAh8y0.js';
2
2
  import 'oxc-transform';
3
3
  import '@storm-software/build-tools/types';
4
4
  import '@storm-software/config-tools/types';
@@ -1,5 +1,5 @@
1
1
  import 'oxc-transform';
2
- export { O as OxcTransformPluginContext, a as OxcTransformPluginOptions, c as OxcTransformPluginResolvedConfig, b as OxcTransformPluginUserConfig } from '../index-B8OQ0eP1.cjs';
2
+ export { O as OxcTransformPluginContext, a as OxcTransformPluginOptions, c as OxcTransformPluginResolvedConfig, b as OxcTransformPluginUserConfig } from '../index-wbDAh8y0.cjs';
3
3
  import '@storm-software/build-tools/types';
4
4
  import '@storm-software/config-tools/types';
5
5
  import '@storm-software/config/types';
@@ -1,5 +1,5 @@
1
1
  import 'oxc-transform';
2
- export { O as OxcTransformPluginContext, a as OxcTransformPluginOptions, c as OxcTransformPluginResolvedConfig, b as OxcTransformPluginUserConfig } from '../index-B8OQ0eP1.js';
2
+ export { O as OxcTransformPluginContext, a as OxcTransformPluginOptions, c as OxcTransformPluginResolvedConfig, b as OxcTransformPluginUserConfig } from '../index-wbDAh8y0.js';
3
3
  import '@storm-software/build-tools/types';
4
4
  import '@storm-software/config-tools/types';
5
5
  import '@storm-software/config/types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-oxc-transform",
3
- "version": "0.5.11",
3
+ "version": "0.5.13",
4
4
  "type": "module",
5
5
  "description": "A Powerlines plugin to transform project code with Oxc Transformer.",
6
6
  "repository": {
@@ -107,13 +107,13 @@
107
107
  "@stryke/path": "^0.18.5",
108
108
  "defu": "^6.1.4",
109
109
  "oxc-transform": "^0.95.0",
110
- "powerlines": "^0.17.0"
110
+ "powerlines": "^0.19.0"
111
111
  },
112
112
  "devDependencies": {
113
- "@powerlines/nx": "^0.10.2",
114
- "@powerlines/plugin-plugin": "^0.11.10",
113
+ "@powerlines/nx": "^0.10.4",
114
+ "@powerlines/plugin-plugin": "^0.11.12",
115
115
  "@types/node": "^22.19.0"
116
116
  },
117
117
  "publishConfig": { "access": "public" },
118
- "gitHead": "27064ac269a2d34c5b9371105cdd58bf6ebe85b4"
118
+ "gitHead": "8ee43c2a7eebce6b221aa572553f4296c87fce76"
119
119
  }