@powerlines/plugin-untyped 0.1.15 → 0.1.19
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-BqxWFbXS.d.cts → index-BhwCDtp1.d.cts} +12 -3
- package/dist/{index-BqxWFbXS.d.ts → index-BhwCDtp1.d.ts} +12 -3
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- 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
|
*
|
|
@@ -1416,7 +1425,7 @@ interface UntypedPluginOptions {
|
|
|
1416
1425
|
/**
|
|
1417
1426
|
* A path or glob pattern (or an array of paths and glob patterns) to schemas containing the Untyped type definitions used during generation.
|
|
1418
1427
|
*
|
|
1419
|
-
* @defaultValue "
|
|
1428
|
+
* @defaultValue "**\/\{untyped.ts,*.untyped.ts\}"
|
|
1420
1429
|
*/
|
|
1421
1430
|
schema?: string | string[];
|
|
1422
1431
|
/**
|
|
@@ -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
|
*
|
|
@@ -1416,7 +1425,7 @@ interface UntypedPluginOptions {
|
|
|
1416
1425
|
/**
|
|
1417
1426
|
* A path or glob pattern (or an array of paths and glob patterns) to schemas containing the Untyped type definitions used during generation.
|
|
1418
1427
|
*
|
|
1419
|
-
* @defaultValue "
|
|
1428
|
+
* @defaultValue "**\/\{untyped.ts,*.untyped.ts\}"
|
|
1420
1429
|
*/
|
|
1421
1430
|
schema?: string | string[];
|
|
1422
1431
|
/**
|
package/dist/index.cjs
CHANGED
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
*
|
|
5
5
|
*****************************************/
|
|
6
6
|
|
|
7
|
-
var o=Object.defineProperty;var e=(t,n)=>o(t,"name",{value:n,configurable:true});const r=e(t=>({name:"untyped",config(){return {untyped:{schema:"**/{untyped.ts,*.untyped.ts}",...t}}},async configResolved(){this.untyped??=generate.getGenerateAction(this.workspaceConfig);},async prepare(){return this.untyped({entry:this.config.untyped.schema,outputPath:this.config.untyped.outputPath,generatedBy:this.config.framework})}}),"plugin");var d=r;exports.default=d;exports.plugin=r;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]}})});
|
|
7
|
+
var o=Object.defineProperty;var e=(t,n)=>o(t,"name",{value:n,configurable:true});const r=e((t={})=>({name:"untyped",config(){return {untyped:{schema:"**/{untyped.ts,*.untyped.ts}",...t}}},async configResolved(){this.untyped??=generate.getGenerateAction(this.workspaceConfig);},async prepare(){return this.untyped({entry:this.config.untyped.schema,outputPath:this.config.untyped.outputPath,generatedBy:this.config.framework})}}),"plugin");var d=r;exports.default=d;exports.plugin=r;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 { U as UntypedPluginContext, a as UntypedPluginOptions, P as Plugin } from './index-
|
|
2
|
-
export { c as UntypedPluginResolvedConfig, b as UntypedPluginUserConfig } from './index-
|
|
1
|
+
import { U as UntypedPluginContext, a as UntypedPluginOptions, P as Plugin } from './index-BhwCDtp1.cjs';
|
|
2
|
+
export { c as UntypedPluginResolvedConfig, b as UntypedPluginUserConfig } from './index-BhwCDtp1.cjs';
|
|
3
3
|
import '@storm-software/untyped/generate';
|
|
4
4
|
import '@storm-software/build-tools/types';
|
|
5
5
|
import '@storm-software/config-tools/types';
|
|
@@ -26,6 +26,6 @@ import '@stryke/types/array';
|
|
|
26
26
|
* @param options - The plugin options.
|
|
27
27
|
* @returns A Powerlines plugin instance.
|
|
28
28
|
*/
|
|
29
|
-
declare const plugin: <TContext extends UntypedPluginContext = UntypedPluginContext>(options
|
|
29
|
+
declare const plugin: <TContext extends UntypedPluginContext = UntypedPluginContext>(options?: UntypedPluginOptions) => Plugin<TContext>;
|
|
30
30
|
|
|
31
31
|
export { UntypedPluginContext, UntypedPluginOptions, plugin as default, plugin };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { U as UntypedPluginContext, a as UntypedPluginOptions, P as Plugin } from './index-
|
|
2
|
-
export { c as UntypedPluginResolvedConfig, b as UntypedPluginUserConfig } from './index-
|
|
1
|
+
import { U as UntypedPluginContext, a as UntypedPluginOptions, P as Plugin } from './index-BhwCDtp1.js';
|
|
2
|
+
export { c as UntypedPluginResolvedConfig, b as UntypedPluginUserConfig } from './index-BhwCDtp1.js';
|
|
3
3
|
import '@storm-software/untyped/generate';
|
|
4
4
|
import '@storm-software/build-tools/types';
|
|
5
5
|
import '@storm-software/config-tools/types';
|
|
@@ -26,6 +26,6 @@ import '@stryke/types/array';
|
|
|
26
26
|
* @param options - The plugin options.
|
|
27
27
|
* @returns A Powerlines plugin instance.
|
|
28
28
|
*/
|
|
29
|
-
declare const plugin: <TContext extends UntypedPluginContext = UntypedPluginContext>(options
|
|
29
|
+
declare const plugin: <TContext extends UntypedPluginContext = UntypedPluginContext>(options?: UntypedPluginOptions) => Plugin<TContext>;
|
|
30
30
|
|
|
31
31
|
export { UntypedPluginContext, UntypedPluginOptions, plugin as default, plugin };
|
package/dist/index.js
CHANGED
|
@@ -4,4 +4,4 @@ import {getGenerateAction}from'@storm-software/untyped/generate';export*from'./t
|
|
|
4
4
|
*
|
|
5
5
|
*****************************************/
|
|
6
6
|
|
|
7
|
-
var o=Object.defineProperty;var e=(t,n)=>o(t,"name",{value:n,configurable:true});const r=e(t=>({name:"untyped",config(){return {untyped:{schema:"**/{untyped.ts,*.untyped.ts}",...t}}},async configResolved(){this.untyped??=getGenerateAction(this.workspaceConfig);},async prepare(){return this.untyped({entry:this.config.untyped.schema,outputPath:this.config.untyped.outputPath,generatedBy:this.config.framework})}}),"plugin");var f=r;export{f as default,r as plugin};
|
|
7
|
+
var o=Object.defineProperty;var e=(t,n)=>o(t,"name",{value:n,configurable:true});const r=e((t={})=>({name:"untyped",config(){return {untyped:{schema:"**/{untyped.ts,*.untyped.ts}",...t}}},async configResolved(){this.untyped??=getGenerateAction(this.workspaceConfig);},async prepare(){return this.untyped({entry:this.config.untyped.schema,outputPath:this.config.untyped.outputPath,generatedBy:this.config.framework})}}),"plugin");var f=r;export{f as default,r as plugin};
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { U as UntypedPluginContext, a as UntypedPluginOptions, c as UntypedPluginResolvedConfig, b as UntypedPluginUserConfig } from '../index-
|
|
1
|
+
export { U as UntypedPluginContext, a as UntypedPluginOptions, c as UntypedPluginResolvedConfig, b as UntypedPluginUserConfig } from '../index-BhwCDtp1.cjs';
|
|
2
2
|
import '@storm-software/untyped/generate';
|
|
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 { U as UntypedPluginContext, a as UntypedPluginOptions, c as UntypedPluginResolvedConfig, b as UntypedPluginUserConfig } from '../index-
|
|
1
|
+
export { U as UntypedPluginContext, a as UntypedPluginOptions, c as UntypedPluginResolvedConfig, b as UntypedPluginUserConfig } from '../index-BhwCDtp1.js';
|
|
2
2
|
import '@storm-software/untyped/generate';
|
|
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 '@storm-software/untyped/generate';
|
|
2
|
-
export { U as UntypedPluginContext, a as UntypedPluginOptions, c as UntypedPluginResolvedConfig, b as UntypedPluginUserConfig } from '../index-
|
|
2
|
+
export { U as UntypedPluginContext, a as UntypedPluginOptions, c as UntypedPluginResolvedConfig, b as UntypedPluginUserConfig } from '../index-BhwCDtp1.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 '@storm-software/untyped/generate';
|
|
2
|
-
export { U as UntypedPluginContext, a as UntypedPluginOptions, c as UntypedPluginResolvedConfig, b as UntypedPluginUserConfig } from '../index-
|
|
2
|
+
export { U as UntypedPluginContext, a as UntypedPluginOptions, c as UntypedPluginResolvedConfig, b as UntypedPluginUserConfig } from '../index-BhwCDtp1.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-untyped",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.19",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A Powerlines plugin to use Untyped for code generation based on user-defined schemas.",
|
|
6
6
|
"repository": {
|
|
@@ -108,14 +108,14 @@
|
|
|
108
108
|
"defu": "^6.1.4",
|
|
109
109
|
"jiti": "^2.6.1",
|
|
110
110
|
"@storm-software/untyped": "^0.24.21",
|
|
111
|
-
"powerlines": "^0.
|
|
111
|
+
"powerlines": "^0.23.2"
|
|
112
112
|
},
|
|
113
113
|
"devDependencies": {
|
|
114
114
|
"@storm-software/config": "^1.134.40",
|
|
115
|
-
"@powerlines/nx": "^0.10.
|
|
116
|
-
"@powerlines/plugin-plugin": "^0.11.
|
|
115
|
+
"@powerlines/nx": "^0.10.19",
|
|
116
|
+
"@powerlines/plugin-plugin": "^0.11.27",
|
|
117
117
|
"@types/node": "^22.19.1"
|
|
118
118
|
},
|
|
119
119
|
"publishConfig": { "access": "public" },
|
|
120
|
-
"gitHead": "
|
|
120
|
+
"gitHead": "628334bf5e96fa739c6a2b0a325f133ea928b530"
|
|
121
121
|
}
|