@powerlines/plugin-oxc-transform 0.5.684 → 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 +3 -5
- package/dist/index.d.cts +0 -2
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +0 -2
- package/dist/index.mjs +1 -2
- package/dist/types/plugin.d.cts +0 -2
- package/dist/types/plugin.d.cts.map +1 -1
- package/dist/types/plugin.d.mts +0 -2
- package/package.json +6 -6
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
|
|
2
|
+
// \0rolldown/runtime.js
|
|
3
3
|
var __create = Object.create;
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
5
5
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -25,14 +25,13 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
25
25
|
enumerable: true
|
|
26
26
|
}) : target, mod));
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
require('./types/index.cjs');
|
|
28
|
+
require("./types/index.cjs");
|
|
30
29
|
let _stryke_path_find = require("@stryke/path/find");
|
|
31
30
|
let defu = require("defu");
|
|
32
31
|
defu = __toESM(defu, 1);
|
|
33
32
|
let oxc_transform = require("oxc-transform");
|
|
34
33
|
|
|
35
|
-
|
|
34
|
+
// src/index.ts
|
|
36
35
|
/**
|
|
37
36
|
* A Powerlines plugin to integrate oxc-transform for code transformation.
|
|
38
37
|
*
|
|
@@ -69,5 +68,4 @@ const plugin = (options = {}) => {
|
|
|
69
68
|
};
|
|
70
69
|
};
|
|
71
70
|
|
|
72
|
-
//#endregion
|
|
73
71
|
exports.plugin = plugin;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { OxcTransformPluginContext, OxcTransformPluginOptions, OxcTransformPluginResolvedConfig, OxcTransformPluginUserConfig } 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
|
oxcTransform?: OxcTransformPluginOptions;
|
|
@@ -14,6 +13,5 @@ declare module "powerlines" {
|
|
|
14
13
|
* @returns A Powerlines plugin instance.
|
|
15
14
|
*/
|
|
16
15
|
declare const plugin: <TContext extends OxcTransformPluginContext = OxcTransformPluginContext>(options?: OxcTransformPluginOptions) => Plugin<TContext>;
|
|
17
|
-
//#endregion
|
|
18
16
|
export { OxcTransformPluginContext, OxcTransformPluginOptions, OxcTransformPluginResolvedConfig, OxcTransformPluginUserConfig, plugin };
|
|
19
17
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;YA8BY;IACR,eAAe;;;;;;;;;cAUN,SACX,iBAAiB,4BAA4B,2BAE7C,UAAS,8BACR,OAAO"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { OxcTransformPluginContext, OxcTransformPluginOptions, OxcTransformPluginResolvedConfig, OxcTransformPluginUserConfig } 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
|
oxcTransform?: OxcTransformPluginOptions;
|
|
@@ -14,6 +13,5 @@ declare module "powerlines" {
|
|
|
14
13
|
* @returns A Powerlines plugin instance.
|
|
15
14
|
*/
|
|
16
15
|
declare const plugin: <TContext extends OxcTransformPluginContext = OxcTransformPluginContext>(options?: OxcTransformPluginOptions) => Plugin<TContext>;
|
|
17
|
-
//#endregion
|
|
18
16
|
export { OxcTransformPluginContext, OxcTransformPluginOptions, OxcTransformPluginResolvedConfig, OxcTransformPluginUserConfig, plugin };
|
|
19
17
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import { findFileExtension, findFileExtensionSafe } from "@stryke/path/find";
|
|
|
3
3
|
import defu from "defu";
|
|
4
4
|
import { transform } from "oxc-transform";
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
// src/index.ts
|
|
7
7
|
/**
|
|
8
8
|
* A Powerlines plugin to integrate oxc-transform for code transformation.
|
|
9
9
|
*
|
|
@@ -40,6 +40,5 @@ const plugin = (options = {}) => {
|
|
|
40
40
|
};
|
|
41
41
|
};
|
|
42
42
|
|
|
43
|
-
//#endregion
|
|
44
43
|
export { plugin };
|
|
45
44
|
//# sourceMappingURL=index.mjs.map
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { PluginContext, ResolvedConfig, UserConfig } from "powerlines";
|
|
2
2
|
import { TransformOptions } from "oxc-transform";
|
|
3
|
-
//#region src/types/plugin.d.ts
|
|
4
3
|
type OxcTransformPluginOptions = Partial<TransformOptions>;
|
|
5
4
|
type OxcTransformPluginUserConfig = UserConfig & {
|
|
6
5
|
oxcTransform?: OxcTransformPluginOptions;
|
|
@@ -9,6 +8,5 @@ type OxcTransformPluginResolvedConfig = ResolvedConfig & {
|
|
|
9
8
|
oxcTransform?: OxcTransformPluginOptions;
|
|
10
9
|
};
|
|
11
10
|
type OxcTransformPluginContext<TResolvedConfig extends OxcTransformPluginResolvedConfig = OxcTransformPluginResolvedConfig> = PluginContext<TResolvedConfig>;
|
|
12
|
-
//#endregion
|
|
13
11
|
export { OxcTransformPluginContext, OxcTransformPluginOptions, OxcTransformPluginResolvedConfig, OxcTransformPluginUserConfig };
|
|
14
12
|
//# sourceMappingURL=plugin.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;KAqBY,4BAA4B,QAAQ;KAEpC,+BAA+B;EACzC,eAAe;;KAGL,mCAAmC;EAC7C,eAAe;;KAGL,0BACV,wBAAwB,mCACtB,oCACA,cAAc"}
|
package/dist/types/plugin.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { TransformOptions } from "oxc-transform";
|
|
2
2
|
import { PluginContext, ResolvedConfig, UserConfig } from "powerlines";
|
|
3
|
-
//#region src/types/plugin.d.ts
|
|
4
3
|
type OxcTransformPluginOptions = Partial<TransformOptions>;
|
|
5
4
|
type OxcTransformPluginUserConfig = UserConfig & {
|
|
6
5
|
oxcTransform?: OxcTransformPluginOptions;
|
|
@@ -9,6 +8,5 @@ type OxcTransformPluginResolvedConfig = ResolvedConfig & {
|
|
|
9
8
|
oxcTransform?: OxcTransformPluginOptions;
|
|
10
9
|
};
|
|
11
10
|
type OxcTransformPluginContext<TResolvedConfig extends OxcTransformPluginResolvedConfig = OxcTransformPluginResolvedConfig> = PluginContext<TResolvedConfig>;
|
|
12
|
-
//#endregion
|
|
13
11
|
export { OxcTransformPluginContext, OxcTransformPluginOptions, OxcTransformPluginResolvedConfig, OxcTransformPluginUserConfig };
|
|
14
12
|
//# sourceMappingURL=plugin.d.mts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-oxc-transform",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.686",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A Powerlines plugin to transform project code with Oxc Transformer.",
|
|
6
6
|
"repository": {
|
|
@@ -94,16 +94,16 @@
|
|
|
94
94
|
"powerlines-plugin"
|
|
95
95
|
],
|
|
96
96
|
"dependencies": {
|
|
97
|
-
"@stryke/path": "^0.29.
|
|
97
|
+
"@stryke/path": "^0.29.43",
|
|
98
98
|
"defu": "^6.1.7",
|
|
99
99
|
"oxc-transform": "^0.99.0",
|
|
100
|
-
"powerlines": "^0.47.
|
|
100
|
+
"powerlines": "^0.47.215"
|
|
101
101
|
},
|
|
102
102
|
"devDependencies": {
|
|
103
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
104
|
-
"@types/node": "^25.9.
|
|
103
|
+
"@powerlines/plugin-plugin": "^0.12.628",
|
|
104
|
+
"@types/node": "^25.9.9"
|
|
105
105
|
},
|
|
106
106
|
"publishConfig": { "access": "public" },
|
|
107
107
|
"types": "./dist/index.d.cts",
|
|
108
|
-
"gitHead": "
|
|
108
|
+
"gitHead": "810bc635d1503594d09d9f0c8c93ea413745a9df"
|
|
109
109
|
}
|