powerlines 0.43.2 → 0.43.4

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 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
@@ -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,CACpB,OAAA,EAAS,eAAA,CAAA,aAAA,GACR,OAAA,CAAQ,aAAA"}
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
@@ -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,CACpB,OAAA,EAAS,eAAA,CAAA,aAAA,GACR,OAAA,CAAQ,aAAA"}
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
@@ -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\n): Promise<PowerlinesAPI> {\n return PowerlinesAPI.fromOptions(options);\n}\n\nexport { PowerlinesAPI, PowerlinesEngine };\n"],"mappings":";;;;;;;;;;;;;;;;;;AAuCA,eAAsB,aACpB,SAC2B;AAC3B,QAAO,iBAAiB,YAAY,QAAQ;;;;;;;;AAS9C,eAAsB,UACpB,SACwB;AACxB,QAAO,cAAc,YAAY,QAAQ"}
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
@@ -1,7 +1,7 @@
1
1
 
2
2
  //#region package.json
3
3
  var name = "powerlines";
4
- var version = "0.43.2";
4
+ var version = "0.43.4";
5
5
 
6
6
  //#endregion
7
7
  Object.defineProperty(exports, 'name', {
package/dist/package.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  //#region package.json
2
2
  var name = "powerlines";
3
- var version = "0.43.2";
3
+ var version = "0.43.4";
4
4
 
5
5
  //#endregion
6
6
  export { name, version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "powerlines",
3
- "version": "0.43.2",
3
+ "version": "0.43.4",
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": [
@@ -374,7 +374,7 @@
374
374
  "dependencies": {
375
375
  "@babel/types": "8.0.0-rc.3",
376
376
  "@powerlines/core": "^0.13.15",
377
- "@powerlines/engine": "^0.0.4",
377
+ "@powerlines/engine": "^0.0.6",
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": "c3582d321f4fa255e953ca9a1e0e0c0a85760c91"
444
+ "gitHead": "f7de906d8d1adf17890122f2e5d30fb372dd9983"
445
445
  }