@powerlines/plugin-oxc-transform 0.5.262 → 0.5.264
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/_virtual/rolldown_runtime.cjs +29 -0
- package/dist/index.cjs +2 -30
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +0 -2
- package/dist/index.mjs.map +1 -1
- package/dist/types/index.cjs +0 -2
- package/dist/types/index.d.cts +1 -2
- package/dist/types/index.d.mts +1 -2
- package/dist/types/index.mjs +0 -3
- package/dist/types/plugin.cjs +0 -1
- package/dist/types/plugin.d.cts +25 -2
- package/dist/types/plugin.d.cts.map +1 -0
- package/dist/types/plugin.d.mts +25 -2
- package/dist/types/plugin.d.mts.map +1 -0
- package/dist/types/plugin.mjs +0 -2
- package/package.json +4 -4
- package/dist/index-BgAdqTbb.d.mts +0 -1
- package/dist/index-CEgs-Dz2.d.cts +0 -1
- package/dist/plugin-C3MaN5jp.mjs +0 -1
- package/dist/plugin-C3XCW41B.d.mts +0 -25
- package/dist/plugin-C3XCW41B.d.mts.map +0 -1
- package/dist/plugin-DHXHjv16.cjs +0 -0
- package/dist/plugin-UrDAQfV1.d.cts +0 -25
- package/dist/plugin-UrDAQfV1.d.cts.map +0 -1
- package/dist/types-CTUnla4x.mjs +0 -1
- package/dist/types-DHkg7xmX.cjs +0 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
//#region rolldown:runtime
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __copyProps = (to, from, except, desc) => {
|
|
9
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
10
|
+
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
11
|
+
key = keys[i];
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except) {
|
|
13
|
+
__defProp(to, key, {
|
|
14
|
+
get: ((k) => from[k]).bind(null, key),
|
|
15
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
22
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
23
|
+
value: mod,
|
|
24
|
+
enumerable: true
|
|
25
|
+
}) : target, mod));
|
|
26
|
+
|
|
27
|
+
//#endregion
|
|
28
|
+
|
|
29
|
+
exports.__toESM = __toESM;
|
package/dist/index.cjs
CHANGED
|
@@ -1,36 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
-
|
|
3
|
-
var __create = Object.create;
|
|
4
|
-
var __defProp = Object.defineProperty;
|
|
5
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
8
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
12
|
-
key = keys[i];
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except) {
|
|
14
|
-
__defProp(to, key, {
|
|
15
|
-
get: ((k) => from[k]).bind(null, key),
|
|
16
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
return to;
|
|
22
|
-
};
|
|
23
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
24
|
-
value: mod,
|
|
25
|
-
enumerable: true
|
|
26
|
-
}) : target, mod));
|
|
27
|
-
|
|
28
|
-
//#endregion
|
|
29
|
-
require('./plugin-DHXHjv16.cjs');
|
|
30
|
-
require('./types-DHkg7xmX.cjs');
|
|
2
|
+
const require_rolldown_runtime = require('./_virtual/rolldown_runtime.cjs');
|
|
31
3
|
let __stryke_path_find = require("@stryke/path/find");
|
|
32
4
|
let defu = require("defu");
|
|
33
|
-
defu = __toESM(defu);
|
|
5
|
+
defu = require_rolldown_runtime.__toESM(defu);
|
|
34
6
|
let oxc_transform = require("oxc-transform");
|
|
35
7
|
|
|
36
8
|
//#region src/index.ts
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./index
|
|
1
|
+
import { OxcTransformPluginContext, OxcTransformPluginOptions, OxcTransformPluginResolvedConfig, OxcTransformPluginUserConfig, __ΩOxcTransformPluginContext, __ΩOxcTransformPluginOptions, __ΩOxcTransformPluginResolvedConfig, __ΩOxcTransformPluginUserConfig } from "./types/plugin.cjs";
|
|
2
|
+
import "./types/index.cjs";
|
|
3
3
|
import { Plugin } from "powerlines/types/plugin";
|
|
4
4
|
|
|
5
5
|
//#region src/index.d.ts
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./index
|
|
1
|
+
import { OxcTransformPluginContext, OxcTransformPluginOptions, OxcTransformPluginResolvedConfig, OxcTransformPluginUserConfig, __ΩOxcTransformPluginContext, __ΩOxcTransformPluginOptions, __ΩOxcTransformPluginResolvedConfig, __ΩOxcTransformPluginUserConfig } from "./types/plugin.mjs";
|
|
2
|
+
import "./types/index.mjs";
|
|
3
3
|
import { Plugin } from "powerlines/types/plugin";
|
|
4
4
|
|
|
5
5
|
//#region src/index.d.ts
|
package/dist/index.mjs
CHANGED
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { findFileExtension, findFileExtensionSafe } from \"@stryke/path/find\";\nimport defu from \"defu\";\nimport { transform } from \"oxc-transform\";\nimport { Plugin } from \"powerlines/types/plugin\";\nimport {\n OxcTransformPluginContext,\n OxcTransformPluginOptions,\n OxcTransformPluginUserConfig\n} from \"./types/plugin\";\n\nexport * from \"./types\";\n\n/**\n * A Powerlines plugin to integrate oxc-transform for code transformation.\n *\n * @param options - The plugin options.\n * @returns A Powerlines plugin instance.\n */\nexport const plugin = <\n TContext extends OxcTransformPluginContext = OxcTransformPluginContext\n>(\n options: OxcTransformPluginOptions = {}\n): Plugin<TContext> => {\n return {\n name: \"oxc-transform\",\n config() {\n return {\n transform: {\n oxc: defu(options, {\n sourceType: \"module\",\n cwd: this.config.projectRoot,\n envName: this.config.mode,\n outputPath: this.config.output.buildPath,\n sourcemap: this.config.mode === \"development\"\n })\n }\n } as Partial<OxcTransformPluginUserConfig>;\n },\n async transform(code, id) {\n const result = await transform(id, code, {\n lang: ([\"d.ts\", \"d.cts\", \"d.mts\"].includes(findFileExtensionSafe(id))\n ? \"dts\"\n : findFileExtension(id)) as OxcTransformPluginOptions[\"lang\"],\n ...this.config.transform.oxc\n });\n\n return { id, code: result.code, map: result.map };\n }\n };\n};\n\nexport default plugin;\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { findFileExtension, findFileExtensionSafe } from \"@stryke/path/find\";\nimport defu from \"defu\";\nimport { transform } from \"oxc-transform\";\nimport { Plugin } from \"powerlines/types/plugin\";\nimport {\n OxcTransformPluginContext,\n OxcTransformPluginOptions,\n OxcTransformPluginUserConfig\n} from \"./types/plugin\";\n\nexport * from \"./types\";\n\n/**\n * A Powerlines plugin to integrate oxc-transform for code transformation.\n *\n * @param options - The plugin options.\n * @returns A Powerlines plugin instance.\n */\nexport const plugin = <\n TContext extends OxcTransformPluginContext = OxcTransformPluginContext\n>(\n options: OxcTransformPluginOptions = {}\n): Plugin<TContext> => {\n return {\n name: \"oxc-transform\",\n config() {\n return {\n transform: {\n oxc: defu(options, {\n sourceType: \"module\",\n cwd: this.config.projectRoot,\n envName: this.config.mode,\n outputPath: this.config.output.buildPath,\n sourcemap: this.config.mode === \"development\"\n })\n }\n } as Partial<OxcTransformPluginUserConfig>;\n },\n async transform(code, id) {\n const result = await transform(id, code, {\n lang: ([\"d.ts\", \"d.cts\", \"d.mts\"].includes(findFileExtensionSafe(id))\n ? \"dts\"\n : findFileExtension(id)) as OxcTransformPluginOptions[\"lang\"],\n ...this.config.transform.oxc\n });\n\n return { id, code: result.code, map: result.map };\n }\n };\n};\n\nexport default plugin;\n"],"mappings":";;;;;;;;;;;AAoCA,MAAa,UAGX,UAAqC,EAAE,KAClB;AACrB,QAAO;EACL,MAAM;EACN,SAAS;AACP,UAAO,EACL,WAAW,EACT,KAAK,KAAK,SAAS;IACjB,YAAY;IACZ,KAAK,KAAK,OAAO;IACjB,SAAS,KAAK,OAAO;IACrB,YAAY,KAAK,OAAO,OAAO;IAC/B,WAAW,KAAK,OAAO,SAAS;IACjC,CAAC,EACH,EACF;;EAEH,MAAM,UAAU,MAAM,IAAI;GACxB,MAAM,SAAS,MAAM,UAAU,IAAI,MAAM;IACvC,MAAO;KAAC;KAAQ;KAAS;KAAQ,CAAC,SAAS,sBAAsB,GAAG,CAAC,GACjE,QACA,kBAAkB,GAAG;IACzB,GAAG,KAAK,OAAO,UAAU;IAC1B,CAAC;AAEF,UAAO;IAAE;IAAI,MAAM,OAAO;IAAM,KAAK,OAAO;IAAK;;EAEpD;;AAGH,kBAAe"}
|
package/dist/types/index.cjs
CHANGED
package/dist/types/index.d.cts
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "../index-CEgs-Dz2.cjs";
|
|
1
|
+
import { OxcTransformPluginContext, OxcTransformPluginOptions, OxcTransformPluginResolvedConfig, OxcTransformPluginUserConfig, __ΩOxcTransformPluginContext, __ΩOxcTransformPluginOptions, __ΩOxcTransformPluginResolvedConfig, __ΩOxcTransformPluginUserConfig } from "./plugin.cjs";
|
|
3
2
|
export { OxcTransformPluginContext, OxcTransformPluginOptions, OxcTransformPluginResolvedConfig, OxcTransformPluginUserConfig, __ΩOxcTransformPluginContext, __ΩOxcTransformPluginOptions, __ΩOxcTransformPluginResolvedConfig, __ΩOxcTransformPluginUserConfig };
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "../index-BgAdqTbb.mjs";
|
|
1
|
+
import { OxcTransformPluginContext, OxcTransformPluginOptions, OxcTransformPluginResolvedConfig, OxcTransformPluginUserConfig, __ΩOxcTransformPluginContext, __ΩOxcTransformPluginOptions, __ΩOxcTransformPluginResolvedConfig, __ΩOxcTransformPluginUserConfig } from "./plugin.mjs";
|
|
3
2
|
export { OxcTransformPluginContext, OxcTransformPluginOptions, OxcTransformPluginResolvedConfig, OxcTransformPluginUserConfig, __ΩOxcTransformPluginContext, __ΩOxcTransformPluginOptions, __ΩOxcTransformPluginResolvedConfig, __ΩOxcTransformPluginUserConfig };
|
package/dist/types/index.mjs
CHANGED
package/dist/types/plugin.cjs
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
require('../plugin-DHXHjv16.cjs');
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,2 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { TransformOptions } from "oxc-transform";
|
|
2
|
+
import { UserConfig } from "powerlines/types/config";
|
|
3
|
+
import { PluginContext } from "powerlines/types/context";
|
|
4
|
+
import { ResolvedConfig } from "powerlines/types/resolved";
|
|
5
|
+
|
|
6
|
+
//#region src/types/plugin.d.ts
|
|
7
|
+
type OxcTransformPluginOptions = Partial<TransformOptions>;
|
|
8
|
+
type OxcTransformPluginUserConfig = UserConfig & {
|
|
9
|
+
transform?: {
|
|
10
|
+
oxc?: OxcTransformPluginOptions;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
type OxcTransformPluginResolvedConfig = ResolvedConfig & {
|
|
14
|
+
transform?: {
|
|
15
|
+
oxc?: OxcTransformPluginOptions;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
type OxcTransformPluginContext<TResolvedConfig extends OxcTransformPluginResolvedConfig = OxcTransformPluginResolvedConfig> = PluginContext<TResolvedConfig>;
|
|
19
|
+
declare type __ΩOxcTransformPluginOptions = any[];
|
|
20
|
+
declare type __ΩOxcTransformPluginUserConfig = any[];
|
|
21
|
+
declare type __ΩOxcTransformPluginResolvedConfig = any[];
|
|
22
|
+
declare type __ΩOxcTransformPluginContext = any[];
|
|
23
|
+
//#endregion
|
|
24
|
+
export { OxcTransformPluginContext, OxcTransformPluginOptions, OxcTransformPluginResolvedConfig, OxcTransformPluginUserConfig, __ΩOxcTransformPluginContext, __ΩOxcTransformPluginOptions, __ΩOxcTransformPluginResolvedConfig, __ΩOxcTransformPluginUserConfig };
|
|
25
|
+
//# sourceMappingURL=plugin.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;;KAuBY,yBAAA,GAA4B,QAAQ;KAEpC,4BAAA,GAA+B;EAF/B,SAAA,CAAA,EAAA;IAEA,GAAA,CAAA,EAEF,yBAF8B;EAM5B,CAAA;AAMZ,CAAA;AAC0B,KAPd,gCAAA,GAAmC,cAOrB,GAAA;EACtB,SAAA,CAAA,EAAA;IACc,GAAA,CAAA,EAPR,yBAOQ;EAAd,CAAA;CAAa;KAHL,kDACc,mCACtB,oCACA,cAAc"}
|
package/dist/types/plugin.d.mts
CHANGED
|
@@ -1,2 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { TransformOptions } from "oxc-transform";
|
|
2
|
+
import { UserConfig } from "powerlines/types/config";
|
|
3
|
+
import { PluginContext } from "powerlines/types/context";
|
|
4
|
+
import { ResolvedConfig } from "powerlines/types/resolved";
|
|
5
|
+
|
|
6
|
+
//#region src/types/plugin.d.ts
|
|
7
|
+
type OxcTransformPluginOptions = Partial<TransformOptions>;
|
|
8
|
+
type OxcTransformPluginUserConfig = UserConfig & {
|
|
9
|
+
transform?: {
|
|
10
|
+
oxc?: OxcTransformPluginOptions;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
type OxcTransformPluginResolvedConfig = ResolvedConfig & {
|
|
14
|
+
transform?: {
|
|
15
|
+
oxc?: OxcTransformPluginOptions;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
type OxcTransformPluginContext<TResolvedConfig extends OxcTransformPluginResolvedConfig = OxcTransformPluginResolvedConfig> = PluginContext<TResolvedConfig>;
|
|
19
|
+
declare type __ΩOxcTransformPluginOptions = any[];
|
|
20
|
+
declare type __ΩOxcTransformPluginUserConfig = any[];
|
|
21
|
+
declare type __ΩOxcTransformPluginResolvedConfig = any[];
|
|
22
|
+
declare type __ΩOxcTransformPluginContext = any[];
|
|
23
|
+
//#endregion
|
|
24
|
+
export { OxcTransformPluginContext, OxcTransformPluginOptions, OxcTransformPluginResolvedConfig, OxcTransformPluginUserConfig, __ΩOxcTransformPluginContext, __ΩOxcTransformPluginOptions, __ΩOxcTransformPluginResolvedConfig, __ΩOxcTransformPluginUserConfig };
|
|
25
|
+
//# sourceMappingURL=plugin.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin.d.mts","names":[],"sources":["../../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;;KAuBY,yBAAA,GAA4B,QAAQ;KAEpC,4BAAA,GAA+B;EAF/B,SAAA,CAAA,EAAA;IAEA,GAAA,CAAA,EAEF,yBAF8B;EAM5B,CAAA;AAMZ,CAAA;AAC0B,KAPd,gCAAA,GAAmC,cAOrB,GAAA;EACtB,SAAA,CAAA,EAAA;IACc,GAAA,CAAA,EAPR,yBAOQ;EAAd,CAAA;CAAa;KAHL,kDACc,mCACtB,oCACA,cAAc"}
|
package/dist/types/plugin.mjs
CHANGED
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.264",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A Powerlines plugin to transform project code with Oxc Transformer.",
|
|
6
6
|
"repository": {
|
|
@@ -97,13 +97,13 @@
|
|
|
97
97
|
"@stryke/path": "^0.26.4",
|
|
98
98
|
"defu": "^6.1.4",
|
|
99
99
|
"oxc-transform": "^0.99.0",
|
|
100
|
-
"powerlines": "^0.38.
|
|
100
|
+
"powerlines": "^0.38.22"
|
|
101
101
|
},
|
|
102
102
|
"devDependencies": {
|
|
103
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
103
|
+
"@powerlines/plugin-plugin": "^0.12.206",
|
|
104
104
|
"@types/node": "^24.10.9"
|
|
105
105
|
},
|
|
106
106
|
"publishConfig": { "access": "public" },
|
|
107
107
|
"types": "./dist/index.d.cts",
|
|
108
|
-
"gitHead": "
|
|
108
|
+
"gitHead": "02ca3097aeae5f5bb4838b4263e8cf7cc44fa3bd"
|
|
109
109
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
package/dist/plugin-C3MaN5jp.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { TransformOptions } from "oxc-transform";
|
|
2
|
-
import { UserConfig } from "powerlines/types/config";
|
|
3
|
-
import { PluginContext } from "powerlines/types/context";
|
|
4
|
-
import { ResolvedConfig } from "powerlines/types/resolved";
|
|
5
|
-
|
|
6
|
-
//#region src/types/plugin.d.ts
|
|
7
|
-
type OxcTransformPluginOptions = Partial<TransformOptions>;
|
|
8
|
-
type OxcTransformPluginUserConfig = UserConfig & {
|
|
9
|
-
transform?: {
|
|
10
|
-
oxc?: OxcTransformPluginOptions;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
type OxcTransformPluginResolvedConfig = ResolvedConfig & {
|
|
14
|
-
transform?: {
|
|
15
|
-
oxc?: OxcTransformPluginOptions;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
type OxcTransformPluginContext<TResolvedConfig extends OxcTransformPluginResolvedConfig = OxcTransformPluginResolvedConfig> = PluginContext<TResolvedConfig>;
|
|
19
|
-
declare type __ΩOxcTransformPluginOptions = any[];
|
|
20
|
-
declare type __ΩOxcTransformPluginUserConfig = any[];
|
|
21
|
-
declare type __ΩOxcTransformPluginResolvedConfig = any[];
|
|
22
|
-
declare type __ΩOxcTransformPluginContext = any[];
|
|
23
|
-
//#endregion
|
|
24
|
-
export { __ΩOxcTransformPluginContext as a, __ΩOxcTransformPluginUserConfig as c, OxcTransformPluginUserConfig as i, OxcTransformPluginOptions as n, __ΩOxcTransformPluginOptions as o, OxcTransformPluginResolvedConfig as r, __ΩOxcTransformPluginResolvedConfig as s, OxcTransformPluginContext as t };
|
|
25
|
-
//# sourceMappingURL=plugin-C3XCW41B.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-C3XCW41B.d.mts","names":[],"sources":["../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;;KAuBY,yBAAA,GAA4B,QAAQ;KAEpC,4BAAA,GAA+B;EAF/B,SAAA,CAAA,EAAA;IAEA,GAAA,CAAA,EAEF,yBAF8B;EAM5B,CAAA;AAMZ,CAAA;AAC0B,KAPd,gCAAA,GAAmC,cAOrB,GAAA;EACtB,SAAA,CAAA,EAAA;IACc,GAAA,CAAA,EAPR,yBAOQ;EAAd,CAAA;CAAa;KAHL,kDACc,mCACtB,oCACA,cAAc"}
|
package/dist/plugin-DHXHjv16.cjs
DELETED
|
File without changes
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { TransformOptions } from "oxc-transform";
|
|
2
|
-
import { UserConfig } from "powerlines/types/config";
|
|
3
|
-
import { PluginContext } from "powerlines/types/context";
|
|
4
|
-
import { ResolvedConfig } from "powerlines/types/resolved";
|
|
5
|
-
|
|
6
|
-
//#region src/types/plugin.d.ts
|
|
7
|
-
type OxcTransformPluginOptions = Partial<TransformOptions>;
|
|
8
|
-
type OxcTransformPluginUserConfig = UserConfig & {
|
|
9
|
-
transform?: {
|
|
10
|
-
oxc?: OxcTransformPluginOptions;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
type OxcTransformPluginResolvedConfig = ResolvedConfig & {
|
|
14
|
-
transform?: {
|
|
15
|
-
oxc?: OxcTransformPluginOptions;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
type OxcTransformPluginContext<TResolvedConfig extends OxcTransformPluginResolvedConfig = OxcTransformPluginResolvedConfig> = PluginContext<TResolvedConfig>;
|
|
19
|
-
declare type __ΩOxcTransformPluginOptions = any[];
|
|
20
|
-
declare type __ΩOxcTransformPluginUserConfig = any[];
|
|
21
|
-
declare type __ΩOxcTransformPluginResolvedConfig = any[];
|
|
22
|
-
declare type __ΩOxcTransformPluginContext = any[];
|
|
23
|
-
//#endregion
|
|
24
|
-
export { __ΩOxcTransformPluginContext as a, __ΩOxcTransformPluginUserConfig as c, OxcTransformPluginUserConfig as i, OxcTransformPluginOptions as n, __ΩOxcTransformPluginOptions as o, OxcTransformPluginResolvedConfig as r, __ΩOxcTransformPluginResolvedConfig as s, OxcTransformPluginContext as t };
|
|
25
|
-
//# sourceMappingURL=plugin-UrDAQfV1.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-UrDAQfV1.d.cts","names":[],"sources":["../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;;KAuBY,yBAAA,GAA4B,QAAQ;KAEpC,4BAAA,GAA+B;EAF/B,SAAA,CAAA,EAAA;IAEA,GAAA,CAAA,EAEF,yBAF8B;EAM5B,CAAA;AAMZ,CAAA;AAC0B,KAPd,gCAAA,GAAmC,cAOrB,GAAA;EACtB,SAAA,CAAA,EAAA;IACc,GAAA,CAAA,EAPR,yBAOQ;EAAd,CAAA;CAAa;KAHL,kDACc,mCACtB,oCACA,cAAc"}
|
package/dist/types-CTUnla4x.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
package/dist/types-DHkg7xmX.cjs
DELETED
|
File without changes
|