@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.
- package/dist/components/index.d.cts +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/components/nanoid.d.cts +1 -1
- package/dist/components/nanoid.d.ts +1 -1
- package/dist/{index-CZ8NfQGb.d.cts → index-DN8I8dYd.d.cts} +25 -1
- package/dist/{index-CZ8NfQGb.d.ts → index-DN8I8dYd.d.ts} +25 -1
- package/dist/src/index.d.cts +2 -2
- package/dist/src/index.d.ts +2 -2
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/plugin.d.cts +1 -1
- package/dist/types/plugin.d.ts +1 -1
- package/package.json +4 -4
|
@@ -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
|
*/
|
package/dist/src/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as IdPluginOptions, P as Plugin, a as IdPluginContext } from '../index-
|
|
2
|
-
export { c as IdPluginResolvedConfig, b as IdPluginUserConfig, U as UniqueIdFormatType } from '../index-
|
|
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';
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as IdPluginOptions, P as Plugin, a as IdPluginContext } from '../index-
|
|
2
|
-
export { c as IdPluginResolvedConfig, b as IdPluginUserConfig, U as UniqueIdFormatType } from '../index-
|
|
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';
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as IdPluginContext, I as IdPluginOptions, c as IdPluginResolvedConfig, b as IdPluginUserConfig, U as UniqueIdFormatType } from '../index-
|
|
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';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as IdPluginContext, I as IdPluginOptions, c as IdPluginResolvedConfig, b as IdPluginUserConfig, U as UniqueIdFormatType } from '../index-
|
|
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/dist/types/plugin.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as IdPluginContext, I as IdPluginOptions, c as IdPluginResolvedConfig, b as IdPluginUserConfig, U as UniqueIdFormatType } from '../index-
|
|
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';
|
package/dist/types/plugin.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as IdPluginContext, I as IdPluginOptions, c as IdPluginResolvedConfig, b as IdPluginUserConfig, U as UniqueIdFormatType } from '../index-
|
|
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.
|
|
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.
|
|
122
|
+
"powerlines": "^0.19.0"
|
|
123
123
|
},
|
|
124
124
|
"devDependencies": {
|
|
125
|
-
"@powerlines/nx": "^0.10.
|
|
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": "
|
|
130
|
+
"gitHead": "8ee43c2a7eebce6b221aa572553f4296c87fce76"
|
|
131
131
|
}
|