@powerlines/plugin-rolldown 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 { createRolldownPlugin } from './unplugin.cjs';
2
2
  import 'esbuild';
3
- import '../index-ylu9Hb7P.cjs';
3
+ import '../index-Bo3rWMfL.cjs';
4
4
  import 'rolldown';
5
5
  import '@stryke/env/get-env-paths';
6
6
  import '@stryke/types/base';
@@ -1,6 +1,6 @@
1
1
  export { createRolldownPlugin } from './unplugin.js';
2
2
  import 'esbuild';
3
- import '../index-ylu9Hb7P.js';
3
+ import '../index-Bo3rWMfL.js';
4
4
  import 'rolldown';
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 RolldownPluginContext } from '../index-ylu9Hb7P.cjs';
2
+ import { R as RolldownPluginContext } from '../index-Bo3rWMfL.cjs';
3
3
  import 'rolldown';
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 RolldownPluginContext } from '../index-ylu9Hb7P.js';
2
+ import { R as RolldownPluginContext } from '../index-Bo3rWMfL.js';
3
3
  import 'rolldown';
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 RolldownPluginOptions = Partial<RolldownBuildConfig>;
1423
1432
  type RolldownPluginResolvedConfig = RolldownResolvedConfig;
1424
1433
  type RolldownPluginContext<TResolvedConfig extends RolldownPluginResolvedConfig = RolldownPluginResolvedConfig> = PluginContext<TResolvedConfig>;
1434
+ declare type __ΩRolldownPluginOptions = any[];
1435
+ declare type __ΩRolldownPluginResolvedConfig = any[];
1436
+ declare type __ΩRolldownPluginContext = any[];
1425
1437
 
1426
- export type { Plugin as P, RolldownPluginContext as R, RolldownPluginOptions as a, RolldownPluginResolvedConfig as b };
1438
+ export type { Plugin as P, RolldownPluginContext as R, __ΩRolldownPluginOptions as _, RolldownPluginOptions as a, RolldownPluginResolvedConfig as b, __ΩRolldownPluginResolvedConfig as c, __ΩRolldownPluginContext 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 RolldownPluginOptions = Partial<RolldownBuildConfig>;
1423
1432
  type RolldownPluginResolvedConfig = RolldownResolvedConfig;
1424
1433
  type RolldownPluginContext<TResolvedConfig extends RolldownPluginResolvedConfig = RolldownPluginResolvedConfig> = PluginContext<TResolvedConfig>;
1434
+ declare type __ΩRolldownPluginOptions = any[];
1435
+ declare type __ΩRolldownPluginResolvedConfig = any[];
1436
+ declare type __ΩRolldownPluginContext = any[];
1425
1437
 
1426
- export type { Plugin as P, RolldownPluginContext as R, RolldownPluginOptions as a, RolldownPluginResolvedConfig as b };
1438
+ export type { Plugin as P, RolldownPluginContext as R, __ΩRolldownPluginOptions as _, RolldownPluginOptions as a, RolldownPluginResolvedConfig as b, __ΩRolldownPluginResolvedConfig as c, __ΩRolldownPluginContext as d };
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { R as RolldownPluginContext, a as RolldownPluginOptions, P as Plugin } from './index-ylu9Hb7P.cjs';
2
- export { b as RolldownPluginResolvedConfig } from './index-ylu9Hb7P.cjs';
1
+ import { R as RolldownPluginContext, a as RolldownPluginOptions, P as Plugin } from './index-Bo3rWMfL.cjs';
2
+ export { b as RolldownPluginResolvedConfig, d as __ΩRolldownPluginContext, _ as __ΩRolldownPluginOptions, c as __ΩRolldownPluginResolvedConfig } from './index-Bo3rWMfL.cjs';
3
3
  export { createRolldownPlugin } from './helpers/unplugin.cjs';
4
4
  import 'rolldown';
5
5
  import '@stryke/env/get-env-paths';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { R as RolldownPluginContext, a as RolldownPluginOptions, P as Plugin } from './index-ylu9Hb7P.js';
2
- export { b as RolldownPluginResolvedConfig } from './index-ylu9Hb7P.js';
1
+ import { R as RolldownPluginContext, a as RolldownPluginOptions, P as Plugin } from './index-Bo3rWMfL.js';
2
+ export { b as RolldownPluginResolvedConfig, d as __ΩRolldownPluginContext, _ as __ΩRolldownPluginOptions, c as __ΩRolldownPluginResolvedConfig } from './index-Bo3rWMfL.js';
3
3
  export { createRolldownPlugin } from './helpers/unplugin.js';
4
4
  import 'rolldown';
5
5
  import '@stryke/env/get-env-paths';
@@ -1,4 +1,4 @@
1
- export { R as RolldownPluginContext, a as RolldownPluginOptions, b as RolldownPluginResolvedConfig } from '../index-ylu9Hb7P.cjs';
1
+ export { R as RolldownPluginContext, a as RolldownPluginOptions, b as RolldownPluginResolvedConfig, d as __ΩRolldownPluginContext, _ as __ΩRolldownPluginOptions, c as __ΩRolldownPluginResolvedConfig } from '../index-Bo3rWMfL.cjs';
2
2
  import 'rolldown';
3
3
  import '@stryke/env/get-env-paths';
4
4
  import '@stryke/types/base';
@@ -1,4 +1,4 @@
1
- export { R as RolldownPluginContext, a as RolldownPluginOptions, b as RolldownPluginResolvedConfig } from '../index-ylu9Hb7P.js';
1
+ export { R as RolldownPluginContext, a as RolldownPluginOptions, b as RolldownPluginResolvedConfig, d as __ΩRolldownPluginContext, _ as __ΩRolldownPluginOptions, c as __ΩRolldownPluginResolvedConfig } from '../index-Bo3rWMfL.js';
2
2
  import 'rolldown';
3
3
  import '@stryke/env/get-env-paths';
4
4
  import '@stryke/types/base';
@@ -1,4 +1,4 @@
1
- export { R as RolldownPluginContext, a as RolldownPluginOptions, b as RolldownPluginResolvedConfig } from '../index-ylu9Hb7P.cjs';
1
+ export { R as RolldownPluginContext, a as RolldownPluginOptions, b as RolldownPluginResolvedConfig, d as __ΩRolldownPluginContext, _ as __ΩRolldownPluginOptions, c as __ΩRolldownPluginResolvedConfig } from '../index-Bo3rWMfL.cjs';
2
2
  import 'rolldown';
3
3
  import '@stryke/env/get-env-paths';
4
4
  import '@stryke/types/base';
@@ -1,4 +1,4 @@
1
- export { R as RolldownPluginContext, a as RolldownPluginOptions, b as RolldownPluginResolvedConfig } from '../index-ylu9Hb7P.js';
1
+ export { R as RolldownPluginContext, a as RolldownPluginOptions, b as RolldownPluginResolvedConfig, d as __ΩRolldownPluginContext, _ as __ΩRolldownPluginOptions, c as __ΩRolldownPluginResolvedConfig } from '../index-Bo3rWMfL.js';
2
2
  import 'rolldown';
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-rolldown",
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",
137
+ "powerlines": "^0.23.3",
138
138
  "rolldown": "1.0.0-beta.45",
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
  }