@powerlines/plugin-rollup 0.7.24 → 0.7.28

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-BJeSdSxa.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-BJeSdSxa.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-BJeSdSxa.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-BJeSdSxa.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
  *
@@ -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
  *
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-BJeSdSxa.cjs';
2
+ export { b as RollupPluginResolvedConfig } from './index-BJeSdSxa.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-BJeSdSxa.js';
2
+ export { b as RollupPluginResolvedConfig } from './index-BJeSdSxa.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 } from '../index-BJeSdSxa.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 } from '../index-BJeSdSxa.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 } from '../index-BJeSdSxa.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 } from '../index-BJeSdSxa.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.24",
3
+ "version": "0.7.28",
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",
137
+ "powerlines": "^0.23.2",
138
138
  "rollup": "^4.53.2",
139
139
  "unplugin": "^2.3.10"
140
140
  },
141
141
  "devDependencies": {
142
- "@powerlines/nx": "^0.10.15",
143
- "@powerlines/plugin-plugin": "^0.11.23",
142
+ "@powerlines/nx": "^0.10.19",
143
+ "@powerlines/plugin-plugin": "^0.11.27",
144
144
  "@types/node": "^22.19.1"
145
145
  },
146
146
  "publishConfig": { "access": "public" },
147
- "gitHead": "79514f9dda337550c9e4064a7a6e3938bd9aca08"
147
+ "gitHead": "628334bf5e96fa739c6a2b0a325f133ea928b530"
148
148
  }