@powerlines/plugin-unimport 0.1.677 → 0.1.678

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.
package/dist/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- //#region \0rolldown/runtime.js
2
+ // \0rolldown/runtime.js
3
3
  var __create = Object.create;
4
4
  var __defProp = Object.defineProperty;
5
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -25,8 +25,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
25
25
  enumerable: true
26
26
  }) : target, mod));
27
27
 
28
- //#endregion
29
- require('./types/index.cjs');
28
+ require("./types/index.cjs");
30
29
  let _stryke_async = require("@stryke/async");
31
30
  let _stryke_json_storm_json = require("@stryke/json/storm-json");
32
31
  let _stryke_path_join = require("@stryke/path/join");
@@ -34,7 +33,7 @@ let defu = require("defu");
34
33
  defu = __toESM(defu, 1);
35
34
  let unimport = require("unimport");
36
35
 
37
- //#region src/index.ts
36
+ // src/index.ts
38
37
  /**
39
38
  * A Powerlines plugin to integrate Unimport for code generation.
40
39
  *
@@ -103,5 +102,4 @@ const plugin = (options) => {
103
102
  };
104
103
  };
105
104
 
106
- //#endregion
107
105
  exports.plugin = plugin;
package/dist/index.d.cts CHANGED
@@ -1,7 +1,6 @@
1
1
  import { UnimportContext, UnimportPluginContext, UnimportPluginOptions, UnimportPluginResolvedConfig, UnimportPluginUserConfig } from "./types/plugin.cjs";
2
2
  import "./types/index.cjs";
3
3
  import { Plugin } from "powerlines";
4
- //#region src/index.d.ts
5
4
  declare module "powerlines" {
6
5
  interface Config {
7
6
  unimport?: UnimportPluginOptions;
@@ -14,6 +13,5 @@ declare module "powerlines" {
14
13
  * @returns A Powerlines plugin instance.
15
14
  */
16
15
  declare const plugin: <TContext extends UnimportPluginContext = UnimportPluginContext>(options: UnimportPluginOptions) => Plugin<TContext>;
17
- //#endregion
18
16
  export { UnimportContext, UnimportPluginContext, UnimportPluginOptions, UnimportPluginResolvedConfig, UnimportPluginUserConfig, plugin };
19
17
  //# sourceMappingURL=index.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;YAsCY;IACR,WAAW;;;;;;;;;cAUF,SACX,iBAAiB,wBAAwB,uBAEzC,SAAS,0BACR,OAAO"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;YAsCY;IACR,WAAW;;;;;;;;;cAUF,SACX,iBAAiB,wBAAwB,uBAEzC,SAAS,0BACR,OAAO"}
package/dist/index.d.mts CHANGED
@@ -1,7 +1,6 @@
1
1
  import { UnimportContext, UnimportPluginContext, UnimportPluginOptions, UnimportPluginResolvedConfig, UnimportPluginUserConfig } from "./types/plugin.mjs";
2
2
  import "./types/index.mjs";
3
3
  import { Plugin } from "powerlines";
4
- //#region src/index.d.ts
5
4
  declare module "powerlines" {
6
5
  interface Config {
7
6
  unimport?: UnimportPluginOptions;
@@ -14,6 +13,5 @@ declare module "powerlines" {
14
13
  * @returns A Powerlines plugin instance.
15
14
  */
16
15
  declare const plugin: <TContext extends UnimportPluginContext = UnimportPluginContext>(options: UnimportPluginOptions) => Plugin<TContext>;
17
- //#endregion
18
16
  export { UnimportContext, UnimportPluginContext, UnimportPluginOptions, UnimportPluginResolvedConfig, UnimportPluginUserConfig, plugin };
19
17
  //# sourceMappingURL=index.d.mts.map
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ import { joinPaths } from "@stryke/path/join";
5
5
  import defu from "defu";
6
6
  import { createUnimport } from "unimport";
7
7
 
8
- //#region src/index.ts
8
+ // src/index.ts
9
9
  /**
10
10
  * A Powerlines plugin to integrate Unimport for code generation.
11
11
  *
@@ -74,6 +74,5 @@ const plugin = (options) => {
74
74
  };
75
75
  };
76
76
 
77
- //#endregion
78
77
  export { plugin };
79
78
  //# sourceMappingURL=index.mjs.map
@@ -1,6 +1,5 @@
1
1
  import { PluginContext, ResolvedConfig, UserConfig } from "powerlines";
2
2
  import { Unimport, UnimportOptions } from "unimport";
3
- //#region src/types/plugin.d.ts
4
3
  type UnimportContext = Unimport & {
5
4
  lastImportsDump?: string;
6
5
  dumpImports: () => Promise<void>;
@@ -28,6 +27,5 @@ type UnimportPluginResolvedConfig = ResolvedConfig & {
28
27
  type UnimportPluginContext<TResolvedConfig extends UnimportPluginResolvedConfig = UnimportPluginResolvedConfig> = PluginContext<TResolvedConfig> & {
29
28
  unimport: UnimportContext;
30
29
  };
31
- //#endregion
32
30
  export { UnimportContext, UnimportPluginContext, UnimportPluginOptions, UnimportPluginResolvedConfig, UnimportPluginUserConfig };
33
31
  //# sourceMappingURL=plugin.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;;KAqBY,kBAAkB;EAC5B;EACA,mBAAmB;;KAGT,wBAAwB,QAAQ,KAAK,+BAC/C,SAAS,KAAK;;;;;;EAMZ;;;;;;EAOA;;KAGQ,2BAA2B;EACrC,WAAW;;KAGD,+BAA+B;EACzC,UAAU;;KAGA,sBACV,wBAAwB,+BACtB,gCACA,cAAc;EAChB,UAAU"}
1
+ {"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;KAqBY,kBAAkB;EAC5B;EACA,mBAAmB;;KAGT,wBAAwB,QAAQ,KAAK,+BAC/C,SAAS,KAAK;;;;;;EAMZ;;;;;;EAOA;;KAGQ,2BAA2B;EACrC,WAAW;;KAGD,+BAA+B;EACzC,UAAU;;KAGA,sBACV,wBAAwB,+BACtB,gCACA,cAAc;EAChB,UAAU"}
@@ -1,6 +1,5 @@
1
1
  import { Unimport, UnimportOptions } from "unimport";
2
2
  import { PluginContext, ResolvedConfig, UserConfig } from "powerlines";
3
- //#region src/types/plugin.d.ts
4
3
  type UnimportContext = Unimport & {
5
4
  lastImportsDump?: string;
6
5
  dumpImports: () => Promise<void>;
@@ -28,6 +27,5 @@ type UnimportPluginResolvedConfig = ResolvedConfig & {
28
27
  type UnimportPluginContext<TResolvedConfig extends UnimportPluginResolvedConfig = UnimportPluginResolvedConfig> = PluginContext<TResolvedConfig> & {
29
28
  unimport: UnimportContext;
30
29
  };
31
- //#endregion
32
30
  export { UnimportContext, UnimportPluginContext, UnimportPluginOptions, UnimportPluginResolvedConfig, UnimportPluginUserConfig };
33
31
  //# sourceMappingURL=plugin.d.mts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-unimport",
3
- "version": "0.1.677",
3
+ "version": "0.1.678",
4
4
  "type": "module",
5
5
  "description": "A Powerlines plugin to add imports to source code automatically via unimport.",
6
6
  "repository": {
@@ -95,14 +95,14 @@
95
95
  "@stryke/path": "^0.29.43",
96
96
  "defu": "^6.1.7",
97
97
  "magic-string": "^0.30.21",
98
- "powerlines": "^0.47.214",
98
+ "powerlines": "^0.47.215",
99
99
  "unimport": "^5.7.0"
100
100
  },
101
101
  "devDependencies": {
102
- "@powerlines/plugin-plugin": "^0.12.627",
102
+ "@powerlines/plugin-plugin": "^0.12.628",
103
103
  "@types/node": "^25.9.9"
104
104
  },
105
105
  "publishConfig": { "access": "public" },
106
106
  "types": "./dist/index.d.cts",
107
- "gitHead": "11405039d1373508718de6817cecb7b8f8e46104"
107
+ "gitHead": "810bc635d1503594d09d9f0c8c93ea413745a9df"
108
108
  }