@powerlines/plugin-untyped 0.2.630 → 0.2.632
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 +2 -3
- 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 +5 -5
package/dist/index.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
require(
|
|
2
|
+
require("./types/index.cjs");
|
|
3
3
|
let _storm_software_untyped_generate = require("@storm-software/untyped/generate");
|
|
4
4
|
let _stryke_convert_to_array = require("@stryke/convert/to-array");
|
|
5
5
|
let powerlines_plugin_utils = require("powerlines/plugin-utils");
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
// src/index.ts
|
|
8
8
|
/**
|
|
9
9
|
* A Powerlines plugin to use Untyped for code generation based on user-defined schemas.
|
|
10
10
|
*
|
|
@@ -40,5 +40,4 @@ const plugin = (options = {}) => {
|
|
|
40
40
|
};
|
|
41
41
|
};
|
|
42
42
|
|
|
43
|
-
//#endregion
|
|
44
43
|
exports.plugin = plugin;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { UntypedPluginContext, UntypedPluginOptions, UntypedPluginResolvedConfig, UntypedPluginUserConfig } 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
|
untyped?: UntypedPluginOptions;
|
|
@@ -14,6 +13,5 @@ declare module "powerlines" {
|
|
|
14
13
|
* @returns A Powerlines plugin instance.
|
|
15
14
|
*/
|
|
16
15
|
declare const plugin: <TContext extends UntypedPluginContext = UntypedPluginContext>(options?: UntypedPluginOptions) => Plugin<TContext>;
|
|
17
|
-
//#endregion
|
|
18
16
|
export { UntypedPluginContext, UntypedPluginOptions, UntypedPluginResolvedConfig, UntypedPluginUserConfig, 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":";;;;YA2BY;IACR,UAAU;;;;;;;;;cAUD,SACX,iBAAiB,uBAAuB,sBAExC,UAAS,yBACR,OAAO"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { UntypedPluginContext, UntypedPluginOptions, UntypedPluginResolvedConfig, UntypedPluginUserConfig } 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
|
untyped?: UntypedPluginOptions;
|
|
@@ -14,6 +13,5 @@ declare module "powerlines" {
|
|
|
14
13
|
* @returns A Powerlines plugin instance.
|
|
15
14
|
*/
|
|
16
15
|
declare const plugin: <TContext extends UntypedPluginContext = UntypedPluginContext>(options?: UntypedPluginOptions) => Plugin<TContext>;
|
|
17
|
-
//#endregion
|
|
18
16
|
export { UntypedPluginContext, UntypedPluginOptions, UntypedPluginResolvedConfig, UntypedPluginUserConfig, plugin };
|
|
19
17
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import { getGenerateAction } from "@storm-software/untyped/generate";
|
|
|
3
3
|
import { toArray } from "@stryke/convert/to-array";
|
|
4
4
|
import { replacePathTokens } from "powerlines/plugin-utils";
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
// src/index.ts
|
|
7
7
|
/**
|
|
8
8
|
* A Powerlines plugin to use Untyped for code generation based on user-defined schemas.
|
|
9
9
|
*
|
|
@@ -39,6 +39,5 @@ const plugin = (options = {}) => {
|
|
|
39
39
|
};
|
|
40
40
|
};
|
|
41
41
|
|
|
42
|
-
//#endregion
|
|
43
42
|
export { plugin };
|
|
44
43
|
//# 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 { getGenerateAction } from "@storm-software/untyped/generate";
|
|
3
|
-
//#region src/types/plugin.d.ts
|
|
4
3
|
interface UntypedPluginOptions {
|
|
5
4
|
/**
|
|
6
5
|
* A path or glob pattern (or an array of paths and glob patterns) to schemas containing the Untyped type definitions used during generation.
|
|
@@ -25,6 +24,5 @@ interface UntypedPluginResolvedConfig extends ResolvedConfig {
|
|
|
25
24
|
interface UntypedPluginContext<TResolvedConfig extends UntypedPluginResolvedConfig = UntypedPluginResolvedConfig> extends PluginContext<TResolvedConfig> {
|
|
26
25
|
untyped: ReturnType<typeof getGenerateAction>;
|
|
27
26
|
}
|
|
28
|
-
//#endregion
|
|
29
27
|
export { UntypedPluginContext, UntypedPluginOptions, UntypedPluginResolvedConfig, UntypedPluginUserConfig };
|
|
30
28
|
//# 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":";;UAqBiB;;;;;;EAMf;;;;;;;EAQA;;UAGe,gCAAgC;EAC/C,UAAU;;UAGK,oCAAoC;EACnD,SAAS;;UAGM,qBACf,wBAAwB,8BACtB,qCACM,cAAc;EACtB,SAAS,kBAAkB"}
|
package/dist/types/plugin.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { getGenerateAction } from "@storm-software/untyped/generate";
|
|
2
2
|
import { PluginContext, ResolvedConfig, UserConfig } from "powerlines";
|
|
3
|
-
//#region src/types/plugin.d.ts
|
|
4
3
|
interface UntypedPluginOptions {
|
|
5
4
|
/**
|
|
6
5
|
* A path or glob pattern (or an array of paths and glob patterns) to schemas containing the Untyped type definitions used during generation.
|
|
@@ -25,6 +24,5 @@ interface UntypedPluginResolvedConfig extends ResolvedConfig {
|
|
|
25
24
|
interface UntypedPluginContext<TResolvedConfig extends UntypedPluginResolvedConfig = UntypedPluginResolvedConfig> extends PluginContext<TResolvedConfig> {
|
|
26
25
|
untyped: ReturnType<typeof getGenerateAction>;
|
|
27
26
|
}
|
|
28
|
-
//#endregion
|
|
29
27
|
export { UntypedPluginContext, UntypedPluginOptions, UntypedPluginResolvedConfig, UntypedPluginUserConfig };
|
|
30
28
|
//# sourceMappingURL=plugin.d.mts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-untyped",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.632",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A Powerlines plugin to use Untyped for code generation based on user-defined schemas.",
|
|
6
6
|
"repository": {
|
|
@@ -89,16 +89,16 @@
|
|
|
89
89
|
"files": ["dist"],
|
|
90
90
|
"keywords": ["untyped", "powerlines", "powerlines-plugin"],
|
|
91
91
|
"dependencies": {
|
|
92
|
-
"@storm-software/untyped": "^0.24.
|
|
92
|
+
"@storm-software/untyped": "^0.24.293",
|
|
93
93
|
"@stryke/convert": "^0.7.47",
|
|
94
|
-
"powerlines": "^0.47.
|
|
94
|
+
"powerlines": "^0.47.216",
|
|
95
95
|
"untyped": "^1.5.2"
|
|
96
96
|
},
|
|
97
97
|
"devDependencies": {
|
|
98
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
98
|
+
"@powerlines/plugin-plugin": "^0.12.629",
|
|
99
99
|
"@types/node": "^25.9.9"
|
|
100
100
|
},
|
|
101
101
|
"publishConfig": { "access": "public" },
|
|
102
102
|
"types": "./dist/index.d.cts",
|
|
103
|
-
"gitHead": "
|
|
103
|
+
"gitHead": "75efa1cc4eb8bc90093202669065576aa70fbfef"
|
|
104
104
|
}
|