@powerlines/plugin-untyped 0.2.21 → 0.2.22
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 +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +8 -8
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,`__esModule`,{value:!0});const e=require(`./powerlines/src/plugin-utils/paths.cjs`);let t=require(`@storm-software/untyped/generate`),n=require(`@stryke/convert/to-array`);const r=(r={})=>({name:`untyped`,config(){return{untyped:{schema:`{projectRoot}/**/{untyped.ts,*.untyped.ts}`,...r}}},async configResolved(){if(!this.config.untyped.schema)throw Error(`Untyped plugin requires a schema path or glob pattern to be specified in the configuration.`);this.config.untyped.schema=(0,n.toArray)(this.config.untyped.schema).map(t=>e.replacePathTokens(this,t)),this.untyped
|
|
1
|
+
Object.defineProperty(exports,`__esModule`,{value:!0});const e=require(`./powerlines/src/plugin-utils/paths.cjs`);let t=require(`@storm-software/untyped/generate`),n=require(`@stryke/convert/to-array`);const r=(r={})=>({name:`untyped`,config(){return{untyped:{schema:`{projectRoot}/**/{untyped.ts,*.untyped.ts}`,...r}}},async configResolved(){if(!this.config.untyped.schema)throw Error(`Untyped plugin requires a schema path or glob pattern to be specified in the configuration.`);this.config.untyped.schema=(0,n.toArray)(this.config.untyped.schema).map(t=>e.replacePathTokens(this,t)),this.untyped=(0,t.getGenerateAction)(this.workspaceConfig)},async prepare(){return this.untyped({entry:this.config.untyped.schema,outputPath:this.config.untyped.outputPath,generatedBy:this.config.framework})}});var i=r;exports.default=i,exports.plugin=r;
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{replacePathTokens as e}from"./powerlines/src/plugin-utils/paths.mjs";import{getGenerateAction as t}from"@storm-software/untyped/generate";import{toArray as n}from"@stryke/convert/to-array";const r=(r={})=>({name:`untyped`,config(){return{untyped:{schema:`{projectRoot}/**/{untyped.ts,*.untyped.ts}`,...r}}},async configResolved(){if(!this.config.untyped.schema)throw Error(`Untyped plugin requires a schema path or glob pattern to be specified in the configuration.`);this.config.untyped.schema=n(this.config.untyped.schema).map(t=>e(this,t)),this.untyped
|
|
1
|
+
import{replacePathTokens as e}from"./powerlines/src/plugin-utils/paths.mjs";import{getGenerateAction as t}from"@storm-software/untyped/generate";import{toArray as n}from"@stryke/convert/to-array";const r=(r={})=>({name:`untyped`,config(){return{untyped:{schema:`{projectRoot}/**/{untyped.ts,*.untyped.ts}`,...r}}},async configResolved(){if(!this.config.untyped.schema)throw Error(`Untyped plugin requires a schema path or glob pattern to be specified in the configuration.`);this.config.untyped.schema=n(this.config.untyped.schema).map(t=>e(this,t)),this.untyped=t(this.workspaceConfig)},async prepare(){return this.untyped({entry:this.config.untyped.schema,outputPath:this.config.untyped.outputPath,generatedBy:this.config.framework})}});var i=r;export{i as default,r as plugin};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-untyped",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.22",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A Powerlines plugin to use Untyped for code generation based on user-defined schemas.",
|
|
6
6
|
"repository": {
|
|
@@ -117,18 +117,18 @@
|
|
|
117
117
|
"files": ["dist/**/*"],
|
|
118
118
|
"keywords": ["untyped", "powerlines", "storm-software", "powerlines-plugin"],
|
|
119
119
|
"dependencies": {
|
|
120
|
-
"@stryke/convert": "^0.6.
|
|
120
|
+
"@stryke/convert": "^0.6.26",
|
|
121
121
|
"defu": "^6.1.4",
|
|
122
122
|
"jiti": "^2.6.1",
|
|
123
|
-
"@storm-software/untyped": "^0.24.
|
|
124
|
-
"powerlines": "^0.
|
|
123
|
+
"@storm-software/untyped": "^0.24.50",
|
|
124
|
+
"powerlines": "^0.32.0"
|
|
125
125
|
},
|
|
126
126
|
"devDependencies": {
|
|
127
|
-
"@storm-software/config": "^1.134.
|
|
128
|
-
"@powerlines/nx": "^0.11.
|
|
129
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
127
|
+
"@storm-software/config": "^1.134.69",
|
|
128
|
+
"@powerlines/nx": "^0.11.1",
|
|
129
|
+
"@powerlines/plugin-plugin": "^0.12.22",
|
|
130
130
|
"@types/node": "^24.10.4"
|
|
131
131
|
},
|
|
132
132
|
"publishConfig": { "access": "public" },
|
|
133
|
-
"gitHead": "
|
|
133
|
+
"gitHead": "01a7b230b94206dbec31d64191109d609c7f2e56"
|
|
134
134
|
}
|