@powerlines/plugin-open-feature 0.1.242 → 0.1.243

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.
@@ -3,9 +3,9 @@ const require_runtime = require('../_virtual/_rolldown/runtime.cjs');
3
3
  let _alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
4
4
  let _alloy_js_core = require("@alloy-js/core");
5
5
  let _alloy_js_typescript = require("@alloy-js/typescript");
6
- let _powerlines_plugin_alloy_core_components_spacing = require("@powerlines/plugin-alloy/core/components/spacing");
6
+ let _power_plant_alloy_js_core_components_spacing = require("@power-plant/alloy-js/core/components/spacing");
7
+ let _power_plant_alloy_js_typescript_components_tsdoc = require("@power-plant/alloy-js/typescript/components/tsdoc");
7
8
  let _powerlines_plugin_alloy_typescript_components_builtin_file = require("@powerlines/plugin-alloy/typescript/components/builtin-file");
8
- let _powerlines_plugin_alloy_typescript_components_tsdoc = require("@powerlines/plugin-alloy/typescript/components/tsdoc");
9
9
  let defu = require("defu");
10
10
  defu = require_runtime.__toESM(defu, 1);
11
11
 
@@ -38,10 +38,10 @@ function FeaturesBuiltin(props) {
38
38
  },
39
39
  get children() {
40
40
  return [
41
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript_components_tsdoc.TSDoc, {
41
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript_components_tsdoc.TSDoc, {
42
42
  heading: "A function to set the OpenFeature providers to be used in the application. This function should be called at the entry point of the application to ensure that the providers are registered before any feature flag evaluations occur.",
43
43
  get children() {
44
- return (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript_components_tsdoc.TSDocParam, {
44
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript_components_tsdoc.TSDocParam, {
45
45
  name: "provider",
46
46
  children: `The provider wrapper containing the OpenFeature provider to set. The provider should be an instance of a class that implements the OpenFeature Provider interface, wrapped in a ProviderWrapper to include any necessary metadata about the provider's status.`
47
47
  });
@@ -61,7 +61,7 @@ function FeaturesBuiltin(props) {
61
61
  console.error("Failed to initialize provider: ", error);
62
62
  } `
63
63
  }),
64
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
64
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
65
65
  (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.VarDeclaration, {
66
66
  name: "client",
67
67
  "export": true,
@@ -70,7 +70,7 @@ function FeaturesBuiltin(props) {
70
70
  type: "ReturnType<typeof OpenFeature.getClient>",
71
71
  children: _alloy_js_core.code`OpenFeature.getClient(); `
72
72
  }),
73
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
73
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
74
74
  (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.FunctionDeclaration, {
75
75
  name: "feature",
76
76
  "export": true,
@@ -86,7 +86,7 @@ function FeaturesBuiltin(props) {
86
86
  console.error("Failed to evaluate feature flag: ", error);
87
87
  } `
88
88
  }),
89
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
89
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
90
90
  (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
91
91
  get when() {
92
92
  return Boolean(children);
@@ -1,9 +1,9 @@
1
1
  import { createComponent, mergeProps } from "@alloy-js/core/jsx-runtime";
2
2
  import { Show, code, splitProps } from "@alloy-js/core";
3
3
  import { FunctionDeclaration, VarDeclaration } from "@alloy-js/typescript";
4
- import { Spacing } from "@powerlines/plugin-alloy/core/components/spacing";
4
+ import { Spacing } from "@power-plant/alloy-js/core/components/spacing";
5
+ import { TSDoc, TSDocParam } from "@power-plant/alloy-js/typescript/components/tsdoc";
5
6
  import { BuiltinFile } from "@powerlines/plugin-alloy/typescript/components/builtin-file";
6
- import { TSDoc, TSDocParam } from "@powerlines/plugin-alloy/typescript/components/tsdoc";
7
7
  import defu from "defu";
8
8
 
9
9
  //#region src/components/features-builtin.tsx
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-open-feature",
3
- "version": "0.1.242",
3
+ "version": "0.1.243",
4
4
  "private": false,
5
5
  "description": "A package containing a Powerlines plugin for managing Open Feature feature flags at runtime.",
6
6
  "keywords": [
@@ -157,27 +157,28 @@
157
157
  "@alloy-js/typescript": "^0.23.0",
158
158
  "@openfeature/core": "^1.11.0",
159
159
  "@openfeature/server-sdk": "^1.22.0",
160
- "@powerlines/plugin-alloy": "^0.26.237",
161
- "@powerlines/plugin-automd": "^0.1.605",
162
- "@powerlines/plugin-plugin": "^0.12.556",
163
- "@storm-software/config-tools": "^1.190.107",
164
- "@stryke/convert": "^0.7.26",
165
- "@stryke/env": "^0.20.113",
166
- "@stryke/fs": "^0.33.96",
167
- "@stryke/json": "^0.15.19",
168
- "@stryke/path": "^0.29.22",
169
- "@stryke/string-format": "^0.17.37",
170
- "@stryke/type-checks": "^0.6.28",
171
- "@stryke/types": "^0.12.23",
160
+ "@power-plant/alloy-js": "^0.0.20",
161
+ "@powerlines/plugin-alloy": "^0.26.238",
162
+ "@powerlines/plugin-automd": "^0.1.606",
163
+ "@powerlines/plugin-plugin": "^0.12.557",
164
+ "@storm-software/config-tools": "^1.190.109",
165
+ "@stryke/convert": "^0.7.27",
166
+ "@stryke/env": "^0.20.114",
167
+ "@stryke/fs": "^0.33.97",
168
+ "@stryke/json": "^0.15.20",
169
+ "@stryke/path": "^0.29.23",
170
+ "@stryke/string-format": "^0.17.38",
171
+ "@stryke/type-checks": "^0.6.29",
172
+ "@stryke/types": "^0.12.24",
172
173
  "automd": "^0.4.3",
173
174
  "c12": "^3.3.4",
174
175
  "defu": "^6.1.7",
175
- "powerlines": "^0.47.144"
176
+ "powerlines": "^0.47.145"
176
177
  },
177
178
  "devDependencies": {
178
179
  "@openfeature/flagd-provider": "^0.14.0",
179
180
  "@types/node": "^25.9.5"
180
181
  },
181
182
  "publishConfig": { "access": "public" },
182
- "gitHead": "cf8953be1a53bac9ad8c227195a662cbb422d43c"
183
+ "gitHead": "d81170b608c0b80e7726e129c3edd1b7b6ca2605"
183
184
  }