@powerlines/plugin-alloy 0.26.270 → 0.26.271

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.
@@ -42,6 +42,9 @@ function BuiltinFile(props) {
42
42
  },
43
43
  get children() {
44
44
  return (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript_components_typescript_file.TypescriptFileHeaderImports, {
45
+ get prefix() {
46
+ return (0, _stryke_string_format_kebab_case.kebabCase)(context?.config.framework?.name) || "powerlines";
47
+ },
45
48
  imports,
46
49
  builtinImports
47
50
  });
@@ -41,6 +41,9 @@ function BuiltinFile(props) {
41
41
  },
42
42
  get children() {
43
43
  return createComponent(TypescriptFileHeaderImports, {
44
+ get prefix() {
45
+ return kebabCase(context?.config.framework?.name) || "powerlines";
46
+ },
44
47
  imports,
45
48
  builtinImports
46
49
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-alloy",
3
- "version": "0.26.270",
3
+ "version": "0.26.271",
4
4
  "description": "A Powerlines plugin to generate project code using Alloy JS via Power Plant.",
5
5
  "keywords": ["alloy-js", "powerlines", "powerlines-plugin"],
6
6
  "homepage": "https://stormsoftware.com",
@@ -305,8 +305,8 @@
305
305
  "@power-plant/alloy-js": "^0.0.51",
306
306
  "@power-plant/core": "^0.0.54",
307
307
  "@power-plant/schema": "^0.0.52",
308
- "@powerlines/plugin-babel": "0.13.172",
309
- "@powerlines/plugin-power-plant": "0.1.31",
308
+ "@powerlines/plugin-babel": "^0.13.172",
309
+ "@powerlines/plugin-power-plant": "^0.1.31",
310
310
  "@storm-software/config-tools": "^1.190.109",
311
311
  "@stryke/capnp": "^0.12.125",
312
312
  "@stryke/convert": "^0.7.29",
@@ -316,15 +316,15 @@
316
316
  "@stryke/string-format": "^0.17.40",
317
317
  "@stryke/type-checks": "^0.6.31",
318
318
  "defu": "^6.1.7",
319
- "powerlines": "0.47.175"
319
+ "powerlines": "^0.47.175"
320
320
  },
321
321
  "devDependencies": {
322
322
  "@alloy-js/babel-preset": "^0.3.0",
323
- "@powerlines/plugin-plugin": "0.12.587",
323
+ "@powerlines/plugin-plugin": "^0.12.587",
324
324
  "@types/node": "^25.9.5"
325
325
  },
326
326
  "peerDependencies": { "@alloy-js/babel-preset": ">=0.3.0" },
327
327
  "peerDependenciesMeta": { "@alloy-js/babel-preset": { "optional": false } },
328
328
  "publishConfig": { "access": "public" },
329
- "gitHead": "f81b909479c2bb719fb63c1c3a94763fa5b737f2"
329
+ "gitHead": "0df703de31a01de6601cbc13ac28542176af322c"
330
330
  }