@powerlines/plugin-unenv 0.1.5 → 0.1.9
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-Dy6eYq4W.d.cts → index-BZvysjJe.d.cts} +16 -3
- package/dist/{index-Dy6eYq4W.d.ts → index-BZvysjJe.d.ts} +16 -3
- 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 +5 -5
|
@@ -219,8 +219,8 @@ type ParsedTypeScriptConfig = ts.ParsedCommandLine & {
|
|
|
219
219
|
tsconfigFilePath: string;
|
|
220
220
|
};
|
|
221
221
|
|
|
222
|
-
declare const __VFS_PATCH__
|
|
223
|
-
declare const __VFS_REVERT__
|
|
222
|
+
declare const __VFS_PATCH__ = "__VFS_PATCH__";
|
|
223
|
+
declare const __VFS_REVERT__ = "__VFS_REVERT__";
|
|
224
224
|
type OutputModeType = "fs" | "virtual";
|
|
225
225
|
interface VirtualFile {
|
|
226
226
|
/**
|
|
@@ -629,6 +629,15 @@ interface OutputConfig {
|
|
|
629
629
|
* @defaultValue "dist/\{projectRoot\}"
|
|
630
630
|
*/
|
|
631
631
|
outputPath?: string;
|
|
632
|
+
/**
|
|
633
|
+
* The output directory path for the project build.
|
|
634
|
+
*
|
|
635
|
+
* @remarks
|
|
636
|
+
* This path is used to determine where the built files will be placed after the build process completes. This will be used in scenarios where the monorepo uses TSConfig paths to link packages together.
|
|
637
|
+
*
|
|
638
|
+
* @defaultValue "\{projectRoot\}/dist"
|
|
639
|
+
*/
|
|
640
|
+
distPath?: string;
|
|
632
641
|
/**
|
|
633
642
|
* The format of the output files
|
|
634
643
|
*
|
|
@@ -1423,5 +1432,9 @@ interface UnenvPluginResolvedConfig extends ResolvedConfig {
|
|
|
1423
1432
|
type UnenvPluginContext<TResolvedConfig extends UnenvPluginResolvedConfig = UnenvPluginResolvedConfig> = PluginContext<TResolvedConfig> & {
|
|
1424
1433
|
unenv: ReturnType<typeof unenv.defineEnv>;
|
|
1425
1434
|
};
|
|
1435
|
+
declare type __ΩUnenvPluginOptions = any[];
|
|
1436
|
+
declare type __ΩUnenvPluginUserConfig = any[];
|
|
1437
|
+
declare type __ΩUnenvPluginResolvedConfig = any[];
|
|
1438
|
+
declare type __ΩUnenvPluginContext = any[];
|
|
1426
1439
|
|
|
1427
|
-
export type { Plugin as P, UnenvPluginContext as U, UnenvPluginOptions as a, UnenvPluginUserConfig as b, UnenvPluginResolvedConfig as c };
|
|
1440
|
+
export type { Plugin as P, UnenvPluginContext as U, __ΩUnenvPluginOptions as _, UnenvPluginOptions as a, UnenvPluginUserConfig as b, UnenvPluginResolvedConfig as c, __ΩUnenvPluginUserConfig as d, __ΩUnenvPluginResolvedConfig as e, __ΩUnenvPluginContext as f };
|
|
@@ -219,8 +219,8 @@ type ParsedTypeScriptConfig = ts.ParsedCommandLine & {
|
|
|
219
219
|
tsconfigFilePath: string;
|
|
220
220
|
};
|
|
221
221
|
|
|
222
|
-
declare const __VFS_PATCH__
|
|
223
|
-
declare const __VFS_REVERT__
|
|
222
|
+
declare const __VFS_PATCH__ = "__VFS_PATCH__";
|
|
223
|
+
declare const __VFS_REVERT__ = "__VFS_REVERT__";
|
|
224
224
|
type OutputModeType = "fs" | "virtual";
|
|
225
225
|
interface VirtualFile {
|
|
226
226
|
/**
|
|
@@ -629,6 +629,15 @@ interface OutputConfig {
|
|
|
629
629
|
* @defaultValue "dist/\{projectRoot\}"
|
|
630
630
|
*/
|
|
631
631
|
outputPath?: string;
|
|
632
|
+
/**
|
|
633
|
+
* The output directory path for the project build.
|
|
634
|
+
*
|
|
635
|
+
* @remarks
|
|
636
|
+
* This path is used to determine where the built files will be placed after the build process completes. This will be used in scenarios where the monorepo uses TSConfig paths to link packages together.
|
|
637
|
+
*
|
|
638
|
+
* @defaultValue "\{projectRoot\}/dist"
|
|
639
|
+
*/
|
|
640
|
+
distPath?: string;
|
|
632
641
|
/**
|
|
633
642
|
* The format of the output files
|
|
634
643
|
*
|
|
@@ -1423,5 +1432,9 @@ interface UnenvPluginResolvedConfig extends ResolvedConfig {
|
|
|
1423
1432
|
type UnenvPluginContext<TResolvedConfig extends UnenvPluginResolvedConfig = UnenvPluginResolvedConfig> = PluginContext<TResolvedConfig> & {
|
|
1424
1433
|
unenv: ReturnType<typeof unenv.defineEnv>;
|
|
1425
1434
|
};
|
|
1435
|
+
declare type __ΩUnenvPluginOptions = any[];
|
|
1436
|
+
declare type __ΩUnenvPluginUserConfig = any[];
|
|
1437
|
+
declare type __ΩUnenvPluginResolvedConfig = any[];
|
|
1438
|
+
declare type __ΩUnenvPluginContext = any[];
|
|
1426
1439
|
|
|
1427
|
-
export type { Plugin as P, UnenvPluginContext as U, UnenvPluginOptions as a, UnenvPluginUserConfig as b, UnenvPluginResolvedConfig as c };
|
|
1440
|
+
export type { Plugin as P, UnenvPluginContext as U, __ΩUnenvPluginOptions as _, UnenvPluginOptions as a, UnenvPluginUserConfig as b, UnenvPluginResolvedConfig as c, __ΩUnenvPluginUserConfig as d, __ΩUnenvPluginResolvedConfig as e, __ΩUnenvPluginContext as f };
|
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 } from './index-
|
|
1
|
+
import { U as UnenvPluginContext, a as UnenvPluginOptions, P as Plugin } from './index-BZvysjJe.cjs';
|
|
2
|
+
export { c as UnenvPluginResolvedConfig, b as UnenvPluginUserConfig, f as __ΩUnenvPluginContext, _ as __ΩUnenvPluginOptions, e as __ΩUnenvPluginResolvedConfig, d as __ΩUnenvPluginUserConfig } from './index-BZvysjJe.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 } from './index-
|
|
1
|
+
import { U as UnenvPluginContext, a as UnenvPluginOptions, P as Plugin } from './index-BZvysjJe.js';
|
|
2
|
+
export { c as UnenvPluginResolvedConfig, b as UnenvPluginUserConfig, f as __ΩUnenvPluginContext, _ as __ΩUnenvPluginOptions, e as __ΩUnenvPluginResolvedConfig, d as __ΩUnenvPluginUserConfig } from './index-BZvysjJe.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 } 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-BZvysjJe.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 } 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-BZvysjJe.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 } 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-BZvysjJe.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 } 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-BZvysjJe.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.9",
|
|
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.3",
|
|
105
105
|
"unenv": "npm:unenv-nightly@2.0.0-rc.24",
|
|
106
106
|
"defu": "^6.1.4",
|
|
107
|
-
"powerlines": "^0.
|
|
107
|
+
"powerlines": "^0.23.3",
|
|
108
108
|
"typescript": "^5.9.3",
|
|
109
109
|
"vite": "^7.2.2"
|
|
110
110
|
},
|
|
111
111
|
"devDependencies": {
|
|
112
|
-
"@powerlines/nx": "^0.10.
|
|
113
|
-
"@types/node": "^
|
|
112
|
+
"@powerlines/nx": "^0.10.20",
|
|
113
|
+
"@types/node": "^24.10.1"
|
|
114
114
|
},
|
|
115
115
|
"publishConfig": { "access": "public" },
|
|
116
|
-
"gitHead": "
|
|
116
|
+
"gitHead": "6e43200541ace2946694195c092642e7ac2f3098"
|
|
117
117
|
}
|