@powerlines/plugin-open-feature 0.1.316 → 0.1.319

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.
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_rolldown_runtime = require('../rolldown-runtime-C24Yb2bl.cjs');
2
+ const require_rolldown_runtime = require("../rolldown-runtime-xuxB8TGW.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");
@@ -9,7 +9,7 @@ let _powerlines_plugin_alloy_typescript_components_builtin_file = require("@powe
9
9
  let defu = require("defu");
10
10
  defu = require_rolldown_runtime.__toESM(defu, 1);
11
11
 
12
- //#region src/components/features-builtin.tsx
12
+ // src/components/features-builtin.tsx
13
13
  /**
14
14
  * Generates the feature flags module for the Powerlines project.
15
15
  */
@@ -98,5 +98,4 @@ function FeaturesBuiltin(props) {
98
98
  }));
99
99
  }
100
100
 
101
- //#endregion
102
101
  exports.FeaturesBuiltin = FeaturesBuiltin;
@@ -1,10 +1,8 @@
1
1
  import { BuiltinFileProps } from "@powerlines/plugin-alloy/typescript/components/builtin-file";
2
- //#region src/components/features-builtin.d.ts
3
2
  type FeaturesBuiltinProps = Omit<BuiltinFileProps, "id">;
4
3
  /**
5
4
  * Generates the feature flags module for the Powerlines project.
6
5
  */
7
6
  declare function FeaturesBuiltin(props: FeaturesBuiltinProps): import("@alloy-js/core").Children;
8
- //#endregion
9
7
  export { FeaturesBuiltin, FeaturesBuiltinProps };
10
8
  //# sourceMappingURL=features-builtin.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"features-builtin.d.cts","names":[],"sources":["../../src/components/features-builtin.tsx"],"mappings":";;KA+BY,uBAAuB,KAAK;;;;iBAKxB,gBAAgB,OAAO,gDAAoB"}
1
+ {"version":3,"file":"features-builtin.d.cts","names":[],"sources":["../../src/components/features-builtin.tsx"],"mappings":";KA+BY,uBAAuB,KAAK;;;;iBAKxB,gBAAgB,OAAO,gDAAoB"}
@@ -1,10 +1,8 @@
1
1
  import { BuiltinFileProps } from "@powerlines/plugin-alloy/typescript/components/builtin-file";
2
- //#region src/components/features-builtin.d.ts
3
2
  type FeaturesBuiltinProps = Omit<BuiltinFileProps, "id">;
4
3
  /**
5
4
  * Generates the feature flags module for the Powerlines project.
6
5
  */
7
6
  declare function FeaturesBuiltin(props: FeaturesBuiltinProps): import("@alloy-js/core").Children;
8
- //#endregion
9
7
  export { FeaturesBuiltin, FeaturesBuiltinProps };
10
8
  //# sourceMappingURL=features-builtin.d.mts.map
@@ -6,7 +6,7 @@ import { TSDoc, TSDocParam } from "@power-plant/alloy-js/typescript/components/t
6
6
  import { BuiltinFile } from "@powerlines/plugin-alloy/typescript/components/builtin-file";
7
7
  import defu from "defu";
8
8
 
9
- //#region src/components/features-builtin.tsx
9
+ // src/components/features-builtin.tsx
10
10
  /**
11
11
  * Generates the feature flags module for the Powerlines project.
12
12
  */
@@ -95,6 +95,5 @@ function FeaturesBuiltin(props) {
95
95
  }));
96
96
  }
97
97
 
98
- //#endregion
99
98
  export { FeaturesBuiltin };
100
99
  //# sourceMappingURL=features-builtin.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"features-builtin.mjs","names":[],"sources":[],"mappings":""}
1
+ {"version":3,"file":"features-builtin.mjs","names":["_$createComponent","_$mergeProps"],"sources":[],"mappings":""}
@@ -1,4 +1,4 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_components_features_builtin = require('./features-builtin.cjs');
2
+ const require_components_features_builtin = require("./features-builtin.cjs");
3
3
 
4
4
  exports.FeaturesBuiltin = require_components_features_builtin.FeaturesBuiltin;
@@ -3,7 +3,7 @@ let _stryke_path_join_paths = require("@stryke/path/join-paths");
3
3
  let automd = require("automd");
4
4
  let powerlines_plugin_utils = require("powerlines/plugin-utils");
5
5
 
6
- //#region src/helpers/automd-generator.ts
6
+ // src/helpers/automd-generator.ts
7
7
  /**
8
8
  * AutoMD generator to generate feature flags documentation
9
9
  *
@@ -19,5 +19,4 @@ const features = (context) => (0, automd.defineGenerator)({
19
19
  }
20
20
  });
21
21
 
22
- //#endregion
23
22
  exports.features = features;
@@ -1,5 +1,4 @@
1
1
  import { UnresolvedContext } from "powerlines";
2
- //#region src/helpers/automd-generator.d.ts
3
2
  /**
4
3
  * AutoMD generator to generate feature flags documentation
5
4
  *
@@ -7,6 +6,5 @@ import { UnresolvedContext } from "powerlines";
7
6
  * @returns The generated documentation content.
8
7
  */
9
8
  declare const features: (context: UnresolvedContext) => import("automd").Generator;
10
- //#endregion
11
9
  export { features };
12
10
  //# sourceMappingURL=automd-generator.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"automd-generator.d.cts","names":[],"sources":["../../src/helpers/automd-generator.ts"],"mappings":";;;;;;;;cA6Ba,WAAY,SAAS,uCAAiB"}
1
+ {"version":3,"file":"automd-generator.d.cts","names":[],"sources":["../../src/helpers/automd-generator.ts"],"mappings":";;;;;;;cA6Ba,WAAY,SAAS,uCAAiB"}
@@ -1,5 +1,4 @@
1
1
  import { UnresolvedContext } from "powerlines";
2
- //#region src/helpers/automd-generator.d.ts
3
2
  /**
4
3
  * AutoMD generator to generate feature flags documentation
5
4
  *
@@ -7,6 +6,5 @@ import { UnresolvedContext } from "powerlines";
7
6
  * @returns The generated documentation content.
8
7
  */
9
8
  declare const features: (context: UnresolvedContext) => import("automd").Generator;
10
- //#endregion
11
9
  export { features };
12
10
  //# sourceMappingURL=automd-generator.d.mts.map
@@ -2,7 +2,7 @@ import { joinPaths } from "@stryke/path/join-paths";
2
2
  import { defineGenerator } from "automd";
3
3
  import { getDocsOutputPath } from "powerlines/plugin-utils";
4
4
 
5
- //#region src/helpers/automd-generator.ts
5
+ // src/helpers/automd-generator.ts
6
6
  /**
7
7
  * AutoMD generator to generate feature flags documentation
8
8
  *
@@ -18,6 +18,5 @@ const features = (context) => defineGenerator({
18
18
  }
19
19
  });
20
20
 
21
- //#endregion
22
21
  export { features };
23
22
  //# sourceMappingURL=automd-generator.mjs.map
@@ -1,4 +1,4 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_helpers_automd_generator = require('./automd-generator.cjs');
2
+ const require_helpers_automd_generator = require("./automd-generator.cjs");
3
3
 
4
4
  exports.features = require_helpers_automd_generator.features;
package/dist/index.cjs CHANGED
@@ -1,14 +1,14 @@
1
1
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
2
- const require_rolldown_runtime = require('./rolldown-runtime-C24Yb2bl.cjs');
3
- const require_helpers_automd_generator = require('./helpers/automd-generator.cjs');
4
- const require_components_features_builtin = require('./components/features-builtin.cjs');
2
+ const require_rolldown_runtime = require("./rolldown-runtime-xuxB8TGW.cjs");
3
+ const require_helpers_automd_generator = require("./helpers/automd-generator.cjs");
4
+ const require_components_features_builtin = require("./components/features-builtin.cjs");
5
5
  let _alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
6
6
  let defu = require("defu");
7
7
  defu = require_rolldown_runtime.__toESM(defu, 1);
8
8
  let _powerlines_plugin_alloy_render = require("@powerlines/plugin-alloy/render");
9
9
  let _powerlines_plugin_automd = require("@powerlines/plugin-automd");
10
10
 
11
- //#region src/index.tsx
11
+ // src/index.tsx
12
12
  /**
13
13
  * A Powerlines plugin to inject environment variables into the source code.
14
14
  */
@@ -31,6 +31,5 @@ const plugin = (options = {}) => {
31
31
  ];
32
32
  };
33
33
 
34
- //#endregion
35
34
  exports.default = plugin;
36
35
  exports.plugin = plugin;
package/dist/index.d.cts CHANGED
@@ -1,7 +1,6 @@
1
1
  import { OpenFeaturePluginContext, OpenFeaturePluginOptions, OpenFeaturePluginResolvedConfig, OpenFeaturePluginUserConfig } from "./types/plugin.cjs";
2
2
  import "./types/index.cjs";
3
3
  import { Plugin } from "powerlines";
4
- //#region src/index.d.ts
5
4
  declare module "powerlines" {
6
5
  interface Config {
7
6
  openFeature?: OpenFeaturePluginOptions;
@@ -11,6 +10,5 @@ declare module "powerlines" {
11
10
  * A Powerlines plugin to inject environment variables into the source code.
12
11
  */
13
12
  declare const plugin: <TContext extends OpenFeaturePluginContext = OpenFeaturePluginContext>(options?: OpenFeaturePluginOptions) => Plugin<TContext>[];
14
- //#endregion
15
13
  export { type OpenFeaturePluginContext, type OpenFeaturePluginOptions, type OpenFeaturePluginResolvedConfig, type OpenFeaturePluginUserConfig, plugin as default, plugin };
16
14
  //# sourceMappingURL=index.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.tsx"],"mappings":";;;;;YAgCY;IACR,cAAc;;;;;;cAOL,SACX,iBAAiB,2BAA2B,0BAE5C,UAAS,6BA0BJ,OAAO"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.tsx"],"mappings":";;;;YAgCY;IACR,cAAc;;;;;;cAOL,SACX,iBAAiB,2BAA2B,0BAE5C,UAAS,6BA0BJ,OAAO"}
package/dist/index.d.mts CHANGED
@@ -1,7 +1,6 @@
1
1
  import { OpenFeaturePluginContext, OpenFeaturePluginOptions, OpenFeaturePluginResolvedConfig, OpenFeaturePluginUserConfig } from "./types/plugin.mjs";
2
2
  import "./types/index.mjs";
3
3
  import { Plugin } from "powerlines";
4
- //#region src/index.d.ts
5
4
  declare module "powerlines" {
6
5
  interface Config {
7
6
  openFeature?: OpenFeaturePluginOptions;
@@ -11,6 +10,5 @@ declare module "powerlines" {
11
10
  * A Powerlines plugin to inject environment variables into the source code.
12
11
  */
13
12
  declare const plugin: <TContext extends OpenFeaturePluginContext = OpenFeaturePluginContext>(options?: OpenFeaturePluginOptions) => Plugin<TContext>[];
14
- //#endregion
15
13
  export { type OpenFeaturePluginContext, type OpenFeaturePluginOptions, type OpenFeaturePluginResolvedConfig, type OpenFeaturePluginUserConfig, plugin as default, plugin };
16
14
  //# sourceMappingURL=index.d.mts.map
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ import defu from "defu";
5
5
  import { render } from "@powerlines/plugin-alloy/render";
6
6
  import { plugin as plugin$1 } from "@powerlines/plugin-automd";
7
7
 
8
- //#region src/index.tsx
8
+ // src/index.tsx
9
9
  /**
10
10
  * A Powerlines plugin to inject environment variables into the source code.
11
11
  */
@@ -28,6 +28,5 @@ const plugin = (options = {}) => {
28
28
  ];
29
29
  };
30
30
 
31
- //#endregion
32
31
  export { plugin as default, plugin };
33
32
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":[],"sources":[],"mappings":""}
1
+ {"version":3,"file":"index.mjs","names":["_$createComponent","automd"],"sources":[],"mappings":""}
@@ -1,4 +1,4 @@
1
- //#region \0rolldown/runtime.js
1
+ // \0rolldown/runtime.js
2
2
  var __create = Object.create;
3
3
  var __defProp = Object.defineProperty;
4
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -24,8 +24,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
24
24
  enumerable: true
25
25
  }) : target, mod));
26
26
 
27
- //#endregion
28
- Object.defineProperty(exports, '__toESM', {
27
+ Object.defineProperty(exports, "__toESM", {
29
28
  enumerable: true,
30
29
  get: function () {
31
30
  return __toESM;
@@ -1 +1 @@
1
- require('./plugin.cjs');
1
+ require("./plugin.cjs");
@@ -2,7 +2,6 @@ import { Provider, ProviderWrapper, ServerProviderStatus } from "@openfeature/se
2
2
  import { AlloyPluginContext, AlloyPluginOptions, AlloyPluginResolvedConfig, AlloyPluginUserConfig } from "@powerlines/plugin-alloy/types";
3
3
  import { AutoMDPluginOptions } from "@powerlines/plugin-automd/types/plugin";
4
4
  import { BabelPluginContext, BabelPluginResolvedConfig, BabelPluginUserConfig } from "@powerlines/plugin-babel";
5
- //#region src/types/plugin.d.ts
6
5
  interface OpenFeaturePluginOptions {
7
6
  /**
8
7
  * A path to the type definition for the expected env configuration parameters. This value can include both a path to the typescript file and the name of the type definition to use separated by a `":"` or `"#"` character. For example: `"./src/types/env.ts#ConfigConfiguration"`.
@@ -30,6 +29,5 @@ type OpenFeaturePluginResolvedConfig = BabelPluginResolvedConfig & AlloyPluginRe
30
29
  openFeature: OpenFeaturePluginOptions;
31
30
  };
32
31
  interface OpenFeaturePluginContext<TResolvedConfig extends OpenFeaturePluginResolvedConfig = OpenFeaturePluginResolvedConfig> extends BabelPluginContext<TResolvedConfig>, AlloyPluginContext<TResolvedConfig> {}
33
- //#endregion
34
32
  export { OpenFeaturePluginContext, OpenFeaturePluginOptions, OpenFeaturePluginResolvedConfig, OpenFeaturePluginUserConfig };
35
33
  //# sourceMappingURL=plugin.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;;;;UAoCiB;;;;EAIf,YAAY,YAAY,gBAAgB,UAAU;;;;;;;EAQlD,SAAS;;;;;;;EAQT,QAAQ;;KAGE,8BAA8B,wBACxC;EACE,aAAa;;KAGL,kCAAkC,4BAC5C;EACE,aAAa;;UAGA,yBACf,wBAAwB,kCACtB,yCAGA,mBAAmB,kBACnB,mBAAmB"}
1
+ {"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;;;UAoCiB;;;;EAIf,YAAY,YAAY,gBAAgB,UAAU;;;;;;;EAQlD,SAAS;;;;;;;EAQT,QAAQ;;KAGE,8BAA8B,wBACxC;EACE,aAAa;;KAGL,kCAAkC,4BAC5C;EACE,aAAa;;UAGA,yBACf,wBAAwB,kCACtB,yCAGA,mBAAmB,kBACnB,mBAAmB"}
@@ -2,7 +2,6 @@ import { Provider, ProviderWrapper, ServerProviderStatus } from "@openfeature/se
2
2
  import { AlloyPluginContext, AlloyPluginOptions, AlloyPluginResolvedConfig, AlloyPluginUserConfig } from "@powerlines/plugin-alloy/types";
3
3
  import { AutoMDPluginOptions } from "@powerlines/plugin-automd/types/plugin";
4
4
  import { BabelPluginContext, BabelPluginResolvedConfig, BabelPluginUserConfig } from "@powerlines/plugin-babel";
5
- //#region src/types/plugin.d.ts
6
5
  interface OpenFeaturePluginOptions {
7
6
  /**
8
7
  * A path to the type definition for the expected env configuration parameters. This value can include both a path to the typescript file and the name of the type definition to use separated by a `":"` or `"#"` character. For example: `"./src/types/env.ts#ConfigConfiguration"`.
@@ -30,6 +29,5 @@ type OpenFeaturePluginResolvedConfig = BabelPluginResolvedConfig & AlloyPluginRe
30
29
  openFeature: OpenFeaturePluginOptions;
31
30
  };
32
31
  interface OpenFeaturePluginContext<TResolvedConfig extends OpenFeaturePluginResolvedConfig = OpenFeaturePluginResolvedConfig> extends BabelPluginContext<TResolvedConfig>, AlloyPluginContext<TResolvedConfig> {}
33
- //#endregion
34
32
  export { OpenFeaturePluginContext, OpenFeaturePluginOptions, OpenFeaturePluginResolvedConfig, OpenFeaturePluginUserConfig };
35
33
  //# sourceMappingURL=plugin.d.mts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-open-feature",
3
- "version": "0.1.316",
3
+ "version": "0.1.319",
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,29 +157,29 @@
157
157
  "@alloy-js/typescript": "^0.24.0",
158
158
  "@openfeature/core": "^1.12.0",
159
159
  "@openfeature/server-sdk": "^1.23.0",
160
- "@power-plant/alloy-js": "^0.0.90",
161
- "@powerlines/plugin-alloy": "^0.26.311",
162
- "@powerlines/plugin-babel": "^0.13.210",
163
- "@powerlines/plugin-automd": "^0.1.675",
164
- "@storm-software/config-tools": "^1.190.140",
165
- "@stryke/convert": "^0.7.45",
166
- "@stryke/env": "^0.20.133",
167
- "@stryke/fs": "^0.33.116",
168
- "@stryke/json": "^0.15.38",
169
- "@stryke/path": "^0.29.41",
170
- "@stryke/string-format": "^0.17.56",
171
- "@stryke/type-checks": "^0.6.47",
172
- "@stryke/types": "^0.12.42",
160
+ "@power-plant/alloy-js": "^0.0.95",
161
+ "@powerlines/plugin-alloy": "^0.26.314",
162
+ "@powerlines/plugin-babel": "^0.13.213",
163
+ "@powerlines/plugin-automd": "^0.1.678",
164
+ "@storm-software/config-tools": "^1.190.151",
165
+ "@stryke/convert": "^0.7.47",
166
+ "@stryke/env": "^0.20.135",
167
+ "@stryke/fs": "^0.33.118",
168
+ "@stryke/json": "^0.15.40",
169
+ "@stryke/path": "^0.29.43",
170
+ "@stryke/string-format": "^0.17.58",
171
+ "@stryke/type-checks": "^0.6.49",
172
+ "@stryke/types": "^0.12.44",
173
173
  "automd": "^0.4.3",
174
174
  "c12": "^3.3.4",
175
175
  "defu": "^6.1.7",
176
- "powerlines": "^0.47.213"
176
+ "powerlines": "^0.47.216"
177
177
  },
178
178
  "devDependencies": {
179
179
  "@openfeature/flagd-provider": "^0.14.0",
180
- "@powerlines/plugin-plugin": "^0.12.626",
181
- "@types/node": "^25.9.7"
180
+ "@powerlines/plugin-plugin": "^0.12.629",
181
+ "@types/node": "^25.9.9"
182
182
  },
183
183
  "publishConfig": { "access": "public" },
184
- "gitHead": "6303d77b4c8c2dadb7f0128d74e30c2cbb6ffe75"
184
+ "gitHead": "75efa1cc4eb8bc90093202669065576aa70fbfef"
185
185
  }