@powerlines/plugin-id 0.9.10 → 0.9.12

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 { nanoidModule } from './nanoid.cjs';
2
- import '../index-CZ8NfQGb.cjs';
2
+ import '../index-DN8I8dYd.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
  export { nanoidModule } from './nanoid.js';
2
- import '../index-CZ8NfQGb.js';
2
+ import '../index-DN8I8dYd.js';
3
3
  import '@storm-software/build-tools/types';
4
4
  import '@storm-software/config-tools/types';
5
5
  import '@storm-software/config/types';
@@ -1,4 +1,4 @@
1
- import { a as IdPluginContext } from '../index-CZ8NfQGb.cjs';
1
+ import { a as IdPluginContext } from '../index-DN8I8dYd.cjs';
2
2
  import '@storm-software/build-tools/types';
3
3
  import '@storm-software/config-tools/types';
4
4
  import '@storm-software/config/types';
@@ -1,4 +1,4 @@
1
- import { a as IdPluginContext } from '../index-CZ8NfQGb.js';
1
+ import { a as IdPluginContext } from '../index-DN8I8dYd.js';
2
2
  import '@storm-software/build-tools/types';
3
3
  import '@storm-software/config-tools/types';
4
4
  import '@storm-software/config/types';
@@ -10,7 +10,7 @@ import { PackageJson } from '@stryke/types/package-json';
10
10
  import { Jiti } from 'jiti';
11
11
  import { ParserOptions, ParseResult } from 'oxc-parser';
12
12
  import { Range } from 'semver';
13
- import { UnpluginContext, UnpluginBuildContext, TransformResult, ExternalIdResult, HookFilter, UnpluginOptions } from 'unplugin';
13
+ import { UnpluginMessage, UnpluginContext, UnpluginBuildContext, TransformResult, ExternalIdResult, HookFilter, UnpluginOptions } from 'unplugin';
14
14
  import { TsConfigJson, CompilerOptions } from '@stryke/types/tsconfig';
15
15
  import ts from 'typescript';
16
16
  import { PrimitiveJsonValue } from '@stryke/json/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
  */
@@ -10,7 +10,7 @@ import { PackageJson } from '@stryke/types/package-json';
10
10
  import { Jiti } from 'jiti';
11
11
  import { ParserOptions, ParseResult } from 'oxc-parser';
12
12
  import { Range } from 'semver';
13
- import { UnpluginContext, UnpluginBuildContext, TransformResult, ExternalIdResult, HookFilter, UnpluginOptions } from 'unplugin';
13
+ import { UnpluginMessage, UnpluginContext, UnpluginBuildContext, TransformResult, ExternalIdResult, HookFilter, UnpluginOptions } from 'unplugin';
14
14
  import { TsConfigJson, CompilerOptions } from '@stryke/types/tsconfig';
15
15
  import ts from 'typescript';
16
16
  import { PrimitiveJsonValue } from '@stryke/json/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
- import { I as IdPluginOptions, P as Plugin, a as IdPluginContext } from '../index-CZ8NfQGb.cjs';
2
- export { c as IdPluginResolvedConfig, b as IdPluginUserConfig, U as UniqueIdFormatType } from '../index-CZ8NfQGb.cjs';
1
+ import { I as IdPluginOptions, P as Plugin, a as IdPluginContext } from '../index-DN8I8dYd.cjs';
2
+ export { c as IdPluginResolvedConfig, b as IdPluginUserConfig, U as UniqueIdFormatType } from '../index-DN8I8dYd.cjs';
3
3
  export { nanoidModule } from '../components/nanoid.cjs';
4
4
  import '@storm-software/build-tools/types';
5
5
  import '@storm-software/config-tools/types';
@@ -1,5 +1,5 @@
1
- import { I as IdPluginOptions, P as Plugin, a as IdPluginContext } from '../index-CZ8NfQGb.js';
2
- export { c as IdPluginResolvedConfig, b as IdPluginUserConfig, U as UniqueIdFormatType } from '../index-CZ8NfQGb.js';
1
+ import { I as IdPluginOptions, P as Plugin, a as IdPluginContext } from '../index-DN8I8dYd.js';
2
+ export { c as IdPluginResolvedConfig, b as IdPluginUserConfig, U as UniqueIdFormatType } from '../index-DN8I8dYd.js';
3
3
  export { nanoidModule } from '../components/nanoid.js';
4
4
  import '@storm-software/build-tools/types';
5
5
  import '@storm-software/config-tools/types';
@@ -1,4 +1,4 @@
1
- export { a as IdPluginContext, I as IdPluginOptions, c as IdPluginResolvedConfig, b as IdPluginUserConfig, U as UniqueIdFormatType } from '../index-CZ8NfQGb.cjs';
1
+ export { a as IdPluginContext, I as IdPluginOptions, c as IdPluginResolvedConfig, b as IdPluginUserConfig, U as UniqueIdFormatType } from '../index-DN8I8dYd.cjs';
2
2
  import '@storm-software/build-tools/types';
3
3
  import '@storm-software/config-tools/types';
4
4
  import '@storm-software/config/types';
@@ -1,4 +1,4 @@
1
- export { a as IdPluginContext, I as IdPluginOptions, c as IdPluginResolvedConfig, b as IdPluginUserConfig, U as UniqueIdFormatType } from '../index-CZ8NfQGb.js';
1
+ export { a as IdPluginContext, I as IdPluginOptions, c as IdPluginResolvedConfig, b as IdPluginUserConfig, U as UniqueIdFormatType } from '../index-DN8I8dYd.js';
2
2
  import '@storm-software/build-tools/types';
3
3
  import '@storm-software/config-tools/types';
4
4
  import '@storm-software/config/types';
@@ -1,4 +1,4 @@
1
- export { a as IdPluginContext, I as IdPluginOptions, c as IdPluginResolvedConfig, b as IdPluginUserConfig, U as UniqueIdFormatType } from '../index-CZ8NfQGb.cjs';
1
+ export { a as IdPluginContext, I as IdPluginOptions, c as IdPluginResolvedConfig, b as IdPluginUserConfig, U as UniqueIdFormatType } from '../index-DN8I8dYd.cjs';
2
2
  import '@storm-software/build-tools/types';
3
3
  import '@storm-software/config-tools/types';
4
4
  import '@storm-software/config/types';
@@ -1,4 +1,4 @@
1
- export { a as IdPluginContext, I as IdPluginOptions, c as IdPluginResolvedConfig, b as IdPluginUserConfig, U as UniqueIdFormatType } from '../index-CZ8NfQGb.js';
1
+ export { a as IdPluginContext, I as IdPluginOptions, c as IdPluginResolvedConfig, b as IdPluginUserConfig, U as UniqueIdFormatType } from '../index-DN8I8dYd.js';
2
2
  import '@storm-software/build-tools/types';
3
3
  import '@storm-software/config-tools/types';
4
4
  import '@storm-software/config/types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-id",
3
- "version": "0.9.10",
3
+ "version": "0.9.12",
4
4
  "type": "module",
5
5
  "description": "A Powerlines plugin that provides unique identifier generation capabilities at runtime by adding the `id` builtin module.",
6
6
  "repository": {
@@ -119,13 +119,13 @@
119
119
  "@storm-software/config-tools": "^1.188.19",
120
120
  "@stryke/path": "^0.18.5",
121
121
  "defu": "^6.1.4",
122
- "powerlines": "^0.17.0"
122
+ "powerlines": "^0.19.0"
123
123
  },
124
124
  "devDependencies": {
125
- "@powerlines/nx": "^0.10.2",
125
+ "@powerlines/nx": "^0.10.4",
126
126
  "@storm-software/tsup": "^0.2.17",
127
127
  "@types/node": "^22.19.0"
128
128
  },
129
129
  "publishConfig": { "access": "public" },
130
- "gitHead": "27064ac269a2d34c5b9371105cdd58bf6ebe85b4"
130
+ "gitHead": "8ee43c2a7eebce6b221aa572553f4296c87fce76"
131
131
  }