@powerlines/plugin-unimport 0.1.3 → 0.1.4
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/{index-BsblZcdH.d.cts → index-BWO-VDIM.d.cts} +25 -1
- package/dist/{index-BsblZcdH.d.ts → index-BWO-VDIM.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 +5 -5
|
@@ -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';
|
|
@@ -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
|
*/
|
|
@@ -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';
|
|
@@ -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
|
*/
|
package/dist/src/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { U as UnimportPluginContext, a as UnimportPluginOptions, P as Plugin } from '../index-
|
|
2
|
-
export { b as UnimportContext, d as UnimportPluginResolvedConfig, c as UnimportPluginUserConfig } from '../index-
|
|
1
|
+
import { U as UnimportPluginContext, a as UnimportPluginOptions, P as Plugin } from '../index-BWO-VDIM.cjs';
|
|
2
|
+
export { b as UnimportContext, d as UnimportPluginResolvedConfig, c as UnimportPluginUserConfig } from '../index-BWO-VDIM.cjs';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
|
5
5
|
import '@storm-software/config/types';
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { U as UnimportPluginContext, a as UnimportPluginOptions, P as Plugin } from '../index-
|
|
2
|
-
export { b as UnimportContext, d as UnimportPluginResolvedConfig, c as UnimportPluginUserConfig } from '../index-
|
|
1
|
+
import { U as UnimportPluginContext, a as UnimportPluginOptions, P as Plugin } from '../index-BWO-VDIM.js';
|
|
2
|
+
export { b as UnimportContext, d as UnimportPluginResolvedConfig, c as UnimportPluginUserConfig } from '../index-BWO-VDIM.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/dist/types/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { b as UnimportContext, U as UnimportPluginContext, a as UnimportPluginOptions, d as UnimportPluginResolvedConfig, c as UnimportPluginUserConfig } from '../index-
|
|
1
|
+
export { b as UnimportContext, U as UnimportPluginContext, a as UnimportPluginOptions, d as UnimportPluginResolvedConfig, c as UnimportPluginUserConfig } from '../index-BWO-VDIM.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 { b as UnimportContext, U as UnimportPluginContext, a as UnimportPluginOptions, d as UnimportPluginResolvedConfig, c as UnimportPluginUserConfig } from '../index-
|
|
1
|
+
export { b as UnimportContext, U as UnimportPluginContext, a as UnimportPluginOptions, d as UnimportPluginResolvedConfig, c as UnimportPluginUserConfig } from '../index-BWO-VDIM.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 { b as UnimportContext, U as UnimportPluginContext, a as UnimportPluginOptions, d as UnimportPluginResolvedConfig, c as UnimportPluginUserConfig } from '../index-
|
|
1
|
+
export { b as UnimportContext, U as UnimportPluginContext, a as UnimportPluginOptions, d as UnimportPluginResolvedConfig, c as UnimportPluginUserConfig } from '../index-BWO-VDIM.cjs';
|
|
2
2
|
import 'unimport';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
package/dist/types/plugin.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { b as UnimportContext, U as UnimportPluginContext, a as UnimportPluginOptions, d as UnimportPluginResolvedConfig, c as UnimportPluginUserConfig } from '../index-
|
|
1
|
+
export { b as UnimportContext, U as UnimportPluginContext, a as UnimportPluginOptions, d as UnimportPluginResolvedConfig, c as UnimportPluginUserConfig } from '../index-BWO-VDIM.js';
|
|
2
2
|
import 'unimport';
|
|
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-unimport",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A Powerlines plugin to add imports to source code automatically via unimport.",
|
|
6
6
|
"repository": {
|
|
@@ -108,14 +108,14 @@
|
|
|
108
108
|
"defu": "^6.1.4",
|
|
109
109
|
"jiti": "^2.6.1",
|
|
110
110
|
"unimport": "^5.5.0",
|
|
111
|
-
"powerlines": "^0.
|
|
111
|
+
"powerlines": "^0.19.0",
|
|
112
112
|
"magic-string": "^0.30.21"
|
|
113
113
|
},
|
|
114
114
|
"devDependencies": {
|
|
115
|
-
"@powerlines/nx": "^0.10.
|
|
116
|
-
"@powerlines/plugin-plugin": "^0.11.
|
|
115
|
+
"@powerlines/nx": "^0.10.4",
|
|
116
|
+
"@powerlines/plugin-plugin": "^0.11.12",
|
|
117
117
|
"@types/node": "^22.19.0"
|
|
118
118
|
},
|
|
119
119
|
"publishConfig": { "access": "public" },
|
|
120
|
-
"gitHead": "
|
|
120
|
+
"gitHead": "8ee43c2a7eebce6b221aa572553f4296c87fce76"
|
|
121
121
|
}
|