@powerlines/plugin-vite 0.14.16 → 0.14.20

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.
@@ -1,6 +1,6 @@
1
1
  export { createVitePlugin } from './unplugin.cjs';
2
2
  import 'vite';
3
- import '../index-BMkoiiHF.cjs';
3
+ import '../index-BAL90ULl.cjs';
4
4
  import '@stryke/env/get-env-paths';
5
5
  import '@stryke/types/base';
6
6
  import '@stryke/types/package-json';
@@ -1,6 +1,6 @@
1
1
  export { createVitePlugin } from './unplugin.js';
2
2
  import 'vite';
3
- import '../index-BMkoiiHF.js';
3
+ import '../index-BAL90ULl.js';
4
4
  import '@stryke/env/get-env-paths';
5
5
  import '@stryke/types/base';
6
6
  import '@stryke/types/package-json';
@@ -1,5 +1,5 @@
1
1
  import * as vite from 'vite';
2
- import { V as VitePluginContext } from '../index-BMkoiiHF.cjs';
2
+ import { V as VitePluginContext } from '../index-BAL90ULl.cjs';
3
3
  import '@stryke/env/get-env-paths';
4
4
  import '@stryke/types/base';
5
5
  import '@stryke/types/package-json';
@@ -1,5 +1,5 @@
1
1
  import * as vite from 'vite';
2
- import { V as VitePluginContext } from '../index-BMkoiiHF.js';
2
+ import { V as VitePluginContext } from '../index-BAL90ULl.js';
3
3
  import '@stryke/env/get-env-paths';
4
4
  import '@stryke/types/base';
5
5
  import '@stryke/types/package-json';
@@ -219,8 +219,8 @@ type ParsedTypeScriptConfig = ts.ParsedCommandLine & {
219
219
  tsconfigFilePath: string;
220
220
  };
221
221
 
222
- declare const __VFS_PATCH__: unique symbol;
223
- declare const __VFS_REVERT__: unique symbol;
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
  *
@@ -1425,5 +1434,8 @@ type VitePluginOptions = Partial<ViteBuildConfig> & {
1425
1434
  };
1426
1435
  type VitePluginResolvedConfig = ViteResolvedConfig;
1427
1436
  type VitePluginContext<TResolvedConfig extends VitePluginResolvedConfig = VitePluginResolvedConfig> = PluginContext<TResolvedConfig>;
1437
+ declare type __ΩVitePluginOptions = any[];
1438
+ declare type __ΩVitePluginResolvedConfig = any[];
1439
+ declare type __ΩVitePluginContext = any[];
1428
1440
 
1429
- export type { Plugin as P, VitePluginContext as V, VitePluginOptions as a, VitePluginResolvedConfig as b };
1441
+ export type { Plugin as P, VitePluginContext as V, __ΩVitePluginOptions as _, VitePluginOptions as a, VitePluginResolvedConfig as b, __ΩVitePluginResolvedConfig as c, __ΩVitePluginContext as d };
@@ -219,8 +219,8 @@ type ParsedTypeScriptConfig = ts.ParsedCommandLine & {
219
219
  tsconfigFilePath: string;
220
220
  };
221
221
 
222
- declare const __VFS_PATCH__: unique symbol;
223
- declare const __VFS_REVERT__: unique symbol;
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
  *
@@ -1425,5 +1434,8 @@ type VitePluginOptions = Partial<ViteBuildConfig> & {
1425
1434
  };
1426
1435
  type VitePluginResolvedConfig = ViteResolvedConfig;
1427
1436
  type VitePluginContext<TResolvedConfig extends VitePluginResolvedConfig = VitePluginResolvedConfig> = PluginContext<TResolvedConfig>;
1437
+ declare type __ΩVitePluginOptions = any[];
1438
+ declare type __ΩVitePluginResolvedConfig = any[];
1439
+ declare type __ΩVitePluginContext = any[];
1428
1440
 
1429
- export type { Plugin as P, VitePluginContext as V, VitePluginOptions as a, VitePluginResolvedConfig as b };
1441
+ export type { Plugin as P, VitePluginContext as V, __ΩVitePluginOptions as _, VitePluginOptions as a, VitePluginResolvedConfig as b, __ΩVitePluginResolvedConfig as c, __ΩVitePluginContext as d };
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { V as VitePluginContext, a as VitePluginOptions, P as Plugin } from './index-BMkoiiHF.cjs';
2
- export { b as VitePluginResolvedConfig } from './index-BMkoiiHF.cjs';
1
+ import { V as VitePluginContext, a as VitePluginOptions, P as Plugin } from './index-BAL90ULl.cjs';
2
+ export { b as VitePluginResolvedConfig, d as __ΩVitePluginContext, _ as __ΩVitePluginOptions, c as __ΩVitePluginResolvedConfig } from './index-BAL90ULl.cjs';
3
3
  export { createVitePlugin } from './helpers/unplugin.cjs';
4
4
  import 'vite';
5
5
  import '@stryke/env/get-env-paths';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { V as VitePluginContext, a as VitePluginOptions, P as Plugin } from './index-BMkoiiHF.js';
2
- export { b as VitePluginResolvedConfig } from './index-BMkoiiHF.js';
1
+ import { V as VitePluginContext, a as VitePluginOptions, P as Plugin } from './index-BAL90ULl.js';
2
+ export { b as VitePluginResolvedConfig, d as __ΩVitePluginContext, _ as __ΩVitePluginOptions, c as __ΩVitePluginResolvedConfig } from './index-BAL90ULl.js';
3
3
  export { createVitePlugin } from './helpers/unplugin.js';
4
4
  import 'vite';
5
5
  import '@stryke/env/get-env-paths';
@@ -1,4 +1,4 @@
1
- export { V as VitePluginContext, a as VitePluginOptions, b as VitePluginResolvedConfig } from '../index-BMkoiiHF.cjs';
1
+ export { V as VitePluginContext, a as VitePluginOptions, b as VitePluginResolvedConfig, d as __ΩVitePluginContext, _ as __ΩVitePluginOptions, c as __ΩVitePluginResolvedConfig } from '../index-BAL90ULl.cjs';
2
2
  import 'vite';
3
3
  import '@stryke/env/get-env-paths';
4
4
  import '@stryke/types/base';
@@ -1,4 +1,4 @@
1
- export { V as VitePluginContext, a as VitePluginOptions, b as VitePluginResolvedConfig } from '../index-BMkoiiHF.js';
1
+ export { V as VitePluginContext, a as VitePluginOptions, b as VitePluginResolvedConfig, d as __ΩVitePluginContext, _ as __ΩVitePluginOptions, c as __ΩVitePluginResolvedConfig } from '../index-BAL90ULl.js';
2
2
  import 'vite';
3
3
  import '@stryke/env/get-env-paths';
4
4
  import '@stryke/types/base';
@@ -1,4 +1,4 @@
1
- export { V as VitePluginContext, a as VitePluginOptions, b as VitePluginResolvedConfig } from '../index-BMkoiiHF.cjs';
1
+ export { V as VitePluginContext, a as VitePluginOptions, b as VitePluginResolvedConfig, d as __ΩVitePluginContext, _ as __ΩVitePluginOptions, c as __ΩVitePluginResolvedConfig } from '../index-BAL90ULl.cjs';
2
2
  import 'vite';
3
3
  import '@stryke/env/get-env-paths';
4
4
  import '@stryke/types/base';
@@ -1,4 +1,4 @@
1
- export { V as VitePluginContext, a as VitePluginOptions, b as VitePluginResolvedConfig } from '../index-BMkoiiHF.js';
1
+ export { V as VitePluginContext, a as VitePluginOptions, b as VitePluginResolvedConfig, d as __ΩVitePluginContext, _ as __ΩVitePluginOptions, c as __ΩVitePluginResolvedConfig } from '../index-BAL90ULl.js';
2
2
  import 'vite';
3
3
  import '@stryke/env/get-env-paths';
4
4
  import '@stryke/types/base';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-vite",
3
- "version": "0.14.16",
3
+ "version": "0.14.20",
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.2",
139
139
  "defu": "^6.1.4",
140
140
  "jiti": "^2.6.1",
141
- "powerlines": "^0.22.1"
141
+ "powerlines": "^0.23.3"
142
142
  },
143
143
  "devDependencies": {
144
144
  "vite": "^7.2.2",
145
- "rolldown-vite": "^7.2.5",
146
- "@powerlines/nx": "^0.10.16",
147
- "@powerlines/plugin-plugin": "^0.11.24",
148
- "@types/node": "^22.19.1"
145
+ "rolldown-vite": "^7.2.6",
146
+ "@powerlines/nx": "^0.10.20",
147
+ "@powerlines/plugin-plugin": "^0.11.28",
148
+ "@types/node": "^24.10.1"
149
149
  },
150
150
  "publishConfig": { "access": "public" },
151
- "gitHead": "781b9a5f57b9c64bf6e659316741b7c8a429445f"
151
+ "gitHead": "6e43200541ace2946694195c092642e7ac2f3098"
152
152
  }