powerlines 0.47.75 → 0.47.76

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/engine.cjs CHANGED
@@ -1,4 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
+ const require_package = require('./package.cjs');
2
3
  let _powerlines_engine = require("@powerlines/engine");
3
4
  let _stryke_string_format_title_case = require("@stryke/string-format/title-case");
4
5
 
@@ -11,7 +12,7 @@ let _stryke_string_format_title_case = require("@stryke/string-format/title-case
11
12
  */
12
13
  async function createPowerlines(options) {
13
14
  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
+ engine.context.info(`🔌 ${(0, _stryke_string_format_title_case.titleCase)(engine.context.framework.name) || "Powerlines"} Engine v${engine.context.framework.version || require_package.version || "1.0.0"} is running...`);
15
16
  return engine;
16
17
  }
17
18
 
@@ -1 +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,8BAAA,gBAAA"}
1
+ {"version":3,"file":"engine.d.cts","names":[],"sources":["../src/engine.ts"],"mappings":";;;;;;;;;AAgCA;;iBAAsB,gBAAA,CACpB,OAAA,EAAS,IAAA,CAAK,aAAA,iBAA2B,OAAA,8BAAA,gBAAA"}
@@ -1 +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,8BAAA,gBAAA"}
1
+ {"version":3,"file":"engine.d.mts","names":[],"sources":["../src/engine.ts"],"mappings":";;;;;;;;;AAgCA;;iBAAsB,gBAAA,CACpB,OAAA,EAAS,IAAA,CAAK,aAAA,iBAA2B,OAAA,8BAAA,gBAAA"}
package/dist/engine.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ import { version } from "./package.mjs";
1
2
  import { createEngine } from "@powerlines/engine";
2
3
  import { titleCase } from "@stryke/string-format/title-case";
3
4
 
@@ -10,7 +11,7 @@ import { titleCase } from "@stryke/string-format/title-case";
10
11
  */
11
12
  async function createPowerlines(options) {
12
13
  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
+ engine.context.info(`🔌 ${titleCase(engine.context.framework.name) || "Powerlines"} Engine v${engine.context.framework.version || version || "1.0.0"} is running...`);
14
15
  return engine;
15
16
  }
16
17
 
@@ -1 +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,OAAO;CAEzC,OAAO,QAAQ,KACb,MAAM,UAAU,OAAO,QAAQ,UAAU,IAAI,EAAE,WAC7C,OAAO,QAAQ,UAAU,WAAW,QACrC,eACH;CAEA,OAAO;AACT"}
1
+ {"version":3,"file":"engine.mjs","names":["packageJson.version"],"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\";\nimport packageJson from \"../package.json\" with { type: \"json\" };\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) || \"Powerlines\"} Engine v${\n engine.context.framework.version || packageJson.version || \"1.0.0\"\n } is running...`\n );\n\n return engine;\n}\n"],"mappings":";;;;;;;;;;;AAgCA,eAAsB,iBACpB,SACA;CACA,MAAM,SAAS,MAAM,aAAa,OAAO;CAEzC,OAAO,QAAQ,KACb,MAAM,UAAU,OAAO,QAAQ,UAAU,IAAI,KAAK,aAAa,WAC7D,OAAO,QAAQ,UAAU,WAAWA,WAAuB,QAC5D,eACH;CAEA,OAAO;AACT"}
@@ -0,0 +1,11 @@
1
+
2
+ //#region package.json
3
+ var version = "0.47.76";
4
+
5
+ //#endregion
6
+ Object.defineProperty(exports, 'version', {
7
+ enumerable: true,
8
+ get: function () {
9
+ return version;
10
+ }
11
+ });
@@ -0,0 +1,6 @@
1
+ //#region package.json
2
+ var version = "0.47.76";
3
+
4
+ //#endregion
5
+ export { version };
6
+ //# sourceMappingURL=package.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"package.mjs","names":[],"sources":["../package.json"],"sourcesContent":[""],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "powerlines",
3
- "version": "0.47.75",
3
+ "version": "0.47.76",
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": [
@@ -124,25 +124,25 @@
124
124
  "files": ["dist", "files"],
125
125
  "dependencies": {
126
126
  "@babel/types": "8.0.0-rc.6",
127
- "@powerlines/core": "^0.48.18",
128
- "@powerlines/engine": "^0.49.19",
129
- "@powerlines/unplugin": "^0.0.66",
127
+ "@powerlines/core": "^0.48.19",
128
+ "@powerlines/engine": "^0.49.20",
129
+ "@powerlines/unplugin": "^0.0.67",
130
130
  "@storm-software/config": "^1.137.65",
131
131
  "@storm-software/config-tools": "^1.190.33",
132
- "@stryke/fs": "^0.33.77",
133
- "@stryke/convert": "^0.7.8",
134
- "@stryke/env": "^0.20.94",
132
+ "@stryke/fs": "^0.33.78",
133
+ "@stryke/convert": "^0.7.9",
134
+ "@stryke/env": "^0.20.95",
135
135
  "defu": "^6.1.7",
136
136
  "unplugin": "^3.0.0"
137
137
  },
138
138
  "devDependencies": {
139
139
  "@storm-software/testing-tools": "^1.119.186",
140
- "@stryke/types": "^0.12.5",
140
+ "@stryke/types": "^0.12.6",
141
141
  "@types/node": "^25.9.1",
142
142
  "typescript": "^6.0.3",
143
143
  "undici-types": "^7.26.0"
144
144
  },
145
145
  "publishConfig": { "access": "public" },
146
146
  "bin": { "powerlines": "./bin/bin.mjs" },
147
- "gitHead": "c8d684b669671f6b19bc57dba25dd3bf1872e66a"
147
+ "gitHead": "53c5911f6d02444075c38d2965bb8361ae30f7e5"
148
148
  }