@powerlines/plugin-env 0.15.140 → 0.15.142
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/automd-generator-BNg74tyV.cjs +37 -0
- package/dist/automd-generator-DoKLIMuw.mjs +32 -0
- package/dist/automd-generator-DoKLIMuw.mjs.map +1 -0
- package/dist/babel/index.cjs +5 -2
- package/dist/babel/index.d.cts +14 -1
- package/dist/babel/index.d.mts +14 -1
- package/dist/babel/index.mjs +4 -1
- package/dist/babel/plugin.cjs +4 -140
- package/dist/babel/plugin.d.cts +14 -7
- package/dist/babel/plugin.d.mts +14 -7
- package/dist/babel/plugin.mjs +3 -138
- package/dist/babel-BZqmdVF4.cjs +0 -0
- package/dist/babel-DgietUY3.mjs +1 -0
- package/dist/chunk-CNVrAnJR.cjs +48 -0
- package/dist/{_virtual/rolldown_runtime.cjs → chunk-CsF2CmBJ.mjs} +6 -2
- package/dist/components/docs.cjs +13 -69
- package/dist/components/docs.d.cts +1 -21
- package/dist/components/docs.d.mts +1 -21
- package/dist/components/docs.mjs +12 -67
- package/dist/components/env.cjs +13 -588
- package/dist/components/env.d.cts +1 -19
- package/dist/components/env.d.mts +1 -19
- package/dist/components/env.mjs +11 -584
- package/dist/components/index.cjs +17 -5
- package/dist/components/index.d.cts +3 -2
- package/dist/components/index.d.mts +3 -2
- package/dist/components/index.mjs +14 -2
- package/dist/components-BUo6Koax.cjs +0 -0
- package/dist/components-DDFmImcI.mjs +1 -0
- package/dist/confbox.DA7CpUDY-DShUZ_rW.mjs +23 -0
- package/dist/confbox.DA7CpUDY-DShUZ_rW.mjs.map +1 -0
- package/dist/confbox.DA7CpUDY-r6FXRsI6.cjs +28 -0
- package/dist/confbox.DnMsyigM-C13n3X-S.cjs +415 -0
- package/dist/confbox.DnMsyigM-V6Wj0LPC.mjs +405 -0
- package/dist/confbox.DnMsyigM-V6Wj0LPC.mjs.map +1 -0
- package/dist/create-reflection-resource-B3friIs9.mjs +98 -0
- package/dist/create-reflection-resource-B3friIs9.mjs.map +1 -0
- package/dist/create-reflection-resource-BJj83ii4.cjs +103 -0
- package/dist/create-reflection-resource-DSLbLsX2.d.cts +16 -0
- package/dist/create-reflection-resource-DSLbLsX2.d.cts.map +1 -0
- package/dist/create-reflection-resource-DwWJAo-G.d.mts +16 -0
- package/dist/create-reflection-resource-DwWJAo-G.d.mts.map +1 -0
- package/dist/defu-CrqNIh1A.cjs +227 -0
- package/dist/defu-DV5Grr85.mjs +180 -0
- package/dist/defu-DV5Grr85.mjs.map +1 -0
- package/dist/dist-BQc8ZRwl.cjs +13 -0
- package/dist/dist-C_a6goTt.cjs +15282 -0
- package/dist/dist-CjWvISyq.mjs +15271 -0
- package/dist/dist-CjWvISyq.mjs.map +1 -0
- package/dist/dist-mV5Swt78.mjs +13 -0
- package/dist/dist-mV5Swt78.mjs.map +1 -0
- package/dist/docs-B-SDRHeg.cjs +75 -0
- package/dist/docs-B0d8pdIg.d.mts +23 -0
- package/dist/docs-B0d8pdIg.d.mts.map +1 -0
- package/dist/docs-DMfzQuvP.d.cts +23 -0
- package/dist/docs-DMfzQuvP.d.cts.map +1 -0
- package/dist/docs-DbRoWmL_.mjs +70 -0
- package/dist/docs-DbRoWmL_.mjs.map +1 -0
- package/dist/docs-helper-2fe7M3Th.mjs +24 -0
- package/dist/docs-helper-2fe7M3Th.mjs.map +1 -0
- package/dist/docs-helper-4MoQ5-R3.cjs +28 -0
- package/dist/env-BIyd8CTA.d.cts +21 -0
- package/dist/env-BIyd8CTA.d.cts.map +1 -0
- package/dist/env-BKmI7DyR.d.mts +21 -0
- package/dist/env-BKmI7DyR.d.mts.map +1 -0
- package/dist/env-D9oCn-AS.mjs +587 -0
- package/dist/env-D9oCn-AS.mjs.map +1 -0
- package/dist/env-R63eR4RP.cjs +598 -0
- package/dist/helpers/automd-generator.cjs +3 -31
- package/dist/helpers/automd-generator.d.cts +2 -1
- package/dist/helpers/automd-generator.d.cts.map +1 -0
- package/dist/helpers/automd-generator.d.mts +2 -1
- package/dist/helpers/automd-generator.d.mts.map +1 -0
- package/dist/helpers/automd-generator.mjs +2 -29
- package/dist/helpers/create-reflection-resource.cjs +11 -97
- package/dist/helpers/create-reflection-resource.d.cts +3 -14
- package/dist/helpers/create-reflection-resource.d.mts +3 -14
- package/dist/helpers/create-reflection-resource.mjs +10 -95
- package/dist/helpers/docs-helper.cjs +5 -23
- package/dist/helpers/docs-helper.d.cts +4 -2
- package/dist/helpers/docs-helper.d.cts.map +1 -0
- package/dist/helpers/docs-helper.d.mts +4 -2
- package/dist/helpers/docs-helper.d.mts.map +1 -0
- package/dist/helpers/docs-helper.mjs +4 -21
- package/dist/helpers/index.cjs +38 -32
- package/dist/helpers/index.d.cts +9 -6
- package/dist/helpers/index.d.mts +9 -6
- package/dist/helpers/index.mjs +12 -6
- package/dist/helpers/load.cjs +10 -134
- package/dist/helpers/load.d.cts +3 -34
- package/dist/helpers/load.d.mts +3 -34
- package/dist/helpers/load.mjs +8 -130
- package/dist/helpers/persistence.cjs +15 -321
- package/dist/helpers/persistence.d.cts +3 -83
- package/dist/helpers/persistence.d.mts +3 -83
- package/dist/helpers/persistence.mjs +4 -308
- package/dist/helpers/reflect.cjs +13 -262
- package/dist/helpers/reflect.d.cts +3 -45
- package/dist/helpers/reflect.d.mts +3 -45
- package/dist/helpers/reflect.mjs +4 -252
- package/dist/helpers/source-file-env.cjs +3 -57
- package/dist/helpers/source-file-env.d.cts +1 -7
- package/dist/helpers/source-file-env.d.mts +1 -7
- package/dist/helpers/source-file-env.mjs +1 -54
- package/dist/helpers/template-helpers.cjs +6 -69
- package/dist/helpers/template-helpers.d.cts +3 -14
- package/dist/helpers/template-helpers.d.mts +3 -14
- package/dist/helpers/template-helpers.mjs +5 -67
- package/dist/helpers-45e1bvAO.mjs +1 -0
- package/dist/helpers-DgYP3uej.cjs +0 -0
- package/dist/index-BNRXMhlr.d.mts +1 -0
- package/dist/index-Bdi8CvaN.d.cts +16 -0
- package/dist/index-Bdi8CvaN.d.cts.map +1 -0
- package/dist/index-CEDY7cmG.d.cts +1 -0
- package/dist/index-CREkvfw9.d.mts +1 -0
- package/dist/index-DSiHnMH2.d.cts +1 -0
- package/dist/index-Drhzdkqe.d.mts +16 -0
- package/dist/index-Drhzdkqe.d.mts.map +1 -0
- package/dist/index-dhjtMp5F.d.mts +1 -0
- package/dist/index-uTS5iDq_.d.cts +1 -0
- package/dist/index.cjs +257 -98
- package/dist/index.d.cts +14 -23
- package/dist/index.d.mts +14 -23
- package/dist/index.mjs +184 -23
- package/dist/index.mjs.map +1 -0
- package/dist/join-paths-BMg51Ddi.mjs +148 -0
- package/dist/join-paths-BMg51Ddi.mjs.map +1 -0
- package/dist/join-paths-Bc4rM2TX.cjs +159 -0
- package/dist/json5-DEV_07Nb.cjs +786 -0
- package/dist/json5-jq90mF9X.mjs +787 -0
- package/dist/json5-jq90mF9X.mjs.map +1 -0
- package/dist/jsonc-CBh70baJ.cjs +4 -0
- package/dist/jsonc-CDLU6bgi.mjs +4 -0
- package/dist/load-DPB0maqs.cjs +6594 -0
- package/dist/load-Dr5ybfL7.mjs +6579 -0
- package/dist/load-Dr5ybfL7.mjs.map +1 -0
- package/dist/load-GpP6cojj.d.mts +36 -0
- package/dist/load-GpP6cojj.d.mts.map +1 -0
- package/dist/load-PHGmxX_X.d.cts +36 -0
- package/dist/load-PHGmxX_X.d.cts.map +1 -0
- package/dist/multipart-parser-D65rtMfY.mjs +176 -0
- package/dist/multipart-parser-D65rtMfY.mjs.map +1 -0
- package/dist/multipart-parser-aEF5a4Xf.cjs +178 -0
- package/dist/node-Co8KdzkZ.cjs +3985 -0
- package/dist/node-D9MigVDD.mjs +3975 -0
- package/dist/node-D9MigVDD.mjs.map +1 -0
- package/dist/persistence-BR4cUaN6.d.cts +85 -0
- package/dist/persistence-BR4cUaN6.d.cts.map +1 -0
- package/dist/persistence-BsBxs9wt.mjs +586 -0
- package/dist/persistence-BsBxs9wt.mjs.map +1 -0
- package/dist/persistence-D_clXRxP.cjs +712 -0
- package/dist/persistence-DrKQZNCv.d.mts +85 -0
- package/dist/persistence-DrKQZNCv.d.mts.map +1 -0
- package/dist/plugin-CM1TSv1B.cjs +159 -0
- package/dist/plugin-CSVnrdpE.cjs +146 -0
- package/dist/plugin-CSe5f2cD.d.cts +155 -0
- package/dist/plugin-CSe5f2cD.d.cts.map +1 -0
- package/dist/plugin-DMbVjdcQ.d.mts +155 -0
- package/dist/plugin-DMbVjdcQ.d.mts.map +1 -0
- package/dist/plugin-Vyvy9w9Z.mjs +141 -0
- package/dist/plugin-Vyvy9w9Z.mjs.map +1 -0
- package/dist/plugin-eBjQJP6x.mjs +130 -0
- package/dist/plugin-eBjQJP6x.mjs.map +1 -0
- package/dist/reflect-Dm8a3c29.d.cts +47 -0
- package/dist/reflect-Dm8a3c29.d.cts.map +1 -0
- package/dist/reflect-Dpz8ifa0.d.mts +47 -0
- package/dist/reflect-Dpz8ifa0.d.mts.map +1 -0
- package/dist/runtime-BDzzR4wH.d.cts +792 -0
- package/dist/runtime-BDzzR4wH.d.cts.map +1 -0
- package/dist/runtime-C5ukCv3P.mjs +242 -0
- package/dist/runtime-C5ukCv3P.mjs.map +1 -0
- package/dist/runtime-g0TEIoZK.cjs +253 -0
- package/dist/runtime-lYSIZdMn.d.mts +792 -0
- package/dist/runtime-lYSIZdMn.d.mts.map +1 -0
- package/dist/source-file-env-4Vdtzc5-.cjs +68 -0
- package/dist/source-file-env-Brfopjyr.d.cts +9 -0
- package/dist/source-file-env-Brfopjyr.d.cts.map +1 -0
- package/dist/source-file-env-DWejSP2U.d.mts +9 -0
- package/dist/source-file-env-DWejSP2U.d.mts.map +1 -0
- package/dist/source-file-env-Tj-6qobx.mjs +57 -0
- package/dist/source-file-env-Tj-6qobx.mjs.map +1 -0
- package/dist/template-helpers-1SKodHKt.d.mts +16 -0
- package/dist/template-helpers-1SKodHKt.d.mts.map +1 -0
- package/dist/template-helpers-CCEjhw1B.mjs +70 -0
- package/dist/template-helpers-CCEjhw1B.mjs.map +1 -0
- package/dist/template-helpers-YVcwxmoF.cjs +75 -0
- package/dist/template-helpers-zyitPfMz.d.cts +16 -0
- package/dist/template-helpers-zyitPfMz.d.cts.map +1 -0
- package/dist/toml-DvrxV201.cjs +657 -0
- package/dist/toml-uuOYvEAO.mjs +658 -0
- package/dist/toml-uuOYvEAO.mjs.map +1 -0
- package/dist/types/index.cjs +10 -9
- package/dist/types/index.d.cts +3 -2
- package/dist/types/index.d.mts +3 -2
- package/dist/types/index.mjs +3 -2
- package/dist/types/plugin.cjs +7 -133
- package/dist/types/plugin.d.cts +2 -153
- package/dist/types/plugin.d.mts +2 -153
- package/dist/types/plugin.mjs +2 -127
- package/dist/types/runtime.cjs +3 -242
- package/dist/types/runtime.d.cts +1 -790
- package/dist/types/runtime.d.mts +1 -790
- package/dist/types/runtime.mjs +1 -239
- package/dist/types-DyPQho_C.mjs +1 -0
- package/dist/types-o3zWarRp.cjs +0 -0
- package/dist/yaml-CIn2Gddw.mjs +1055 -0
- package/dist/yaml-CIn2Gddw.mjs.map +1 -0
- package/dist/yaml-CQSFMRMS.cjs +1054 -0
- package/package.json +9 -9
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toml-uuOYvEAO.mjs","names":["C","#n","#t","#e","N","L"],"sources":["../../../node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/toml.mjs"],"sourcesContent":["import{s as L,g as P}from\"./shared/confbox.DA7CpUDY.mjs\";/*!\n * Copyright (c) Squirrel Chat et al., All rights reserved.\n * SPDX-License-Identifier: BSD-3-Clause\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n *\n * 1. Redistributions of source code must retain the above copyright notice, this\n * list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright notice,\n * this list of conditions and the following disclaimer in the\n * documentation and/or other materials provided with the distribution.\n * 3. Neither the name of the copyright holder nor the names of its contributors\n * may be used to endorse or promote products derived from this software without\n * specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n */function v(e,n){let t=e.slice(0,n).split(/\\r\\n|\\n|\\r/g);return[t.length,t.pop().length+1]}function C(e,n,t){let l=e.split(/\\r\\n|\\n|\\r/g),r=\"\",i=(Math.log10(n+1)|0)+1;for(let o=n-1;o<=n+1;o++){let f=l[o-1];f&&(r+=o.toString().padEnd(i,\" \"),r+=\": \",r+=f,r+=`\n`,o===n&&(r+=\" \".repeat(i+t+2),r+=`^\n`))}return r}class c extends Error{line;column;codeblock;constructor(n,t){const[l,r]=v(t.toml,t.ptr),i=C(t.toml,l,r);super(`Invalid TOML document: ${n}\n\n${i}`,t),this.line=l,this.column=r,this.codeblock=i}}/*!\n * Copyright (c) Squirrel Chat et al., All rights reserved.\n * SPDX-License-Identifier: BSD-3-Clause\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n *\n * 1. Redistributions of source code must retain the above copyright notice, this\n * list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright notice,\n * this list of conditions and the following disclaimer in the\n * documentation and/or other materials provided with the distribution.\n * 3. Neither the name of the copyright holder nor the names of its contributors\n * may be used to endorse or promote products derived from this software without\n * specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n */function g(e,n=0,t=e.length){let l=e.indexOf(`\n`,n);return e[l-1]===\"\\r\"&&l--,l<=t?l:-1}function y(e,n){for(let t=n;t<e.length;t++){let l=e[t];if(l===`\n`)return t;if(l===\"\\r\"&&e[t+1]===`\n`)return t+1;if(l<\" \"&&l!==\"\t\"||l===\"\\x7F\")throw new c(\"control characters are not allowed in comments\",{toml:e,ptr:n})}return e.length}function s(e,n,t,l){let r;for(;(r=e[n])===\" \"||r===\"\t\"||!t&&(r===`\n`||r===\"\\r\"&&e[n+1]===`\n`);)n++;return l||r!==\"#\"?n:s(e,y(e,n),t)}function A(e,n,t,l,r=!1){if(!l)return n=g(e,n),n<0?e.length:n;for(let i=n;i<e.length;i++){let o=e[i];if(o===\"#\")i=g(e,i);else{if(o===t)return i+1;if(o===l)return i;if(r&&(o===`\n`||o===\"\\r\"&&e[i+1]===`\n`))return i}}throw new c(\"cannot find end of structure\",{toml:e,ptr:n})}function S(e,n){let t=e[n],l=t===e[n+1]&&e[n+1]===e[n+2]?e.slice(n,n+3):t;n+=l.length-1;do n=e.indexOf(l,++n);while(n>-1&&t!==\"'\"&&e[n-1]===\"\\\\\"&&e[n-2]!==\"\\\\\");return n>-1&&(n+=l.length,l.length>1&&(e[n]===t&&n++,e[n]===t&&n++)),n}/*!\n * Copyright (c) Squirrel Chat et al., All rights reserved.\n * SPDX-License-Identifier: BSD-3-Clause\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n *\n * 1. Redistributions of source code must retain the above copyright notice, this\n * list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright notice,\n * this list of conditions and the following disclaimer in the\n * documentation and/or other materials provided with the distribution.\n * 3. Neither the name of the copyright holder nor the names of its contributors\n * may be used to endorse or promote products derived from this software without\n * specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n */let R=/^(\\d{4}-\\d{2}-\\d{2})?[T ]?(?:(\\d{2}):\\d{2}:\\d{2}(?:\\.\\d+)?)?(Z|[-+]\\d{2}:\\d{2})?$/i;class w extends Date{#n=!1;#t=!1;#e=null;constructor(n){let t=!0,l=!0,r=\"Z\";if(typeof n==\"string\"){let i=n.match(R);i?(i[1]||(t=!1,n=`0000-01-01T${n}`),l=!!i[2],i[2]&&+i[2]>23?n=\"\":(r=i[3]||null,n=n.toUpperCase(),!r&&l&&(n+=\"Z\"))):n=\"\"}super(n),isNaN(this.getTime())||(this.#n=t,this.#t=l,this.#e=r)}isDateTime(){return this.#n&&this.#t}isLocal(){return!this.#n||!this.#t||!this.#e}isDate(){return this.#n&&!this.#t}isTime(){return this.#t&&!this.#n}isValid(){return this.#n||this.#t}toISOString(){let n=super.toISOString();if(this.isDate())return n.slice(0,10);if(this.isTime())return n.slice(11,23);if(this.#e===null)return n.slice(0,-1);if(this.#e===\"Z\")return n;let t=+this.#e.slice(1,3)*60+ +this.#e.slice(4,6);return t=this.#e[0]===\"-\"?t:-t,new Date(this.getTime()-t*6e4).toISOString().slice(0,-1)+this.#e}static wrapAsOffsetDateTime(n,t=\"Z\"){let l=new w(n);return l.#e=t,l}static wrapAsLocalDateTime(n){let t=new w(n);return t.#e=null,t}static wrapAsLocalDate(n){let t=new w(n);return t.#t=!1,t.#e=null,t}static wrapAsLocalTime(n){let t=new w(n);return t.#n=!1,t.#e=null,t}}/*!\n * Copyright (c) Squirrel Chat et al., All rights reserved.\n * SPDX-License-Identifier: BSD-3-Clause\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n *\n * 1. Redistributions of source code must retain the above copyright notice, this\n * list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright notice,\n * this list of conditions and the following disclaimer in the\n * documentation and/or other materials provided with the distribution.\n * 3. Neither the name of the copyright holder nor the names of its contributors\n * may be used to endorse or promote products derived from this software without\n * specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n */let M=/^((0x[0-9a-fA-F](_?[0-9a-fA-F])*)|(([+-]|0[ob])?\\d(_?\\d)*))$/,Z=/^[+-]?\\d(_?\\d)*(\\.\\d(_?\\d)*)?([eE][+-]?\\d(_?\\d)*)?$/,j=/^[+-]?0[0-9_]/,z=/^[0-9a-f]{4,8}$/i,I={b:\"\\b\",t:\"\t\",n:`\n`,f:\"\\f\",r:\"\\r\",'\"':'\"',\"\\\\\":\"\\\\\"};function $(e,n=0,t=e.length){let l=e[n]===\"'\",r=e[n++]===e[n]&&e[n]===e[n+1];r&&(t-=2,e[n+=2]===\"\\r\"&&n++,e[n]===`\n`&&n++);let i=0,o,f=\"\",a=n;for(;n<t-1;){let u=e[n++];if(u===`\n`||u===\"\\r\"&&e[n]===`\n`){if(!r)throw new c(\"newlines are not allowed in strings\",{toml:e,ptr:n-1})}else if(u<\" \"&&u!==\"\t\"||u===\"\\x7F\")throw new c(\"control characters are not allowed in strings\",{toml:e,ptr:n-1});if(o){if(o=!1,u===\"u\"||u===\"U\"){let d=e.slice(n,n+=u===\"u\"?4:8);if(!z.test(d))throw new c(\"invalid unicode escape\",{toml:e,ptr:i});try{f+=String.fromCodePoint(parseInt(d,16))}catch{throw new c(\"invalid unicode escape\",{toml:e,ptr:i})}}else if(r&&(u===`\n`||u===\" \"||u===\"\t\"||u===\"\\r\")){if(n=s(e,n-1,!0),e[n]!==`\n`&&e[n]!==\"\\r\")throw new c(\"invalid escape: only line-ending whitespace may be escaped\",{toml:e,ptr:i});n=s(e,n)}else if(u in I)f+=I[u];else throw new c(\"unrecognized escape sequence\",{toml:e,ptr:i});a=n}else!l&&u===\"\\\\\"&&(i=n-1,o=!0,f+=e.slice(a,i))}return f+e.slice(a,t-1)}function F(e,n,t){if(e===\"true\")return!0;if(e===\"false\")return!1;if(e===\"-inf\")return-1/0;if(e===\"inf\"||e===\"+inf\")return 1/0;if(e===\"nan\"||e===\"+nan\"||e===\"-nan\")return NaN;if(e===\"-0\")return 0;let l;if((l=M.test(e))||Z.test(e)){if(j.test(e))throw new c(\"leading zeroes are not allowed\",{toml:n,ptr:t});let i=+e.replace(/_/g,\"\");if(isNaN(i))throw new c(\"invalid number\",{toml:n,ptr:t});if(l&&!Number.isSafeInteger(i))throw new c(\"integer value cannot be represented losslessly\",{toml:n,ptr:t});return i}let r=new w(e);if(!r.isValid())throw new c(\"invalid value\",{toml:n,ptr:t});return r}/*!\n * Copyright (c) Squirrel Chat et al., All rights reserved.\n * SPDX-License-Identifier: BSD-3-Clause\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n *\n * 1. Redistributions of source code must retain the above copyright notice, this\n * list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright notice,\n * this list of conditions and the following disclaimer in the\n * documentation and/or other materials provided with the distribution.\n * 3. Neither the name of the copyright holder nor the names of its contributors\n * may be used to endorse or promote products derived from this software without\n * specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n */function V(e,n,t,l){let r=e.slice(n,t),i=r.indexOf(\"#\");i>-1&&(y(e,i),r=r.slice(0,i));let o=r.trimEnd();if(!l){let f=r.indexOf(`\n`,o.length);if(f>-1)throw new c(\"newlines are not allowed in inline tables\",{toml:e,ptr:n+f})}return[o,i]}function b(e,n,t,l){if(l===0)throw new c(\"document contains excessively nested structures. aborting.\",{toml:e,ptr:n});let r=e[n];if(r===\"[\"||r===\"{\"){let[f,a]=r===\"[\"?U(e,n,l):K(e,n,l),u=A(e,a,\",\",t);if(t===\"}\"){let d=g(e,a,u);if(d>-1)throw new c(\"newlines are not allowed in inline tables\",{toml:e,ptr:d})}return[f,u]}let i;if(r==='\"'||r===\"'\"){i=S(e,n);let f=$(e,n,i);if(t){if(i=s(e,i,t!==\"]\"),e[i]&&e[i]!==\",\"&&e[i]!==t&&e[i]!==`\n`&&e[i]!==\"\\r\")throw new c(\"unexpected character encountered\",{toml:e,ptr:i});i+=+(e[i]===\",\")}return[f,i]}i=A(e,n,\",\",t);let o=V(e,n,i-+(e[i-1]===\",\"),t===\"]\");if(!o[0])throw new c(\"incomplete key-value declaration: no value specified\",{toml:e,ptr:n});return t&&o[1]>-1&&(i=s(e,n+o[1]),i+=+(e[i]===\",\")),[F(o[0],e,n),i]}/*!\n * Copyright (c) Squirrel Chat et al., All rights reserved.\n * SPDX-License-Identifier: BSD-3-Clause\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n *\n * 1. Redistributions of source code must retain the above copyright notice, this\n * list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright notice,\n * this list of conditions and the following disclaimer in the\n * documentation and/or other materials provided with the distribution.\n * 3. Neither the name of the copyright holder nor the names of its contributors\n * may be used to endorse or promote products derived from this software without\n * specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n */let G=/^[a-zA-Z0-9-_]+[ \\t]*$/;function x(e,n,t=\"=\"){let l=n-1,r=[],i=e.indexOf(t,n);if(i<0)throw new c(\"incomplete key-value: cannot find end of key\",{toml:e,ptr:n});do{let o=e[n=++l];if(o!==\" \"&&o!==\"\t\")if(o==='\"'||o===\"'\"){if(o===e[n+1]&&o===e[n+2])throw new c(\"multiline strings are not allowed in keys\",{toml:e,ptr:n});let f=S(e,n);if(f<0)throw new c(\"unfinished string encountered\",{toml:e,ptr:n});l=e.indexOf(\".\",f);let a=e.slice(f,l<0||l>i?i:l),u=g(a);if(u>-1)throw new c(\"newlines are not allowed in keys\",{toml:e,ptr:n+l+u});if(a.trimStart())throw new c(\"found extra tokens after the string part\",{toml:e,ptr:f});if(i<f&&(i=e.indexOf(t,f),i<0))throw new c(\"incomplete key-value: cannot find end of key\",{toml:e,ptr:n});r.push($(e,n,f))}else{l=e.indexOf(\".\",n);let f=e.slice(n,l<0||l>i?i:l);if(!G.test(f))throw new c(\"only letter, numbers, dashes and underscores are allowed in keys\",{toml:e,ptr:n});r.push(f.trimEnd())}}while(l+1&&l<i);return[r,s(e,i+1,!0,!0)]}function K(e,n,t){let l={},r=new Set,i,o=0;for(n++;(i=e[n++])!==\"}\"&&i;){if(i===`\n`)throw new c(\"newlines are not allowed in inline tables\",{toml:e,ptr:n-1});if(i===\"#\")throw new c(\"inline tables cannot contain comments\",{toml:e,ptr:n-1});if(i===\",\")throw new c(\"expected key-value, found comma\",{toml:e,ptr:n-1});if(i!==\" \"&&i!==\"\t\"){let f,a=l,u=!1,[d,N]=x(e,n-1);for(let m=0;m<d.length;m++){if(m&&(a=u?a[f]:a[f]={}),f=d[m],(u=Object.hasOwn(a,f))&&(typeof a[f]!=\"object\"||r.has(a[f])))throw new c(\"trying to redefine an already defined value\",{toml:e,ptr:n});!u&&f===\"__proto__\"&&Object.defineProperty(a,f,{enumerable:!0,configurable:!0,writable:!0})}if(u)throw new c(\"trying to redefine an already defined value\",{toml:e,ptr:n});let[_,k]=b(e,N,\"}\",t-1);r.add(_),a[f]=_,n=k,o=e[n-1]===\",\"?n-1:0}}if(o)throw new c(\"trailing commas are not allowed in inline tables\",{toml:e,ptr:o});if(!i)throw new c(\"unfinished table encountered\",{toml:e,ptr:n});return[l,n]}function U(e,n,t){let l=[],r;for(n++;(r=e[n++])!==\"]\"&&r;){if(r===\",\")throw new c(\"expected value, found comma\",{toml:e,ptr:n-1});if(r===\"#\")n=y(e,n);else if(r!==\" \"&&r!==\"\t\"&&r!==`\n`&&r!==\"\\r\"){let i=b(e,n-1,\"]\",t-1);l.push(i[0]),n=i[1]}}if(!r)throw new c(\"unfinished array encountered\",{toml:e,ptr:n});return[l,n]}/*!\n * Copyright (c) Squirrel Chat et al., All rights reserved.\n * SPDX-License-Identifier: BSD-3-Clause\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n *\n * 1. Redistributions of source code must retain the above copyright notice, this\n * list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright notice,\n * this list of conditions and the following disclaimer in the\n * documentation and/or other materials provided with the distribution.\n * 3. Neither the name of the copyright holder nor the names of its contributors\n * may be used to endorse or promote products derived from this software without\n * specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n */function p(e,n,t,l){let r=n,i=t,o,f=!1,a;for(let u=0;u<e.length;u++){if(u){if(r=f?r[o]:r[o]={},i=(a=i[o]).c,l===0&&(a.t===1||a.t===2))return null;if(a.t===2){let d=r.length-1;r=r[d],i=i[d].c}}if(o=e[u],(f=Object.hasOwn(r,o))&&i[o]?.t===0&&i[o]?.d)return null;f||(o===\"__proto__\"&&(Object.defineProperty(r,o,{enumerable:!0,configurable:!0,writable:!0}),Object.defineProperty(i,o,{enumerable:!0,configurable:!0,writable:!0})),i[o]={t:u<e.length-1&&l===2?3:l,d:!1,i:0,c:{}})}if(a=i[o],a.t!==l&&!(l===1&&a.t===3)||(l===2&&(a.d||(a.d=!0,r[o]=[]),r[o].push(r={}),a.c[a.i++]=a={t:1,d:!1,i:0,c:{}}),a.d))return null;if(a.d=!0,l===1)r=f?r[o]:r[o]={};else if(l===0&&f)return null;return[o,r,a.c]}function X(e,n){let t=n?.maxDepth??1e3,l={},r={},i=l,o=r;for(let f=s(e,0);f<e.length;){if(e[f]===\"[\"){let a=e[++f]===\"[\",u=x(e,f+=+a,\"]\");if(a){if(e[u[1]-1]!==\"]\")throw new c(\"expected end of table declaration\",{toml:e,ptr:u[1]-1});u[1]++}let d=p(u[0],l,r,a?2:1);if(!d)throw new c(\"trying to redefine an already defined table or value\",{toml:e,ptr:f});o=d[2],i=d[1],f=u[1]}else{let a=x(e,f),u=p(a[0],i,o,0);if(!u)throw new c(\"trying to redefine an already defined table or value\",{toml:e,ptr:f});let d=b(e,a[1],void 0,t);u[1][u[0]]=d[0],f=d[1]}if(f=s(e,f,!0),e[f]&&e[f]!==`\n`&&e[f]!==\"\\r\")throw new c(\"each key-value declaration must be followed by an end-of-line\",{toml:e,ptr:f});f=s(e,f)}return l}/*!\n * Copyright (c) Squirrel Chat et al., All rights reserved.\n * SPDX-License-Identifier: BSD-3-Clause\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n *\n * 1. Redistributions of source code must retain the above copyright notice, this\n * list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright notice,\n * this list of conditions and the following disclaimer in the\n * documentation and/or other materials provided with the distribution.\n * 3. Neither the name of the copyright holder nor the names of its contributors\n * may be used to endorse or promote products derived from this software without\n * specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n */let D=/^[a-z0-9-_]+$/i;function h(e){let n=typeof e;if(n===\"object\"){if(Array.isArray(e))return\"array\";if(e instanceof Date)return\"date\"}return n}function B(e){for(let n=0;n<e.length;n++)if(h(e[n])!==\"object\")return!1;return e.length!=0}function E(e){return JSON.stringify(e).replace(/\\x7f/g,\"\\\\u007f\")}function O(e,n,t){if(t===0)throw new Error(\"Could not stringify the object: maximum object depth exceeded\");if(n===\"number\")return isNaN(e)?\"nan\":e===1/0?\"inf\":e===-1/0?\"-inf\":e.toString();if(n===\"bigint\"||n===\"boolean\")return e.toString();if(n===\"string\")return E(e);if(n===\"date\"){if(isNaN(e.getTime()))throw new TypeError(\"cannot serialize invalid date\");return e.toISOString()}if(n===\"object\")return Y(e,t);if(n===\"array\")return q(e,t)}function Y(e,n){let t=Object.keys(e);if(t.length===0)return\"{}\";let l=\"{ \";for(let r=0;r<t.length;r++){let i=t[r];r&&(l+=\", \"),l+=D.test(i)?i:E(i),l+=\" = \",l+=O(e[i],h(e[i]),n-1)}return l+\" }\"}function q(e,n){if(e.length===0)return\"[]\";let t=\"[ \";for(let l=0;l<e.length;l++){if(l&&(t+=\", \"),e[l]===null||e[l]===void 0)throw new TypeError(\"arrays cannot contain null or undefined values\");t+=O(e[l],h(e[l]),n-1)}return t+\" ]\"}function J(e,n,t){if(t===0)throw new Error(\"Could not stringify the object: maximum object depth exceeded\");let l=\"\";for(let r=0;r<e.length;r++)l+=`[[${n}]]\n`,l+=T(e[r],n,t),l+=`\n\n`;return l}function T(e,n,t){if(t===0)throw new Error(\"Could not stringify the object: maximum object depth exceeded\");let l=\"\",r=\"\",i=Object.keys(e);for(let o=0;o<i.length;o++){let f=i[o];if(e[f]!==null&&e[f]!==void 0){let a=h(e[f]);if(a===\"symbol\"||a===\"function\")throw new TypeError(`cannot serialize values of type '${a}'`);let u=D.test(f)?f:E(f);if(a===\"array\"&&B(e[f]))r+=J(e[f],n?`${n}.${u}`:u,t-1);else if(a===\"object\"){let d=n?`${n}.${u}`:u;r+=`[${d}]\n`,r+=T(e[f],d,t-1),r+=`\n\n`}else l+=u,l+=\" = \",l+=O(e[f],a,t),l+=`\n`}}return`${l}\n${r}`.trim()}function H(e,n){if(h(e)!==\"object\")throw new TypeError(\"stringify can only be called with an object\");let t=n?.maxDepth??1e3;return T(e,\"\",t)}function Q(e){const n=X(e);return L(e,n,{preserveIndentation:!1}),n}function W(e){const n=P(e,{}),t=H(e);return n.whitespace.start+t+n.whitespace.end}export{Q as parseTOML,W as stringifyTOML};\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG,SAAS,EAAE,GAAE,GAAE;CAAC,IAAI,IAAE,EAAE,MAAM,GAAE,EAAE,CAAC,MAAM,cAAc;AAAC,QAAM,CAAC,EAAE,QAAO,EAAE,KAAK,CAAC,SAAO,EAAE;;AAAC,SAASA,IAAE,GAAE,GAAE,GAAE;CAAC,IAAI,IAAE,EAAE,MAAM,cAAc,EAAC,IAAE,IAAG,KAAG,KAAK,MAAM,IAAE,EAAE,GAAC,KAAG;AAAE,MAAI,IAAI,IAAE,IAAE,GAAE,KAAG,IAAE,GAAE,KAAI;EAAC,IAAI,IAAE,EAAE,IAAE;AAAG,QAAI,KAAG,EAAE,UAAU,CAAC,OAAO,GAAE,IAAI,EAAC,KAAG,OAAM,KAAG,GAAE,KAAG;GACjQ,MAAI,MAAI,KAAG,IAAI,OAAO,IAAE,IAAE,EAAE,EAAC,KAAG;;;AAC9B,QAAO;;AAAE,IAAM,IAAN,cAAgB,MAAK;CAAC;CAAK;CAAO;CAAU,YAAY,GAAE,GAAE;EAAC,MAAK,CAAC,GAAE,KAAG,EAAE,EAAE,MAAK,EAAE,IAAI,EAAC,IAAEA,IAAE,EAAE,MAAK,GAAE,EAAE;AAAC,QAAM,0BAA0B,EAAE;;EAErJ,KAAI,EAAE,EAAC,KAAK,OAAK,GAAE,KAAK,SAAO,GAAE,KAAK,YAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0B/C,SAAS,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AE,GAAE,GAAE,CAAC,EAAE,EAAC,EAAE,MAAI,EAAE,OAAK;KAC1uC,EAAE,OAAK,KAAK,OAAM,IAAI,EAAE,iEAAgE;GAAC,MAAK;GAAE,KAAI;GAAE,CAAC;AAAC,MAAE,EAAE,GAAE,EAAE;;AAAC,QAAO;;AAkCgC,SAAS,EAAE,GAAE;CAAC,MAAM,IAAE,EAAE,EAAE;AAAC,QAAOC,EAAE,GAAE,GAAE,EAAC,qBAAoB,CAAC,GAAE,CAAC,EAAC"}
|
package/dist/types/index.cjs
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
const
|
|
2
|
-
const
|
|
1
|
+
const require_runtime = require('../runtime-g0TEIoZK.cjs');
|
|
2
|
+
const require_plugin = require('../plugin-CM1TSv1B.cjs');
|
|
3
|
+
require('../types-o3zWarRp.cjs');
|
|
3
4
|
|
|
4
|
-
exports.__ΩEnvInterface =
|
|
5
|
-
exports.__ΩEnvPluginContext =
|
|
6
|
-
exports.__ΩEnvPluginOptions =
|
|
7
|
-
exports.__ΩEnvPluginResolvedConfig =
|
|
8
|
-
exports.__ΩEnvPluginUserConfig =
|
|
9
|
-
exports.__ΩEnvType =
|
|
10
|
-
exports.__ΩSecretsInterface =
|
|
5
|
+
exports.__ΩEnvInterface = require_runtime.__ΩEnvInterface;
|
|
6
|
+
exports.__ΩEnvPluginContext = require_plugin.__ΩEnvPluginContext;
|
|
7
|
+
exports.__ΩEnvPluginOptions = require_plugin.__ΩEnvPluginOptions;
|
|
8
|
+
exports.__ΩEnvPluginResolvedConfig = require_plugin.__ΩEnvPluginResolvedConfig;
|
|
9
|
+
exports.__ΩEnvPluginUserConfig = require_plugin.__ΩEnvPluginUserConfig;
|
|
10
|
+
exports.__ΩEnvType = require_plugin.__ΩEnvType;
|
|
11
|
+
exports.__ΩSecretsInterface = require_runtime.__ΩSecretsInterface;
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { i as __ΩSecretsInterface, n as SecretsInterface, r as __ΩEnvInterface, t as EnvInterface } from "../runtime-BDzzR4wH.cjs";
|
|
2
|
+
import { a as EnvType, c as __ΩEnvPluginResolvedConfig, i as EnvPluginUserConfig, l as __ΩEnvPluginUserConfig, n as EnvPluginOptions, o as __ΩEnvPluginContext, r as EnvPluginResolvedConfig, s as __ΩEnvPluginOptions, t as EnvPluginContext, u as __ΩEnvType } from "../plugin-CSe5f2cD.cjs";
|
|
3
|
+
import "../index-DSiHnMH2.cjs";
|
|
3
4
|
export { EnvInterface, EnvPluginContext, EnvPluginOptions, EnvPluginResolvedConfig, EnvPluginUserConfig, EnvType, SecretsInterface, __ΩEnvInterface, __ΩEnvPluginContext, __ΩEnvPluginOptions, __ΩEnvPluginResolvedConfig, __ΩEnvPluginUserConfig, __ΩEnvType, __ΩSecretsInterface };
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { i as __ΩSecretsInterface, n as SecretsInterface, r as __ΩEnvInterface, t as EnvInterface } from "../runtime-lYSIZdMn.mjs";
|
|
2
|
+
import { a as EnvType, c as __ΩEnvPluginResolvedConfig, i as EnvPluginUserConfig, l as __ΩEnvPluginUserConfig, n as EnvPluginOptions, o as __ΩEnvPluginContext, r as EnvPluginResolvedConfig, s as __ΩEnvPluginOptions, t as EnvPluginContext, u as __ΩEnvType } from "../plugin-DMbVjdcQ.mjs";
|
|
3
|
+
import "../index-CREkvfw9.mjs";
|
|
3
4
|
export { EnvInterface, EnvPluginContext, EnvPluginOptions, EnvPluginResolvedConfig, EnvPluginUserConfig, EnvType, SecretsInterface, __ΩEnvInterface, __ΩEnvPluginContext, __ΩEnvPluginOptions, __ΩEnvPluginResolvedConfig, __ΩEnvPluginUserConfig, __ΩEnvType, __ΩSecretsInterface };
|
package/dist/types/index.mjs
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { __Ω
|
|
2
|
-
import { __Ω
|
|
1
|
+
import { n as __ΩSecretsInterface, t as __ΩEnvInterface } from "../runtime-C5ukCv3P.mjs";
|
|
2
|
+
import { a as __ΩEnvType, i as __ΩEnvPluginUserConfig, n as __ΩEnvPluginOptions, r as __ΩEnvPluginResolvedConfig, t as __ΩEnvPluginContext } from "../plugin-eBjQJP6x.mjs";
|
|
3
|
+
import "../types-DyPQho_C.mjs";
|
|
3
4
|
|
|
4
5
|
export { __ΩEnvInterface, __ΩEnvPluginContext, __ΩEnvPluginOptions, __ΩEnvPluginResolvedConfig, __ΩEnvPluginUserConfig, __ΩEnvType, __ΩSecretsInterface };
|
package/dist/types/plugin.cjs
CHANGED
|
@@ -1,134 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
const
|
|
3
|
-
let __powerlines_plugin_babel_types = require("@powerlines/plugin-babel/types");
|
|
4
|
-
let __powerlines_plugin_automd_types_plugin = require("@powerlines/plugin-automd/types/plugin");
|
|
5
|
-
let __powerlines_plugin_alloy_types = require("@powerlines/plugin-alloy/types");
|
|
6
|
-
let __powerlines_deepkit_types = require("@powerlines/deepkit/types");
|
|
1
|
+
require('../runtime-g0TEIoZK.cjs');
|
|
2
|
+
const require_plugin = require('../plugin-CM1TSv1B.cjs');
|
|
7
3
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
() => __ΩExclude,
|
|
14
|
-
"Omit",
|
|
15
|
-
"b!b\"e!!e!!ge!\"o$#o##w%y"
|
|
16
|
-
];
|
|
17
|
-
const __ΩRequired = [
|
|
18
|
-
"T",
|
|
19
|
-
"Required",
|
|
20
|
-
"l+e#!e\"!fRb!Pde\"!gN##w\"y"
|
|
21
|
-
];
|
|
22
|
-
const __ΩPick = [
|
|
23
|
-
"T",
|
|
24
|
-
"K",
|
|
25
|
-
"Pick",
|
|
26
|
-
"l+e#!e\"!fRb!b\"Pde\"\"N#!w#y"
|
|
27
|
-
];
|
|
28
|
-
const __ΩExclude = [
|
|
29
|
-
"T",
|
|
30
|
-
"U",
|
|
31
|
-
"Exclude",
|
|
32
|
-
"l6!Re$!RPe#!e$\"qk#%QRb!b\"Pde\"!p)w#y"
|
|
33
|
-
];
|
|
34
|
-
const __ΩEnvType = [
|
|
35
|
-
"env",
|
|
36
|
-
"secrets",
|
|
37
|
-
"EnvType",
|
|
38
|
-
"P.!.\"Jw#y"
|
|
39
|
-
];
|
|
40
|
-
const __ΩEnvPluginOptions = [
|
|
41
|
-
() => __ΩOmit,
|
|
42
|
-
"types",
|
|
43
|
-
"types",
|
|
44
|
-
"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\"`.",
|
|
45
|
-
"secrets",
|
|
46
|
-
"A path to the type definition for the expected env secret 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#ConfigSecrets\"`.",
|
|
47
|
-
"prefix",
|
|
48
|
-
"An additional prefix (or list of additional prefixes) to apply to the environment variables",
|
|
49
|
-
"inject",
|
|
50
|
-
true,
|
|
51
|
-
"Should the plugin inject the env variables in the source code with their values?",
|
|
52
|
-
"Children",
|
|
53
|
-
"defaultConfig",
|
|
54
|
-
"The default configuration to use when loading environment variables.",
|
|
55
|
-
() => __powerlines_plugin_babel_types.__ΩBabelPluginOptions,
|
|
56
|
-
"babel",
|
|
57
|
-
"Babel configuration options to use when injecting environment variables into the source code.",
|
|
58
|
-
() => __powerlines_plugin_automd_types_plugin.__ΩAutoMDPluginOptions,
|
|
59
|
-
"automd",
|
|
60
|
-
"AutoMD configuration options to allow injecting environment variables documentation into a markdown file such as a README.md.",
|
|
61
|
-
() => __powerlines_plugin_alloy_types.__ΩAlloyPluginOptions,
|
|
62
|
-
"alloy",
|
|
63
|
-
"Alloy configuration options to use when injecting environment variables into the source code.",
|
|
64
|
-
"EnvPluginOptions",
|
|
65
|
-
"P!.\"o!#P!4#8?$!4%8?&P&&FJ4'8?()4)8>*?+\"w,4-8?.n/408?1n2438?4n5468?7MKw8y"
|
|
66
|
-
];
|
|
67
|
-
const __ΩEnvPluginUserConfig = [
|
|
68
|
-
() => __powerlines_plugin_babel_types.__ΩBabelPluginUserConfig,
|
|
69
|
-
() => __powerlines_plugin_alloy_types.__ΩAlloyPluginUserConfig,
|
|
70
|
-
() => __ΩEnvPluginOptions,
|
|
71
|
-
"env",
|
|
72
|
-
"EnvPluginUserConfig",
|
|
73
|
-
"Pn!n\"Pn#4$MKw%y"
|
|
74
|
-
];
|
|
75
|
-
const __ΩEnvPluginResolvedConfig = [
|
|
76
|
-
() => __powerlines_plugin_babel_types.__ΩBabelPluginResolvedConfig,
|
|
77
|
-
() => __powerlines_plugin_alloy_types.__ΩAlloyPluginResolvedConfig,
|
|
78
|
-
() => __ΩRequired,
|
|
79
|
-
() => __ΩPick,
|
|
80
|
-
"additionalFiles",
|
|
81
|
-
() => __ΩRequired,
|
|
82
|
-
() => __ΩPick,
|
|
83
|
-
() => __ΩEnvPluginOptions,
|
|
84
|
-
"defaultConfig",
|
|
85
|
-
"types",
|
|
86
|
-
"The type definition for the expected env variable parameters",
|
|
87
|
-
"secrets",
|
|
88
|
-
"The type definition for the expected env secret parameters",
|
|
89
|
-
() => __ΩEnvPluginOptions,
|
|
90
|
-
"inject",
|
|
91
|
-
"inject",
|
|
92
|
-
"Should the plugin inject the env variables in the source code with their values?",
|
|
93
|
-
"prefix",
|
|
94
|
-
"The prefix used for environment variables",
|
|
95
|
-
"env",
|
|
96
|
-
"EnvPluginResolvedConfig",
|
|
97
|
-
"Pn!n\"PP!.%o$#o#\"n(.)o'#o&\"P!4*?+!4,?-n../f40?1&F42?3MK44MKw5y"
|
|
98
|
-
];
|
|
99
|
-
const __ΩEnvPluginContext = [
|
|
100
|
-
() => __ΩEnvPluginResolvedConfig,
|
|
101
|
-
"TResolvedConfig",
|
|
102
|
-
() => __powerlines_plugin_babel_types.__ΩBabelPluginContext,
|
|
103
|
-
() => __powerlines_plugin_alloy_types.__ΩAlloyPluginContext,
|
|
104
|
-
() => __powerlines_deepkit_types.__ΩReflection,
|
|
105
|
-
"env",
|
|
106
|
-
"The type definitions for the expected env variables",
|
|
107
|
-
() => __powerlines_deepkit_types.__ΩReflection,
|
|
108
|
-
"secrets",
|
|
109
|
-
"The type definitions for the expected env secrets",
|
|
110
|
-
"The type definitions reflection for the env variables and secrets",
|
|
111
|
-
"types",
|
|
112
|
-
() => __powerlines_deepkit_types.__ΩReflection,
|
|
113
|
-
() => require_types_runtime.__ΩEnvInterface,
|
|
114
|
-
"The current env variables reflection",
|
|
115
|
-
() => __powerlines_deepkit_types.__ΩReflection,
|
|
116
|
-
() => require_types_runtime.__ΩSecretsInterface,
|
|
117
|
-
"The current env secrets reflection",
|
|
118
|
-
"The current **used** environment variables and secrets reflection",
|
|
119
|
-
"used",
|
|
120
|
-
"parsed",
|
|
121
|
-
"The parsed .env configuration object",
|
|
122
|
-
() => __powerlines_deepkit_types.__ΩReflection,
|
|
123
|
-
"injected",
|
|
124
|
-
"The injected environment variables and secrets reflection",
|
|
125
|
-
"EnvPluginContext",
|
|
126
|
-
"n!c\"Pe\"!o#\"e\"!o$\"PPn%4&?'n(4)?*M?+4,?+Pn.o-\"4&?/n1o0\"4)?2M?344?3!45?6n748?9M4&Mw:y"
|
|
127
|
-
];
|
|
128
|
-
|
|
129
|
-
//#endregion
|
|
130
|
-
exports.__ΩEnvPluginContext = __ΩEnvPluginContext;
|
|
131
|
-
exports.__ΩEnvPluginOptions = __ΩEnvPluginOptions;
|
|
132
|
-
exports.__ΩEnvPluginResolvedConfig = __ΩEnvPluginResolvedConfig;
|
|
133
|
-
exports.__ΩEnvPluginUserConfig = __ΩEnvPluginUserConfig;
|
|
134
|
-
exports.__ΩEnvType = __ΩEnvType;
|
|
4
|
+
exports.__ΩEnvPluginContext = require_plugin.__ΩEnvPluginContext;
|
|
5
|
+
exports.__ΩEnvPluginOptions = require_plugin.__ΩEnvPluginOptions;
|
|
6
|
+
exports.__ΩEnvPluginResolvedConfig = require_plugin.__ΩEnvPluginResolvedConfig;
|
|
7
|
+
exports.__ΩEnvPluginUserConfig = require_plugin.__ΩEnvPluginUserConfig;
|
|
8
|
+
exports.__ΩEnvType = require_plugin.__ΩEnvType;
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,154 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import { Reflection } from "@powerlines/deepkit/types";
|
|
4
|
-
import { AlloyPluginContext, AlloyPluginOptions, AlloyPluginResolvedConfig, AlloyPluginUserConfig } from "@powerlines/plugin-alloy/types";
|
|
5
|
-
import { AutoMDPluginOptions } from "@powerlines/plugin-automd/types/plugin";
|
|
6
|
-
import { BabelPluginContext, BabelPluginOptions, BabelPluginResolvedConfig, BabelPluginUserConfig } from "@powerlines/plugin-babel/types";
|
|
7
|
-
import { DotenvParseOutput } from "@stryke/env/types";
|
|
8
|
-
import { DotenvConfiguration, TypeDefinition, TypeDefinitionParameter } from "@stryke/types/configuration";
|
|
9
|
-
|
|
10
|
-
//#region src/types/plugin.d.ts
|
|
11
|
-
type EnvType = "env" | "secrets";
|
|
12
|
-
type EnvPluginOptions = Omit<DotenvConfiguration, "types"> & {
|
|
13
|
-
/**
|
|
14
|
-
* 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"`.
|
|
15
|
-
*/
|
|
16
|
-
types?: TypeDefinitionParameter;
|
|
17
|
-
/**
|
|
18
|
-
* A path to the type definition for the expected env secret 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#ConfigSecrets"`.
|
|
19
|
-
*/
|
|
20
|
-
secrets?: TypeDefinitionParameter;
|
|
21
|
-
/**
|
|
22
|
-
* An additional prefix (or list of additional prefixes) to apply to the environment variables
|
|
23
|
-
*
|
|
24
|
-
* @remarks
|
|
25
|
-
* By default, the plugin will use the `POWERLINES_` prefix. This option is useful for avoiding conflicts with other environment variables.
|
|
26
|
-
*/
|
|
27
|
-
prefix?: string | string[];
|
|
28
|
-
/**
|
|
29
|
-
* Should the plugin inject the env variables in the source code with their values?
|
|
30
|
-
*
|
|
31
|
-
* @defaultValue false
|
|
32
|
-
*/
|
|
33
|
-
inject?: boolean;
|
|
34
|
-
/**
|
|
35
|
-
* The default configuration to use when loading environment variables.
|
|
36
|
-
*
|
|
37
|
-
* @remarks
|
|
38
|
-
* This configuration is used as the base configuration when loading environment variables, and will be overridden by any values found in the `.env` file or the process environment.
|
|
39
|
-
*/
|
|
40
|
-
defaultConfig?: Children;
|
|
41
|
-
/**
|
|
42
|
-
* Babel configuration options to use when injecting environment variables into the source code.
|
|
43
|
-
*
|
|
44
|
-
* @remarks
|
|
45
|
-
* This option allows you to customize the Babel transformation process used to inject environment variables into the source code. If not provided, the plugin will use default Babel settings.
|
|
46
|
-
*/
|
|
47
|
-
babel?: BabelPluginOptions;
|
|
48
|
-
/**
|
|
49
|
-
* AutoMD configuration options to allow injecting environment variables documentation into a markdown file such as a README.md.
|
|
50
|
-
*
|
|
51
|
-
* @remarks
|
|
52
|
-
* The README.md file should contain the `<!-- automd:env --><!-- /automd -->` comment block where the documentation will be injected.
|
|
53
|
-
*/
|
|
54
|
-
automd?: AutoMDPluginOptions;
|
|
55
|
-
/**
|
|
56
|
-
* Alloy configuration options to use when injecting environment variables into the source code.
|
|
57
|
-
*
|
|
58
|
-
* @remarks
|
|
59
|
-
* This option allows you to customize the Alloy transformation process used to inject environment variables into the source code. If not provided, the plugin will use default Alloy settings.
|
|
60
|
-
*/
|
|
61
|
-
alloy?: AlloyPluginOptions;
|
|
62
|
-
};
|
|
63
|
-
type EnvPluginUserConfig = BabelPluginUserConfig & AlloyPluginUserConfig & {
|
|
64
|
-
env: EnvPluginOptions;
|
|
65
|
-
};
|
|
66
|
-
type EnvPluginResolvedConfig = BabelPluginResolvedConfig & AlloyPluginResolvedConfig & {
|
|
67
|
-
env: Required<Pick<DotenvConfiguration, "additionalFiles">> & Required<Pick<EnvPluginOptions, "defaultConfig">> & {
|
|
68
|
-
/**
|
|
69
|
-
* The type definition for the expected env variable parameters
|
|
70
|
-
*
|
|
71
|
-
* @remarks
|
|
72
|
-
* This value is parsed from the {@link EnvPluginOptions.types} option.
|
|
73
|
-
*/
|
|
74
|
-
types: TypeDefinition;
|
|
75
|
-
/**
|
|
76
|
-
* The type definition for the expected env secret parameters
|
|
77
|
-
*
|
|
78
|
-
* @remarks
|
|
79
|
-
* This value is parsed from the {@link EnvPluginOptions.secrets} option.
|
|
80
|
-
*/
|
|
81
|
-
secrets: TypeDefinition;
|
|
82
|
-
/**
|
|
83
|
-
* Should the plugin inject the env variables in the source code with their values?
|
|
84
|
-
*
|
|
85
|
-
* @remarks
|
|
86
|
-
* This value is the result of reflecting the {@link EnvPluginOptions.inject} option.
|
|
87
|
-
*/
|
|
88
|
-
inject: EnvPluginOptions["inject"];
|
|
89
|
-
/**
|
|
90
|
-
* The prefix used for environment variables
|
|
91
|
-
*
|
|
92
|
-
* @remarks
|
|
93
|
-
* This value is used to filter environment variables that are loaded from the .env file and the process environment.
|
|
94
|
-
*/
|
|
95
|
-
prefix: string[];
|
|
96
|
-
};
|
|
97
|
-
};
|
|
98
|
-
interface EnvPluginContext<TResolvedConfig extends EnvPluginResolvedConfig = EnvPluginResolvedConfig> extends BabelPluginContext<TResolvedConfig>, AlloyPluginContext<TResolvedConfig> {
|
|
99
|
-
env: {
|
|
100
|
-
/**
|
|
101
|
-
* The type definitions reflection for the env variables and secrets
|
|
102
|
-
*
|
|
103
|
-
* @remarks
|
|
104
|
-
* These reflections contains the structure of the expected environment variables and secrets as defined by the type definitions provided in the plugin configuration.
|
|
105
|
-
*/
|
|
106
|
-
types: {
|
|
107
|
-
/**
|
|
108
|
-
* The type definitions for the expected env variables
|
|
109
|
-
*/
|
|
110
|
-
env: Reflection;
|
|
111
|
-
/**
|
|
112
|
-
* The type definitions for the expected env secrets
|
|
113
|
-
*/
|
|
114
|
-
secrets: Reflection;
|
|
115
|
-
};
|
|
116
|
-
/**
|
|
117
|
-
* The current **used** environment variables and secrets reflection
|
|
118
|
-
*
|
|
119
|
-
* @remarks
|
|
120
|
-
* This reflection contains the structure of the current environment variables and secrets as defined during the plugin initialization by extracting the values from the source code.
|
|
121
|
-
*/
|
|
122
|
-
used: {
|
|
123
|
-
/**
|
|
124
|
-
* The current env variables reflection
|
|
125
|
-
*/
|
|
126
|
-
env: Reflection<EnvInterface>;
|
|
127
|
-
/**
|
|
128
|
-
* The current env secrets reflection
|
|
129
|
-
*/
|
|
130
|
-
secrets: Reflection<SecretsInterface>;
|
|
131
|
-
};
|
|
132
|
-
/**
|
|
133
|
-
* The parsed .env configuration object
|
|
134
|
-
*
|
|
135
|
-
* @remarks
|
|
136
|
-
* This value is the result of loading the .env configuration file found in the project root directory and merging it with the values provided at {@link EnvPluginOptions.values}
|
|
137
|
-
*/
|
|
138
|
-
parsed: DotenvParseOutput;
|
|
139
|
-
/**
|
|
140
|
-
* The injected environment variables and secrets reflection
|
|
141
|
-
*
|
|
142
|
-
* @remarks
|
|
143
|
-
* This reflection contains the structure of the injected environment variables and secrets that were injected into the source code during the build process.
|
|
144
|
-
*/
|
|
145
|
-
injected: Reflection;
|
|
146
|
-
};
|
|
147
|
-
}
|
|
148
|
-
declare type __ΩEnvType = any[];
|
|
149
|
-
declare type __ΩEnvPluginOptions = any[];
|
|
150
|
-
declare type __ΩEnvPluginUserConfig = any[];
|
|
151
|
-
declare type __ΩEnvPluginResolvedConfig = any[];
|
|
152
|
-
declare type __ΩEnvPluginContext = any[];
|
|
153
|
-
//#endregion
|
|
1
|
+
import "../runtime-BDzzR4wH.cjs";
|
|
2
|
+
import { a as EnvType, c as __ΩEnvPluginResolvedConfig, i as EnvPluginUserConfig, l as __ΩEnvPluginUserConfig, n as EnvPluginOptions, o as __ΩEnvPluginContext, r as EnvPluginResolvedConfig, s as __ΩEnvPluginOptions, t as EnvPluginContext, u as __ΩEnvType } from "../plugin-CSe5f2cD.cjs";
|
|
154
3
|
export { EnvPluginContext, EnvPluginOptions, EnvPluginResolvedConfig, EnvPluginUserConfig, EnvType, __ΩEnvPluginContext, __ΩEnvPluginOptions, __ΩEnvPluginResolvedConfig, __ΩEnvPluginUserConfig, __ΩEnvType };
|
package/dist/types/plugin.d.mts
CHANGED
|
@@ -1,154 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import { AutoMDPluginOptions } from "@powerlines/plugin-automd/types/plugin";
|
|
4
|
-
import { AlloyPluginContext, AlloyPluginOptions, AlloyPluginResolvedConfig, AlloyPluginUserConfig } from "@powerlines/plugin-alloy/types";
|
|
5
|
-
import { Reflection } from "@powerlines/deepkit/types";
|
|
6
|
-
import { DotenvParseOutput } from "@stryke/env/types";
|
|
7
|
-
import { Children } from "@alloy-js/core";
|
|
8
|
-
import { DotenvConfiguration, TypeDefinition, TypeDefinitionParameter } from "@stryke/types/configuration";
|
|
9
|
-
|
|
10
|
-
//#region src/types/plugin.d.ts
|
|
11
|
-
type EnvType = "env" | "secrets";
|
|
12
|
-
type EnvPluginOptions = Omit<DotenvConfiguration, "types"> & {
|
|
13
|
-
/**
|
|
14
|
-
* 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"`.
|
|
15
|
-
*/
|
|
16
|
-
types?: TypeDefinitionParameter;
|
|
17
|
-
/**
|
|
18
|
-
* A path to the type definition for the expected env secret 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#ConfigSecrets"`.
|
|
19
|
-
*/
|
|
20
|
-
secrets?: TypeDefinitionParameter;
|
|
21
|
-
/**
|
|
22
|
-
* An additional prefix (or list of additional prefixes) to apply to the environment variables
|
|
23
|
-
*
|
|
24
|
-
* @remarks
|
|
25
|
-
* By default, the plugin will use the `POWERLINES_` prefix. This option is useful for avoiding conflicts with other environment variables.
|
|
26
|
-
*/
|
|
27
|
-
prefix?: string | string[];
|
|
28
|
-
/**
|
|
29
|
-
* Should the plugin inject the env variables in the source code with their values?
|
|
30
|
-
*
|
|
31
|
-
* @defaultValue false
|
|
32
|
-
*/
|
|
33
|
-
inject?: boolean;
|
|
34
|
-
/**
|
|
35
|
-
* The default configuration to use when loading environment variables.
|
|
36
|
-
*
|
|
37
|
-
* @remarks
|
|
38
|
-
* This configuration is used as the base configuration when loading environment variables, and will be overridden by any values found in the `.env` file or the process environment.
|
|
39
|
-
*/
|
|
40
|
-
defaultConfig?: Children;
|
|
41
|
-
/**
|
|
42
|
-
* Babel configuration options to use when injecting environment variables into the source code.
|
|
43
|
-
*
|
|
44
|
-
* @remarks
|
|
45
|
-
* This option allows you to customize the Babel transformation process used to inject environment variables into the source code. If not provided, the plugin will use default Babel settings.
|
|
46
|
-
*/
|
|
47
|
-
babel?: BabelPluginOptions;
|
|
48
|
-
/**
|
|
49
|
-
* AutoMD configuration options to allow injecting environment variables documentation into a markdown file such as a README.md.
|
|
50
|
-
*
|
|
51
|
-
* @remarks
|
|
52
|
-
* The README.md file should contain the `<!-- automd:env --><!-- /automd -->` comment block where the documentation will be injected.
|
|
53
|
-
*/
|
|
54
|
-
automd?: AutoMDPluginOptions;
|
|
55
|
-
/**
|
|
56
|
-
* Alloy configuration options to use when injecting environment variables into the source code.
|
|
57
|
-
*
|
|
58
|
-
* @remarks
|
|
59
|
-
* This option allows you to customize the Alloy transformation process used to inject environment variables into the source code. If not provided, the plugin will use default Alloy settings.
|
|
60
|
-
*/
|
|
61
|
-
alloy?: AlloyPluginOptions;
|
|
62
|
-
};
|
|
63
|
-
type EnvPluginUserConfig = BabelPluginUserConfig & AlloyPluginUserConfig & {
|
|
64
|
-
env: EnvPluginOptions;
|
|
65
|
-
};
|
|
66
|
-
type EnvPluginResolvedConfig = BabelPluginResolvedConfig & AlloyPluginResolvedConfig & {
|
|
67
|
-
env: Required<Pick<DotenvConfiguration, "additionalFiles">> & Required<Pick<EnvPluginOptions, "defaultConfig">> & {
|
|
68
|
-
/**
|
|
69
|
-
* The type definition for the expected env variable parameters
|
|
70
|
-
*
|
|
71
|
-
* @remarks
|
|
72
|
-
* This value is parsed from the {@link EnvPluginOptions.types} option.
|
|
73
|
-
*/
|
|
74
|
-
types: TypeDefinition;
|
|
75
|
-
/**
|
|
76
|
-
* The type definition for the expected env secret parameters
|
|
77
|
-
*
|
|
78
|
-
* @remarks
|
|
79
|
-
* This value is parsed from the {@link EnvPluginOptions.secrets} option.
|
|
80
|
-
*/
|
|
81
|
-
secrets: TypeDefinition;
|
|
82
|
-
/**
|
|
83
|
-
* Should the plugin inject the env variables in the source code with their values?
|
|
84
|
-
*
|
|
85
|
-
* @remarks
|
|
86
|
-
* This value is the result of reflecting the {@link EnvPluginOptions.inject} option.
|
|
87
|
-
*/
|
|
88
|
-
inject: EnvPluginOptions["inject"];
|
|
89
|
-
/**
|
|
90
|
-
* The prefix used for environment variables
|
|
91
|
-
*
|
|
92
|
-
* @remarks
|
|
93
|
-
* This value is used to filter environment variables that are loaded from the .env file and the process environment.
|
|
94
|
-
*/
|
|
95
|
-
prefix: string[];
|
|
96
|
-
};
|
|
97
|
-
};
|
|
98
|
-
interface EnvPluginContext<TResolvedConfig extends EnvPluginResolvedConfig = EnvPluginResolvedConfig> extends BabelPluginContext<TResolvedConfig>, AlloyPluginContext<TResolvedConfig> {
|
|
99
|
-
env: {
|
|
100
|
-
/**
|
|
101
|
-
* The type definitions reflection for the env variables and secrets
|
|
102
|
-
*
|
|
103
|
-
* @remarks
|
|
104
|
-
* These reflections contains the structure of the expected environment variables and secrets as defined by the type definitions provided in the plugin configuration.
|
|
105
|
-
*/
|
|
106
|
-
types: {
|
|
107
|
-
/**
|
|
108
|
-
* The type definitions for the expected env variables
|
|
109
|
-
*/
|
|
110
|
-
env: Reflection;
|
|
111
|
-
/**
|
|
112
|
-
* The type definitions for the expected env secrets
|
|
113
|
-
*/
|
|
114
|
-
secrets: Reflection;
|
|
115
|
-
};
|
|
116
|
-
/**
|
|
117
|
-
* The current **used** environment variables and secrets reflection
|
|
118
|
-
*
|
|
119
|
-
* @remarks
|
|
120
|
-
* This reflection contains the structure of the current environment variables and secrets as defined during the plugin initialization by extracting the values from the source code.
|
|
121
|
-
*/
|
|
122
|
-
used: {
|
|
123
|
-
/**
|
|
124
|
-
* The current env variables reflection
|
|
125
|
-
*/
|
|
126
|
-
env: Reflection<EnvInterface>;
|
|
127
|
-
/**
|
|
128
|
-
* The current env secrets reflection
|
|
129
|
-
*/
|
|
130
|
-
secrets: Reflection<SecretsInterface>;
|
|
131
|
-
};
|
|
132
|
-
/**
|
|
133
|
-
* The parsed .env configuration object
|
|
134
|
-
*
|
|
135
|
-
* @remarks
|
|
136
|
-
* This value is the result of loading the .env configuration file found in the project root directory and merging it with the values provided at {@link EnvPluginOptions.values}
|
|
137
|
-
*/
|
|
138
|
-
parsed: DotenvParseOutput;
|
|
139
|
-
/**
|
|
140
|
-
* The injected environment variables and secrets reflection
|
|
141
|
-
*
|
|
142
|
-
* @remarks
|
|
143
|
-
* This reflection contains the structure of the injected environment variables and secrets that were injected into the source code during the build process.
|
|
144
|
-
*/
|
|
145
|
-
injected: Reflection;
|
|
146
|
-
};
|
|
147
|
-
}
|
|
148
|
-
declare type __ΩEnvType = any[];
|
|
149
|
-
declare type __ΩEnvPluginOptions = any[];
|
|
150
|
-
declare type __ΩEnvPluginUserConfig = any[];
|
|
151
|
-
declare type __ΩEnvPluginResolvedConfig = any[];
|
|
152
|
-
declare type __ΩEnvPluginContext = any[];
|
|
153
|
-
//#endregion
|
|
1
|
+
import "../runtime-lYSIZdMn.mjs";
|
|
2
|
+
import { a as EnvType, c as __ΩEnvPluginResolvedConfig, i as EnvPluginUserConfig, l as __ΩEnvPluginUserConfig, n as EnvPluginOptions, o as __ΩEnvPluginContext, r as EnvPluginResolvedConfig, s as __ΩEnvPluginOptions, t as EnvPluginContext, u as __ΩEnvType } from "../plugin-DMbVjdcQ.mjs";
|
|
154
3
|
export { EnvPluginContext, EnvPluginOptions, EnvPluginResolvedConfig, EnvPluginUserConfig, EnvType, __ΩEnvPluginContext, __ΩEnvPluginOptions, __ΩEnvPluginResolvedConfig, __ΩEnvPluginUserConfig, __ΩEnvType };
|