@powerlines/plugin-tsup 0.12.12 → 0.12.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,6 +1,6 @@
1
1
  export { createTsupPlugin } from './unplugin.cjs';
2
2
  import 'esbuild';
3
- import '../index-CFRDkwo3.cjs';
3
+ import '../index-FYhufNdW.cjs';
4
4
  import '@storm-software/tsup/types';
5
5
  import '@storm-software/build-tools/types';
6
6
  import '@storm-software/config-tools/types';
@@ -1,6 +1,6 @@
1
1
  export { createTsupPlugin } from './unplugin.js';
2
2
  import 'esbuild';
3
- import '../index-CFRDkwo3.js';
3
+ import '../index-FYhufNdW.js';
4
4
  import '@storm-software/tsup/types';
5
5
  import '@storm-software/build-tools/types';
6
6
  import '@storm-software/config-tools/types';
@@ -1,5 +1,5 @@
1
1
  import * as esbuild from 'esbuild';
2
- import { T as TsupPluginContext } from '../index-CFRDkwo3.cjs';
2
+ import { T as TsupPluginContext } from '../index-FYhufNdW.cjs';
3
3
  import '@storm-software/tsup/types';
4
4
  import '@storm-software/build-tools/types';
5
5
  import '@storm-software/config-tools/types';
@@ -1,5 +1,5 @@
1
1
  import * as esbuild from 'esbuild';
2
- import { T as TsupPluginContext } from '../index-CFRDkwo3.js';
2
+ import { T as TsupPluginContext } from '../index-FYhufNdW.js';
3
3
  import '@storm-software/tsup/types';
4
4
  import '@storm-software/build-tools/types';
5
5
  import '@storm-software/config-tools/types';
@@ -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';
@@ -941,6 +941,30 @@ interface Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> {
941
941
  * A logging function for the Powerlines engine
942
942
  */
943
943
  log: LogFn;
944
+ /**
945
+ * A logging function for fatal messages
946
+ */
947
+ fatal: (message: string | UnpluginMessage) => void;
948
+ /**
949
+ * A logging function for error messages
950
+ */
951
+ error: (message: string | UnpluginMessage) => void;
952
+ /**
953
+ * A logging function for warning messages
954
+ */
955
+ warn: (message: string | UnpluginMessage) => void;
956
+ /**
957
+ * A logging function for informational messages
958
+ */
959
+ info: (message: string | UnpluginMessage) => void;
960
+ /**
961
+ * A logging function for debug messages
962
+ */
963
+ debug: (message: string | UnpluginMessage) => void;
964
+ /**
965
+ * A logging function for trace messages
966
+ */
967
+ trace: (message: string | UnpluginMessage) => void;
944
968
  /**
945
969
  * The metadata information
946
970
  */
@@ -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';
@@ -941,6 +941,30 @@ interface Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> {
941
941
  * A logging function for the Powerlines engine
942
942
  */
943
943
  log: LogFn;
944
+ /**
945
+ * A logging function for fatal messages
946
+ */
947
+ fatal: (message: string | UnpluginMessage) => void;
948
+ /**
949
+ * A logging function for error messages
950
+ */
951
+ error: (message: string | UnpluginMessage) => void;
952
+ /**
953
+ * A logging function for warning messages
954
+ */
955
+ warn: (message: string | UnpluginMessage) => void;
956
+ /**
957
+ * A logging function for informational messages
958
+ */
959
+ info: (message: string | UnpluginMessage) => void;
960
+ /**
961
+ * A logging function for debug messages
962
+ */
963
+ debug: (message: string | UnpluginMessage) => void;
964
+ /**
965
+ * A logging function for trace messages
966
+ */
967
+ trace: (message: string | UnpluginMessage) => void;
944
968
  /**
945
969
  * The metadata information
946
970
  */
@@ -1,5 +1,5 @@
1
- import { T as TsupPluginContext, a as TsupPluginOptions, P as Plugin } from '../index-CFRDkwo3.cjs';
2
- export { c as TsupPluginResolvedConfig, b as TsupPluginUserConfig } from '../index-CFRDkwo3.cjs';
1
+ import { T as TsupPluginContext, a as TsupPluginOptions, P as Plugin } from '../index-FYhufNdW.cjs';
2
+ export { c as TsupPluginResolvedConfig, b as TsupPluginUserConfig } from '../index-FYhufNdW.cjs';
3
3
  export { createTsupPlugin } from '../helpers/unplugin.cjs';
4
4
  import '@storm-software/tsup/types';
5
5
  import '@storm-software/build-tools/types';
@@ -1,5 +1,5 @@
1
- import { T as TsupPluginContext, a as TsupPluginOptions, P as Plugin } from '../index-CFRDkwo3.js';
2
- export { c as TsupPluginResolvedConfig, b as TsupPluginUserConfig } from '../index-CFRDkwo3.js';
1
+ import { T as TsupPluginContext, a as TsupPluginOptions, P as Plugin } from '../index-FYhufNdW.js';
2
+ export { c as TsupPluginResolvedConfig, b as TsupPluginUserConfig } from '../index-FYhufNdW.js';
3
3
  export { createTsupPlugin } from '../helpers/unplugin.js';
4
4
  import '@storm-software/tsup/types';
5
5
  import '@storm-software/build-tools/types';
@@ -1,4 +1,4 @@
1
- export { T as TsupPluginContext, a as TsupPluginOptions, c as TsupPluginResolvedConfig, b as TsupPluginUserConfig } from '../index-CFRDkwo3.cjs';
1
+ export { T as TsupPluginContext, a as TsupPluginOptions, c as TsupPluginResolvedConfig, b as TsupPluginUserConfig } from '../index-FYhufNdW.cjs';
2
2
  import '@storm-software/tsup/types';
3
3
  import '@storm-software/build-tools/types';
4
4
  import '@storm-software/config-tools/types';
@@ -1,4 +1,4 @@
1
- export { T as TsupPluginContext, a as TsupPluginOptions, c as TsupPluginResolvedConfig, b as TsupPluginUserConfig } from '../index-CFRDkwo3.js';
1
+ export { T as TsupPluginContext, a as TsupPluginOptions, c as TsupPluginResolvedConfig, b as TsupPluginUserConfig } from '../index-FYhufNdW.js';
2
2
  import '@storm-software/tsup/types';
3
3
  import '@storm-software/build-tools/types';
4
4
  import '@storm-software/config-tools/types';
@@ -1,4 +1,4 @@
1
- export { T as TsupPluginContext, a as TsupPluginOptions, c as TsupPluginResolvedConfig, b as TsupPluginUserConfig } from '../index-CFRDkwo3.cjs';
1
+ export { T as TsupPluginContext, a as TsupPluginOptions, c as TsupPluginResolvedConfig, b as TsupPluginUserConfig } from '../index-FYhufNdW.cjs';
2
2
  import '@storm-software/tsup/types';
3
3
  import '@storm-software/build-tools/types';
4
4
  import '@storm-software/config-tools/types';
@@ -1,4 +1,4 @@
1
- export { T as TsupPluginContext, a as TsupPluginOptions, c as TsupPluginResolvedConfig, b as TsupPluginUserConfig } from '../index-CFRDkwo3.js';
1
+ export { T as TsupPluginContext, a as TsupPluginOptions, c as TsupPluginResolvedConfig, b as TsupPluginUserConfig } from '../index-FYhufNdW.js';
2
2
  import '@storm-software/tsup/types';
3
3
  import '@storm-software/build-tools/types';
4
4
  import '@storm-software/config-tools/types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-tsup",
3
- "version": "0.12.12",
3
+ "version": "0.12.13",
4
4
  "type": "module",
5
5
  "description": "A package containing a Powerlines plugin to assist in developing other Powerlines plugins.",
6
6
  "repository": {
@@ -132,13 +132,13 @@
132
132
  "@stryke/type-checks": "^0.3.10",
133
133
  "@stryke/types": "^0.10.0",
134
134
  "defu": "^6.1.4",
135
- "powerlines": "^0.18.0"
135
+ "powerlines": "^0.19.0"
136
136
  },
137
137
  "devDependencies": {
138
- "@powerlines/nx": "^0.10.3",
139
- "@powerlines/plugin-plugin": "^0.11.11",
138
+ "@powerlines/nx": "^0.10.4",
139
+ "@powerlines/plugin-plugin": "^0.11.12",
140
140
  "@types/node": "^22.19.0"
141
141
  },
142
142
  "publishConfig": { "access": "public" },
143
- "gitHead": "4af65138db7b5c7ccdbe493661f60c2a09ee1354"
143
+ "gitHead": "8ee43c2a7eebce6b221aa572553f4296c87fce76"
144
144
  }