@powerlines/plugin-rollup 0.7.25 → 0.7.29

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 { createRollupPlugin } from './unplugin.cjs';
2
2
  import 'esbuild';
3
- import '../index-mEoiAFKV.cjs';
3
+ import '../index-B989oq8p.cjs';
4
4
  import 'rollup';
5
5
  import '@stryke/env/get-env-paths';
6
6
  import '@stryke/types/base';
@@ -1,6 +1,6 @@
1
1
  export { createRollupPlugin } from './unplugin.js';
2
2
  import 'esbuild';
3
- import '../index-mEoiAFKV.js';
3
+ import '../index-B989oq8p.js';
4
4
  import 'rollup';
5
5
  import '@stryke/env/get-env-paths';
6
6
  import '@stryke/types/base';
@@ -1,5 +1,5 @@
1
1
  import * as esbuild from 'esbuild';
2
- import { R as RollupPluginContext } from '../index-mEoiAFKV.cjs';
2
+ import { R as RollupPluginContext } from '../index-B989oq8p.cjs';
3
3
  import 'rollup';
4
4
  import '@stryke/env/get-env-paths';
5
5
  import '@stryke/types/base';
@@ -1,5 +1,5 @@
1
1
  import * as esbuild from 'esbuild';
2
- import { R as RollupPluginContext } from '../index-mEoiAFKV.js';
2
+ import { R as RollupPluginContext } from '../index-B989oq8p.js';
3
3
  import 'rollup';
4
4
  import '@stryke/env/get-env-paths';
5
5
  import '@stryke/types/base';
@@ -223,8 +223,8 @@ type ParsedTypeScriptConfig = ts.ParsedCommandLine & {
223
223
  tsconfigFilePath: string;
224
224
  };
225
225
 
226
- declare const __VFS_PATCH__: unique symbol;
227
- declare const __VFS_REVERT__: unique symbol;
226
+ declare const __VFS_PATCH__ = "__VFS_PATCH__";
227
+ declare const __VFS_REVERT__ = "__VFS_REVERT__";
228
228
  type OutputModeType = "fs" | "virtual";
229
229
  interface VirtualFile {
230
230
  /**
@@ -633,6 +633,15 @@ interface OutputConfig {
633
633
  * @defaultValue "dist/\{projectRoot\}"
634
634
  */
635
635
  outputPath?: string;
636
+ /**
637
+ * The output directory path for the project build.
638
+ *
639
+ * @remarks
640
+ * 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.
641
+ *
642
+ * @defaultValue "\{projectRoot\}/dist"
643
+ */
644
+ distPath?: string;
636
645
  /**
637
646
  * The format of the output files
638
647
  *
@@ -1422,5 +1431,8 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
1422
1431
  type RollupPluginOptions = Partial<RollupBuildConfig>;
1423
1432
  type RollupPluginResolvedConfig = RollupResolvedConfig;
1424
1433
  type RollupPluginContext<TResolvedConfig extends RollupPluginResolvedConfig = RollupPluginResolvedConfig> = PluginContext<TResolvedConfig>;
1434
+ declare type __ΩRollupPluginOptions = any[];
1435
+ declare type __ΩRollupPluginResolvedConfig = any[];
1436
+ declare type __ΩRollupPluginContext = any[];
1425
1437
 
1426
- export type { Plugin as P, RollupPluginContext as R, RollupPluginOptions as a, RollupPluginResolvedConfig as b };
1438
+ export type { Plugin as P, RollupPluginContext as R, __ΩRollupPluginOptions as _, RollupPluginOptions as a, RollupPluginResolvedConfig as b, __ΩRollupPluginResolvedConfig as c, __ΩRollupPluginContext as d };
@@ -223,8 +223,8 @@ type ParsedTypeScriptConfig = ts.ParsedCommandLine & {
223
223
  tsconfigFilePath: string;
224
224
  };
225
225
 
226
- declare const __VFS_PATCH__: unique symbol;
227
- declare const __VFS_REVERT__: unique symbol;
226
+ declare const __VFS_PATCH__ = "__VFS_PATCH__";
227
+ declare const __VFS_REVERT__ = "__VFS_REVERT__";
228
228
  type OutputModeType = "fs" | "virtual";
229
229
  interface VirtualFile {
230
230
  /**
@@ -633,6 +633,15 @@ interface OutputConfig {
633
633
  * @defaultValue "dist/\{projectRoot\}"
634
634
  */
635
635
  outputPath?: string;
636
+ /**
637
+ * The output directory path for the project build.
638
+ *
639
+ * @remarks
640
+ * 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.
641
+ *
642
+ * @defaultValue "\{projectRoot\}/dist"
643
+ */
644
+ distPath?: string;
636
645
  /**
637
646
  * The format of the output files
638
647
  *
@@ -1422,5 +1431,8 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
1422
1431
  type RollupPluginOptions = Partial<RollupBuildConfig>;
1423
1432
  type RollupPluginResolvedConfig = RollupResolvedConfig;
1424
1433
  type RollupPluginContext<TResolvedConfig extends RollupPluginResolvedConfig = RollupPluginResolvedConfig> = PluginContext<TResolvedConfig>;
1434
+ declare type __ΩRollupPluginOptions = any[];
1435
+ declare type __ΩRollupPluginResolvedConfig = any[];
1436
+ declare type __ΩRollupPluginContext = any[];
1425
1437
 
1426
- export type { Plugin as P, RollupPluginContext as R, RollupPluginOptions as a, RollupPluginResolvedConfig as b };
1438
+ export type { Plugin as P, RollupPluginContext as R, __ΩRollupPluginOptions as _, RollupPluginOptions as a, RollupPluginResolvedConfig as b, __ΩRollupPluginResolvedConfig as c, __ΩRollupPluginContext as d };
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { R as RollupPluginContext, a as RollupPluginOptions, P as Plugin } from './index-mEoiAFKV.cjs';
2
- export { b as RollupPluginResolvedConfig } from './index-mEoiAFKV.cjs';
1
+ import { R as RollupPluginContext, a as RollupPluginOptions, P as Plugin } from './index-B989oq8p.cjs';
2
+ export { b as RollupPluginResolvedConfig, d as __ΩRollupPluginContext, _ as __ΩRollupPluginOptions, c as __ΩRollupPluginResolvedConfig } from './index-B989oq8p.cjs';
3
3
  export { createRollupPlugin } from './helpers/unplugin.cjs';
4
4
  import 'rollup';
5
5
  import '@stryke/env/get-env-paths';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { R as RollupPluginContext, a as RollupPluginOptions, P as Plugin } from './index-mEoiAFKV.js';
2
- export { b as RollupPluginResolvedConfig } from './index-mEoiAFKV.js';
1
+ import { R as RollupPluginContext, a as RollupPluginOptions, P as Plugin } from './index-B989oq8p.js';
2
+ export { b as RollupPluginResolvedConfig, d as __ΩRollupPluginContext, _ as __ΩRollupPluginOptions, c as __ΩRollupPluginResolvedConfig } from './index-B989oq8p.js';
3
3
  export { createRollupPlugin } from './helpers/unplugin.js';
4
4
  import 'rollup';
5
5
  import '@stryke/env/get-env-paths';
@@ -1,4 +1,4 @@
1
- export { R as RollupPluginContext, a as RollupPluginOptions, b as RollupPluginResolvedConfig } from '../index-mEoiAFKV.cjs';
1
+ export { R as RollupPluginContext, a as RollupPluginOptions, b as RollupPluginResolvedConfig, d as __ΩRollupPluginContext, _ as __ΩRollupPluginOptions, c as __ΩRollupPluginResolvedConfig } from '../index-B989oq8p.cjs';
2
2
  import 'rollup';
3
3
  import '@stryke/env/get-env-paths';
4
4
  import '@stryke/types/base';
@@ -1,4 +1,4 @@
1
- export { R as RollupPluginContext, a as RollupPluginOptions, b as RollupPluginResolvedConfig } from '../index-mEoiAFKV.js';
1
+ export { R as RollupPluginContext, a as RollupPluginOptions, b as RollupPluginResolvedConfig, d as __ΩRollupPluginContext, _ as __ΩRollupPluginOptions, c as __ΩRollupPluginResolvedConfig } from '../index-B989oq8p.js';
2
2
  import 'rollup';
3
3
  import '@stryke/env/get-env-paths';
4
4
  import '@stryke/types/base';
@@ -1,4 +1,4 @@
1
- export { R as RollupPluginContext, a as RollupPluginOptions, b as RollupPluginResolvedConfig } from '../index-mEoiAFKV.cjs';
1
+ export { R as RollupPluginContext, a as RollupPluginOptions, b as RollupPluginResolvedConfig, d as __ΩRollupPluginContext, _ as __ΩRollupPluginOptions, c as __ΩRollupPluginResolvedConfig } from '../index-B989oq8p.cjs';
2
2
  import 'rollup';
3
3
  import '@stryke/env/get-env-paths';
4
4
  import '@stryke/types/base';
@@ -1,4 +1,4 @@
1
- export { R as RollupPluginContext, a as RollupPluginOptions, b as RollupPluginResolvedConfig } from '../index-mEoiAFKV.js';
1
+ export { R as RollupPluginContext, a as RollupPluginOptions, b as RollupPluginResolvedConfig, d as __ΩRollupPluginContext, _ as __ΩRollupPluginOptions, c as __ΩRollupPluginResolvedConfig } from '../index-B989oq8p.js';
2
2
  import 'rollup';
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-rollup",
3
- "version": "0.7.25",
3
+ "version": "0.7.29",
4
4
  "type": "module",
5
5
  "description": "A package containing a Powerlines plugin to assist in developing other Powerlines plugins.",
6
6
  "repository": {
@@ -134,15 +134,15 @@
134
134
  "@stryke/types": "^0.10.2",
135
135
  "defu": "^6.1.4",
136
136
  "jiti": "^2.6.1",
137
- "powerlines": "^0.22.1",
138
- "rollup": "^4.53.2",
137
+ "powerlines": "^0.23.3",
138
+ "rollup": "^4.53.3",
139
139
  "unplugin": "^2.3.10"
140
140
  },
141
141
  "devDependencies": {
142
- "@powerlines/nx": "^0.10.16",
143
- "@powerlines/plugin-plugin": "^0.11.24",
144
- "@types/node": "^22.19.1"
142
+ "@powerlines/nx": "^0.10.20",
143
+ "@powerlines/plugin-plugin": "^0.11.28",
144
+ "@types/node": "^24.10.1"
145
145
  },
146
146
  "publishConfig": { "access": "public" },
147
- "gitHead": "781b9a5f57b9c64bf6e659316741b7c8a429445f"
147
+ "gitHead": "6e43200541ace2946694195c092642e7ac2f3098"
148
148
  }