@powerlines/plugin-oxc-transform 0.5.25 → 0.5.28
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-D6LfVDQr.d.cts → index-4Hgfm6iY.d.cts} +11 -2
- package/dist/{index-D6LfVDQr.d.ts → index-4Hgfm6iY.d.ts} +11 -2
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/plugin.d.cts +1 -1
- package/dist/types/plugin.d.ts +1 -1
- package/package.json +5 -5
|
@@ -218,8 +218,8 @@ type ParsedTypeScriptConfig = ts.ParsedCommandLine & {
|
|
|
218
218
|
tsconfigFilePath: string;
|
|
219
219
|
};
|
|
220
220
|
|
|
221
|
-
declare const __VFS_PATCH__
|
|
222
|
-
declare const __VFS_REVERT__
|
|
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
|
*
|
|
@@ -218,8 +218,8 @@ type ParsedTypeScriptConfig = ts.ParsedCommandLine & {
|
|
|
218
218
|
tsconfigFilePath: string;
|
|
219
219
|
};
|
|
220
220
|
|
|
221
|
-
declare const __VFS_PATCH__
|
|
222
|
-
declare const __VFS_REVERT__
|
|
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
|
*
|
package/dist/index.cjs
CHANGED
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
*
|
|
5
5
|
*****************************************/
|
|
6
6
|
|
|
7
|
-
var e=Object.defineProperty;var s=(n,t)=>e(n,"name",{value:t,configurable:true});const c=s((n={})=>({name:"oxc-transform",config(){return {transform:{oxc:f__default.default(n,{sourceType:"module",cwd:this.config.projectRoot,envName:this.config.mode,outputPath:this.config.output.
|
|
7
|
+
var e=Object.defineProperty;var s=(n,t)=>e(n,"name",{value:t,configurable:true});const c=s((n={})=>({name:"oxc-transform",config(){return {transform:{oxc:f__default.default(n,{sourceType:"module",cwd:this.config.projectRoot,envName:this.config.mode,outputPath:this.config.output.distPath,sourcemap:this.config.mode==="development"})}}},async transform(t,o){const r=await oxcTransform.transformAsync(o,t,{lang:["d.ts","d.cts","d.mts"].includes(find.findFileExtensionSafe(o))?"dts":find.findFileExtension(o),...this.config.transform.oxc});return {id:o,code:r.code,map:r.map}}}),"plugin");var y=c;exports.default=y;exports.plugin=c;Object.keys(types).forEach(function(k){if(k!=='default'&&!Object.prototype.hasOwnProperty.call(exports,k))Object.defineProperty(exports,k,{enumerable:true,get:function(){return types[k]}})});
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { O as OxcTransformPluginContext, a as OxcTransformPluginOptions, P as Plugin } from './index-
|
|
2
|
-
export { c as OxcTransformPluginResolvedConfig, b as OxcTransformPluginUserConfig } from './index-
|
|
1
|
+
import { O as OxcTransformPluginContext, a as OxcTransformPluginOptions, P as Plugin } from './index-4Hgfm6iY.cjs';
|
|
2
|
+
export { c as OxcTransformPluginResolvedConfig, b as OxcTransformPluginUserConfig } from './index-4Hgfm6iY.cjs';
|
|
3
3
|
import 'oxc-transform';
|
|
4
4
|
import '@storm-software/build-tools/types';
|
|
5
5
|
import '@storm-software/config-tools/types';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { O as OxcTransformPluginContext, a as OxcTransformPluginOptions, P as Plugin } from './index-
|
|
2
|
-
export { c as OxcTransformPluginResolvedConfig, b as OxcTransformPluginUserConfig } from './index-
|
|
1
|
+
import { O as OxcTransformPluginContext, a as OxcTransformPluginOptions, P as Plugin } from './index-4Hgfm6iY.js';
|
|
2
|
+
export { c as OxcTransformPluginResolvedConfig, b as OxcTransformPluginUserConfig } from './index-4Hgfm6iY.js';
|
|
3
3
|
import 'oxc-transform';
|
|
4
4
|
import '@storm-software/build-tools/types';
|
|
5
5
|
import '@storm-software/config-tools/types';
|
package/dist/index.js
CHANGED
|
@@ -4,4 +4,4 @@ import {findFileExtension,findFileExtensionSafe}from'@stryke/path/find';import f
|
|
|
4
4
|
*
|
|
5
5
|
*****************************************/
|
|
6
6
|
|
|
7
|
-
var e=Object.defineProperty;var s=(n,t)=>e(n,"name",{value:t,configurable:true});const c=s((n={})=>({name:"oxc-transform",config(){return {transform:{oxc:f(n,{sourceType:"module",cwd:this.config.projectRoot,envName:this.config.mode,outputPath:this.config.output.
|
|
7
|
+
var e=Object.defineProperty;var s=(n,t)=>e(n,"name",{value:t,configurable:true});const c=s((n={})=>({name:"oxc-transform",config(){return {transform:{oxc:f(n,{sourceType:"module",cwd:this.config.projectRoot,envName:this.config.mode,outputPath:this.config.output.distPath,sourcemap:this.config.mode==="development"})}}},async transform(t,o){const r=await transformAsync(o,t,{lang:["d.ts","d.cts","d.mts"].includes(findFileExtensionSafe(o))?"dts":findFileExtension(o),...this.config.transform.oxc});return {id:o,code:r.code,map:r.map}}}),"plugin");var v=c;export{v as default,c as plugin};
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { O as OxcTransformPluginContext, a as OxcTransformPluginOptions, c as OxcTransformPluginResolvedConfig, b as OxcTransformPluginUserConfig } from '../index-
|
|
1
|
+
export { O as OxcTransformPluginContext, a as OxcTransformPluginOptions, c as OxcTransformPluginResolvedConfig, b as OxcTransformPluginUserConfig } from '../index-4Hgfm6iY.cjs';
|
|
2
2
|
import 'oxc-transform';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { O as OxcTransformPluginContext, a as OxcTransformPluginOptions, c as OxcTransformPluginResolvedConfig, b as OxcTransformPluginUserConfig } from '../index-
|
|
1
|
+
export { O as OxcTransformPluginContext, a as OxcTransformPluginOptions, c as OxcTransformPluginResolvedConfig, b as OxcTransformPluginUserConfig } from '../index-4Hgfm6iY.js';
|
|
2
2
|
import 'oxc-transform';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'oxc-transform';
|
|
2
|
-
export { O as OxcTransformPluginContext, a as OxcTransformPluginOptions, c as OxcTransformPluginResolvedConfig, b as OxcTransformPluginUserConfig } from '../index-
|
|
2
|
+
export { O as OxcTransformPluginContext, a as OxcTransformPluginOptions, c as OxcTransformPluginResolvedConfig, b as OxcTransformPluginUserConfig } from '../index-4Hgfm6iY.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/types/plugin.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'oxc-transform';
|
|
2
|
-
export { O as OxcTransformPluginContext, a as OxcTransformPluginOptions, c as OxcTransformPluginResolvedConfig, b as OxcTransformPluginUserConfig } from '../index-
|
|
2
|
+
export { O as OxcTransformPluginContext, a as OxcTransformPluginOptions, c as OxcTransformPluginResolvedConfig, b as OxcTransformPluginUserConfig } from '../index-4Hgfm6iY.js';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
|
5
5
|
import '@storm-software/config/types';
|
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.28",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A Powerlines plugin to transform project code with Oxc Transformer.",
|
|
6
6
|
"repository": {
|
|
@@ -107,13 +107,13 @@
|
|
|
107
107
|
"@stryke/path": "^0.19.2",
|
|
108
108
|
"defu": "^6.1.4",
|
|
109
109
|
"oxc-transform": "^0.95.0",
|
|
110
|
-
"powerlines": "^0.
|
|
110
|
+
"powerlines": "^0.23.2"
|
|
111
111
|
},
|
|
112
112
|
"devDependencies": {
|
|
113
|
-
"@powerlines/nx": "^0.10.
|
|
114
|
-
"@powerlines/plugin-plugin": "^0.11.
|
|
113
|
+
"@powerlines/nx": "^0.10.19",
|
|
114
|
+
"@powerlines/plugin-plugin": "^0.11.27",
|
|
115
115
|
"@types/node": "^22.19.1"
|
|
116
116
|
},
|
|
117
117
|
"publishConfig": { "access": "public" },
|
|
118
|
-
"gitHead": "
|
|
118
|
+
"gitHead": "628334bf5e96fa739c6a2b0a325f133ea928b530"
|
|
119
119
|
}
|