@powerlines/plugin-unimport 0.1.16 → 0.1.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.
@@ -218,8 +218,8 @@ type ParsedTypeScriptConfig = ts.ParsedCommandLine & {
218
218
  tsconfigFilePath: string;
219
219
  };
220
220
 
221
- declare const __VFS_PATCH__: unique symbol;
222
- declare const __VFS_REVERT__: unique symbol;
221
+ declare const __VFS_PATCH__ = "__VFS_PATCH__";
222
+ declare const __VFS_REVERT__ = "__VFS_REVERT__";
223
223
  type OutputModeType = "fs" | "virtual";
224
224
  interface VirtualFile {
225
225
  /**
@@ -628,6 +628,15 @@ interface OutputConfig {
628
628
  * @defaultValue "dist/\{projectRoot\}"
629
629
  */
630
630
  outputPath?: string;
631
+ /**
632
+ * The output directory path for the project build.
633
+ *
634
+ * @remarks
635
+ * 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.
636
+ *
637
+ * @defaultValue "\{projectRoot\}/dist"
638
+ */
639
+ distPath?: string;
631
640
  /**
632
641
  * The format of the output files
633
642
  *
@@ -1439,5 +1448,10 @@ type UnimportPluginResolvedConfig = ResolvedConfig & {
1439
1448
  type UnimportPluginContext<TResolvedConfig extends UnimportPluginResolvedConfig = UnimportPluginResolvedConfig> = PluginContext<TResolvedConfig> & {
1440
1449
  unimport: UnimportContext;
1441
1450
  };
1451
+ declare type __ΩUnimportContext = any[];
1452
+ declare type __ΩUnimportPluginOptions = any[];
1453
+ declare type __ΩUnimportPluginUserConfig = any[];
1454
+ declare type __ΩUnimportPluginResolvedConfig = any[];
1455
+ declare type __ΩUnimportPluginContext = any[];
1442
1456
 
1443
- export type { Plugin as P, UnimportPluginContext as U, UnimportPluginOptions as a, UnimportContext as b, UnimportPluginUserConfig as c, UnimportPluginResolvedConfig as d };
1457
+ export type { Plugin as P, UnimportPluginContext as U, __ΩUnimportContext as _, UnimportPluginOptions as a, UnimportContext as b, UnimportPluginUserConfig as c, UnimportPluginResolvedConfig as d, __ΩUnimportPluginOptions as e, __ΩUnimportPluginUserConfig as f, __ΩUnimportPluginResolvedConfig as g, __ΩUnimportPluginContext as h };
@@ -218,8 +218,8 @@ type ParsedTypeScriptConfig = ts.ParsedCommandLine & {
218
218
  tsconfigFilePath: string;
219
219
  };
220
220
 
221
- declare const __VFS_PATCH__: unique symbol;
222
- declare const __VFS_REVERT__: unique symbol;
221
+ declare const __VFS_PATCH__ = "__VFS_PATCH__";
222
+ declare const __VFS_REVERT__ = "__VFS_REVERT__";
223
223
  type OutputModeType = "fs" | "virtual";
224
224
  interface VirtualFile {
225
225
  /**
@@ -628,6 +628,15 @@ interface OutputConfig {
628
628
  * @defaultValue "dist/\{projectRoot\}"
629
629
  */
630
630
  outputPath?: string;
631
+ /**
632
+ * The output directory path for the project build.
633
+ *
634
+ * @remarks
635
+ * 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.
636
+ *
637
+ * @defaultValue "\{projectRoot\}/dist"
638
+ */
639
+ distPath?: string;
631
640
  /**
632
641
  * The format of the output files
633
642
  *
@@ -1439,5 +1448,10 @@ type UnimportPluginResolvedConfig = ResolvedConfig & {
1439
1448
  type UnimportPluginContext<TResolvedConfig extends UnimportPluginResolvedConfig = UnimportPluginResolvedConfig> = PluginContext<TResolvedConfig> & {
1440
1449
  unimport: UnimportContext;
1441
1450
  };
1451
+ declare type __ΩUnimportContext = any[];
1452
+ declare type __ΩUnimportPluginOptions = any[];
1453
+ declare type __ΩUnimportPluginUserConfig = any[];
1454
+ declare type __ΩUnimportPluginResolvedConfig = any[];
1455
+ declare type __ΩUnimportPluginContext = any[];
1442
1456
 
1443
- export type { Plugin as P, UnimportPluginContext as U, UnimportPluginOptions as a, UnimportContext as b, UnimportPluginUserConfig as c, UnimportPluginResolvedConfig as d };
1457
+ export type { Plugin as P, UnimportPluginContext as U, __ΩUnimportContext as _, UnimportPluginOptions as a, UnimportContext as b, UnimportPluginUserConfig as c, UnimportPluginResolvedConfig as d, __ΩUnimportPluginOptions as e, __ΩUnimportPluginUserConfig as f, __ΩUnimportPluginResolvedConfig as g, __ΩUnimportPluginContext as h };
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { U as UnimportPluginContext, a as UnimportPluginOptions, P as Plugin } from './index-fnT1riXv.cjs';
2
- export { b as UnimportContext, d as UnimportPluginResolvedConfig, c as UnimportPluginUserConfig } from './index-fnT1riXv.cjs';
1
+ import { U as UnimportPluginContext, a as UnimportPluginOptions, P as Plugin } from './index-BTpiqEb7.cjs';
2
+ export { b as UnimportContext, d as UnimportPluginResolvedConfig, c as UnimportPluginUserConfig, _ as __ΩUnimportContext, h as __ΩUnimportPluginContext, e as __ΩUnimportPluginOptions, g as __ΩUnimportPluginResolvedConfig, f as __ΩUnimportPluginUserConfig } from './index-BTpiqEb7.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/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { U as UnimportPluginContext, a as UnimportPluginOptions, P as Plugin } from './index-fnT1riXv.js';
2
- export { b as UnimportContext, d as UnimportPluginResolvedConfig, c as UnimportPluginUserConfig } from './index-fnT1riXv.js';
1
+ import { U as UnimportPluginContext, a as UnimportPluginOptions, P as Plugin } from './index-BTpiqEb7.js';
2
+ export { b as UnimportContext, d as UnimportPluginResolvedConfig, c as UnimportPluginUserConfig, _ as __ΩUnimportContext, h as __ΩUnimportPluginContext, e as __ΩUnimportPluginOptions, g as __ΩUnimportPluginResolvedConfig, f as __ΩUnimportPluginUserConfig } from './index-BTpiqEb7.js';
3
3
  import '@storm-software/build-tools/types';
4
4
  import '@storm-software/config-tools/types';
5
5
  import '@storm-software/config/types';
@@ -1,4 +1,4 @@
1
- export { b as UnimportContext, U as UnimportPluginContext, a as UnimportPluginOptions, d as UnimportPluginResolvedConfig, c as UnimportPluginUserConfig } from '../index-fnT1riXv.cjs';
1
+ export { b as UnimportContext, U as UnimportPluginContext, a as UnimportPluginOptions, d as UnimportPluginResolvedConfig, c as UnimportPluginUserConfig, _ as __ΩUnimportContext, h as __ΩUnimportPluginContext, e as __ΩUnimportPluginOptions, g as __ΩUnimportPluginResolvedConfig, f as __ΩUnimportPluginUserConfig } from '../index-BTpiqEb7.cjs';
2
2
  import '@storm-software/build-tools/types';
3
3
  import '@storm-software/config-tools/types';
4
4
  import '@storm-software/config/types';
@@ -1,4 +1,4 @@
1
- export { b as UnimportContext, U as UnimportPluginContext, a as UnimportPluginOptions, d as UnimportPluginResolvedConfig, c as UnimportPluginUserConfig } from '../index-fnT1riXv.js';
1
+ export { b as UnimportContext, U as UnimportPluginContext, a as UnimportPluginOptions, d as UnimportPluginResolvedConfig, c as UnimportPluginUserConfig, _ as __ΩUnimportContext, h as __ΩUnimportPluginContext, e as __ΩUnimportPluginOptions, g as __ΩUnimportPluginResolvedConfig, f as __ΩUnimportPluginUserConfig } from '../index-BTpiqEb7.js';
2
2
  import '@storm-software/build-tools/types';
3
3
  import '@storm-software/config-tools/types';
4
4
  import '@storm-software/config/types';
@@ -1,4 +1,4 @@
1
- export { b as UnimportContext, U as UnimportPluginContext, a as UnimportPluginOptions, d as UnimportPluginResolvedConfig, c as UnimportPluginUserConfig } from '../index-fnT1riXv.cjs';
1
+ export { b as UnimportContext, U as UnimportPluginContext, a as UnimportPluginOptions, d as UnimportPluginResolvedConfig, c as UnimportPluginUserConfig, _ as __ΩUnimportContext, h as __ΩUnimportPluginContext, e as __ΩUnimportPluginOptions, g as __ΩUnimportPluginResolvedConfig, f as __ΩUnimportPluginUserConfig } from '../index-BTpiqEb7.cjs';
2
2
  import 'unimport';
3
3
  import '@storm-software/build-tools/types';
4
4
  import '@storm-software/config-tools/types';
@@ -1,4 +1,4 @@
1
- export { b as UnimportContext, U as UnimportPluginContext, a as UnimportPluginOptions, d as UnimportPluginResolvedConfig, c as UnimportPluginUserConfig } from '../index-fnT1riXv.js';
1
+ export { b as UnimportContext, U as UnimportPluginContext, a as UnimportPluginOptions, d as UnimportPluginResolvedConfig, c as UnimportPluginUserConfig, _ as __ΩUnimportContext, h as __ΩUnimportPluginContext, e as __ΩUnimportPluginOptions, g as __ΩUnimportPluginResolvedConfig, f as __ΩUnimportPluginUserConfig } from '../index-BTpiqEb7.js';
2
2
  import 'unimport';
3
3
  import '@storm-software/build-tools/types';
4
4
  import '@storm-software/config-tools/types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-unimport",
3
- "version": "0.1.16",
3
+ "version": "0.1.20",
4
4
  "type": "module",
5
5
  "description": "A Powerlines plugin to add imports to source code automatically via unimport.",
6
6
  "repository": {
@@ -108,14 +108,14 @@
108
108
  "defu": "^6.1.4",
109
109
  "jiti": "^2.6.1",
110
110
  "unimport": "^5.5.0",
111
- "powerlines": "^0.22.1",
111
+ "powerlines": "^0.23.3",
112
112
  "magic-string": "^0.30.21"
113
113
  },
114
114
  "devDependencies": {
115
- "@powerlines/nx": "^0.10.16",
116
- "@powerlines/plugin-plugin": "^0.11.24",
117
- "@types/node": "^22.19.1"
115
+ "@powerlines/nx": "^0.10.20",
116
+ "@powerlines/plugin-plugin": "^0.11.28",
117
+ "@types/node": "^24.10.1"
118
118
  },
119
119
  "publishConfig": { "access": "public" },
120
- "gitHead": "781b9a5f57b9c64bf6e659316741b7c8a429445f"
120
+ "gitHead": "6e43200541ace2946694195c092642e7ac2f3098"
121
121
  }