@power-plant/core 0.0.46 → 0.0.48
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/{execute-C9mHR-iy.mjs → execute-BrWsSTIy.mjs} +4 -3
- package/dist/execute-BrWsSTIy.mjs.map +1 -0
- package/dist/{execute-BI8gzVAM.cjs → execute-kJaW66xG.cjs} +3 -2
- package/dist/execute.cjs +1 -1
- package/dist/execute.mjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +4 -4
- package/dist/execute-C9mHR-iy.mjs.map +0 -1
|
@@ -297,8 +297,9 @@ async function createGenerator(executionId, sessionContext, config, options = {}
|
|
|
297
297
|
fs: mapStorageToFileSystem(sessionContext.storage),
|
|
298
298
|
...options
|
|
299
299
|
});
|
|
300
|
-
|
|
301
|
-
|
|
300
|
+
const schemaConfig = configObject.schema ?? {};
|
|
301
|
+
configObject.schema = schemaConfig;
|
|
302
|
+
const schema = await createSchema(schemaConfig, {
|
|
302
303
|
storage: sessionContext.storage,
|
|
303
304
|
logger: sessionContext.logger,
|
|
304
305
|
tsconfig: options.tsconfig,
|
|
@@ -459,4 +460,4 @@ async function execute(config, options = {}) {
|
|
|
459
460
|
|
|
460
461
|
//#endregion
|
|
461
462
|
export { execute as n, createExecute as t };
|
|
462
|
-
//# sourceMappingURL=execute-
|
|
463
|
+
//# sourceMappingURL=execute-BrWsSTIy.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execute-BrWsSTIy.mjs","names":[],"sources":[],"mappings":""}
|
|
@@ -327,8 +327,9 @@ async function createGenerator(executionId, sessionContext, config, options = {}
|
|
|
327
327
|
fs: (0, _power_plant_schema_storage.mapStorageToFileSystem)(sessionContext.storage),
|
|
328
328
|
...options
|
|
329
329
|
});
|
|
330
|
-
|
|
331
|
-
|
|
330
|
+
const schemaConfig = configObject.schema ?? {};
|
|
331
|
+
configObject.schema = schemaConfig;
|
|
332
|
+
const schema = await createSchema(schemaConfig, {
|
|
332
333
|
storage: sessionContext.storage,
|
|
333
334
|
logger: sessionContext.logger,
|
|
334
335
|
tsconfig: options.tsconfig,
|
package/dist/execute.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_execute = require('./execute-
|
|
2
|
+
const require_execute = require('./execute-kJaW66xG.cjs');
|
|
3
3
|
require('./context.cjs');
|
|
4
4
|
|
|
5
5
|
exports.createExecute = require_execute.createExecute;
|
package/dist/execute.mjs
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_execute = require('./execute-
|
|
2
|
+
const require_execute = require('./execute-kJaW66xG.cjs');
|
|
3
3
|
const require_config = require('./config.cjs');
|
|
4
4
|
const require_context = require('./context.cjs');
|
|
5
5
|
const require_define = require('./define.cjs');
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineConfig } from "./config.mjs";
|
|
2
2
|
import { callAsyncExecution, callAsyncExecutionContext, callAsyncSession, callAsyncSessionContext, callExecution, callExecutionContext, callSession, callSessionContext, executionAsyncLocalStorage, executionContext, sessionAsyncLocalStorage, sessionContext, tryUseExecution, tryUseExecutionContext, tryUseSession, tryUseSessionContext, useContext, useExecution, useExecutionContext, useSession, useSessionContext } from "./context.mjs";
|
|
3
3
|
import { defineGenerator, defineInput, defineOutput, defineSchema } from "./define.mjs";
|
|
4
|
-
import { n as execute, t as createExecute } from "./execute-
|
|
4
|
+
import { n as execute, t as createExecute } from "./execute-BrWsSTIy.mjs";
|
|
5
5
|
|
|
6
6
|
export { callAsyncExecution, callAsyncExecutionContext, callAsyncSession, callAsyncSessionContext, callExecution, callExecutionContext, callSession, callSessionContext, createExecute, defineConfig, defineGenerator, defineInput, defineOutput, defineSchema, execute, executionAsyncLocalStorage, executionContext, sessionAsyncLocalStorage, sessionContext, tryUseExecution, tryUseExecutionContext, tryUseSession, tryUseSessionContext, useContext, useExecution, useExecutionContext, useSession, useSessionContext };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@power-plant/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.48",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "☢️ Generate anything from a specification",
|
|
6
6
|
"keywords": ["power-plant", "storm-software"],
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
"typings": "dist/index.d.mts",
|
|
161
161
|
"files": ["dist"],
|
|
162
162
|
"dependencies": {
|
|
163
|
-
"@power-plant/schema": "^0.0.
|
|
163
|
+
"@power-plant/schema": "^0.0.46",
|
|
164
164
|
"@stryke/string-format": "^0.17.40",
|
|
165
165
|
"@stryke/type-checks": "^0.6.31",
|
|
166
166
|
"@stryke/types": "^0.12.26",
|
|
@@ -179,10 +179,10 @@
|
|
|
179
179
|
"unstorage": "^1.17.5"
|
|
180
180
|
},
|
|
181
181
|
"devDependencies": {
|
|
182
|
-
"@powerlines/plugin-tsdown": "^0.1.
|
|
182
|
+
"@powerlines/plugin-tsdown": "^0.1.566",
|
|
183
183
|
"@types/node": "^25.9.5",
|
|
184
184
|
"typescript": "^6.0.3"
|
|
185
185
|
},
|
|
186
186
|
"publishConfig": { "access": "public" },
|
|
187
|
-
"gitHead": "
|
|
187
|
+
"gitHead": "24f21b2113bc657f4207ab6fee0c7f80901a5a9d"
|
|
188
188
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"execute-C9mHR-iy.mjs","names":[],"sources":[],"mappings":""}
|