@powerlines/plugin-env 0.1.0 → 0.1.1

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
  export { envBabelPlugin } from './plugin.cjs';
2
- import '../runtime-I3P49niA.cjs';
2
+ import '../runtime-Bp1mD-tm.cjs';
3
3
  import '@stryke/env/get-env-paths';
4
4
  import '@stryke/types/package-json';
5
5
  import 'jiti';
@@ -1,5 +1,5 @@
1
1
  export { envBabelPlugin } from './plugin.js';
2
- import '../runtime-DqvtGYT3.js';
2
+ import '../runtime-XRx54qng.js';
3
3
  import '@stryke/env/get-env-paths';
4
4
  import '@stryke/types/package-json';
5
5
  import 'jiti';
@@ -1,4 +1,4 @@
1
- import { D as DeclareBabelTransformPluginReturn } from '../runtime-I3P49niA.cjs';
1
+ import { D as DeclareBabelTransformPluginReturn } from '../runtime-Bp1mD-tm.cjs';
2
2
  import { EnvPluginContext, EnvPluginResolvedConfig } from '../types/plugin.cjs';
3
3
  import '@stryke/env/get-env-paths';
4
4
  import '@stryke/types/package-json';
@@ -1,4 +1,4 @@
1
- import { D as DeclareBabelTransformPluginReturn } from '../runtime-DqvtGYT3.js';
1
+ import { D as DeclareBabelTransformPluginReturn } from '../runtime-XRx54qng.js';
2
2
  import { EnvPluginContext, EnvPluginResolvedConfig } from '../types/plugin.js';
3
3
  import '@stryke/env/get-env-paths';
4
4
  import '@stryke/types/package-json';
@@ -4,7 +4,7 @@
4
4
  *
5
5
  *****************************************/
6
6
 
7
- function Q(s){const[{defaultValue:i,reflection:t}]=core.splitProps(s,["defaultValue","reflection"]),r=context.useStorm();return React.createElement(React.Fragment,null,React.createElement(typescriptInterface.TypeScriptInterface,{name:" EnvBase",extends:["EnvInterface"],defaultValue:i,reflection:t,export:true}),React.createElement("hbr",null),React.createElement("hbr",null),React.createElement(typescript.TypeDeclaration,{name:"Env",export:true},core.code` {
7
+ function Q(s){const[{defaultValue:i,reflection:t}]=core.splitProps(s,["defaultValue","reflection"]),r=context.usePowerlines();return React.createElement(React.Fragment,null,React.createElement(typescriptInterface.TypeScriptInterface,{name:" EnvBase",extends:["EnvInterface"],defaultValue:i,reflection:t,export:true}),React.createElement("hbr",null),React.createElement("hbr",null),React.createElement(typescript.TypeDeclaration,{name:"Env",export:true},core.code` {
8
8
  [Key in keyof EnvBase as Key ${r?.value?.config.env.prefix.map(o=>`| \`${o.replace(/_$/g,"")}_\${Key}\``).join(" ")}]: EnvBase[Key];
9
9
  }
10
10
  `))}chunkFBBMZ4NC_cjs.a(Q,"EnvTypeDefinition");function l(s){const[{context:i,name:t}]=core.splitProps(s,["context","name"]);return i?core.code`propertyName === "${t}" || propertyName.replace(/^(${i.config.env.prefix.sort((r,o)=>r.startsWith(o)?-1:o.startsWith(r)?1:r.localeCompare(o)).map(r=>`${r.replace(/_$/,"")}_`).join("|")})/g, "").toLowerCase().replace(/[\\s\\-_]+/g, "") === "${t.toLowerCase().replace(/[\s\-_]+/g,"")}"`:null}chunkFBBMZ4NC_cjs.a(l,"ConfigPropertyConditional");function U(s){const[{context:i,property:t,index:r}]=core.splitProps(s,["context","property","index"]);return i?React.createElement(React.Fragment,null,r===0?React.createElement(typescript.IfStatement,{condition:React.createElement(React.Fragment,null,React.createElement(l,{name:t.getNameAsString(),context:i}),React.createElement(core.Show,{when:t.getAlias()&&t.getAlias().length>0},core.code` || `,React.createElement(core.For,{each:t.getAlias(),joiner:core.code` || `},o=>React.createElement(l,{name:o,context:i}))))},core.code`return target["${t.getNameAsString()}"];`):React.createElement(typescript.ElseIfClause,{condition:React.createElement(React.Fragment,null,React.createElement(l,{name:t.getNameAsString(),context:i}),React.createElement(core.Show,{when:t.getAlias()&&t.getAlias().length>0},core.code` || `,React.createElement(core.For,{each:t.getAlias(),joiner:core.code` || `},o=>React.createElement(l,{name:o,context:i}))))},core.code`return target["${t.getNameAsString()}"];`)):null}chunkFBBMZ4NC_cjs.a(U,"ConfigPropertyGet");function X(s){const[{context:i,property:t,index:r}]=core.splitProps(s,["context","property","index"]);return i?React.createElement(React.Fragment,null,r===0?React.createElement(typescript.IfStatement,{condition:React.createElement(React.Fragment,null,React.createElement(l,{name:t.getNameAsString(),context:i}),React.createElement(core.Show,{when:t.getAlias()&&t.getAlias().length>0},core.code` || `,React.createElement(core.For,{each:t.getAlias(),joiner:core.code` || `},o=>React.createElement(l,{name:o,context:i}))))},core.code`
@@ -13,7 +13,7 @@ function Q(s){const[{defaultValue:i,reflection:t}]=core.splitProps(s,["defaultVa
13
13
  `):React.createElement(typescript.ElseIfClause,{condition:React.createElement(React.Fragment,null,React.createElement(l,{name:t.getNameAsString(),context:i}),React.createElement(core.Show,{when:t.getAlias()&&t.getAlias().length>0},core.code` || `,React.createElement(core.For,{each:t.getAlias(),joiner:core.code` || `},o=>React.createElement(l,{name:o,context:i}))))},core.code`
14
14
  target["${t.getNameAsString()}"] = newValue;
15
15
  return true;
16
- `)):null}chunkFBBMZ4NC_cjs.a(X,"ConfigPropertySet");const Y=refkey.refkey("createEnv"),Z=refkey.refkey("env"),ee=refkey.refkey("EnvSerializer");function be(s){const[{defaultConfig:i},t]=core.splitProps(s,["defaultConfig"]),r=context.useStorm(),o=core.computed(()=>r&&load.loadEnvFromContext(r.value,process.env)),f=core.createResource(async()=>{if(!r?.value)return new type.ReflectionClass({kind:type.ReflectionKind.objectLiteral,description:"The initial environment configuration state for the Powerlines project.",types:[]});const a=await persistence.readEnvTypeReflection(r?.value,"env");return a.getProperties().forEach(e=>{e.getAlias().filter(Boolean).forEach(h=>{a.addProperty({name:h,optional:e.isOptional()?true:void 0,readonly:e.isReadonly()?true:void 0,description:e.getDescription(),visibility:e.getVisibility(),type:e.getType(),default:e.getDefaultValue(),tags:{hidden:e.isHidden(),ignore:e.isIgnored(),internal:e.isInternal(),alias:e.getAlias().filter(j=>j!==h).concat(e.name),title:e.getTitle()||titleCase.titleCase(e.name),readonly:e.isReadonly(),permission:e.getPermission(),domain:e.getDomain()}});});}),a.getProperties().forEach(e=>{e.setDefaultValue(o.value?.[e.getNameAsString()]??e.getAlias().reduce((T,h)=>T??o.value?.[h],void 0)??e.getDefaultValue());}),a}),k=core.computed(()=>new type.ReflectionClass({kind:type.ReflectionKind.objectLiteral,description:`The initial environment configuration state for the ${titleCase.titleCase(r?.value?.config?.name)} project.`,types:[]},f.data??void 0)),R=core.computed(()=>f.data?.getProperties().filter(a=>!a.isIgnored()).sort((a,e)=>a.getNameAsString().localeCompare(e.getNameAsString()))??[]),N=core.computed(()=>f.data?.getProperties().filter(a=>!a.isIgnored()&&!a.isReadonly()).sort((a,e)=>a.getNameAsString().localeCompare(e.getNameAsString()))??[]);return React.createElement(builtinFile.BuiltinFile,{...t,id:"env",description:"The Powerlines environment configuration module provides an interface to define environment configuration parameters.",imports:W__default.default({"powerlines/deepkit/type":["Type","stringify","serializer","serializeFunction","deserializeFunction","ReflectionKind","TemplateState","Serializer","TypeProperty","TypePropertySignature"],"powerlines/runtime-types/shared/env":[{name:"EnvInterface"}]},t.imports??{})},React.createElement(core.Show,{when:!isNull.isNull(f.data)},React.createElement(Q,{defaultValue:o.value,reflection:f.data}),React.createElement("hbr",null),React.createElement("hbr",null)),React.createElement(typescriptObject.TypescriptObject,{name:"initialEnv",type:"Partial<EnvBase>",defaultValue:o,reflection:k,export:true,const:true}),React.createElement("hbr",null),React.createElement("hbr",null),React.createElement(tsdoc.TSDoc,{heading:"The environment configuration serializer for the Powerlines application."},React.createElement(tsdoc.TSDocLink,null,"https://deepkit.io/docs/serialization/serializers"),React.createElement(tsdoc.TSDocLink,null,"https://github.com/marcj/untitled-code/blob/master/packages/type/src/serializer.ts#L1918"),React.createElement(tsdoc.TSDocRemarks,null,"This serializer is used to serialize and deserialize the Powerlines environment configuration.")),React.createElement(typescript.ClassDeclaration,{refkey:ee,name:"EnvSerializer",extends:"Serializer",export:true},React.createElement(typescript.ClassMethod,{name:"constructor",public:true},core.code`
16
+ `)):null}chunkFBBMZ4NC_cjs.a(X,"ConfigPropertySet");const Y=refkey.refkey("createEnv"),Z=refkey.refkey("env"),ee=refkey.refkey("EnvSerializer");function be(s){const[{defaultConfig:i},t]=core.splitProps(s,["defaultConfig"]),r=context.usePowerlines(),o=core.computed(()=>r&&load.loadEnvFromContext(r.value,process.env)),f=core.createResource(async()=>{if(!r?.value)return new type.ReflectionClass({kind:type.ReflectionKind.objectLiteral,description:"The initial environment configuration state for the Powerlines project.",types:[]});const a=await persistence.readEnvTypeReflection(r?.value,"env");return a.getProperties().forEach(e=>{e.getAlias().filter(Boolean).forEach(h=>{a.addProperty({name:h,optional:e.isOptional()?true:void 0,readonly:e.isReadonly()?true:void 0,description:e.getDescription(),visibility:e.getVisibility(),type:e.getType(),default:e.getDefaultValue(),tags:{hidden:e.isHidden(),ignore:e.isIgnored(),internal:e.isInternal(),alias:e.getAlias().filter(j=>j!==h).concat(e.name),title:e.getTitle()||titleCase.titleCase(e.name),readonly:e.isReadonly(),permission:e.getPermission(),domain:e.getDomain()}});});}),a.getProperties().forEach(e=>{e.setDefaultValue(o.value?.[e.getNameAsString()]??e.getAlias().reduce((T,h)=>T??o.value?.[h],void 0)??e.getDefaultValue());}),a}),k=core.computed(()=>new type.ReflectionClass({kind:type.ReflectionKind.objectLiteral,description:`The initial environment configuration state for the ${titleCase.titleCase(r?.value?.config?.name)} project.`,types:[]},f.data??void 0)),R=core.computed(()=>f.data?.getProperties().filter(a=>!a.isIgnored()).sort((a,e)=>a.getNameAsString().localeCompare(e.getNameAsString()))??[]),N=core.computed(()=>f.data?.getProperties().filter(a=>!a.isIgnored()&&!a.isReadonly()).sort((a,e)=>a.getNameAsString().localeCompare(e.getNameAsString()))??[]);return React.createElement(builtinFile.BuiltinFile,{...t,id:"env",description:"The Powerlines environment configuration module provides an interface to define environment configuration parameters.",imports:W__default.default({"powerlines/deepkit/type":["Type","stringify","serializer","serializeFunction","deserializeFunction","ReflectionKind","TemplateState","Serializer","TypeProperty","TypePropertySignature"],"powerlines/runtime-types/shared/env":[{name:"EnvInterface"}]},t.imports??{})},React.createElement(core.Show,{when:!isNull.isNull(f.data)},React.createElement(Q,{defaultValue:o.value,reflection:f.data}),React.createElement("hbr",null),React.createElement("hbr",null)),React.createElement(typescriptObject.TypescriptObject,{name:"initialEnv",type:"Partial<EnvBase>",defaultValue:o,reflection:k,export:true,const:true}),React.createElement("hbr",null),React.createElement("hbr",null),React.createElement(tsdoc.TSDoc,{heading:"The environment configuration serializer for the Powerlines application."},React.createElement(tsdoc.TSDocLink,null,"https://deepkit.io/docs/serialization/serializers"),React.createElement(tsdoc.TSDocLink,null,"https://github.com/marcj/untitled-code/blob/master/packages/type/src/serializer.ts#L1918"),React.createElement(tsdoc.TSDocRemarks,null,"This serializer is used to serialize and deserialize the Powerlines environment configuration.")),React.createElement(typescript.ClassDeclaration,{refkey:ee,name:"EnvSerializer",extends:"Serializer",export:true},React.createElement(typescript.ClassMethod,{name:"constructor",public:true},core.code`
17
17
  super("env");
18
18
 
19
19
  this.deserializeRegistry.register(
@@ -1,10 +1,10 @@
1
- import {a}from'../chunk-UCUR73HG.js';import {splitProps,code,Show,For,computed,createResource}from'@alloy-js/core';import {TypeDeclaration,IfStatement,ElseIfClause,ClassDeclaration,ClassMethod,VarDeclaration,NewExpression,FunctionDeclaration}from'@alloy-js/typescript';import {useStorm}from'@powerlines/alloy/core/contexts/context';import {refkey}from'@powerlines/alloy/helpers/refkey';import {BuiltinFile}from'@powerlines/alloy/typescript/components/builtin-file';import {TSDoc,TSDocLink,TSDocRemarks,TSDocExample,TSDocThrows,TSDocParam,TSDocReturns}from'@powerlines/alloy/typescript/components/tsdoc';import {TypeScriptInterface}from'@powerlines/alloy/typescript/components/typescript-interface';import {TypescriptObject}from'@powerlines/alloy/typescript/components/typescript-object';import {titleCase}from'@stryke/string-format/title-case';import {isNull}from'@stryke/type-checks/is-null';import W from'defu';import {ReflectionClass,ReflectionKind}from'powerlines/deepkit/type';import {loadEnvFromContext}from'../helpers/load';import {readEnvTypeReflection}from'../helpers/persistence';/*****************************************
1
+ import {a}from'../chunk-UCUR73HG.js';import {splitProps,code,Show,For,computed,createResource}from'@alloy-js/core';import {TypeDeclaration,IfStatement,ElseIfClause,ClassDeclaration,ClassMethod,VarDeclaration,NewExpression,FunctionDeclaration}from'@alloy-js/typescript';import {usePowerlines}from'@powerlines/alloy/core/contexts/context';import {refkey}from'@powerlines/alloy/helpers/refkey';import {BuiltinFile}from'@powerlines/alloy/typescript/components/builtin-file';import {TSDoc,TSDocLink,TSDocRemarks,TSDocExample,TSDocThrows,TSDocParam,TSDocReturns}from'@powerlines/alloy/typescript/components/tsdoc';import {TypeScriptInterface}from'@powerlines/alloy/typescript/components/typescript-interface';import {TypescriptObject}from'@powerlines/alloy/typescript/components/typescript-object';import {titleCase}from'@stryke/string-format/title-case';import {isNull}from'@stryke/type-checks/is-null';import W from'defu';import {ReflectionClass,ReflectionKind}from'powerlines/deepkit/type';import {loadEnvFromContext}from'../helpers/load';import {readEnvTypeReflection}from'../helpers/persistence';/*****************************************
2
2
  *
3
3
  * ⚡ Built by Storm Software
4
4
  *
5
5
  *****************************************/
6
6
 
7
- function Q(s){const[{defaultValue:i,reflection:t}]=splitProps(s,["defaultValue","reflection"]),r=useStorm();return React.createElement(React.Fragment,null,React.createElement(TypeScriptInterface,{name:" EnvBase",extends:["EnvInterface"],defaultValue:i,reflection:t,export:true}),React.createElement("hbr",null),React.createElement("hbr",null),React.createElement(TypeDeclaration,{name:"Env",export:true},code` {
7
+ function Q(s){const[{defaultValue:i,reflection:t}]=splitProps(s,["defaultValue","reflection"]),r=usePowerlines();return React.createElement(React.Fragment,null,React.createElement(TypeScriptInterface,{name:" EnvBase",extends:["EnvInterface"],defaultValue:i,reflection:t,export:true}),React.createElement("hbr",null),React.createElement("hbr",null),React.createElement(TypeDeclaration,{name:"Env",export:true},code` {
8
8
  [Key in keyof EnvBase as Key ${r?.value?.config.env.prefix.map(o=>`| \`${o.replace(/_$/g,"")}_\${Key}\``).join(" ")}]: EnvBase[Key];
9
9
  }
10
10
  `))}a(Q,"EnvTypeDefinition");function l(s){const[{context:i,name:t}]=splitProps(s,["context","name"]);return i?code`propertyName === "${t}" || propertyName.replace(/^(${i.config.env.prefix.sort((r,o)=>r.startsWith(o)?-1:o.startsWith(r)?1:r.localeCompare(o)).map(r=>`${r.replace(/_$/,"")}_`).join("|")})/g, "").toLowerCase().replace(/[\\s\\-_]+/g, "") === "${t.toLowerCase().replace(/[\s\-_]+/g,"")}"`:null}a(l,"ConfigPropertyConditional");function U(s){const[{context:i,property:t,index:r}]=splitProps(s,["context","property","index"]);return i?React.createElement(React.Fragment,null,r===0?React.createElement(IfStatement,{condition:React.createElement(React.Fragment,null,React.createElement(l,{name:t.getNameAsString(),context:i}),React.createElement(Show,{when:t.getAlias()&&t.getAlias().length>0},code` || `,React.createElement(For,{each:t.getAlias(),joiner:code` || `},o=>React.createElement(l,{name:o,context:i}))))},code`return target["${t.getNameAsString()}"];`):React.createElement(ElseIfClause,{condition:React.createElement(React.Fragment,null,React.createElement(l,{name:t.getNameAsString(),context:i}),React.createElement(Show,{when:t.getAlias()&&t.getAlias().length>0},code` || `,React.createElement(For,{each:t.getAlias(),joiner:code` || `},o=>React.createElement(l,{name:o,context:i}))))},code`return target["${t.getNameAsString()}"];`)):null}a(U,"ConfigPropertyGet");function X(s){const[{context:i,property:t,index:r}]=splitProps(s,["context","property","index"]);return i?React.createElement(React.Fragment,null,r===0?React.createElement(IfStatement,{condition:React.createElement(React.Fragment,null,React.createElement(l,{name:t.getNameAsString(),context:i}),React.createElement(Show,{when:t.getAlias()&&t.getAlias().length>0},code` || `,React.createElement(For,{each:t.getAlias(),joiner:code` || `},o=>React.createElement(l,{name:o,context:i}))))},code`
@@ -13,7 +13,7 @@ function Q(s){const[{defaultValue:i,reflection:t}]=splitProps(s,["defaultValue",
13
13
  `):React.createElement(ElseIfClause,{condition:React.createElement(React.Fragment,null,React.createElement(l,{name:t.getNameAsString(),context:i}),React.createElement(Show,{when:t.getAlias()&&t.getAlias().length>0},code` || `,React.createElement(For,{each:t.getAlias(),joiner:code` || `},o=>React.createElement(l,{name:o,context:i}))))},code`
14
14
  target["${t.getNameAsString()}"] = newValue;
15
15
  return true;
16
- `)):null}a(X,"ConfigPropertySet");const Y=refkey("createEnv"),Z=refkey("env"),ee=refkey("EnvSerializer");function ze(s){const[{defaultConfig:i},t]=splitProps(s,["defaultConfig"]),r=useStorm(),o=computed(()=>r&&loadEnvFromContext(r.value,process.env)),f=createResource(async()=>{if(!r?.value)return new ReflectionClass({kind:ReflectionKind.objectLiteral,description:"The initial environment configuration state for the Powerlines project.",types:[]});const a=await readEnvTypeReflection(r?.value,"env");return a.getProperties().forEach(e=>{e.getAlias().filter(Boolean).forEach(h=>{a.addProperty({name:h,optional:e.isOptional()?true:void 0,readonly:e.isReadonly()?true:void 0,description:e.getDescription(),visibility:e.getVisibility(),type:e.getType(),default:e.getDefaultValue(),tags:{hidden:e.isHidden(),ignore:e.isIgnored(),internal:e.isInternal(),alias:e.getAlias().filter(j=>j!==h).concat(e.name),title:e.getTitle()||titleCase(e.name),readonly:e.isReadonly(),permission:e.getPermission(),domain:e.getDomain()}});});}),a.getProperties().forEach(e=>{e.setDefaultValue(o.value?.[e.getNameAsString()]??e.getAlias().reduce((T,h)=>T??o.value?.[h],void 0)??e.getDefaultValue());}),a}),k=computed(()=>new ReflectionClass({kind:ReflectionKind.objectLiteral,description:`The initial environment configuration state for the ${titleCase(r?.value?.config?.name)} project.`,types:[]},f.data??void 0)),R=computed(()=>f.data?.getProperties().filter(a=>!a.isIgnored()).sort((a,e)=>a.getNameAsString().localeCompare(e.getNameAsString()))??[]),N=computed(()=>f.data?.getProperties().filter(a=>!a.isIgnored()&&!a.isReadonly()).sort((a,e)=>a.getNameAsString().localeCompare(e.getNameAsString()))??[]);return React.createElement(BuiltinFile,{...t,id:"env",description:"The Powerlines environment configuration module provides an interface to define environment configuration parameters.",imports:W({"powerlines/deepkit/type":["Type","stringify","serializer","serializeFunction","deserializeFunction","ReflectionKind","TemplateState","Serializer","TypeProperty","TypePropertySignature"],"powerlines/runtime-types/shared/env":[{name:"EnvInterface"}]},t.imports??{})},React.createElement(Show,{when:!isNull(f.data)},React.createElement(Q,{defaultValue:o.value,reflection:f.data}),React.createElement("hbr",null),React.createElement("hbr",null)),React.createElement(TypescriptObject,{name:"initialEnv",type:"Partial<EnvBase>",defaultValue:o,reflection:k,export:true,const:true}),React.createElement("hbr",null),React.createElement("hbr",null),React.createElement(TSDoc,{heading:"The environment configuration serializer for the Powerlines application."},React.createElement(TSDocLink,null,"https://deepkit.io/docs/serialization/serializers"),React.createElement(TSDocLink,null,"https://github.com/marcj/untitled-code/blob/master/packages/type/src/serializer.ts#L1918"),React.createElement(TSDocRemarks,null,"This serializer is used to serialize and deserialize the Powerlines environment configuration.")),React.createElement(ClassDeclaration,{refkey:ee,name:"EnvSerializer",extends:"Serializer",export:true},React.createElement(ClassMethod,{name:"constructor",public:true},code`
16
+ `)):null}a(X,"ConfigPropertySet");const Y=refkey("createEnv"),Z=refkey("env"),ee=refkey("EnvSerializer");function we(s){const[{defaultConfig:i},t]=splitProps(s,["defaultConfig"]),r=usePowerlines(),o=computed(()=>r&&loadEnvFromContext(r.value,process.env)),f=createResource(async()=>{if(!r?.value)return new ReflectionClass({kind:ReflectionKind.objectLiteral,description:"The initial environment configuration state for the Powerlines project.",types:[]});const a=await readEnvTypeReflection(r?.value,"env");return a.getProperties().forEach(e=>{e.getAlias().filter(Boolean).forEach(h=>{a.addProperty({name:h,optional:e.isOptional()?true:void 0,readonly:e.isReadonly()?true:void 0,description:e.getDescription(),visibility:e.getVisibility(),type:e.getType(),default:e.getDefaultValue(),tags:{hidden:e.isHidden(),ignore:e.isIgnored(),internal:e.isInternal(),alias:e.getAlias().filter(j=>j!==h).concat(e.name),title:e.getTitle()||titleCase(e.name),readonly:e.isReadonly(),permission:e.getPermission(),domain:e.getDomain()}});});}),a.getProperties().forEach(e=>{e.setDefaultValue(o.value?.[e.getNameAsString()]??e.getAlias().reduce((T,h)=>T??o.value?.[h],void 0)??e.getDefaultValue());}),a}),k=computed(()=>new ReflectionClass({kind:ReflectionKind.objectLiteral,description:`The initial environment configuration state for the ${titleCase(r?.value?.config?.name)} project.`,types:[]},f.data??void 0)),R=computed(()=>f.data?.getProperties().filter(a=>!a.isIgnored()).sort((a,e)=>a.getNameAsString().localeCompare(e.getNameAsString()))??[]),N=computed(()=>f.data?.getProperties().filter(a=>!a.isIgnored()&&!a.isReadonly()).sort((a,e)=>a.getNameAsString().localeCompare(e.getNameAsString()))??[]);return React.createElement(BuiltinFile,{...t,id:"env",description:"The Powerlines environment configuration module provides an interface to define environment configuration parameters.",imports:W({"powerlines/deepkit/type":["Type","stringify","serializer","serializeFunction","deserializeFunction","ReflectionKind","TemplateState","Serializer","TypeProperty","TypePropertySignature"],"powerlines/runtime-types/shared/env":[{name:"EnvInterface"}]},t.imports??{})},React.createElement(Show,{when:!isNull(f.data)},React.createElement(Q,{defaultValue:o.value,reflection:f.data}),React.createElement("hbr",null),React.createElement("hbr",null)),React.createElement(TypescriptObject,{name:"initialEnv",type:"Partial<EnvBase>",defaultValue:o,reflection:k,export:true,const:true}),React.createElement("hbr",null),React.createElement("hbr",null),React.createElement(TSDoc,{heading:"The environment configuration serializer for the Powerlines application."},React.createElement(TSDocLink,null,"https://deepkit.io/docs/serialization/serializers"),React.createElement(TSDocLink,null,"https://github.com/marcj/untitled-code/blob/master/packages/type/src/serializer.ts#L1918"),React.createElement(TSDocRemarks,null,"This serializer is used to serialize and deserialize the Powerlines environment configuration.")),React.createElement(ClassDeclaration,{refkey:ee,name:"EnvSerializer",extends:"Serializer",export:true},React.createElement(ClassMethod,{name:"constructor",public:true},code`
17
17
  super("env");
18
18
 
19
19
  this.deserializeRegistry.register(
@@ -37,4 +37,4 @@ function Q(s){const[{defaultValue:i,reflection:t}]=splitProps(s,["defaultValue",
37
37
  }
38
38
  }
39
39
  );
40
- `)),React.createElement("hbr",null),React.createElement("hbr",null),React.createElement("hbr",null),React.createElement(VarDeclaration,{refkey:Z,name:"env",type:"Env",export:true,const:true,initializer:React.createElement(React.Fragment,null,code`createEnv(`,i||"{}",code` as Partial<Env>)`)}))}a(ze,"EnvBuiltin");export{ze as EnvBuiltin,Q as EnvTypeDefinition};
40
+ `)),React.createElement("hbr",null),React.createElement("hbr",null),React.createElement("hbr",null),React.createElement(VarDeclaration,{refkey:Z,name:"env",type:"Env",export:true,const:true,initializer:React.createElement(React.Fragment,null,code`createEnv(`,i||"{}",code` as Partial<Env>)`)}))}a(we,"EnvBuiltin");export{we as EnvBuiltin,Q as EnvTypeDefinition};
@@ -3,7 +3,7 @@ export { getEnvDefaultTypeDefinition, getEnvReflectionsPath, getEnvTypeReflectio
3
3
  export { CreateEnvReflectionOptions, StormBaseEnv, StormBaseSecrets, __ΩCreateEnvReflectionOptions, createEnvReflection, createSecretsReflection, mergeEnvReflections, mergeSecretsReflections, reflectEnv, reflectSecrets } from './reflect.cjs';
4
4
  export { formatEnvField, removeEnvPrefix } from './source-file-env.cjs';
5
5
  export { createTemplateReflection } from './template-helpers.cjs';
6
- import '../runtime-I3P49niA.cjs';
6
+ import '../runtime-Bp1mD-tm.cjs';
7
7
  import '@stryke/env/get-env-paths';
8
8
  import '@stryke/types/package-json';
9
9
  import 'jiti';
@@ -3,7 +3,7 @@ export { getEnvDefaultTypeDefinition, getEnvReflectionsPath, getEnvTypeReflectio
3
3
  export { CreateEnvReflectionOptions, StormBaseEnv, StormBaseSecrets, __ΩCreateEnvReflectionOptions, createEnvReflection, createSecretsReflection, mergeEnvReflections, mergeSecretsReflections, reflectEnv, reflectSecrets } from './reflect.js';
4
4
  export { formatEnvField, removeEnvPrefix } from './source-file-env.js';
5
5
  export { createTemplateReflection } from './template-helpers.js';
6
- import '../runtime-DqvtGYT3.js';
6
+ import '../runtime-XRx54qng.js';
7
7
  import '@stryke/env/get-env-paths';
8
8
  import '@stryke/types/package-json';
9
9
  import 'jiti';
@@ -1,4 +1,4 @@
1
- import { a as EnvironmentResolvedConfig } from '../runtime-I3P49niA.cjs';
1
+ import { a as EnvironmentResolvedConfig } from '../runtime-Bp1mD-tm.cjs';
2
2
  import * as _storm_software_config_tools_types from '@storm-software/config-tools/types';
3
3
  import { DotenvParseOutput } from '@stryke/env/types';
4
4
  import { EnvPluginContext, EnvPluginOptions } from '../types/plugin.cjs';
@@ -1,4 +1,4 @@
1
- import { a as EnvironmentResolvedConfig } from '../runtime-DqvtGYT3.js';
1
+ import { a as EnvironmentResolvedConfig } from '../runtime-XRx54qng.js';
2
2
  import * as _storm_software_config_tools_types from '@storm-software/config-tools/types';
3
3
  import { DotenvParseOutput } from '@stryke/env/types';
4
4
  import { EnvPluginContext, EnvPluginOptions } from '../types/plugin.js';
@@ -1,6 +1,6 @@
1
1
  import { TypeDefinition } from '@stryke/types/configuration';
2
2
  import { ReflectionClass } from '@deepkit/type';
3
- import { C as Context } from '../runtime-I3P49niA.cjs';
3
+ import { C as Context } from '../runtime-Bp1mD-tm.cjs';
4
4
  import { EnvPluginResolvedConfig, EnvType, EnvPluginContext } from '../types/plugin.cjs';
5
5
  import '@stryke/env/get-env-paths';
6
6
  import '@stryke/types/package-json';
@@ -1,6 +1,6 @@
1
1
  import { TypeDefinition } from '@stryke/types/configuration';
2
2
  import { ReflectionClass } from '@deepkit/type';
3
- import { C as Context } from '../runtime-DqvtGYT3.js';
3
+ import { C as Context } from '../runtime-XRx54qng.js';
4
4
  import { EnvPluginResolvedConfig, EnvType, EnvPluginContext } from '../types/plugin.js';
5
5
  import '@stryke/env/get-env-paths';
6
6
  import '@stryke/types/package-json';
@@ -1,6 +1,6 @@
1
1
  import { ReflectionClass, TypeObjectLiteral, TypeClass } from '@deepkit/type';
2
2
  import { EnvPluginContext } from '../types/plugin.cjs';
3
- import { E as EnvInterface, S as SecretsInterface } from '../runtime-I3P49niA.cjs';
3
+ import { E as EnvInterface, S as SecretsInterface } from '../runtime-Bp1mD-tm.cjs';
4
4
  import '@alloy-js/core/jsx-runtime';
5
5
  import '@stryke/env/types';
6
6
  import '@stryke/types/configuration';
@@ -1,6 +1,6 @@
1
1
  import { ReflectionClass, TypeObjectLiteral, TypeClass } from '@deepkit/type';
2
2
  import { EnvPluginContext } from '../types/plugin.js';
3
- import { E as EnvInterface, S as SecretsInterface } from '../runtime-DqvtGYT3.js';
3
+ import { E as EnvInterface, S as SecretsInterface } from '../runtime-XRx54qng.js';
4
4
  import '@alloy-js/core/jsx-runtime';
5
5
  import '@stryke/env/types';
6
6
  import '@stryke/types/configuration';
@@ -1,7 +1,7 @@
1
1
  import { ReflectionClass } from '@deepkit/type';
2
2
  import { EnvPluginContext, EnvType } from '../types/plugin.cjs';
3
3
  import '@alloy-js/core/jsx-runtime';
4
- import '../runtime-I3P49niA.cjs';
4
+ import '../runtime-Bp1mD-tm.cjs';
5
5
  import '@stryke/env/get-env-paths';
6
6
  import '@stryke/types/package-json';
7
7
  import 'jiti';
@@ -1,7 +1,7 @@
1
1
  import { ReflectionClass } from '@deepkit/type';
2
2
  import { EnvPluginContext, EnvType } from '../types/plugin.js';
3
3
  import '@alloy-js/core/jsx-runtime';
4
- import '../runtime-DqvtGYT3.js';
4
+ import '../runtime-XRx54qng.js';
5
5
  import '@stryke/env/get-env-paths';
6
6
  import '@stryke/types/package-json';
7
7
  import 'jiti';
package/dist/index.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { EnvPluginContext, EnvPluginResolvedConfig } from './types/plugin.cjs';
2
2
  export { EnvPluginOptions, EnvPluginUserConfig, EnvType, __ΩEnvPluginContext, __ΩEnvPluginOptions, __ΩEnvPluginResolvedConfig, __ΩEnvPluginUserConfig, __ΩEnvType } from './types/plugin.cjs';
3
- import { B as BabelTransformPluginOptions, P as Plugin } from './runtime-I3P49niA.cjs';
4
- export { E as EnvInterface, S as SecretsInterface, _ as __ΩEnvInterface, b as __ΩSecretsInterface } from './runtime-I3P49niA.cjs';
3
+ import { B as BabelTransformPluginOptions, P as Plugin } from './runtime-Bp1mD-tm.cjs';
4
+ export { E as EnvInterface, S as SecretsInterface, _ as __ΩEnvInterface, b as __ΩSecretsInterface } from './runtime-Bp1mD-tm.cjs';
5
5
  import * as _alloy_js_core from '@alloy-js/core';
6
6
  import { PrintTreeOptions } from '@alloy-js/core';
7
7
  import * as _stryke_types_configuration from '@stryke/types/configuration';
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { EnvPluginContext, EnvPluginResolvedConfig } from './types/plugin.js';
2
2
  export { EnvPluginOptions, EnvPluginUserConfig, EnvType, __ΩEnvPluginContext, __ΩEnvPluginOptions, __ΩEnvPluginResolvedConfig, __ΩEnvPluginUserConfig, __ΩEnvType } from './types/plugin.js';
3
- import { B as BabelTransformPluginOptions, P as Plugin } from './runtime-DqvtGYT3.js';
4
- export { E as EnvInterface, S as SecretsInterface, _ as __ΩEnvInterface, b as __ΩSecretsInterface } from './runtime-DqvtGYT3.js';
3
+ import { B as BabelTransformPluginOptions, P as Plugin } from './runtime-XRx54qng.js';
4
+ export { E as EnvInterface, S as SecretsInterface, _ as __ΩEnvInterface, b as __ΩSecretsInterface } from './runtime-XRx54qng.js';
5
5
  import * as _alloy_js_core from '@alloy-js/core';
6
6
  import { PrintTreeOptions } from '@alloy-js/core';
7
7
  import * as _stryke_types_configuration from '@stryke/types/configuration';
@@ -1989,9 +1989,27 @@ interface OutputConfig {
1989
1989
  /**
1990
1990
  * The path of the generated runtime declaration file relative to the workspace root.
1991
1991
  *
1992
- * @defaultValue "\{projectRoot\}/storm.d.ts"
1992
+ * @defaultValue "\{projectRoot\}/powerlines.d.ts"
1993
1993
  */
1994
1994
  dts?: string | false;
1995
+ /**
1996
+ * A prefix to use for identifying builtin modules
1997
+ *
1998
+ * @remarks
1999
+ * This prefix will be used to identify all builtin modules generated during the "prepare" phase. An example builtin ID for a module called `"utils"` would be `"{builtinPrefix}:utils"`.
2000
+ *
2001
+ * @defaultValue "powerlines"
2002
+ */
2003
+ builtinPrefix?: string;
2004
+ /**
2005
+ * The folder where the generated runtime modules/builtins will be located
2006
+ *
2007
+ * @remarks
2008
+ * This folder will contain all runtime modules and builtins generated during the "prepare" phase.
2009
+ *
2010
+ * @defaultValue "\{projectRoot\}/.powerlines"
2011
+ */
2012
+ runtimeFolder?: string;
1995
2013
  /**
1996
2014
  * The module format of the output files
1997
2015
  *
@@ -2078,14 +2096,12 @@ interface BaseConfig {
2078
2096
  */
2079
2097
  build?: BuildConfig;
2080
2098
  /**
2081
- * A prefix to use for identifying builtin modules
2099
+ * Configuration for documentation generation
2082
2100
  *
2083
2101
  * @remarks
2084
- * This prefix will be used to identify all builtin modules generated during the "prepare" phase. An example builtin ID for a module called `"utils"` would be `"{builtinPrefix}:utils"`.
2085
- *
2086
- * @defaultValue "storm"
2102
+ * This configuration will be used by the documentation generation plugins during the `docs` command.
2087
2103
  */
2088
- builtinPrefix?: string;
2104
+ docs?: Record<string, any>;
2089
2105
  /**
2090
2106
  * The path to the tsconfig file to be used by the compiler
2091
2107
  *
@@ -2243,13 +2259,13 @@ type EnvironmentResolvedConfig = Omit<EnvironmentConfig, "consumer" | "mode" | "
2243
2259
  };
2244
2260
  type LintResolvedConfig = Required<LintConfig>;
2245
2261
  type ResolvedAssetGlob = AssetGlob & Required<Pick<AssetGlob, "input">>;
2246
- type OutputResolvedConfig = Required<Omit<OutputConfig, "assets">> & {
2262
+ type OutputResolvedConfig = Required<Omit<OutputConfig, "assets"> & {
2247
2263
  assets: ResolvedAssetGlob[];
2248
- };
2264
+ }>;
2249
2265
  /**
2250
2266
  * The resolved options for the Powerlines project configuration.
2251
2267
  */
2252
- type ResolvedConfig<TUserConfig extends UserConfig = UserConfig> = Omit<TUserConfig, "name" | "title" | "plugins" | "mode" | "environments" | "platform" | "tsconfig" | "lint" | "build" | "transform" | "override" | "root" | "variant" | "type" | "builtinPrefix" | "output" | "logLevel"> & Required<Pick<TUserConfig, "name" | "title" | "plugins" | "mode" | "environments" | "tsconfig" | "build" | "transform" | "override" | "builtinPrefix">> & {
2268
+ type ResolvedConfig<TUserConfig extends UserConfig = UserConfig> = Omit<TUserConfig, "name" | "title" | "plugins" | "mode" | "environments" | "platform" | "tsconfig" | "lint" | "build" | "transform" | "override" | "root" | "variant" | "type" | "output" | "logLevel"> & Required<Pick<TUserConfig, "name" | "title" | "plugins" | "mode" | "environments" | "tsconfig" | "build" | "transform" | "override">> & {
2253
2269
  /**
2254
2270
  * The configuration options that were provided inline to the Powerlines CLI.
2255
2271
  */
@@ -1989,9 +1989,27 @@ interface OutputConfig {
1989
1989
  /**
1990
1990
  * The path of the generated runtime declaration file relative to the workspace root.
1991
1991
  *
1992
- * @defaultValue "\{projectRoot\}/storm.d.ts"
1992
+ * @defaultValue "\{projectRoot\}/powerlines.d.ts"
1993
1993
  */
1994
1994
  dts?: string | false;
1995
+ /**
1996
+ * A prefix to use for identifying builtin modules
1997
+ *
1998
+ * @remarks
1999
+ * This prefix will be used to identify all builtin modules generated during the "prepare" phase. An example builtin ID for a module called `"utils"` would be `"{builtinPrefix}:utils"`.
2000
+ *
2001
+ * @defaultValue "powerlines"
2002
+ */
2003
+ builtinPrefix?: string;
2004
+ /**
2005
+ * The folder where the generated runtime modules/builtins will be located
2006
+ *
2007
+ * @remarks
2008
+ * This folder will contain all runtime modules and builtins generated during the "prepare" phase.
2009
+ *
2010
+ * @defaultValue "\{projectRoot\}/.powerlines"
2011
+ */
2012
+ runtimeFolder?: string;
1995
2013
  /**
1996
2014
  * The module format of the output files
1997
2015
  *
@@ -2078,14 +2096,12 @@ interface BaseConfig {
2078
2096
  */
2079
2097
  build?: BuildConfig;
2080
2098
  /**
2081
- * A prefix to use for identifying builtin modules
2099
+ * Configuration for documentation generation
2082
2100
  *
2083
2101
  * @remarks
2084
- * This prefix will be used to identify all builtin modules generated during the "prepare" phase. An example builtin ID for a module called `"utils"` would be `"{builtinPrefix}:utils"`.
2085
- *
2086
- * @defaultValue "storm"
2102
+ * This configuration will be used by the documentation generation plugins during the `docs` command.
2087
2103
  */
2088
- builtinPrefix?: string;
2104
+ docs?: Record<string, any>;
2089
2105
  /**
2090
2106
  * The path to the tsconfig file to be used by the compiler
2091
2107
  *
@@ -2243,13 +2259,13 @@ type EnvironmentResolvedConfig = Omit<EnvironmentConfig, "consumer" | "mode" | "
2243
2259
  };
2244
2260
  type LintResolvedConfig = Required<LintConfig>;
2245
2261
  type ResolvedAssetGlob = AssetGlob & Required<Pick<AssetGlob, "input">>;
2246
- type OutputResolvedConfig = Required<Omit<OutputConfig, "assets">> & {
2262
+ type OutputResolvedConfig = Required<Omit<OutputConfig, "assets"> & {
2247
2263
  assets: ResolvedAssetGlob[];
2248
- };
2264
+ }>;
2249
2265
  /**
2250
2266
  * The resolved options for the Powerlines project configuration.
2251
2267
  */
2252
- type ResolvedConfig<TUserConfig extends UserConfig = UserConfig> = Omit<TUserConfig, "name" | "title" | "plugins" | "mode" | "environments" | "platform" | "tsconfig" | "lint" | "build" | "transform" | "override" | "root" | "variant" | "type" | "builtinPrefix" | "output" | "logLevel"> & Required<Pick<TUserConfig, "name" | "title" | "plugins" | "mode" | "environments" | "tsconfig" | "build" | "transform" | "override" | "builtinPrefix">> & {
2268
+ type ResolvedConfig<TUserConfig extends UserConfig = UserConfig> = Omit<TUserConfig, "name" | "title" | "plugins" | "mode" | "environments" | "platform" | "tsconfig" | "lint" | "build" | "transform" | "override" | "root" | "variant" | "type" | "output" | "logLevel"> & Required<Pick<TUserConfig, "name" | "title" | "plugins" | "mode" | "environments" | "tsconfig" | "build" | "transform" | "override">> & {
2253
2269
  /**
2254
2270
  * The configuration options that were provided inline to the Powerlines CLI.
2255
2271
  */
@@ -1,5 +1,5 @@
1
1
  export { EnvPluginContext, EnvPluginOptions, EnvPluginResolvedConfig, EnvPluginUserConfig, EnvType, __ΩEnvPluginContext, __ΩEnvPluginOptions, __ΩEnvPluginResolvedConfig, __ΩEnvPluginUserConfig, __ΩEnvType } from './plugin.cjs';
2
- export { E as EnvInterface, S as SecretsInterface, _ as __ΩEnvInterface, b as __ΩSecretsInterface } from '../runtime-I3P49niA.cjs';
2
+ export { E as EnvInterface, S as SecretsInterface, _ as __ΩEnvInterface, b as __ΩSecretsInterface } from '../runtime-Bp1mD-tm.cjs';
3
3
  import '@alloy-js/core/jsx-runtime';
4
4
  import '@stryke/env/types';
5
5
  import '@stryke/types/configuration';
@@ -1,5 +1,5 @@
1
1
  export { EnvPluginContext, EnvPluginOptions, EnvPluginResolvedConfig, EnvPluginUserConfig, EnvType, __ΩEnvPluginContext, __ΩEnvPluginOptions, __ΩEnvPluginResolvedConfig, __ΩEnvPluginUserConfig, __ΩEnvType } from './plugin.js';
2
- export { E as EnvInterface, S as SecretsInterface, _ as __ΩEnvInterface, b as __ΩSecretsInterface } from '../runtime-DqvtGYT3.js';
2
+ export { E as EnvInterface, S as SecretsInterface, _ as __ΩEnvInterface, b as __ΩSecretsInterface } from '../runtime-XRx54qng.js';
3
3
  import '@alloy-js/core/jsx-runtime';
4
4
  import '@stryke/env/types';
5
5
  import '@stryke/types/configuration';
@@ -1,5 +1,5 @@
1
1
  import { Children } from '@alloy-js/core/jsx-runtime';
2
- import { c as BabelUserConfig, U as UserConfig, R as ResolvedConfig, d as BabelResolvedConfig, e as PluginContext, f as Reflection, E as EnvInterface, S as SecretsInterface } from '../runtime-I3P49niA.cjs';
2
+ import { c as BabelUserConfig, U as UserConfig, R as ResolvedConfig, d as BabelResolvedConfig, e as PluginContext, f as Reflection, E as EnvInterface, S as SecretsInterface } from '../runtime-Bp1mD-tm.cjs';
3
3
  import { DotenvParseOutput } from '@stryke/env/types';
4
4
  import { DotenvConfiguration, TypeDefinitionParameter, TypeDefinition } from '@stryke/types/configuration';
5
5
  import '@stryke/env/get-env-paths';
@@ -1,5 +1,5 @@
1
1
  import { Children } from '@alloy-js/core/jsx-runtime';
2
- import { c as BabelUserConfig, U as UserConfig, R as ResolvedConfig, d as BabelResolvedConfig, e as PluginContext, f as Reflection, E as EnvInterface, S as SecretsInterface } from '../runtime-DqvtGYT3.js';
2
+ import { c as BabelUserConfig, U as UserConfig, R as ResolvedConfig, d as BabelResolvedConfig, e as PluginContext, f as Reflection, E as EnvInterface, S as SecretsInterface } from '../runtime-XRx54qng.js';
3
3
  import { DotenvParseOutput } from '@stryke/env/types';
4
4
  import { DotenvConfiguration, TypeDefinitionParameter, TypeDefinition } from '@stryke/types/configuration';
5
5
  import '@stryke/env/get-env-paths';
@@ -1,4 +1,4 @@
1
- export { E as EnvInterface, S as SecretsInterface, _ as __ΩEnvInterface, b as __ΩSecretsInterface } from '../runtime-I3P49niA.cjs';
1
+ export { E as EnvInterface, S as SecretsInterface, _ as __ΩEnvInterface, b as __ΩSecretsInterface } from '../runtime-Bp1mD-tm.cjs';
2
2
  import '@stryke/env/get-env-paths';
3
3
  import '@stryke/types/package-json';
4
4
  import 'jiti';
@@ -1,4 +1,4 @@
1
- export { E as EnvInterface, S as SecretsInterface, _ as __ΩEnvInterface, b as __ΩSecretsInterface } from '../runtime-DqvtGYT3.js';
1
+ export { E as EnvInterface, S as SecretsInterface, _ as __ΩEnvInterface, b as __ΩSecretsInterface } from '../runtime-XRx54qng.js';
2
2
  import '@stryke/env/get-env-paths';
3
3
  import '@stryke/types/package-json';
4
4
  import 'jiti';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-env",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "type": "module",
5
5
  "description": "A package containing a Powerlines plugin for injecting static .env configuration values to the code so that they're accessible at runtime.",
6
6
  "repository": {
@@ -185,9 +185,9 @@
185
185
  "@alloy-js/typescript": "^0.20.0",
186
186
  "@babel/core": "^7.28.4",
187
187
  "@babel/types": "^7.28.4",
188
- "@powerlines/alloy": "^0.1.0",
189
- "@powerlines/plugin-babel": "^0.1.0",
190
- "@powerlines/plugin-plugin": "^0.1.0",
188
+ "@powerlines/alloy": "^0.1.1",
189
+ "@powerlines/plugin-babel": "^0.2.0",
190
+ "@powerlines/plugin-plugin": "^0.2.0",
191
191
  "@storm-software/config-tools": "^1.188.6",
192
192
  "@stryke/capnp": "^0.11.24",
193
193
  "@stryke/env": "^0.19.12",
@@ -196,18 +196,18 @@
196
196
  "@stryke/string-format": "^0.12.0",
197
197
  "@stryke/type-checks": "^0.3.10",
198
198
  "@stryke/types": "^0.10.0",
199
- "powerlines": "^0.1.0"
199
+ "powerlines": "^0.2.0"
200
200
  },
201
201
  "devDependencies": {
202
202
  "@alloy-js/babel-preset": "^0.2.1",
203
203
  "@babel/preset-typescript": "^7.27.1",
204
- "@powerlines/nx": "^0.1.0",
204
+ "@powerlines/nx": "^0.2.0",
205
205
  "@storm-software/tsup": "^0.2.4",
206
206
  "@types/node": "^22.18.11",
207
207
  "tsup": "8.4.0",
208
208
  "typescript": "5.9.3",
209
- "vite": "^7.1.10"
209
+ "vite": "^7.1.11"
210
210
  },
211
211
  "publishConfig": { "access": "public" },
212
- "gitHead": "ecb19d2493e29805acdca3a87b7ffaf6d331dfec"
212
+ "gitHead": "319be4880b93666a6dafe38d60278a8cad920f0b"
213
213
  }