powerlines 0.47.29 → 0.47.30
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/_virtual/_rolldown/runtime.cjs +38 -0
- package/dist/config.cjs +1 -0
- package/dist/config.mjs +2 -0
- package/dist/engine.cjs +19 -0
- package/dist/engine.d.cts +16 -0
- package/dist/engine.d.cts.map +1 -0
- package/dist/engine.d.mts +16 -0
- package/dist/engine.d.mts.map +1 -0
- package/dist/engine.mjs +19 -0
- package/dist/engine.mjs.map +1 -0
- package/dist/index.cjs +29 -16
- package/dist/index.d.cts +5 -15
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +5 -15
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +12 -15
- package/dist/index.mjs.map +1 -1
- package/dist/plugin-utils.cjs +1 -0
- package/dist/plugin-utils.mjs +2 -0
- package/dist/storage.cjs +1 -0
- package/dist/storage.mjs +2 -0
- package/dist/types.d.cts +2 -1
- package/dist/types.d.mts +2 -1
- package/package.json +6 -2
- package/dist/package.cjs +0 -11
- package/dist/package.mjs +0 -6
- package/dist/package.mjs.map +0 -1
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
//#region \0rolldown/runtime.js
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __exportAll = (all, no_symbols) => {
|
|
7
|
+
let target = {};
|
|
8
|
+
for (var name in all) {
|
|
9
|
+
__defProp(target, name, {
|
|
10
|
+
get: all[name],
|
|
11
|
+
enumerable: true
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
if (!no_symbols) {
|
|
15
|
+
__defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
16
|
+
}
|
|
17
|
+
return target;
|
|
18
|
+
};
|
|
19
|
+
var __copyProps = (to, from, except, desc) => {
|
|
20
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
21
|
+
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
22
|
+
key = keys[i];
|
|
23
|
+
if (!__hasOwnProp.call(to, key) && key !== except) {
|
|
24
|
+
__defProp(to, key, {
|
|
25
|
+
get: ((k) => from[k]).bind(null, key),
|
|
26
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
return to;
|
|
32
|
+
};
|
|
33
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
34
|
+
|
|
35
|
+
//#endregion
|
|
36
|
+
|
|
37
|
+
exports.__exportAll = __exportAll;
|
|
38
|
+
exports.__reExport = __reExport;
|
package/dist/config.cjs
CHANGED
package/dist/config.mjs
CHANGED
package/dist/engine.cjs
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
+
let _powerlines_engine = require("@powerlines/engine");
|
|
3
|
+
let _stryke_string_format_title_case = require("@stryke/string-format/title-case");
|
|
4
|
+
|
|
5
|
+
//#region src/engine.ts
|
|
6
|
+
/**
|
|
7
|
+
* Creates a new {@link PowerlinesEngine} instance.
|
|
8
|
+
*
|
|
9
|
+
* @param options - The user configuration options.
|
|
10
|
+
* @returns A promise that resolves to a {@link PowerlinesEngine} instance.
|
|
11
|
+
*/
|
|
12
|
+
async function createPowerlines(options) {
|
|
13
|
+
const engine = await (0, _powerlines_engine.createEngine)(options);
|
|
14
|
+
engine.context.info(`🔌 ${(0, _stryke_string_format_title_case.titleCase)(engine.context.framework.name)} Engine v${engine.context.framework.version || "1.0.0"} is running...`);
|
|
15
|
+
return engine;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
exports.createPowerlines = createPowerlines;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as _$_powerlines_engine0 from "@powerlines/engine";
|
|
2
|
+
import { EngineOptions } from "@powerlines/engine";
|
|
3
|
+
export * from "@powerlines/engine";
|
|
4
|
+
export * from "@powerlines/engine/context";
|
|
5
|
+
|
|
6
|
+
//#region src/engine.d.ts
|
|
7
|
+
/**
|
|
8
|
+
* Creates a new {@link PowerlinesEngine} instance.
|
|
9
|
+
*
|
|
10
|
+
* @param options - The user configuration options.
|
|
11
|
+
* @returns A promise that resolves to a {@link PowerlinesEngine} instance.
|
|
12
|
+
*/
|
|
13
|
+
declare function createPowerlines(options: Omit<EngineOptions, "framework">): Promise<_$_powerlines_engine0.PowerlinesEngine<readonly string[]>>;
|
|
14
|
+
//#endregion
|
|
15
|
+
export { createPowerlines };
|
|
16
|
+
//# sourceMappingURL=engine.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"engine.d.cts","names":[],"sources":["../src/engine.ts"],"mappings":";;;;;;;;;;;AA+BA;iBAAsB,gBAAA,CACpB,OAAA,EAAS,IAAA,CAAK,aAAA,iBAA2B,OAAA,CAA5B,qBAAA,CAA4B,gBAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as _$_powerlines_engine0 from "@powerlines/engine";
|
|
2
|
+
import { EngineOptions } from "@powerlines/engine";
|
|
3
|
+
export * from "@powerlines/engine";
|
|
4
|
+
export * from "@powerlines/engine/context";
|
|
5
|
+
|
|
6
|
+
//#region src/engine.d.ts
|
|
7
|
+
/**
|
|
8
|
+
* Creates a new {@link PowerlinesEngine} instance.
|
|
9
|
+
*
|
|
10
|
+
* @param options - The user configuration options.
|
|
11
|
+
* @returns A promise that resolves to a {@link PowerlinesEngine} instance.
|
|
12
|
+
*/
|
|
13
|
+
declare function createPowerlines(options: Omit<EngineOptions, "framework">): Promise<_$_powerlines_engine0.PowerlinesEngine<readonly string[]>>;
|
|
14
|
+
//#endregion
|
|
15
|
+
export { createPowerlines };
|
|
16
|
+
//# sourceMappingURL=engine.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"engine.d.mts","names":[],"sources":["../src/engine.ts"],"mappings":";;;;;;;;;;;AA+BA;iBAAsB,gBAAA,CACpB,OAAA,EAAS,IAAA,CAAK,aAAA,iBAA2B,OAAA,CAA5B,qBAAA,CAA4B,gBAAA"}
|
package/dist/engine.mjs
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { createEngine } from "@powerlines/engine";
|
|
2
|
+
import { titleCase } from "@stryke/string-format/title-case";
|
|
3
|
+
|
|
4
|
+
//#region src/engine.ts
|
|
5
|
+
/**
|
|
6
|
+
* Creates a new {@link PowerlinesEngine} instance.
|
|
7
|
+
*
|
|
8
|
+
* @param options - The user configuration options.
|
|
9
|
+
* @returns A promise that resolves to a {@link PowerlinesEngine} instance.
|
|
10
|
+
*/
|
|
11
|
+
async function createPowerlines(options) {
|
|
12
|
+
const engine = await createEngine(options);
|
|
13
|
+
engine.context.info(`🔌 ${titleCase(engine.context.framework.name)} Engine v${engine.context.framework.version || "1.0.0"} is running...`);
|
|
14
|
+
return engine;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
//#endregion
|
|
18
|
+
export { createPowerlines };
|
|
19
|
+
//# sourceMappingURL=engine.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"engine.mjs","names":[],"sources":["../src/engine.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport type { EngineOptions } from \"@powerlines/engine\";\nimport { createEngine } from \"@powerlines/engine\";\nimport { titleCase } from \"@stryke/string-format/title-case\";\n\nexport type * from \"@powerlines/engine\";\nexport type * from \"@powerlines/engine/context\";\n\n/**\n * Creates a new {@link PowerlinesEngine} instance.\n *\n * @param options - The user configuration options.\n * @returns A promise that resolves to a {@link PowerlinesEngine} instance.\n */\nexport async function createPowerlines(\n options: Omit<EngineOptions, \"framework\">\n) {\n const engine = await createEngine(options);\n\n engine.context.info(\n `🔌 ${titleCase(engine.context.framework.name)} Engine v${\n engine.context.framework.version || \"1.0.0\"\n } is running...`\n );\n\n return engine;\n}\n"],"mappings":";;;;;;;;;;AA+BA,eAAsB,iBACpB,SACA;CACA,MAAM,SAAS,MAAM,aAAa,QAAQ;AAE1C,QAAO,QAAQ,KACb,MAAM,UAAU,OAAO,QAAQ,UAAU,KAAK,CAAC,WAC7C,OAAO,QAAQ,UAAU,WAAW,QACrC,gBACF;AAED,QAAO"}
|
package/dist/index.cjs
CHANGED
|
@@ -1,20 +1,33 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
const require_runtime = require('./_virtual/_rolldown/runtime.cjs');
|
|
2
|
+
require('./config.cjs');
|
|
3
|
+
require('./plugin-utils.cjs');
|
|
4
|
+
require('./storage.cjs');
|
|
5
5
|
|
|
6
6
|
//#region src/index.ts
|
|
7
|
-
|
|
8
|
-
* Creates a new {@link PowerlinesEngine} instance.
|
|
9
|
-
*
|
|
10
|
-
* @param options - The user configuration options.
|
|
11
|
-
* @returns A promise that resolves to a {@link PowerlinesEngine} instance.
|
|
12
|
-
*/
|
|
13
|
-
async function createPowerlines(options) {
|
|
14
|
-
const engine = await (0, _powerlines_engine.createEngine)(options);
|
|
15
|
-
engine.context.info(`🔌 ${(0, _stryke_string_format_title_case.titleCase)(engine.context.framework.name)} Engine v${engine.context.framework.version || require_package.version} is running...`);
|
|
16
|
-
return engine;
|
|
17
|
-
}
|
|
7
|
+
var src_exports = /* @__PURE__ */ require_runtime.__exportAll({});
|
|
18
8
|
|
|
19
9
|
//#endregion
|
|
20
|
-
|
|
10
|
+
|
|
11
|
+
var _powerlines_core_lib_config = require("@powerlines/core/lib/config");
|
|
12
|
+
Object.keys(_powerlines_core_lib_config).forEach(function (k) {
|
|
13
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return _powerlines_core_lib_config[k]; }
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
var _powerlines_core_plugin_utils = require("@powerlines/core/plugin-utils");
|
|
20
|
+
Object.keys(_powerlines_core_plugin_utils).forEach(function (k) {
|
|
21
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
get: function () { return _powerlines_core_plugin_utils[k]; }
|
|
24
|
+
});
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
var _powerlines_core_storage = require("@powerlines/core/storage");
|
|
28
|
+
Object.keys(_powerlines_core_storage).forEach(function (k) {
|
|
29
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
30
|
+
enumerable: true,
|
|
31
|
+
get: function () { return _powerlines_core_storage[k]; }
|
|
32
|
+
});
|
|
33
|
+
});
|
package/dist/index.d.cts
CHANGED
|
@@ -1,20 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export * from "@powerlines/
|
|
1
|
+
export * from "@powerlines/core/lib/config";
|
|
2
|
+
export * from "@powerlines/engine/context";
|
|
3
|
+
export * from "@powerlines/core/plugin-utils";
|
|
4
|
+
export * from "@powerlines/core/storage";
|
|
4
5
|
export * from "@powerlines/core";
|
|
6
|
+
export * from "@powerlines/engine/types";
|
|
5
7
|
export * from "@powerlines/unplugin";
|
|
6
8
|
|
|
7
9
|
//#region src/index.d.ts
|
|
8
|
-
declare namespace index_d_exports {
|
|
9
|
-
export { createPowerlines };
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Creates a new {@link PowerlinesEngine} instance.
|
|
13
|
-
*
|
|
14
|
-
* @param options - The user configuration options.
|
|
15
|
-
* @returns A promise that resolves to a {@link PowerlinesEngine} instance.
|
|
16
|
-
*/
|
|
17
|
-
declare function createPowerlines(options: Omit<EngineOptions, "framework">): Promise<_$_powerlines_engine0.PowerlinesEngine<readonly string[]>>;
|
|
18
|
-
//#endregion
|
|
19
|
-
export { createPowerlines };
|
|
20
10
|
//# 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":""}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,20 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export * from "@powerlines/
|
|
1
|
+
export * from "@powerlines/core/lib/config";
|
|
2
|
+
export * from "@powerlines/core/plugin-utils";
|
|
3
|
+
export * from "@powerlines/core/storage";
|
|
4
|
+
export * from "@powerlines/engine/context";
|
|
4
5
|
export * from "@powerlines/core";
|
|
6
|
+
export * from "@powerlines/engine/types";
|
|
5
7
|
export * from "@powerlines/unplugin";
|
|
6
8
|
|
|
7
9
|
//#region src/index.d.ts
|
|
8
|
-
declare namespace index_d_exports {
|
|
9
|
-
export { createPowerlines };
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Creates a new {@link PowerlinesEngine} instance.
|
|
13
|
-
*
|
|
14
|
-
* @param options - The user configuration options.
|
|
15
|
-
* @returns A promise that resolves to a {@link PowerlinesEngine} instance.
|
|
16
|
-
*/
|
|
17
|
-
declare function createPowerlines(options: Omit<EngineOptions, "framework">): Promise<_$_powerlines_engine0.PowerlinesEngine<readonly string[]>>;
|
|
18
|
-
//#endregion
|
|
19
|
-
export { createPowerlines };
|
|
20
10
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"mappings":""}
|
package/dist/index.mjs
CHANGED
|
@@ -1,20 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { __exportAll, __reExport } from "./_virtual/_rolldown/runtime.mjs";
|
|
2
|
+
import "./config.mjs";
|
|
3
|
+
import "./plugin-utils.mjs";
|
|
4
|
+
import "./storage.mjs";
|
|
5
|
+
|
|
6
|
+
export * from "@powerlines/core/lib/config"
|
|
7
|
+
|
|
8
|
+
export * from "@powerlines/core/plugin-utils"
|
|
9
|
+
|
|
10
|
+
export * from "@powerlines/core/storage"
|
|
4
11
|
|
|
5
12
|
//#region src/index.ts
|
|
6
|
-
|
|
7
|
-
* Creates a new {@link PowerlinesEngine} instance.
|
|
8
|
-
*
|
|
9
|
-
* @param options - The user configuration options.
|
|
10
|
-
* @returns A promise that resolves to a {@link PowerlinesEngine} instance.
|
|
11
|
-
*/
|
|
12
|
-
async function createPowerlines(options) {
|
|
13
|
-
const engine = await createEngine(options);
|
|
14
|
-
engine.context.info(`🔌 ${titleCase(engine.context.framework.name)} Engine v${engine.context.framework.version || version} is running...`);
|
|
15
|
-
return engine;
|
|
16
|
-
}
|
|
13
|
+
var src_exports = /* @__PURE__ */ __exportAll({});
|
|
17
14
|
|
|
18
15
|
//#endregion
|
|
19
|
-
export {
|
|
16
|
+
export { };
|
|
20
17
|
//# sourceMappingURL=index.mjs.map
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":[
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\n/**\n * The main entry point for the Powerlines library, which provides a build toolkit and runtime for NodeJS applications.\n *\n * @remarks\n * Powerlines is a build toolkit and runtime used by Storm Software in TypeScript applications, designed to streamline development and enhance productivity. It offers a powerful engine for executing build tasks, a flexible plugin system for extending functionality, and a rich set of utilities for working with schemas, code generation, and more.\n *\n * @packageDocumentation\n */\n\nexport * from \"./config\";\nexport * from \"./plugin-utils\";\nexport * from \"./storage\";\nexport type * from \"./types\";\n"],"mappings":""}
|
package/dist/plugin-utils.cjs
CHANGED
package/dist/plugin-utils.mjs
CHANGED
package/dist/storage.cjs
CHANGED
package/dist/storage.mjs
CHANGED
package/dist/types.d.cts
CHANGED
package/dist/types.d.mts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "powerlines",
|
|
3
|
-
"version": "0.47.
|
|
3
|
+
"version": "0.47.30",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The \"framework framework\" that simplifies modern dev tool usage, generates virtual (or actual) code modules, and improves DX across the board.",
|
|
6
6
|
"keywords": [
|
|
@@ -65,6 +65,10 @@
|
|
|
65
65
|
"import": "./dist/constants.mjs",
|
|
66
66
|
"require": "./dist/constants.cjs"
|
|
67
67
|
},
|
|
68
|
+
"./engine": {
|
|
69
|
+
"import": "./dist/engine.mjs",
|
|
70
|
+
"require": "./dist/engine.cjs"
|
|
71
|
+
},
|
|
68
72
|
"./esbuild": {
|
|
69
73
|
"import": "./dist/esbuild.mjs",
|
|
70
74
|
"require": "./dist/esbuild.cjs"
|
|
@@ -140,5 +144,5 @@
|
|
|
140
144
|
},
|
|
141
145
|
"publishConfig": { "access": "public" },
|
|
142
146
|
"bin": { "powerlines": "./bin/bin.mjs" },
|
|
143
|
-
"gitHead": "
|
|
147
|
+
"gitHead": "3ea953f52abd046f1d1f28920d1a7758b91570f1"
|
|
144
148
|
}
|
package/dist/package.cjs
DELETED
package/dist/package.mjs
DELETED
package/dist/package.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"package.mjs","names":[],"sources":["../package.json"],"sourcesContent":[""],"mappings":""}
|