@powerlines/plugin-id 0.9.11 → 0.9.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 { 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,4 +1,4 @@
1
- 'use strict';Object.defineProperty(exports,'__esModule',{value:true});var chunkFBBMZ4NC_cjs=require('../chunk-FBBMZ4NC.cjs'),types$1=require('@storm-software/config-tools/types'),o=require('defu'),nanoid=require('./components/nanoid'),components=require('./components'),types=require('./types');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var o__default=/*#__PURE__*/_interopDefault(o);/*****************************************
1
+ 'use strict';Object.defineProperty(exports,'__esModule',{value:true});var chunkFBBMZ4NC_cjs=require('./chunk-FBBMZ4NC.cjs'),types$1=require('@storm-software/config-tools/types'),o=require('defu'),nanoid=require('./components/nanoid'),components=require('./components'),types=require('./types');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var o__default=/*#__PURE__*/_interopDefault(o);/*****************************************
2
2
  *
3
3
  * ⚡ Built by Storm Software
4
4
  *
@@ -1,6 +1,6 @@
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';
3
- export { nanoidModule } from '../components/nanoid.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
+ export { nanoidModule } from './components/nanoid.cjs';
4
4
  import '@storm-software/build-tools/types';
5
5
  import '@storm-software/config-tools/types';
6
6
  import '@storm-software/config/types';
@@ -1,6 +1,6 @@
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';
3
- export { nanoidModule } from '../components/nanoid.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
+ export { nanoidModule } from './components/nanoid.js';
4
4
  import '@storm-software/build-tools/types';
5
5
  import '@storm-software/config-tools/types';
6
6
  import '@storm-software/config/types';
@@ -1,4 +1,4 @@
1
- import {a}from'../chunk-UCUR73HG.js';import {LogLevelLabel}from'@storm-software/config-tools/types';import o from'defu';import {nanoidModule}from'./components/nanoid';export*from'./components';export*from'./types';/*****************************************
1
+ import {a}from'./chunk-UCUR73HG.js';import {LogLevelLabel}from'@storm-software/config-tools/types';import o from'defu';import {nanoidModule}from'./components/nanoid';export*from'./components';export*from'./types';/*****************************************
2
2
  *
3
3
  * ⚡ Built by Storm Software
4
4
  *
@@ -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.11",
3
+ "version": "0.9.13",
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": {
@@ -117,15 +117,15 @@
117
117
  "keywords": ["powerlines", "storm-software", "powerlines-plugin"],
118
118
  "dependencies": {
119
119
  "@storm-software/config-tools": "^1.188.19",
120
- "@stryke/path": "^0.18.5",
120
+ "@stryke/path": "^0.19.0",
121
121
  "defu": "^6.1.4",
122
- "powerlines": "^0.18.0"
122
+ "powerlines": "^0.19.1"
123
123
  },
124
124
  "devDependencies": {
125
- "@powerlines/nx": "^0.10.3",
125
+ "@powerlines/nx": "^0.10.5",
126
126
  "@storm-software/tsup": "^0.2.17",
127
127
  "@types/node": "^22.19.0"
128
128
  },
129
129
  "publishConfig": { "access": "public" },
130
- "gitHead": "4af65138db7b5c7ccdbe493661f60c2a09ee1354"
130
+ "gitHead": "d25499feacd0143784f3cd426488909134bffab2"
131
131
  }