@powerlines/plugin-unenv 0.1.31 → 0.1.32
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.d.cts +2 -2
- package/dist/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
- package/dist/{index-DqIzPWtB.d.cts → index-CStohMdp.d.cts} +6 -6
- package/dist/{index-DqIzPWtB.d.ts → index-CStohMdp.d.ts} +6 -6
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { U as UnenvPluginContext, a as UnenvPluginOptions, P as Plugin } from './index-
|
|
2
|
-
export { c as UnenvPluginResolvedConfig, b as UnenvPluginUserConfig, f as __ΩUnenvPluginContext, _ as __ΩUnenvPluginOptions, e as __ΩUnenvPluginResolvedConfig, d as __ΩUnenvPluginUserConfig } from './index-
|
|
1
|
+
import { U as UnenvPluginContext, a as UnenvPluginOptions, P as Plugin } from './index-CStohMdp.cjs';
|
|
2
|
+
export { c as UnenvPluginResolvedConfig, b as UnenvPluginUserConfig, f as __ΩUnenvPluginContext, _ as __ΩUnenvPluginOptions, e as __ΩUnenvPluginResolvedConfig, d as __ΩUnenvPluginUserConfig } from './index-CStohMdp.cjs';
|
|
3
3
|
import 'unenv';
|
|
4
4
|
import '@storm-software/build-tools/types';
|
|
5
5
|
import '@storm-software/config-tools/types';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { U as UnenvPluginContext, a as UnenvPluginOptions, P as Plugin } from './index-
|
|
2
|
-
export { c as UnenvPluginResolvedConfig, b as UnenvPluginUserConfig, f as __ΩUnenvPluginContext, _ as __ΩUnenvPluginOptions, e as __ΩUnenvPluginResolvedConfig, d as __ΩUnenvPluginUserConfig } from './index-
|
|
1
|
+
import { U as UnenvPluginContext, a as UnenvPluginOptions, P as Plugin } from './index-CStohMdp.js';
|
|
2
|
+
export { c as UnenvPluginResolvedConfig, b as UnenvPluginUserConfig, f as __ΩUnenvPluginContext, _ as __ΩUnenvPluginOptions, e as __ΩUnenvPluginResolvedConfig, d as __ΩUnenvPluginUserConfig } from './index-CStohMdp.js';
|
|
3
3
|
import 'unenv';
|
|
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 { U as UnenvPluginContext, a as UnenvPluginOptions, c as UnenvPluginResolvedConfig, b as UnenvPluginUserConfig, f as __ΩUnenvPluginContext, _ as __ΩUnenvPluginOptions, e as __ΩUnenvPluginResolvedConfig, d as __ΩUnenvPluginUserConfig } from '../index-
|
|
1
|
+
export { U as UnenvPluginContext, a as UnenvPluginOptions, c as UnenvPluginResolvedConfig, b as UnenvPluginUserConfig, f as __ΩUnenvPluginContext, _ as __ΩUnenvPluginOptions, e as __ΩUnenvPluginResolvedConfig, d as __ΩUnenvPluginUserConfig } from '../index-CStohMdp.cjs';
|
|
2
2
|
import 'unenv';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { U as UnenvPluginContext, a as UnenvPluginOptions, c as UnenvPluginResolvedConfig, b as UnenvPluginUserConfig, f as __ΩUnenvPluginContext, _ as __ΩUnenvPluginOptions, e as __ΩUnenvPluginResolvedConfig, d as __ΩUnenvPluginUserConfig } from '../index-
|
|
1
|
+
export { U as UnenvPluginContext, a as UnenvPluginOptions, c as UnenvPluginResolvedConfig, b as UnenvPluginUserConfig, f as __ΩUnenvPluginContext, _ as __ΩUnenvPluginOptions, e as __ΩUnenvPluginResolvedConfig, d as __ΩUnenvPluginUserConfig } from '../index-CStohMdp.js';
|
|
2
2
|
import 'unenv';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'unenv';
|
|
2
|
-
export { U as UnenvPluginContext, a as UnenvPluginOptions, c as UnenvPluginResolvedConfig, b as UnenvPluginUserConfig, f as __ΩUnenvPluginContext, _ as __ΩUnenvPluginOptions, e as __ΩUnenvPluginResolvedConfig, d as __ΩUnenvPluginUserConfig } from '../index-
|
|
2
|
+
export { U as UnenvPluginContext, a as UnenvPluginOptions, c as UnenvPluginResolvedConfig, b as UnenvPluginUserConfig, f as __ΩUnenvPluginContext, _ as __ΩUnenvPluginOptions, e as __ΩUnenvPluginResolvedConfig, d as __ΩUnenvPluginUserConfig } from '../index-CStohMdp.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/types/plugin.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'unenv';
|
|
2
|
-
export { U as UnenvPluginContext, a as UnenvPluginOptions, c as UnenvPluginResolvedConfig, b as UnenvPluginUserConfig, f as __ΩUnenvPluginContext, _ as __ΩUnenvPluginOptions, e as __ΩUnenvPluginResolvedConfig, d as __ΩUnenvPluginUserConfig } from '../index-
|
|
2
|
+
export { U as UnenvPluginContext, a as UnenvPluginOptions, c as UnenvPluginResolvedConfig, b as UnenvPluginUserConfig, f as __ΩUnenvPluginContext, _ as __ΩUnenvPluginOptions, e as __ΩUnenvPluginResolvedConfig, d as __ΩUnenvPluginUserConfig } from '../index-CStohMdp.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-unenv",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.32",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A Powerlines plugin to transform source code to be platform agnostic using unenv.",
|
|
6
6
|
"repository": {
|
|
@@ -104,14 +104,14 @@
|
|
|
104
104
|
"@stryke/hash": "^0.12.10",
|
|
105
105
|
"unenv": "npm:unenv-nightly@2.0.0-rc.24",
|
|
106
106
|
"defu": "^6.1.4",
|
|
107
|
-
"powerlines": "^0.
|
|
107
|
+
"powerlines": "^0.26.0",
|
|
108
108
|
"typescript": "^5.9.3",
|
|
109
109
|
"vite": "^7.2.4"
|
|
110
110
|
},
|
|
111
111
|
"devDependencies": {
|
|
112
|
-
"@powerlines/nx": "^0.10.
|
|
112
|
+
"@powerlines/nx": "^0.10.43",
|
|
113
113
|
"@types/node": "^24.10.1"
|
|
114
114
|
},
|
|
115
115
|
"publishConfig": { "access": "public" },
|
|
116
|
-
"gitHead": "
|
|
116
|
+
"gitHead": "f5914f6eb955964b0c2c1785c6e75d5ee04ebd79"
|
|
117
117
|
}
|
|
@@ -1426,12 +1426,6 @@ type PluginHooks<TContext extends PluginContext = PluginContext> = {
|
|
|
1426
1426
|
resolveId: PluginHook<(this: BuildPluginContext<TContext["config"]> & TContext, id: string, importer: string | undefined, options: {
|
|
1427
1427
|
isEntry: boolean;
|
|
1428
1428
|
}) => MaybePromise<string | ExternalIdResult | null | undefined>, "id">;
|
|
1429
|
-
/**
|
|
1430
|
-
* An API object that can be used for inter-plugin communication.
|
|
1431
|
-
*
|
|
1432
|
-
* @see https://rollupjs.org/plugin-development/#direct-plugin-communication
|
|
1433
|
-
*/
|
|
1434
|
-
api?: Record<string, any>;
|
|
1435
1429
|
};
|
|
1436
1430
|
type PluginBuildPlugins<TContext extends PluginContext = PluginContext> = {
|
|
1437
1431
|
[TBuildVariant in UnpluginBuildVariant]?: BuildPlugin<TContext, TBuildVariant>;
|
|
@@ -1441,6 +1435,12 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
|
|
|
1441
1435
|
* The name of the plugin, for use in deduplication, error messages and logs.
|
|
1442
1436
|
*/
|
|
1443
1437
|
name: string;
|
|
1438
|
+
/**
|
|
1439
|
+
* An API object that can be used for inter-plugin communication.
|
|
1440
|
+
*
|
|
1441
|
+
* @see https://rollupjs.org/plugin-development/#direct-plugin-communication
|
|
1442
|
+
*/
|
|
1443
|
+
api?: Record<string, any>;
|
|
1444
1444
|
/**
|
|
1445
1445
|
* Enforce plugin invocation tier similar to webpack loaders. Hooks ordering is still subject to the `order` property in the hook object.
|
|
1446
1446
|
*
|
|
@@ -1426,12 +1426,6 @@ type PluginHooks<TContext extends PluginContext = PluginContext> = {
|
|
|
1426
1426
|
resolveId: PluginHook<(this: BuildPluginContext<TContext["config"]> & TContext, id: string, importer: string | undefined, options: {
|
|
1427
1427
|
isEntry: boolean;
|
|
1428
1428
|
}) => MaybePromise<string | ExternalIdResult | null | undefined>, "id">;
|
|
1429
|
-
/**
|
|
1430
|
-
* An API object that can be used for inter-plugin communication.
|
|
1431
|
-
*
|
|
1432
|
-
* @see https://rollupjs.org/plugin-development/#direct-plugin-communication
|
|
1433
|
-
*/
|
|
1434
|
-
api?: Record<string, any>;
|
|
1435
1429
|
};
|
|
1436
1430
|
type PluginBuildPlugins<TContext extends PluginContext = PluginContext> = {
|
|
1437
1431
|
[TBuildVariant in UnpluginBuildVariant]?: BuildPlugin<TContext, TBuildVariant>;
|
|
@@ -1441,6 +1435,12 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
|
|
|
1441
1435
|
* The name of the plugin, for use in deduplication, error messages and logs.
|
|
1442
1436
|
*/
|
|
1443
1437
|
name: string;
|
|
1438
|
+
/**
|
|
1439
|
+
* An API object that can be used for inter-plugin communication.
|
|
1440
|
+
*
|
|
1441
|
+
* @see https://rollupjs.org/plugin-development/#direct-plugin-communication
|
|
1442
|
+
*/
|
|
1443
|
+
api?: Record<string, any>;
|
|
1444
1444
|
/**
|
|
1445
1445
|
* Enforce plugin invocation tier similar to webpack loaders. Hooks ordering is still subject to the `order` property in the hook object.
|
|
1446
1446
|
*
|