powerlines 0.43.1 → 0.43.3
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 -2
- package/dist/index.d.cts +1 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/dist/package.cjs +1 -1
- package/dist/package.mjs +1 -1
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -28,8 +28,8 @@ async function createEngine(options) {
|
|
|
28
28
|
* @param options - The user configuration options.
|
|
29
29
|
* @returns A promise that resolves to a {@link PowerlinesAPI} instance.
|
|
30
30
|
*/
|
|
31
|
-
async function createAPI(options) {
|
|
32
|
-
return _powerlines_engine_api.PowerlinesAPI.fromOptions(options);
|
|
31
|
+
async function createAPI(options, override) {
|
|
32
|
+
return _powerlines_engine_api.PowerlinesAPI.fromOptions(options, override);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
//#endregion
|
package/dist/index.d.cts
CHANGED
|
@@ -20,7 +20,7 @@ declare function createEngine(options: types_d_exports.EngineOptions): Promise<P
|
|
|
20
20
|
* @param options - The user configuration options.
|
|
21
21
|
* @returns A promise that resolves to a {@link PowerlinesAPI} instance.
|
|
22
22
|
*/
|
|
23
|
-
declare function createAPI(options: types_d_exports.EngineOptions): Promise<PowerlinesAPI
|
|
23
|
+
declare function createAPI<TResolvedConfig extends types_d_exports.ResolvedConfig = types_d_exports.ResolvedConfig>(options: types_d_exports.EngineOptions, override?: Partial<TResolvedConfig>): Promise<PowerlinesAPI<TResolvedConfig>>;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { PowerlinesAPI, PowerlinesEngine, createAPI, createEngine };
|
|
26
26
|
//# 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":";;;;;;;;;;;;AAuCA;;;iBAAsB,YAAA,CACpB,OAAA,EAAS,eAAA,CAAA,aAAA,GACR,OAAA,CAAQ,gBAAA;;;;;;;iBAUW,SAAA,
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;;;;;;;;AAuCA;;;iBAAsB,YAAA,CACpB,OAAA,EAAS,eAAA,CAAA,aAAA,GACR,OAAA,CAAQ,gBAAA;;;;;;;iBAUW,SAAA,yBACI,eAAA,CAAA,cAAA,GAAiB,eAAA,CAAA,cAAA,CAAA,CAEzC,OAAA,EAAS,eAAA,CAAA,aAAA,EACT,QAAA,GAAW,OAAA,CAAQ,eAAA,IAClB,OAAA,CAAQ,aAAA,CAAc,eAAA"}
|
package/dist/index.d.mts
CHANGED
|
@@ -20,7 +20,7 @@ declare function createEngine(options: types_d_exports.EngineOptions): Promise<P
|
|
|
20
20
|
* @param options - The user configuration options.
|
|
21
21
|
* @returns A promise that resolves to a {@link PowerlinesAPI} instance.
|
|
22
22
|
*/
|
|
23
|
-
declare function createAPI(options: types_d_exports.EngineOptions): Promise<PowerlinesAPI
|
|
23
|
+
declare function createAPI<TResolvedConfig extends types_d_exports.ResolvedConfig = types_d_exports.ResolvedConfig>(options: types_d_exports.EngineOptions, override?: Partial<TResolvedConfig>): Promise<PowerlinesAPI<TResolvedConfig>>;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { PowerlinesAPI, PowerlinesEngine, createAPI, createEngine };
|
|
26
26
|
//# 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":";;;;;;;;;;;;AAuCA;;;iBAAsB,YAAA,CACpB,OAAA,EAAS,eAAA,CAAA,aAAA,GACR,OAAA,CAAQ,gBAAA;;;;;;;iBAUW,SAAA,
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;;;;;;;;AAuCA;;;iBAAsB,YAAA,CACpB,OAAA,EAAS,eAAA,CAAA,aAAA,GACR,OAAA,CAAQ,gBAAA;;;;;;;iBAUW,SAAA,yBACI,eAAA,CAAA,cAAA,GAAiB,eAAA,CAAA,cAAA,CAAA,CAEzC,OAAA,EAAS,eAAA,CAAA,aAAA,EACT,QAAA,GAAW,OAAA,CAAQ,eAAA,IAClB,OAAA,CAAQ,aAAA,CAAc,eAAA"}
|
package/dist/index.mjs
CHANGED
|
@@ -25,8 +25,8 @@ async function createEngine(options) {
|
|
|
25
25
|
* @param options - The user configuration options.
|
|
26
26
|
* @returns A promise that resolves to a {@link PowerlinesAPI} instance.
|
|
27
27
|
*/
|
|
28
|
-
async function createAPI(options) {
|
|
29
|
-
return PowerlinesAPI.fromOptions(options);
|
|
28
|
+
async function createAPI(options, override) {
|
|
29
|
+
return PowerlinesAPI.fromOptions(options, override);
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
//#endregion
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
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 powerlines library used by Storm Software for building NodeJS applications.\n *\n * @remarks\n * A build toolkit and runtime used by Storm Software in TypeScript applications\n *\n * @packageDocumentation\n */\n\nimport { PowerlinesAPI } from \"./api\";\nimport { PowerlinesEngine } from \"./engine\";\nimport type { EngineOptions } from \"./types\";\n\nexport type * from \"./types\";\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 createEngine(\n options: EngineOptions\n): Promise<PowerlinesEngine> {\n return PowerlinesEngine.fromOptions(options);\n}\n\n/**\n * Creates a new {@link PowerlinesAPI} instance.\n *\n * @param options - The user configuration options.\n * @returns A promise that resolves to a {@link PowerlinesAPI} instance.\n */\nexport async function createAPI(\n options: EngineOptions
|
|
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 powerlines library used by Storm Software for building NodeJS applications.\n *\n * @remarks\n * A build toolkit and runtime used by Storm Software in TypeScript applications\n *\n * @packageDocumentation\n */\n\nimport { PowerlinesAPI } from \"./api\";\nimport { PowerlinesEngine } from \"./engine\";\nimport type { EngineOptions, ResolvedConfig } from \"./types\";\n\nexport type * from \"./types\";\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 createEngine(\n options: EngineOptions\n): Promise<PowerlinesEngine> {\n return PowerlinesEngine.fromOptions(options);\n}\n\n/**\n * Creates a new {@link PowerlinesAPI} instance.\n *\n * @param options - The user configuration options.\n * @returns A promise that resolves to a {@link PowerlinesAPI} instance.\n */\nexport async function createAPI<\n TResolvedConfig extends ResolvedConfig = ResolvedConfig\n>(\n options: EngineOptions,\n override?: Partial<TResolvedConfig>\n): Promise<PowerlinesAPI<TResolvedConfig>> {\n return PowerlinesAPI.fromOptions(options, override);\n}\n\nexport { PowerlinesAPI, PowerlinesEngine };\n"],"mappings":";;;;;;;;;;;;;;;;;;AAuCA,eAAsB,aACpB,SAC2B;AAC3B,QAAO,iBAAiB,YAAY,QAAQ;;;;;;;;AAS9C,eAAsB,UAGpB,SACA,UACyC;AACzC,QAAO,cAAc,YAAY,SAAS,SAAS"}
|
package/dist/package.cjs
CHANGED
package/dist/package.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "powerlines",
|
|
3
|
-
"version": "0.43.
|
|
3
|
+
"version": "0.43.3",
|
|
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": [
|
|
@@ -373,8 +373,8 @@
|
|
|
373
373
|
"files": ["dist/**/*", "files/**/*", "schemas/**/*"],
|
|
374
374
|
"dependencies": {
|
|
375
375
|
"@babel/types": "8.0.0-rc.3",
|
|
376
|
-
"@powerlines/core": "^0.13.
|
|
377
|
-
"@powerlines/engine": "^0.0.
|
|
376
|
+
"@powerlines/core": "^0.13.15",
|
|
377
|
+
"@powerlines/engine": "^0.0.5",
|
|
378
378
|
"@storm-software/config": "^1.137.31",
|
|
379
379
|
"@storm-software/config-tools": "^1.189.77",
|
|
380
380
|
"@stryke/fs": "^0.33.66",
|
|
@@ -441,5 +441,5 @@
|
|
|
441
441
|
},
|
|
442
442
|
"publishConfig": { "access": "public" },
|
|
443
443
|
"bin": { "powerlines": "./bin/bin.mjs" },
|
|
444
|
-
"gitHead": "
|
|
444
|
+
"gitHead": "ada0d7ea5a01ba4fdb95b6121e7e8a99b3de17bf"
|
|
445
445
|
}
|