@powerlines/plugin-swc 0.5.685 → 0.5.686

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,13 +25,12 @@ 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 _swc_core = require("@swc/core");
31
30
  let defu = require("defu");
32
31
  defu = __toESM(defu, 1);
33
32
 
34
- //#region src/index.ts
33
+ // src/index.ts
35
34
  /**
36
35
  * A Powerlines plugin to integrate SWC for code transformation.
37
36
  *
@@ -63,5 +62,4 @@ const plugin = (options = {}) => {
63
62
  };
64
63
  };
65
64
 
66
- //#endregion
67
65
  exports.plugin = plugin;
package/dist/index.d.cts CHANGED
@@ -1,7 +1,6 @@
1
1
  import { SwcPluginContext, SwcPluginOptions, SwcPluginResolvedConfig, SwcPluginUserConfig } 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
  swc?: SwcPluginOptions;
@@ -14,6 +13,5 @@ declare module "powerlines" {
14
13
  * @returns A Powerlines plugin instance.
15
14
  */
16
15
  declare const plugin: <TContext extends SwcPluginContext = SwcPluginContext>(options?: SwcPluginOptions) => Plugin<TContext>;
17
- //#endregion
18
16
  export { SwcPluginContext, SwcPluginOptions, SwcPluginResolvedConfig, SwcPluginUserConfig, plugin };
19
17
  //# sourceMappingURL=index.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;YA0BY;IACR,MAAM;;;;;;;;;cAUG,SAAU,iBAAiB,mBAAmB,kBACzD,UAAS,qBACR,OAAO"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;YA0BY;IACR,MAAM;;;;;;;;;cAUG,SAAU,iBAAiB,mBAAmB,kBACzD,UAAS,qBACR,OAAO"}
package/dist/index.d.mts CHANGED
@@ -1,7 +1,6 @@
1
1
  import { SwcPluginContext, SwcPluginOptions, SwcPluginResolvedConfig, SwcPluginUserConfig } 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
  swc?: SwcPluginOptions;
@@ -14,6 +13,5 @@ declare module "powerlines" {
14
13
  * @returns A Powerlines plugin instance.
15
14
  */
16
15
  declare const plugin: <TContext extends SwcPluginContext = SwcPluginContext>(options?: SwcPluginOptions) => Plugin<TContext>;
17
- //#endregion
18
16
  export { SwcPluginContext, SwcPluginOptions, SwcPluginResolvedConfig, SwcPluginUserConfig, plugin };
19
17
  //# sourceMappingURL=index.d.mts.map
package/dist/index.mjs CHANGED
@@ -2,7 +2,7 @@ import "./types/index.mjs";
2
2
  import { transform } from "@swc/core";
3
3
  import defu from "defu";
4
4
 
5
- //#region src/index.ts
5
+ // src/index.ts
6
6
  /**
7
7
  * A Powerlines plugin to integrate SWC for code transformation.
8
8
  *
@@ -34,6 +34,5 @@ const plugin = (options = {}) => {
34
34
  };
35
35
  };
36
36
 
37
- //#endregion
38
37
  export { plugin };
39
38
  //# sourceMappingURL=index.mjs.map
@@ -1,6 +1,5 @@
1
1
  import { PluginContext, ResolvedConfig, UserConfig } from "powerlines";
2
2
  import { Options } from "@swc/core";
3
- //#region src/types/plugin.d.ts
4
3
  type SwcPluginOptions = Partial<Omit<Options, "filename">>;
5
4
  interface SwcPluginUserConfig extends UserConfig {
6
5
  swc?: SwcPluginOptions;
@@ -9,6 +8,5 @@ interface SwcPluginResolvedConfig extends ResolvedConfig {
9
8
  swc?: SwcPluginOptions;
10
9
  }
11
10
  type SwcPluginContext<TResolvedConfig extends SwcPluginResolvedConfig = SwcPluginResolvedConfig> = PluginContext<TResolvedConfig>;
12
- //#endregion
13
11
  export { SwcPluginContext, SwcPluginOptions, SwcPluginResolvedConfig, SwcPluginUserConfig };
14
12
  //# sourceMappingURL=plugin.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;;KAqBY,mBAAmB,QAAQ,KAAK;UAE3B,4BAA4B;EAC3C,MAAM;;UAGS,gCAAgC;EAC/C,MAAM;;KAGI,iBACV,wBAAwB,0BAA0B,2BAChD,cAAc"}
1
+ {"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;KAqBY,mBAAmB,QAAQ,KAAK;UAE3B,4BAA4B;EAC3C,MAAM;;UAGS,gCAAgC;EAC/C,MAAM;;KAGI,iBACV,wBAAwB,0BAA0B,2BAChD,cAAc"}
@@ -1,6 +1,5 @@
1
1
  import { Options } from "@swc/core";
2
2
  import { PluginContext, ResolvedConfig, UserConfig } from "powerlines";
3
- //#region src/types/plugin.d.ts
4
3
  type SwcPluginOptions = Partial<Omit<Options, "filename">>;
5
4
  interface SwcPluginUserConfig extends UserConfig {
6
5
  swc?: SwcPluginOptions;
@@ -9,6 +8,5 @@ interface SwcPluginResolvedConfig extends ResolvedConfig {
9
8
  swc?: SwcPluginOptions;
10
9
  }
11
10
  type SwcPluginContext<TResolvedConfig extends SwcPluginResolvedConfig = SwcPluginResolvedConfig> = PluginContext<TResolvedConfig>;
12
- //#endregion
13
11
  export { SwcPluginContext, SwcPluginOptions, SwcPluginResolvedConfig, SwcPluginUserConfig };
14
12
  //# sourceMappingURL=plugin.d.mts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-swc",
3
- "version": "0.5.685",
3
+ "version": "0.5.686",
4
4
  "type": "module",
5
5
  "description": "A Powerlines plugin to transform project code with SWC.",
6
6
  "repository": {
@@ -89,15 +89,15 @@
89
89
  "files": ["dist/**/*"],
90
90
  "keywords": ["swc", "powerlines", "storm-software", "powerlines-plugin"],
91
91
  "dependencies": {
92
- "@swc/core": "^1.16.13",
92
+ "@swc/core": "^1.16.20",
93
93
  "defu": "^6.1.7",
94
- "powerlines": "^0.47.214"
94
+ "powerlines": "^0.47.215"
95
95
  },
96
96
  "devDependencies": {
97
- "@powerlines/plugin-plugin": "^0.12.627",
97
+ "@powerlines/plugin-plugin": "^0.12.628",
98
98
  "@types/node": "^25.9.9"
99
99
  },
100
100
  "publishConfig": { "access": "public" },
101
101
  "types": "./dist/index.d.cts",
102
- "gitHead": "11405039d1373508718de6817cecb7b8f8e46104"
102
+ "gitHead": "810bc635d1503594d09d9f0c8c93ea413745a9df"
103
103
  }