powerlines 0.47.75 → 0.47.77

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.77";
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.77";
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":""}
@@ -0,0 +1,9 @@
1
+
2
+
3
+ var _powerlines_schema = require("@powerlines/schema");
4
+ Object.keys(_powerlines_schema).forEach(function (k) {
5
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
6
+ enumerable: true,
7
+ get: function () { return _powerlines_schema[k]; }
8
+ });
9
+ });
@@ -0,0 +1 @@
1
+ export * from "@powerlines/schema";
@@ -0,0 +1 @@
1
+ export * from "@powerlines/schema";
@@ -0,0 +1,3 @@
1
+ export * from "@powerlines/schema"
2
+
3
+ export { };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "powerlines",
3
- "version": "0.47.75",
3
+ "version": "0.47.77",
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": [
@@ -92,6 +92,10 @@
92
92
  "import": "./dist/rspack.mjs",
93
93
  "require": "./dist/rspack.cjs"
94
94
  },
95
+ "./schema": {
96
+ "import": "./dist/schema.mjs",
97
+ "require": "./dist/schema.cjs"
98
+ },
95
99
  "./storage": {
96
100
  "import": "./dist/storage.mjs",
97
101
  "require": "./dist/storage.cjs"
@@ -121,28 +125,29 @@
121
125
  "main": "./dist/index.cjs",
122
126
  "module": "./dist/index.mjs",
123
127
  "types": "./dist/index.d.cts",
128
+ "bin": { "powerlines": "./bin/bin.mjs" },
124
129
  "files": ["dist", "files"],
125
130
  "dependencies": {
126
131
  "@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",
132
+ "@powerlines/core": "^0.48.20",
133
+ "@powerlines/engine": "^0.49.21",
134
+ "@powerlines/schema": "^0.11.61",
135
+ "@powerlines/unplugin": "^0.0.68",
130
136
  "@storm-software/config": "^1.137.65",
131
137
  "@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",
138
+ "@stryke/convert": "^0.7.9",
139
+ "@stryke/env": "^0.20.95",
140
+ "@stryke/fs": "^0.33.78",
135
141
  "defu": "^6.1.7",
136
142
  "unplugin": "^3.0.0"
137
143
  },
138
144
  "devDependencies": {
139
145
  "@storm-software/testing-tools": "^1.119.186",
140
- "@stryke/types": "^0.12.5",
146
+ "@stryke/types": "^0.12.6",
141
147
  "@types/node": "^25.9.1",
142
148
  "typescript": "^6.0.3",
143
149
  "undici-types": "^7.26.0"
144
150
  },
145
151
  "publishConfig": { "access": "public" },
146
- "bin": { "powerlines": "./bin/bin.mjs" },
147
- "gitHead": "c8d684b669671f6b19bc57dba25dd3bf1872e66a"
152
+ "gitHead": "c3e136ea350f7dbdd9ab46ae52c8c47a81f02e41"
148
153
  }