@powerlines/plugin-vite 0.14.3 → 0.14.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/helpers/index.d.cts +1 -1
- package/dist/helpers/index.d.ts +1 -1
- package/dist/helpers/unplugin.d.cts +1 -1
- package/dist/helpers/unplugin.d.ts +1 -1
- package/dist/{index-DSjwYh04.d.cts → index-BsPEyPTR.d.cts} +25 -1
- package/dist/{index-DSjwYh04.d.ts → index-BsPEyPTR.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 +7 -7
package/dist/helpers/index.d.cts
CHANGED
package/dist/helpers/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { PackageJson } from '@stryke/types/package-json';
|
|
|
4
4
|
import { Jiti } from 'jiti';
|
|
5
5
|
import { ParserOptions, ParseResult } from 'oxc-parser';
|
|
6
6
|
import { Range } from 'semver';
|
|
7
|
-
import { UnpluginContext, UnpluginBuildContext, TransformResult, ExternalIdResult, HookFilter, UnpluginOptions } from 'unplugin';
|
|
7
|
+
import { UnpluginMessage, UnpluginContext, UnpluginBuildContext, TransformResult, ExternalIdResult, HookFilter, UnpluginOptions } from 'unplugin';
|
|
8
8
|
import { Format } from '@storm-software/build-tools/types';
|
|
9
9
|
import { LogLevelLabel } from '@storm-software/config-tools/types';
|
|
10
10
|
import { StormWorkspaceConfig } from '@storm-software/config/types';
|
|
@@ -940,6 +940,30 @@ interface Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> {
|
|
|
940
940
|
* A logging function for the Powerlines engine
|
|
941
941
|
*/
|
|
942
942
|
log: LogFn;
|
|
943
|
+
/**
|
|
944
|
+
* A logging function for fatal messages
|
|
945
|
+
*/
|
|
946
|
+
fatal: (message: string | UnpluginMessage) => void;
|
|
947
|
+
/**
|
|
948
|
+
* A logging function for error messages
|
|
949
|
+
*/
|
|
950
|
+
error: (message: string | UnpluginMessage) => void;
|
|
951
|
+
/**
|
|
952
|
+
* A logging function for warning messages
|
|
953
|
+
*/
|
|
954
|
+
warn: (message: string | UnpluginMessage) => void;
|
|
955
|
+
/**
|
|
956
|
+
* A logging function for informational messages
|
|
957
|
+
*/
|
|
958
|
+
info: (message: string | UnpluginMessage) => void;
|
|
959
|
+
/**
|
|
960
|
+
* A logging function for debug messages
|
|
961
|
+
*/
|
|
962
|
+
debug: (message: string | UnpluginMessage) => void;
|
|
963
|
+
/**
|
|
964
|
+
* A logging function for trace messages
|
|
965
|
+
*/
|
|
966
|
+
trace: (message: string | UnpluginMessage) => void;
|
|
943
967
|
/**
|
|
944
968
|
* The metadata information
|
|
945
969
|
*/
|
|
@@ -4,7 +4,7 @@ import { PackageJson } from '@stryke/types/package-json';
|
|
|
4
4
|
import { Jiti } from 'jiti';
|
|
5
5
|
import { ParserOptions, ParseResult } from 'oxc-parser';
|
|
6
6
|
import { Range } from 'semver';
|
|
7
|
-
import { UnpluginContext, UnpluginBuildContext, TransformResult, ExternalIdResult, HookFilter, UnpluginOptions } from 'unplugin';
|
|
7
|
+
import { UnpluginMessage, UnpluginContext, UnpluginBuildContext, TransformResult, ExternalIdResult, HookFilter, UnpluginOptions } from 'unplugin';
|
|
8
8
|
import { Format } from '@storm-software/build-tools/types';
|
|
9
9
|
import { LogLevelLabel } from '@storm-software/config-tools/types';
|
|
10
10
|
import { StormWorkspaceConfig } from '@storm-software/config/types';
|
|
@@ -940,6 +940,30 @@ interface Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> {
|
|
|
940
940
|
* A logging function for the Powerlines engine
|
|
941
941
|
*/
|
|
942
942
|
log: LogFn;
|
|
943
|
+
/**
|
|
944
|
+
* A logging function for fatal messages
|
|
945
|
+
*/
|
|
946
|
+
fatal: (message: string | UnpluginMessage) => void;
|
|
947
|
+
/**
|
|
948
|
+
* A logging function for error messages
|
|
949
|
+
*/
|
|
950
|
+
error: (message: string | UnpluginMessage) => void;
|
|
951
|
+
/**
|
|
952
|
+
* A logging function for warning messages
|
|
953
|
+
*/
|
|
954
|
+
warn: (message: string | UnpluginMessage) => void;
|
|
955
|
+
/**
|
|
956
|
+
* A logging function for informational messages
|
|
957
|
+
*/
|
|
958
|
+
info: (message: string | UnpluginMessage) => void;
|
|
959
|
+
/**
|
|
960
|
+
* A logging function for debug messages
|
|
961
|
+
*/
|
|
962
|
+
debug: (message: string | UnpluginMessage) => void;
|
|
963
|
+
/**
|
|
964
|
+
* A logging function for trace messages
|
|
965
|
+
*/
|
|
966
|
+
trace: (message: string | UnpluginMessage) => void;
|
|
943
967
|
/**
|
|
944
968
|
* The metadata information
|
|
945
969
|
*/
|
package/dist/src/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { V as VitePluginContext, a as VitePluginOptions, P as Plugin } from '../index-
|
|
2
|
-
export { b as VitePluginResolvedConfig } from '../index-
|
|
1
|
+
import { V as VitePluginContext, a as VitePluginOptions, P as Plugin } from '../index-BsPEyPTR.cjs';
|
|
2
|
+
export { b as VitePluginResolvedConfig } from '../index-BsPEyPTR.cjs';
|
|
3
3
|
export { createVitePlugin } from '../helpers/unplugin.cjs';
|
|
4
4
|
import 'vite';
|
|
5
5
|
import '@stryke/env/get-env-paths';
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { V as VitePluginContext, a as VitePluginOptions, P as Plugin } from '../index-
|
|
2
|
-
export { b as VitePluginResolvedConfig } from '../index-
|
|
1
|
+
import { V as VitePluginContext, a as VitePluginOptions, P as Plugin } from '../index-BsPEyPTR.js';
|
|
2
|
+
export { b as VitePluginResolvedConfig } from '../index-BsPEyPTR.js';
|
|
3
3
|
export { createVitePlugin } from '../helpers/unplugin.js';
|
|
4
4
|
import 'vite';
|
|
5
5
|
import '@stryke/env/get-env-paths';
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { V as VitePluginContext, a as VitePluginOptions, b as VitePluginResolvedConfig } from '../index-
|
|
1
|
+
export { V as VitePluginContext, a as VitePluginOptions, b as VitePluginResolvedConfig } from '../index-BsPEyPTR.cjs';
|
|
2
2
|
import 'vite';
|
|
3
3
|
import '@stryke/env/get-env-paths';
|
|
4
4
|
import '@stryke/types/package-json';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { V as VitePluginContext, a as VitePluginOptions, b as VitePluginResolvedConfig } from '../index-
|
|
1
|
+
export { V as VitePluginContext, a as VitePluginOptions, b as VitePluginResolvedConfig } from '../index-BsPEyPTR.js';
|
|
2
2
|
import 'vite';
|
|
3
3
|
import '@stryke/env/get-env-paths';
|
|
4
4
|
import '@stryke/types/package-json';
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { V as VitePluginContext, a as VitePluginOptions, b as VitePluginResolvedConfig } from '../index-
|
|
1
|
+
export { V as VitePluginContext, a as VitePluginOptions, b as VitePluginResolvedConfig } from '../index-BsPEyPTR.cjs';
|
|
2
2
|
import 'vite';
|
|
3
3
|
import '@stryke/env/get-env-paths';
|
|
4
4
|
import '@stryke/types/package-json';
|
package/dist/types/plugin.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { V as VitePluginContext, a as VitePluginOptions, b as VitePluginResolvedConfig } from '../index-
|
|
1
|
+
export { V as VitePluginContext, a as VitePluginOptions, b as VitePluginResolvedConfig } from '../index-BsPEyPTR.js';
|
|
2
2
|
import 'vite';
|
|
3
3
|
import '@stryke/env/get-env-paths';
|
|
4
4
|
import '@stryke/types/package-json';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-vite",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing a Powerlines plugin to assist in developing other Powerlines plugins.",
|
|
6
6
|
"repository": {
|
|
@@ -138,15 +138,15 @@
|
|
|
138
138
|
"@stryke/types": "^0.10.0",
|
|
139
139
|
"defu": "^6.1.4",
|
|
140
140
|
"jiti": "^2.6.1",
|
|
141
|
-
"powerlines": "^0.
|
|
141
|
+
"powerlines": "^0.19.0"
|
|
142
142
|
},
|
|
143
143
|
"devDependencies": {
|
|
144
|
-
"vite": "^7.2.
|
|
145
|
-
"rolldown-vite": "^7.2.
|
|
146
|
-
"@powerlines/nx": "^0.10.
|
|
147
|
-
"@powerlines/plugin-plugin": "^0.11.
|
|
144
|
+
"vite": "^7.2.2",
|
|
145
|
+
"rolldown-vite": "^7.2.2",
|
|
146
|
+
"@powerlines/nx": "^0.10.4",
|
|
147
|
+
"@powerlines/plugin-plugin": "^0.11.12",
|
|
148
148
|
"@types/node": "^22.19.0"
|
|
149
149
|
},
|
|
150
150
|
"publishConfig": { "access": "public" },
|
|
151
|
-
"gitHead": "
|
|
151
|
+
"gitHead": "8ee43c2a7eebce6b221aa572553f4296c87fce76"
|
|
152
152
|
}
|