diff --git a/.github/workflows/GitHub.yml b/.github/workflows/GitHub.yml index 155a6ad..ab334a3 100644 --- a/.github/workflows/GitHub.yml +++ b/.github/workflows/GitHub.yml @@ -52,7 +52,7 @@ jobs: VCPKG_DISABLE_METRICS: 1 steps: - - uses: pozil/auto-assign-issue@v2.1.2 + - uses: pozil/auto-assign-issue@v2.0.1 with: repo-token: ${{ secrets.GITHUB_TOKEN }} assignees: NikolaRHristov diff --git a/CHANGELOG.md b/CHANGELOG.md index 689cb6b..c687174 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,29 +1,88 @@ ## 0.0.8 +### Changed + +- Updated to Biome 1.9.4. +- Enforced stricter code style with `useFilenamingConvention`. +- Updated dependencies. +- Improved developer experience with better logging and error handling. + +### Added + +- `Run` script to package.json for building with watch mode. +- Provenance to package.json. + +### Removed + +- `Document` script from package.json. + ## 0.0.7 -- Cleanup +### Changed + +- Updated to Biome 1.8.3. +- Improved logging for debugging. + +### Fixed + +- Resolved an issue where the integration would not correctly apply the Biome + configuration. ## 0.0.6 -- Cleanup +### Changed + +- Updated to Biome 1.8.2. +- Improved code organization. +- Updated `@playform/pipe` dependency to 0.0.6. +- Updated `@playform/build` dependency to 0.0.11. + +### Added + +- Introduced a new `Merge` function for merging configuration objects. ## 0.0.5 -- Cleanup +### Changed + +- Updated dependencies, including bumping Biome to 1.8.0, Astro to "\*", and + `deepmerge-ts` to 7.0.3. ## 0.0.4 -- Cleanup +### Changed + +- Bumped version. ## 0.0.3 -- Cleanup +### Changed + +- Updated to Biome 1.7.3. +- Restructured codebase. +- Changed the API surface. +- Updated dependencies: bumped `@playform/pipe` to 0.0.5, `astro` to 4.9.2, + `deepmerge-ts` to 7.0.1, and `@playform/build` to 0.0.10. + +### Added + +- Support for Astro integration. +- `astro-biome`, `astro-format`, and `format` scripts to package.json. ## 0.0.2 -- Cleanup +### Changed + +- Updated dependencies. + +### Added + +- Astro integrations. +- `astro-component`, `astro-integration`, and `withastro` scripts to + package.json. ## 0.0.1 -- Initial version +### Added + +- Initial release of Format. diff --git a/docs/assets/icons.js b/docs/assets/icons.js index e88e8ca..3dfbd32 100644 --- a/docs/assets/icons.js +++ b/docs/assets/icons.js @@ -3,7 +3,7 @@ function addIcons() { if (document.readyState === "loading") return document.addEventListener("DOMContentLoaded", addIcons); const svg = document.body.appendChild(document.createElementNS("http://www.w3.org/2000/svg", "svg")); - svg.innerHTML = `""`; + svg.innerHTML = `MMNEPVFCICPMFPCPTTAAATR`; svg.style.display = "none"; if (location.protocol === "file:") updateUseElements(); } diff --git a/docs/assets/icons.svg b/docs/assets/icons.svg index e371b8b..a19417d 100644 --- a/docs/assets/icons.svg +++ b/docs/assets/icons.svg @@ -1 +1 @@ - \ No newline at end of file +MMNEPVFCICPMFPCPTTAAATR \ No newline at end of file diff --git a/docs/assets/main.js b/docs/assets/main.js index 21a5d74..99097a0 100644 --- a/docs/assets/main.js +++ b/docs/assets/main.js @@ -3,7 +3,7 @@ window.translations={"copy":"Copy","copied":"Copied!","normally_hidden":"This me "use strict";(()=>{var Pe=Object.create;var ie=Object.defineProperty;var Oe=Object.getOwnPropertyDescriptor;var _e=Object.getOwnPropertyNames;var Re=Object.getPrototypeOf,Me=Object.prototype.hasOwnProperty;var Fe=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var De=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of _e(e))!Me.call(t,i)&&i!==n&&ie(t,i,{get:()=>e[i],enumerable:!(r=Oe(e,i))||r.enumerable});return t};var Ae=(t,e,n)=>(n=t!=null?Pe(Re(t)):{},De(e||!t||!t.__esModule?ie(n,"default",{value:t,enumerable:!0}):n,t));var ue=Fe((ae,le)=>{(function(){var t=function(e){var n=new t.Builder;return n.pipeline.add(t.trimmer,t.stopWordFilter,t.stemmer),n.searchPipeline.add(t.stemmer),e.call(n,n),n.build()};t.version="2.3.9";t.utils={},t.utils.warn=function(e){return function(n){e.console&&console.warn&&console.warn(n)}}(this),t.utils.asString=function(e){return e==null?"":e.toString()},t.utils.clone=function(e){if(e==null)return e;for(var n=Object.create(null),r=Object.keys(e),i=0;i0){var d=t.utils.clone(n)||{};d.position=[a,u],d.index=s.length,s.push(new t.Token(r.slice(a,o),d))}a=o+1}}return s},t.tokenizer.separator=/[\s\-]+/;t.Pipeline=function(){this._stack=[]},t.Pipeline.registeredFunctions=Object.create(null),t.Pipeline.registerFunction=function(e,n){n in this.registeredFunctions&&t.utils.warn("Overwriting existing registered function: "+n),e.label=n,t.Pipeline.registeredFunctions[e.label]=e},t.Pipeline.warnIfFunctionNotRegistered=function(e){var n=e.label&&e.label in this.registeredFunctions;n||t.utils.warn(`Function is not registered with pipeline. This may cause problems when serialising the index. `,e)},t.Pipeline.load=function(e){var n=new t.Pipeline;return e.forEach(function(r){var i=t.Pipeline.registeredFunctions[r];if(i)n.add(i);else throw new Error("Cannot load unregistered function: "+r)}),n},t.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(n){t.Pipeline.warnIfFunctionNotRegistered(n),this._stack.push(n)},this)},t.Pipeline.prototype.after=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var r=this._stack.indexOf(e);if(r==-1)throw new Error("Cannot find existingFn");r=r+1,this._stack.splice(r,0,n)},t.Pipeline.prototype.before=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var r=this._stack.indexOf(e);if(r==-1)throw new Error("Cannot find existingFn");this._stack.splice(r,0,n)},t.Pipeline.prototype.remove=function(e){var n=this._stack.indexOf(e);n!=-1&&this._stack.splice(n,1)},t.Pipeline.prototype.run=function(e){for(var n=this._stack.length,r=0;r1&&(oe&&(r=s),o!=e);)i=r-n,s=n+Math.floor(i/2),o=this.elements[s*2];if(o==e||o>e)return s*2;if(ol?d+=2:a==l&&(n+=r[u+1]*i[d+1],u+=2,d+=2);return n},t.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},t.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),n=1,r=0;n0){var o=s.str.charAt(0),a;o in s.node.edges?a=s.node.edges[o]:(a=new t.TokenSet,s.node.edges[o]=a),s.str.length==1&&(a.final=!0),i.push({node:a,editsRemaining:s.editsRemaining,str:s.str.slice(1)})}if(s.editsRemaining!=0){if("*"in s.node.edges)var l=s.node.edges["*"];else{var l=new t.TokenSet;s.node.edges["*"]=l}if(s.str.length==0&&(l.final=!0),i.push({node:l,editsRemaining:s.editsRemaining-1,str:s.str}),s.str.length>1&&i.push({node:s.node,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)}),s.str.length==1&&(s.node.final=!0),s.str.length>=1){if("*"in s.node.edges)var u=s.node.edges["*"];else{var u=new t.TokenSet;s.node.edges["*"]=u}s.str.length==1&&(u.final=!0),i.push({node:u,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.str.length>1){var d=s.str.charAt(0),m=s.str.charAt(1),p;m in s.node.edges?p=s.node.edges[m]:(p=new t.TokenSet,s.node.edges[m]=p),s.str.length==1&&(p.final=!0),i.push({node:p,editsRemaining:s.editsRemaining-1,str:d+s.str.slice(2)})}}}return r},t.TokenSet.fromString=function(e){for(var n=new t.TokenSet,r=n,i=0,s=e.length;i=e;n--){var r=this.uncheckedNodes[n],i=r.child.toString();i in this.minimizedNodes?r.parent.edges[r.char]=this.minimizedNodes[i]:(r.child._str=i,this.minimizedNodes[i]=r.child),this.uncheckedNodes.pop()}};t.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},t.Index.prototype.search=function(e){return this.query(function(n){var r=new t.QueryParser(e,n);r.parse()})},t.Index.prototype.query=function(e){for(var n=new t.Query(this.fields),r=Object.create(null),i=Object.create(null),s=Object.create(null),o=Object.create(null),a=Object.create(null),l=0;l1?this._b=1:this._b=e},t.Builder.prototype.k1=function(e){this._k1=e},t.Builder.prototype.add=function(e,n){var r=e[this._ref],i=Object.keys(this._fields);this._documents[r]=n||{},this.documentCount+=1;for(var s=0;s=this.length)return t.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},t.QueryLexer.prototype.width=function(){return this.pos-this.start},t.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},t.QueryLexer.prototype.backup=function(){this.pos-=1},t.QueryLexer.prototype.acceptDigitRun=function(){var e,n;do e=this.next(),n=e.charCodeAt(0);while(n>47&&n<58);e!=t.QueryLexer.EOS&&this.backup()},t.QueryLexer.prototype.more=function(){return this.pos1&&(e.backup(),e.emit(t.QueryLexer.TERM)),e.ignore(),e.more())return t.QueryLexer.lexText},t.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.EDIT_DISTANCE),t.QueryLexer.lexText},t.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.BOOST),t.QueryLexer.lexText},t.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(t.QueryLexer.TERM)},t.QueryLexer.termSeparator=t.tokenizer.separator,t.QueryLexer.lexText=function(e){for(;;){var n=e.next();if(n==t.QueryLexer.EOS)return t.QueryLexer.lexEOS;if(n.charCodeAt(0)==92){e.escapeCharacter();continue}if(n==":")return t.QueryLexer.lexField;if(n=="~")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexEditDistance;if(n=="^")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexBoost;if(n=="+"&&e.width()===1||n=="-"&&e.width()===1)return e.emit(t.QueryLexer.PRESENCE),t.QueryLexer.lexText;if(n.match(t.QueryLexer.termSeparator))return t.QueryLexer.lexTerm}},t.QueryParser=function(e,n){this.lexer=new t.QueryLexer(e),this.query=n,this.currentClause={},this.lexemeIdx=0},t.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=t.QueryParser.parseClause;e;)e=e(this);return this.query},t.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},t.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},t.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},t.QueryParser.parseClause=function(e){var n=e.peekLexeme();if(n!=null)switch(n.type){case t.QueryLexer.PRESENCE:return t.QueryParser.parsePresence;case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expected either a field or a term, found "+n.type;throw n.str.length>=1&&(r+=" with value '"+n.str+"'"),new t.QueryParseError(r,n.start,n.end)}},t.QueryParser.parsePresence=function(e){var n=e.consumeLexeme();if(n!=null){switch(n.str){case"-":e.currentClause.presence=t.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=t.Query.presence.REQUIRED;break;default:var r="unrecognised presence operator'"+n.str+"'";throw new t.QueryParseError(r,n.start,n.end)}var i=e.peekLexeme();if(i==null){var r="expecting term or field, found nothing";throw new t.QueryParseError(r,n.start,n.end)}switch(i.type){case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expecting term or field, found '"+i.type+"'";throw new t.QueryParseError(r,i.start,i.end)}}},t.QueryParser.parseField=function(e){var n=e.consumeLexeme();if(n!=null){if(e.query.allFields.indexOf(n.str)==-1){var r=e.query.allFields.map(function(o){return"'"+o+"'"}).join(", "),i="unrecognised field '"+n.str+"', possible fields: "+r;throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.fields=[n.str];var s=e.peekLexeme();if(s==null){var i="expecting term, found nothing";throw new t.QueryParseError(i,n.start,n.end)}switch(s.type){case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var i="expecting term, found '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseTerm=function(e){var n=e.consumeLexeme();if(n!=null){e.currentClause.term=n.str.toLowerCase(),n.str.indexOf("*")!=-1&&(e.currentClause.usePipeline=!1);var r=e.peekLexeme();if(r==null){e.nextClause();return}switch(r.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+r.type+"'";throw new t.QueryParseError(i,r.start,r.end)}}},t.QueryParser.parseEditDistance=function(e){var n=e.consumeLexeme();if(n!=null){var r=parseInt(n.str,10);if(isNaN(r)){var i="edit distance must be numeric";throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.editDistance=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseBoost=function(e){var n=e.consumeLexeme();if(n!=null){var r=parseInt(n.str,10);if(isNaN(r)){var i="boost must be numeric";throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.boost=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},function(e,n){typeof define=="function"&&define.amd?define(n):typeof ae=="object"?le.exports=n():e.lunr=n()}(this,function(){return t})})()});var se=[];function G(t,e){se.push({selector:e,constructor:t})}var U=class{constructor(){this.alwaysVisibleMember=null;this.createComponents(document.body),this.ensureFocusedElementVisible(),this.listenForCodeCopies(),window.addEventListener("hashchange",()=>this.ensureFocusedElementVisible()),document.body.style.display||(this.ensureFocusedElementVisible(),this.updateIndexVisibility(),this.scrollToHash())}createComponents(e){se.forEach(n=>{e.querySelectorAll(n.selector).forEach(r=>{r.dataset.hasInstance||(new n.constructor({el:r,app:this}),r.dataset.hasInstance=String(!0))})})}filterChanged(){this.ensureFocusedElementVisible()}showPage(){document.body.style.display&&(document.body.style.removeProperty("display"),this.ensureFocusedElementVisible(),this.updateIndexVisibility(),this.scrollToHash())}scrollToHash(){if(location.hash){let e=document.getElementById(location.hash.substring(1));if(!e)return;e.scrollIntoView({behavior:"instant",block:"start"})}}ensureActivePageVisible(){let e=document.querySelector(".tsd-navigation .current"),n=e?.parentElement;for(;n&&!n.classList.contains(".tsd-navigation");)n instanceof HTMLDetailsElement&&(n.open=!0),n=n.parentElement;if(e&&!Ve(e)){let r=e.getBoundingClientRect().top-document.documentElement.clientHeight/4;document.querySelector(".site-menu").scrollTop=r,document.querySelector(".col-sidebar").scrollTop=r}}updateIndexVisibility(){let e=document.querySelector(".tsd-index-content"),n=e?.open;e&&(e.open=!0),document.querySelectorAll(".tsd-index-section").forEach(r=>{r.style.display="block";let i=Array.from(r.querySelectorAll(".tsd-index-link")).every(s=>s.offsetParent==null);r.style.display=i?"none":"block"}),e&&(e.open=n)}ensureFocusedElementVisible(){if(this.alwaysVisibleMember&&(this.alwaysVisibleMember.classList.remove("always-visible"),this.alwaysVisibleMember.firstElementChild.remove(),this.alwaysVisibleMember=null),!location.hash)return;let e=document.getElementById(location.hash.substring(1));if(!e)return;let n=e.parentElement;for(;n&&n.tagName!=="SECTION";)n=n.parentElement;if(!n)return;let r=n.offsetParent==null,i=n;for(;i!==document.body;)i instanceof HTMLDetailsElement&&(i.open=!0),i=i.parentElement;if(n.offsetParent==null){this.alwaysVisibleMember=n,n.classList.add("always-visible");let s=document.createElement("p");s.classList.add("warning"),s.textContent=window.translations.normally_hidden,n.prepend(s)}r&&e.scrollIntoView()}listenForCodeCopies(){document.querySelectorAll("pre > button").forEach(e=>{let n;e.addEventListener("click",()=>{e.previousElementSibling instanceof HTMLElement&&navigator.clipboard.writeText(e.previousElementSibling.innerText.trim()),e.textContent=window.translations.copied,e.classList.add("visible"),clearTimeout(n),n=setTimeout(()=>{e.classList.remove("visible"),n=setTimeout(()=>{e.textContent=window.translations.copy},100)},1e3)})})}};function Ve(t){let e=t.getBoundingClientRect(),n=Math.max(document.documentElement.clientHeight,window.innerHeight);return!(e.bottom<0||e.top-n>=0)}var oe=(t,e=100)=>{let n;return()=>{clearTimeout(n),n=setTimeout(()=>t(),e)}};var pe=Ae(ue());async function ce(t,e){if(!window.searchData)return;let n=await fetch(window.searchData),r=new Blob([await n.arrayBuffer()]).stream().pipeThrough(new DecompressionStream("gzip")),i=await new Response(r).json();t.data=i,t.index=pe.Index.load(i.index),e.classList.remove("loading"),e.classList.add("ready")}function fe(){let t=document.getElementById("tsd-search");if(!t)return;let e={base:t.dataset.base+"/"},n=document.getElementById("tsd-search-script");t.classList.add("loading"),n&&(n.addEventListener("error",()=>{t.classList.remove("loading"),t.classList.add("failure")}),n.addEventListener("load",()=>{ce(e,t)}),ce(e,t));let r=document.querySelector("#tsd-search input"),i=document.querySelector("#tsd-search .results");if(!r||!i)throw new Error("The input field or the result list wrapper was not found");i.addEventListener("mouseup",()=>{te(t)}),r.addEventListener("focus",()=>t.classList.add("has-focus")),He(t,i,r,e)}function He(t,e,n,r){n.addEventListener("input",oe(()=>{Ne(t,e,n,r)},200)),n.addEventListener("keydown",i=>{i.key=="Enter"?Be(e,t):i.key=="ArrowUp"?(de(e,n,-1),i.preventDefault()):i.key==="ArrowDown"&&(de(e,n,1),i.preventDefault())}),document.body.addEventListener("keypress",i=>{i.altKey||i.ctrlKey||i.metaKey||!n.matches(":focus")&&i.key==="/"&&(i.preventDefault(),n.focus())}),document.body.addEventListener("keyup",i=>{t.classList.contains("has-focus")&&(i.key==="Escape"||!e.matches(":focus-within")&&!n.matches(":focus"))&&(n.blur(),te(t))})}function te(t){t.classList.remove("has-focus")}function Ne(t,e,n,r){if(!r.index||!r.data)return;e.textContent="";let i=n.value.trim(),s;if(i){let o=i.split(" ").map(a=>a.length?`*${a}*`:"").join(" ");s=r.index.search(o)}else s=[];for(let o=0;oa.score-o.score);for(let o=0,a=Math.min(10,s.length);o`,d=he(l.name,i);globalThis.DEBUG_SEARCH_WEIGHTS&&(d+=` (score: ${s[o].score.toFixed(2)})`),l.parent&&(d=` ${he(l.parent,i)}.${d}`);let m=document.createElement("li");m.classList.value=l.classes??"";let p=document.createElement("a");p.href=r.base+l.url,p.innerHTML=u+d,m.append(p),p.addEventListener("focus",()=>{e.querySelector(".current")?.classList.remove("current"),m.classList.add("current")}),e.appendChild(m)}}function de(t,e,n){let r=t.querySelector(".current");if(!r)r=t.querySelector(n==1?"li:first-child":"li:last-child"),r&&r.classList.add("current");else{let i=r;if(n===1)do i=i.nextElementSibling??void 0;while(i instanceof HTMLElement&&i.offsetParent==null);else do i=i.previousElementSibling??void 0;while(i instanceof HTMLElement&&i.offsetParent==null);i?(r.classList.remove("current"),i.classList.add("current")):n===-1&&(r.classList.remove("current"),e.focus())}}function Be(t,e){let n=t.querySelector(".current");if(n||(n=t.querySelector("li:first-child")),n){let r=n.querySelector("a");r&&(window.location.href=r.href),te(e)}}function he(t,e){if(e==="")return t;let n=t.toLocaleLowerCase(),r=e.toLocaleLowerCase(),i=[],s=0,o=n.indexOf(r);for(;o!=-1;)i.push(ee(t.substring(s,o)),`${ee(t.substring(o,o+r.length))}`),s=o+r.length,o=n.indexOf(r,s);return i.push(ee(t.substring(s))),i.join("")}var je={"&":"&","<":"<",">":">","'":"'",'"':"""};function ee(t){return t.replace(/[&<>"'"]/g,e=>je[e])}var I=class{constructor(e){this.el=e.el,this.app=e.app}};var F="mousedown",ye="mousemove",N="mouseup",J={x:0,y:0},me=!1,ne=!1,qe=!1,D=!1,ve=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);document.documentElement.classList.add(ve?"is-mobile":"not-mobile");ve&&"ontouchstart"in document.documentElement&&(qe=!0,F="touchstart",ye="touchmove",N="touchend");document.addEventListener(F,t=>{ne=!0,D=!1;let e=F=="touchstart"?t.targetTouches[0]:t;J.y=e.pageY||0,J.x=e.pageX||0});document.addEventListener(ye,t=>{if(ne&&!D){let e=F=="touchstart"?t.targetTouches[0]:t,n=J.x-(e.pageX||0),r=J.y-(e.pageY||0);D=Math.sqrt(n*n+r*r)>10}});document.addEventListener(N,()=>{ne=!1});document.addEventListener("click",t=>{me&&(t.preventDefault(),t.stopImmediatePropagation(),me=!1)});var X=class extends I{constructor(e){super(e),this.className=this.el.dataset.toggle||"",this.el.addEventListener(N,n=>this.onPointerUp(n)),this.el.addEventListener("click",n=>n.preventDefault()),document.addEventListener(F,n=>this.onDocumentPointerDown(n)),document.addEventListener(N,n=>this.onDocumentPointerUp(n))}setActive(e){if(this.active==e)return;this.active=e,document.documentElement.classList.toggle("has-"+this.className,e),this.el.classList.toggle("active",e);let n=(this.active?"to-has-":"from-has-")+this.className;document.documentElement.classList.add(n),setTimeout(()=>document.documentElement.classList.remove(n),500)}onPointerUp(e){D||(this.setActive(!0),e.preventDefault())}onDocumentPointerDown(e){if(this.active){if(e.target.closest(".col-sidebar, .tsd-filter-group"))return;this.setActive(!1)}}onDocumentPointerUp(e){if(!D&&this.active&&e.target.closest(".col-sidebar")){let n=e.target.closest("a");if(n){let r=window.location.href;r.indexOf("#")!=-1&&(r=r.substring(0,r.indexOf("#"))),n.href.substring(0,r.length)==r&&setTimeout(()=>this.setActive(!1),250)}}}};var re;try{re=localStorage}catch{re={getItem(){return null},setItem(){}}}var Q=re;var ge=document.head.appendChild(document.createElement("style"));ge.dataset.for="filters";var Y=class extends I{constructor(e){super(e),this.key=`filter-${this.el.name}`,this.value=this.el.checked,this.el.addEventListener("change",()=>{this.setLocalStorage(this.el.checked)}),this.setLocalStorage(this.fromLocalStorage()),ge.innerHTML+=`html:not(.${this.key}) .tsd-is-${this.el.name} { display: none; } -`,this.app.updateIndexVisibility()}fromLocalStorage(){let e=Q.getItem(this.key);return e?e==="true":this.el.checked}setLocalStorage(e){Q.setItem(this.key,e.toString()),this.value=e,this.handleValueChange()}handleValueChange(){this.el.checked=this.value,document.documentElement.classList.toggle(this.key,this.value),this.app.filterChanged(),this.app.updateIndexVisibility()}};var Z=class extends I{constructor(e){super(e),this.summary=this.el.querySelector(".tsd-accordion-summary"),this.icon=this.summary.querySelector("svg"),this.key=`tsd-accordion-${this.summary.dataset.key??this.summary.textContent.trim().replace(/\s+/g,"-").toLowerCase()}`;let n=Q.getItem(this.key);this.el.open=n?n==="true":this.el.open,this.el.addEventListener("toggle",()=>this.update());let r=this.summary.querySelector("a");r&&r.addEventListener("click",()=>{location.assign(r.href)}),this.update()}update(){this.icon.style.transform=`rotate(${this.el.open?0:-90}deg)`,Q.setItem(this.key,this.el.open.toString())}};function Ee(t){let e=Q.getItem("tsd-theme")||"os";t.value=e,xe(e),t.addEventListener("change",()=>{Q.setItem("tsd-theme",t.value),xe(t.value)})}function xe(t){document.documentElement.dataset.theme=t}var K;function we(){let t=document.getElementById("tsd-nav-script");t&&(t.addEventListener("load",Le),Le())}async function Le(){let t=document.getElementById("tsd-nav-container");if(!t||!window.navigationData)return;let n=await(await fetch(window.navigationData)).arrayBuffer(),r=new Blob([n]).stream().pipeThrough(new DecompressionStream("gzip")),i=await new Response(r).json();K=t.dataset.base,K.endsWith("/")||(K+="/"),t.innerHTML="";for(let s of i)Se(s,t,[]);window.app.createComponents(t),window.app.showPage(),window.app.ensureActivePageVisible()}function Se(t,e,n){let r=e.appendChild(document.createElement("li"));if(t.children){let i=[...n,t.text],s=r.appendChild(document.createElement("details"));s.className=t.class?`${t.class} tsd-accordion`:"tsd-accordion";let o=s.appendChild(document.createElement("summary"));o.className="tsd-accordion-summary",o.dataset.key=i.join("$"),o.innerHTML='',be(t,o);let a=s.appendChild(document.createElement("div"));a.className="tsd-accordion-details";let l=a.appendChild(document.createElement("ul"));l.className="tsd-nested-navigation";for(let u of t.children)Se(u,l,i)}else be(t,r,t.class)}function be(t,e,n){if(t.path){let r=e.appendChild(document.createElement("a"));r.href=K+t.path,n&&(r.className=n),location.pathname===r.pathname&&!r.href.includes("#")&&r.classList.add("current"),t.kind&&(r.innerHTML=``),r.appendChild(document.createElement("span")).textContent=t.text}else e.appendChild(document.createElement("span")).textContent=t.text}G(X,"a[data-toggle]");G(Z,".tsd-accordion");G(Y,".tsd-filter-item input[type=checkbox]");var Te=document.getElementById("tsd-theme");Te&&Ee(Te);var $e=new U;Object.defineProperty(window,"app",{value:$e});fe();we();})(); +`,this.app.updateIndexVisibility()}fromLocalStorage(){let e=Q.getItem(this.key);return e?e==="true":this.el.checked}setLocalStorage(e){Q.setItem(this.key,e.toString()),this.value=e,this.handleValueChange()}handleValueChange(){this.el.checked=this.value,document.documentElement.classList.toggle(this.key,this.value),this.app.filterChanged(),this.app.updateIndexVisibility()}};var Z=class extends I{constructor(e){super(e),this.summary=this.el.querySelector(".tsd-accordion-summary"),this.icon=this.summary.querySelector("svg"),this.key=`tsd-accordion-${this.summary.dataset.key??this.summary.textContent.trim().replace(/\s+/g,"-").toLowerCase()}`;let n=Q.getItem(this.key);this.el.open=n?n==="true":this.el.open,this.el.addEventListener("toggle",()=>this.update());let r=this.summary.querySelector("a");r&&r.addEventListener("click",()=>{location.assign(r.href)}),this.update()}update(){this.icon.style.transform=`rotate(${this.el.open?0:-90}deg)`,Q.setItem(this.key,this.el.open.toString())}};function Ee(t){let e=Q.getItem("tsd-theme")||"os";t.value=e,xe(e),t.addEventListener("change",()=>{Q.setItem("tsd-theme",t.value),xe(t.value)})}function xe(t){document.documentElement.dataset.theme=t}var K;function we(){let t=document.getElementById("tsd-nav-script");t&&(t.addEventListener("load",Le),Le())}async function Le(){let t=document.getElementById("tsd-nav-container");if(!t||!window.navigationData)return;let n=await(await fetch(window.navigationData)).arrayBuffer(),r=new Blob([n]).stream().pipeThrough(new DecompressionStream("gzip")),i=await new Response(r).json();K=t.dataset.base,K.endsWith("/")||(K+="/"),t.innerHTML="";for(let s of i)Se(s,t,[]);window.app.createComponents(t),window.app.showPage(),window.app.ensureActivePageVisible()}function Se(t,e,n){let r=e.appendChild(document.createElement("li"));if(t.children){let i=[...n,t.text],s=r.appendChild(document.createElement("details"));s.className=t.class?`${t.class} tsd-accordion`:"tsd-accordion";let o=s.appendChild(document.createElement("summary"));o.className="tsd-accordion-summary",o.dataset.key=i.join("$"),o.innerHTML='',be(t,o);let a=s.appendChild(document.createElement("div"));a.className="tsd-accordion-details";let l=a.appendChild(document.createElement("ul"));l.className="tsd-nested-navigation";for(let u of t.children)Se(u,l,i)}else be(t,r,t.class)}function be(t,e,n){if(t.path){let r=e.appendChild(document.createElement("a"));r.href=K+t.path,n&&(r.className=n),location.pathname===r.pathname&&!r.href.includes("#")&&r.classList.add("current"),t.kind&&(r.innerHTML=``),r.appendChild(document.createElement("span")).textContent=t.text}else{let r=e.appendChild(document.createElement("span"));r.innerHTML='',r.appendChild(document.createElement("span")).textContent=t.text}}G(X,"a[data-toggle]");G(Z,".tsd-accordion");G(Y,".tsd-filter-item input[type=checkbox]");var Te=document.getElementById("tsd-theme");Te&&Ee(Te);var $e=new U;Object.defineProperty(window,"app",{value:$e});fe();we();})(); /*! Bundled license information: lunr/lunr.js: diff --git a/docs/assets/search.js b/docs/assets/search.js index 8aa8e96..99b342e 100644 --- a/docs/assets/search.js +++ b/docs/assets/search.js @@ -1 +1 @@ -window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAACtVd35OjSHL+X7iHnQeWoX5Dv9lnb8RF2G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ujhrXcD6hQfZ16brqqdJmYNswGnL1/K0nzb0NhB8CNIgfIQbuC08l4S+bbaA0v/FrXHgGPl8+zrYupxqrvYzKhpclVitmEb7oP/TQ4A4Gb58ANArgJLw1F0DTqJTHp5paRR4UAwPmG2pEyNIzCw8NWrLY/M2zfjCHVFbvrZlV57O3tk+38LP/7mUk1ydblmrHmbSKgrvi7i/4TIOTqMSg1oXlQzMxNThnsTgTF41Cn+9rC27S+3lkPiJbwHofGlPcGK4PriZq+eXyflsw6SaydED74PhGJfTabrHw1nTTdxXHu69OvOXm0d+4so6m8H4xfCFTklXns/1tHka7nvmXg0Nz2i7uuheJspk4Ufy7rXcVYdqBzKGDes1wEAa468C3sSBB6Lw7dCdC/9dXvwkhJvnXE3fIw1/Hac7T1/+wst4N9Pn7vLqVfY3vE/YfenOJWyNofkmjnIu2ucS6IIyGbYPZ8Hgi2noK+XTRuRtm51fShBVVXhUPYO6E1qSgW3pRZ3aoqq9+BHus8/wFRP9e7HguYHdhiaK8z/smAWc/hxjVBZh6+oiGuKj92bnqNgTMf+tgDmgy6kuu4mbDN/Cl9O5mviBcGdyaesPPyUfsVqE/glf6NJdpud+3HfjanVT77Qc05ZYfTkfMnhKCPfdbyRN0iSFyUx4mLV/rtJn0ei3LxFd9zqXA/NLfiNKrmPk53ISUvBKKGrnz1OPFn6M+jyJbPixfAHitG8+w57HFkXgyRLvvOMQTfv71JfidQ/cqsNfcx5H1hFT7E+8VrxQ8Cnuqzl1dSqjh8dP3779L5pobWGgggAA"; \ No newline at end of file +window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAACtVd35ObSJL+X9iH8QODqd/Qb3e7OxEbcRd3cXex99DhcNAS6mYGiT6Q7PE6/L9fFFSVSIpEFK3dtV9GGFRfZmV9lZmViXq+Rm3zuYseHr9Gv1WnffRA4+hUHMvoIfqfL6/l+3+tmmMZxdGlraOH6NjsL3XZvdePPvaPkpfzsY7iaFcXXVd20UMUfYsdVporIiCiwzp/eYVI+nIGLo5ei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GNGVQa1LiwZmImpwz2JwZm8bRT+hllbdpfaSyLxI98C0PnSnuDEcH1wM1fPL5MD2oZJNZOzB94KwzEup9N0j4ezppu4rzzce3XmTziPIuGVdba55GfpC82Srjyf62n/NNz3zL0eGp7SdnXRvUyUycLP5N1ruasO1Q7YacN6DTCQxvjbgDdx4IkofDt058J/nxc/CuHmOVfTV0nD38jpztP3v/BK3s30ubu8esX9Da8Udl+6cwm7Y2i+iaOci/a5BLqgTIYdxFkw+G4a+lr5tBd522bnlxJEVRUeVc+g8ITWZGBnelGntqhqL36E++wzfMtE/2YseG5gt6GJ4vyPO2YBJz/JGL8cviraa4D33qudoxqt/1LAHMzlVJfdxEWGb9/L6VxNfEC4I7m09bufkvdYIUL/hC902S7eoT88Wl+6qWdajmdLjL6cDxk8IYT77U8kTdIkhYlMeIi1f7PS59DohxgRW8ciBzbTLhsd/VZhfS4n4QQvg6J2/jz1ZuFHqM+TqIYfyRcgTvvmM2x4bFEEnirxxjsO0bS/Tf0oXvPArTr8SedxujBaXPvTrhXvE3yI+0pOXZ3K6OHxw7dv/w897hd9pYIAAA=="; \ No newline at end of file diff --git a/docs/assets/style.css b/docs/assets/style.css index 9d619a6..178bfb0 100644 --- a/docs/assets/style.css +++ b/docs/assets/style.css @@ -4,11 +4,17 @@ --light-color-background-secondary: #eff0f1; --light-color-warning-text: #222; --light-color-background-warning: #e6e600; - --light-color-icon-background: var(--light-color-background); --light-color-accent: #c5c7c9; --light-color-active-menu-item: var(--light-color-accent); --light-color-text: #222; --light-color-text-aside: #6e6e6e; + + --light-color-icon-background: var(--light-color-background); + --light-color-icon-text: var(--light-color-text); + + --light-color-comment-tag-text: var(--light-color-text); + --light-color-comment-tag: var(--light-color-background); + --light-color-link: #1f70c2; --light-color-focus-outline: #3584e4; @@ -22,16 +28,17 @@ --light-color-ts-function: #572be7; --light-color-ts-class: #1f70c2; --light-color-ts-interface: #108024; - --light-color-ts-constructor: var(--light-color-ts-class); - --light-color-ts-property: var(--light-color-ts-variable); - --light-color-ts-method: var(--light-color-ts-function); + --light-color-ts-constructor: #4d7fff; + --light-color-ts-property: #ff984d; + --light-color-ts-method: #ff4db8; + --light-color-ts-reference: #ff4d82; --light-color-ts-call-signature: var(--light-color-ts-method); --light-color-ts-index-signature: var(--light-color-ts-property); --light-color-ts-constructor-signature: var(--light-color-ts-constructor); --light-color-ts-parameter: var(--light-color-ts-variable); /* type literal not included as links will never be generated to it */ --light-color-ts-type-parameter: #a55c0e; - --light-color-ts-accessor: var(--light-color-ts-property); + --light-color-ts-accessor: #ff4d4d; --light-color-ts-get-signature: var(--light-color-ts-accessor); --light-color-ts-set-signature: var(--light-color-ts-accessor); --light-color-ts-type-alias: #d51270; @@ -46,11 +53,17 @@ --dark-color-background-secondary: #1e2024; --dark-color-background-warning: #bebe00; --dark-color-warning-text: #222; - --dark-color-icon-background: var(--dark-color-background-secondary); --dark-color-accent: #9096a2; --dark-color-active-menu-item: #5d5d6a; --dark-color-text: #f5f5f5; --dark-color-text-aside: #dddddd; + + --dark-color-icon-background: var(--dark-color-background-secondary); + --dark-color-icon-text: var(--dark-color-text); + + --dark-color-comment-tag-text: var(--dark-color-text); + --dark-color-comment-tag: var(--dark-color-background); + --dark-color-link: #00aff4; --dark-color-focus-outline: #4c97f2; @@ -64,16 +77,17 @@ --dark-color-ts-function: #a280ff; --dark-color-ts-class: #8ac4ff; --dark-color-ts-interface: #6cff87; - --dark-color-ts-constructor: var(--dark-color-ts-class); - --dark-color-ts-property: var(--dark-color-ts-variable); - --dark-color-ts-method: var(--dark-color-ts-function); + --dark-color-ts-constructor: #4d7fff; + --dark-color-ts-property: #ff984d; + --dark-color-ts-method: #ff4db8; + --dark-color-ts-reference: #ff4d82; --dark-color-ts-call-signature: var(--dark-color-ts-method); --dark-color-ts-index-signature: var(--dark-color-ts-property); --dark-color-ts-constructor-signature: var(--dark-color-ts-constructor); --dark-color-ts-parameter: var(--dark-color-ts-variable); /* type literal not included as links will never be generated to it */ --dark-color-ts-type-parameter: #e07d13; - --dark-color-ts-accessor: var(--dark-color-ts-property); + --dark-color-ts-accessor: #ff4d4d; --dark-color-ts-get-signature: var(--dark-color-ts-accessor); --dark-color-ts-set-signature: var(--dark-color-ts-accessor); --dark-color-ts-type-alias: #ff6492; @@ -90,15 +104,22 @@ --color-background-secondary: var(--light-color-background-secondary); --color-background-warning: var(--light-color-background-warning); --color-warning-text: var(--light-color-warning-text); - --color-icon-background: var(--light-color-icon-background); --color-accent: var(--light-color-accent); --color-active-menu-item: var(--light-color-active-menu-item); --color-text: var(--light-color-text); --color-text-aside: var(--light-color-text-aside); + + --color-icon-background: var(--light-color-icon-background); + --color-icon-text: var(--light-color-icon-text); + + --color-comment-tag-text: var(--light-color-text); + --color-comment-tag: var(--light-color-background); + --color-link: var(--light-color-link); --color-focus-outline: var(--light-color-focus-outline); --color-ts-keyword: var(--light-color-ts-keyword); + --color-ts-project: var(--light-color-ts-project); --color-ts-module: var(--light-color-ts-module); --color-ts-namespace: var(--light-color-ts-namespace); --color-ts-enum: var(--light-color-ts-enum); @@ -110,6 +131,7 @@ --color-ts-constructor: var(--light-color-ts-constructor); --color-ts-property: var(--light-color-ts-property); --color-ts-method: var(--light-color-ts-method); + --color-ts-reference: var(--light-color-ts-reference); --color-ts-call-signature: var(--light-color-ts-call-signature); --color-ts-index-signature: var(--light-color-ts-index-signature); --color-ts-constructor-signature: var( @@ -134,15 +156,22 @@ --color-background-secondary: var(--dark-color-background-secondary); --color-background-warning: var(--dark-color-background-warning); --color-warning-text: var(--dark-color-warning-text); - --color-icon-background: var(--dark-color-icon-background); --color-accent: var(--dark-color-accent); --color-active-menu-item: var(--dark-color-active-menu-item); --color-text: var(--dark-color-text); --color-text-aside: var(--dark-color-text-aside); + + --color-icon-background: var(--dark-color-icon-background); + --color-icon-text: var(--dark-color-icon-text); + + --color-comment-tag-text: var(--dark-color-text); + --color-comment-tag: var(--dark-color-background); + --color-link: var(--dark-color-link); --color-focus-outline: var(--dark-color-focus-outline); --color-ts-keyword: var(--dark-color-ts-keyword); + --color-ts-project: var(--dark-color-ts-project); --color-ts-module: var(--dark-color-ts-module); --color-ts-namespace: var(--dark-color-ts-namespace); --color-ts-enum: var(--dark-color-ts-enum); @@ -154,6 +183,7 @@ --color-ts-constructor: var(--dark-color-ts-constructor); --color-ts-property: var(--dark-color-ts-property); --color-ts-method: var(--dark-color-ts-method); + --color-ts-reference: var(--dark-color-ts-reference); --color-ts-call-signature: var(--dark-color-ts-call-signature); --color-ts-index-signature: var(--dark-color-ts-index-signature); --color-ts-constructor-signature: var( @@ -190,10 +220,16 @@ body { --color-active-menu-item: var(--light-color-active-menu-item); --color-text: var(--light-color-text); --color-text-aside: var(--light-color-text-aside); + --color-icon-text: var(--light-color-icon-text); + + --color-comment-tag-text: var(--light-color-text); + --color-comment-tag: var(--light-color-background); + --color-link: var(--light-color-link); --color-focus-outline: var(--light-color-focus-outline); --color-ts-keyword: var(--light-color-ts-keyword); + --color-ts-project: var(--light-color-ts-project); --color-ts-module: var(--light-color-ts-module); --color-ts-namespace: var(--light-color-ts-namespace); --color-ts-enum: var(--light-color-ts-enum); @@ -205,6 +241,7 @@ body { --color-ts-constructor: var(--light-color-ts-constructor); --color-ts-property: var(--light-color-ts-property); --color-ts-method: var(--light-color-ts-method); + --color-ts-reference: var(--light-color-ts-reference); --color-ts-call-signature: var(--light-color-ts-call-signature); --color-ts-index-signature: var(--light-color-ts-index-signature); --color-ts-constructor-signature: var( @@ -232,10 +269,16 @@ body { --color-active-menu-item: var(--dark-color-active-menu-item); --color-text: var(--dark-color-text); --color-text-aside: var(--dark-color-text-aside); + --color-icon-text: var(--dark-color-icon-text); + + --color-comment-tag-text: var(--dark-color-text); + --color-comment-tag: var(--dark-color-background); + --color-link: var(--dark-color-link); --color-focus-outline: var(--dark-color-focus-outline); --color-ts-keyword: var(--dark-color-ts-keyword); + --color-ts-project: var(--dark-color-ts-project); --color-ts-module: var(--dark-color-ts-module); --color-ts-namespace: var(--dark-color-ts-namespace); --color-ts-enum: var(--dark-color-ts-enum); @@ -247,6 +290,7 @@ body { --color-ts-constructor: var(--dark-color-ts-constructor); --color-ts-property: var(--dark-color-ts-property); --color-ts-method: var(--dark-color-ts-method); + --color-ts-reference: var(--dark-color-ts-reference); --color-ts-call-signature: var(--dark-color-ts-call-signature); --color-ts-index-signature: var(--dark-color-ts-index-signature); --color-ts-constructor-signature: var( @@ -439,7 +483,6 @@ pre { pre { position: relative; - white-space: pre; white-space: pre-wrap; word-wrap: break-word; padding: 10px; @@ -860,6 +903,12 @@ a.tsd-index-link { margin-bottom: 0.75rem; } +.tsd-no-select { + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} .tsd-kind-icon { margin-right: 0.5rem; width: 1.25rem; @@ -867,10 +916,6 @@ a.tsd-index-link { min-width: 1.25rem; min-height: 1.25rem; } -.tsd-kind-icon path { - transform-origin: center; - transform: scale(1.1); -} .tsd-signature > .tsd-kind-icon { margin-right: 0.8rem; } @@ -1242,6 +1287,9 @@ img { .tsd-kind-method { color: var(--color-ts-method); } +.tsd-kind-reference { + color: var(--color-ts-reference); +} .tsd-kind-call-signature { color: var(--color-ts-call-signature); } @@ -1254,9 +1302,6 @@ img { .tsd-kind-parameter { color: var(--color-ts-parameter); } -.tsd-kind-type-literal { - color: var(--color-ts-type-literal); -} .tsd-kind-type-parameter { color: var(--color-ts-type-parameter); } @@ -1435,7 +1480,7 @@ img { } .site-menu { - margin-top: 1rem 0; + margin-top: 1rem; } .page-menu, diff --git a/docs/functions/Function_Configuration.configuration.html b/docs/functions/Function_Configuration.configuration.html index 5c407ca..e73e98b 100644 --- a/docs/functions/Function_Configuration.configuration.html +++ b/docs/functions/Function_Configuration.configuration.html @@ -1 +1 @@ -configuration | @playform/format - v0.0.7
+configuration | @playform/format - v0.0.8
diff --git a/docs/functions/Function_Configuration.readFile.html b/docs/functions/Function_Configuration.readFile.html index d83924f..82433e0 100644 --- a/docs/functions/Function_Configuration.readFile.html +++ b/docs/functions/Function_Configuration.readFile.html @@ -1,4 +1,4 @@ -readFile | @playform/format - v0.0.7
  • Asynchronously reads the entire contents of a file.

    +readFile | @playform/format - v0.0.8
    • Asynchronously reads the entire contents of a file.

      If no encoding is specified (using options.encoding), the data is returned as a Buffer object. Otherwise, the data will be a string.

      If options is a string, then it specifies the encoding.

      @@ -21,8 +21,8 @@

      Any specified FileHandle has to support reading.

      Parameters

      • path: PathLike | FileHandle

        filename or FileHandle

      • Optionaloptions: null | {
            encoding?: null;
            flag?: OpenMode;
        } & Abortable

      Returns Promise<Buffer>

      Fulfills with the contents of the file.

      -

      v10.0.0

      -
    • Asynchronously reads the entire contents of a file.

      +

      v10.0.0

      +
    • Asynchronously reads the entire contents of a file.

      Parameters

      • path: PathLike | FileHandle

        A path to a file. If a URL is provided, it must use the file: protocol. If a FileHandle is provided, the underlying file will not be closed automatically.

      • options: {
            encoding: BufferEncoding;
            flag?: OpenMode | undefined;
        } & Abortable | BufferEncoding

        An object that may contain an optional flag. @@ -32,4 +32,4 @@ If a FileHandle is provided, the underlying file will not be closed automatically.

      • Optionaloptions: null | BufferEncoding | ObjectEncodingOptions & Abortable & {
            flag?: OpenMode | undefined;
        }

        An object that may contain an optional flag. If a flag is not provided, it defaults to 'r'.

        -

      Returns Promise<string | Buffer>

    +

Returns Promise<string | Buffer>

diff --git a/docs/functions/Function_Configuration.resolve.html b/docs/functions/Function_Configuration.resolve.html index 10c8803..ae6014c 100644 --- a/docs/functions/Function_Configuration.resolve.html +++ b/docs/functions/Function_Configuration.resolve.html @@ -1,9 +1,9 @@ -resolve | @playform/format - v0.0.7
  • The right-most parameter is considered {to}. Other parameters are considered an array of {from}.

    +resolve | @playform/format - v0.0.8
    • The right-most parameter is considered {to}. Other parameters are considered an array of {from}.

      Starting from leftmost {from} parameter, resolves {to} to an absolute path.

      If {to} isn't already absolute, {from} arguments are prepended in right to left order, until an absolute path is found. If after using all {from} paths still no absolute path is found, the current working directory is used as well. The resulting path is normalized, and trailing slashes are removed unless the path gets resolved to the root directory.

      Parameters

      • Rest...paths: string[]

        A sequence of paths or path segments.

        -

      Returns string

      if any of the arguments is not a string.

      -
    +

Returns string

if any of the arguments is not a string.

+
diff --git a/docs/functions/Function_Integration.Merge.html b/docs/functions/Function_Integration.Merge.html index bbcacfd..ccc0631 100644 --- a/docs/functions/Function_Integration.Merge.html +++ b/docs/functions/Function_Integration.Merge.html @@ -1 +1 @@ -Merge | @playform/format - v0.0.7
  • Type Parameters

    • Ts extends readonly unknown[]

    Parameters

    • Rest...objects: Ts

    Returns DeepMergeHKT<Ts, Readonly<{
        DeepMergeArraysURI: "DeepMergeArraysDefaultURI";
        DeepMergeFilterValuesURI: "DeepMergeFilterValuesDefaultURI";
        DeepMergeMapsURI: "DeepMergeMapsDefaultURI";
        DeepMergeOthersURI: "DeepMergeLeafURI";
        DeepMergeRecordsURI: "DeepMergeRecordsDefaultURI";
        DeepMergeSetsURI: "DeepMergeSetsDefaultURI";
    }>, Readonly<{
        key: PropertyKey;
        parents: readonly Readonly<Record<PropertyKey, unknown>>[];
    }>>

+Merge | @playform/format - v0.0.8
  • Type Parameters

    • Ts extends readonly unknown[]

    Parameters

    • Rest...objects: Ts

    Returns DeepMergeHKT<Ts, Readonly<{
        DeepMergeArraysURI: "DeepMergeArraysDefaultURI";
        DeepMergeFilterValuesURI: "DeepMergeFilterValuesDefaultURI";
        DeepMergeMapsURI: "DeepMergeMapsDefaultURI";
        DeepMergeOthersURI: "DeepMergeLeafURI";
        DeepMergeRecordsURI: "DeepMergeRecordsDefaultURI";
        DeepMergeSetsURI: "DeepMergeSetsDefaultURI";
    }>, Readonly<{
        key: PropertyKey;
        parents: readonly Readonly<Record<PropertyKey, unknown>>[];
    }>>

diff --git a/docs/functions/Function_Integration.integration.html b/docs/functions/Function_Integration.integration.html index 2db2bcf..07060db 100644 --- a/docs/functions/Function_Integration.integration.html +++ b/docs/functions/Function_Integration.integration.html @@ -1 +1 @@ -integration | @playform/format - v0.0.7
+integration | @playform/format - v0.0.8
diff --git a/docs/functions/Merge.merge.html b/docs/functions/Merge.merge.html index ed03ca9..4aed5c3 100644 --- a/docs/functions/Merge.merge.html +++ b/docs/functions/Merge.merge.html @@ -1 +1 @@ -merge | @playform/format - v0.0.7
  • Type Parameters

    • Ts extends readonly unknown[]

    Parameters

    • Rest...objects: Ts

    Returns DeepMergeHKT<Ts, Readonly<{
        DeepMergeArraysURI: "DeepMergeArraysDefaultURI";
        DeepMergeFilterValuesURI: "DeepMergeFilterValuesDefaultURI";
        DeepMergeMapsURI: "DeepMergeMapsDefaultURI";
        DeepMergeOthersURI: "DeepMergeLeafURI";
        DeepMergeRecordsURI: "DeepMergeRecordsDefaultURI";
        DeepMergeSetsURI: "DeepMergeSetsDefaultURI";
    }>, Readonly<{
        key: PropertyKey;
        parents: readonly Readonly<Record<PropertyKey, unknown>>[];
    }>>

+merge | @playform/format - v0.0.8
  • Type Parameters

    • Ts extends readonly unknown[]

    Parameters

    • Rest...objects: Ts

    Returns DeepMergeHKT<Ts, Readonly<{
        DeepMergeArraysURI: "DeepMergeArraysDefaultURI";
        DeepMergeFilterValuesURI: "DeepMergeFilterValuesDefaultURI";
        DeepMergeMapsURI: "DeepMergeMapsDefaultURI";
        DeepMergeOthersURI: "DeepMergeLeafURI";
        DeepMergeRecordsURI: "DeepMergeRecordsDefaultURI";
        DeepMergeSetsURI: "DeepMergeSetsDefaultURI";
    }>, Readonly<{
        key: PropertyKey;
        parents: readonly Readonly<Record<PropertyKey, unknown>>[];
    }>>

diff --git a/docs/index.html b/docs/index.html index 33b7037..74495d0 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,4 +1,4 @@ -@playform/format - v0.0.7

@playform/format - v0.0.7

Astro

Related —

Build
Dependency
Version
Star
Download
🗜️ Compress —
Build
Dependency
Version
Star
Download
🦔 Inline —
+@playform/format - v0.0.8

@playform/format - v0.0.8

Astro

Related —

Build
Dependency
Version
Star
Download
🗜️ Compress —
Build
Dependency
Version
Star
Download
🦔 Inline —

🗻 Format —

This Astro integration brings Biome tools to your Astro project.

Biome

@@ -89,4 +89,4 @@

See CHANGELOG.md for a history of changes to this integration.

-
+
diff --git a/docs/interfaces/Configuration.Interface.html b/docs/interfaces/Configuration.Interface.html index 22bb856..c01059d 100644 --- a/docs/interfaces/Configuration.Interface.html +++ b/docs/interfaces/Configuration.Interface.html @@ -1 +1 @@ -Interface | @playform/format - v0.0.7
+Interface | @playform/format - v0.0.8
diff --git a/docs/interfaces/Interface_Integration.Interface.html b/docs/interfaces/Interface_Integration.Interface.html index e87a09a..f080638 100644 --- a/docs/interfaces/Interface_Integration.Interface.html +++ b/docs/interfaces/Interface_Integration.Interface.html @@ -1 +1 @@ -Interface | @playform/format - v0.0.7
+Interface | @playform/format - v0.0.8
diff --git a/docs/interfaces/Interface_Option.Interface.html b/docs/interfaces/Interface_Option.Interface.html index 16d9ef5..6793316 100644 --- a/docs/interfaces/Interface_Option.Interface.html +++ b/docs/interfaces/Interface_Option.Interface.html @@ -1,4 +1,4 @@ -Interface | @playform/format - v0.0.7
interface Interface {
    Action?: boolean | Interface;
    Biome?: boolean | Type;
    Cache?: boolean | Interface;
    Exclude?:
        | boolean
        | Type
        | Type[]
        | Set<Type>;
    File?: string | boolean | string[];
    Logger?: boolean | Type;
    Path?:
        | boolean
        | Type
        | Type[]
        | Set<Type>;
}

Hierarchy

  • default
    • Interface

Properties

Action? +Interface | @playform/format - v0.0.8
interface Interface {
    Action?: boolean | Interface;
    Biome?: boolean | Type;
    Cache?: boolean | Interface;
    Exclude?:
        | boolean
        | Type
        | Type[]
        | Set<Type>;
    File?: string | boolean | string[];
    Logger?: boolean | Type;
    Path?:
        | boolean
        | Type
        | Type[]
        | Set<Type>;
}

Hierarchy

  • default
    • Interface

Properties

Properties

Action?: boolean | Interface

Action pipe configuration.

-
Biome?: boolean | Type
Cache?: boolean | Interface

Configuration for the target cache.

-
{ Search: "./", Folder: "./Cache" }
+
Biome?: boolean | Type
Cache?: boolean | Interface

Configuration for the target cache.

+
{ Search: "./", Folder: "./Cache" }
 
-
Exclude?:
    | boolean
    | Type
    | Type[]
    | Set<Type>

Criteria for excluding files.

-
File?: string | boolean | string[]

File patterns to be matched.

-
Logger?: boolean | Type

Debugging level.

-
2
+
Exclude?:
    | boolean
    | Type
    | Type[]
    | Set<Type>

Criteria for excluding files.

+
File?: string | boolean | string[]

File patterns to be matched.

+
Logger?: boolean | Type

Debugging level.

+
2
 
-
Path?:
    | boolean
    | Type
    | Type[]
    | Set<Type>

Configuration for the target path(s).

-
"./Target"
+
Path?:
    | boolean
    | Type
    | Type[]
    | Set<Type>

Configuration for the target path(s).

+
"./Target"
 
-
+
diff --git a/docs/media/CHANGELOG.md b/docs/media/CHANGELOG.md index ab27985..c687174 100644 --- a/docs/media/CHANGELOG.md +++ b/docs/media/CHANGELOG.md @@ -1,27 +1,88 @@ +## 0.0.8 + +### Changed + +- Updated to Biome 1.9.4. +- Enforced stricter code style with `useFilenamingConvention`. +- Updated dependencies. +- Improved developer experience with better logging and error handling. + +### Added + +- `Run` script to package.json for building with watch mode. +- Provenance to package.json. + +### Removed + +- `Document` script from package.json. + ## 0.0.7 -- Cleanup +### Changed + +- Updated to Biome 1.8.3. +- Improved logging for debugging. + +### Fixed + +- Resolved an issue where the integration would not correctly apply the Biome + configuration. ## 0.0.6 -- Cleanup +### Changed + +- Updated to Biome 1.8.2. +- Improved code organization. +- Updated `@playform/pipe` dependency to 0.0.6. +- Updated `@playform/build` dependency to 0.0.11. + +### Added + +- Introduced a new `Merge` function for merging configuration objects. ## 0.0.5 -- Cleanup +### Changed + +- Updated dependencies, including bumping Biome to 1.8.0, Astro to "\*", and + `deepmerge-ts` to 7.0.3. ## 0.0.4 -- Cleanup +### Changed + +- Bumped version. ## 0.0.3 -- Cleanup +### Changed + +- Updated to Biome 1.7.3. +- Restructured codebase. +- Changed the API surface. +- Updated dependencies: bumped `@playform/pipe` to 0.0.5, `astro` to 4.9.2, + `deepmerge-ts` to 7.0.1, and `@playform/build` to 0.0.10. + +### Added + +- Support for Astro integration. +- `astro-biome`, `astro-format`, and `format` scripts to package.json. ## 0.0.2 -- Cleanup +### Changed + +- Updated dependencies. + +### Added + +- Astro integrations. +- `astro-component`, `astro-integration`, and `withastro` scripts to + package.json. ## 0.0.1 -- Initial version +### Added + +- Initial release of Format. diff --git a/docs/modules.html b/docs/modules.html new file mode 100644 index 0000000..43f8306 --- /dev/null +++ b/docs/modules.html @@ -0,0 +1,10 @@ +@playform/format - v0.0.8
diff --git a/docs/modules/Configuration.html b/docs/modules/Configuration.html index 68b362e..ad7b43e 100644 --- a/docs/modules/Configuration.html +++ b/docs/modules/Configuration.html @@ -1,2 +1,2 @@ -Configuration | @playform/format - v0.0.7
+Configuration | @playform/format - v0.0.8
diff --git a/docs/modules/Function_Configuration.html b/docs/modules/Function_Configuration.html index 288a995..54610ed 100644 --- a/docs/modules/Function_Configuration.html +++ b/docs/modules/Function_Configuration.html @@ -1,4 +1,4 @@ -Function/Configuration | @playform/format - v0.0.7

Module Function/Configuration

Index

Functions

configuration +Function/Configuration | @playform/format - v0.0.8
+
diff --git a/docs/modules/Function_Integration.html b/docs/modules/Function_Integration.html index 80ad051..0957512 100644 --- a/docs/modules/Function_Integration.html +++ b/docs/modules/Function_Integration.html @@ -1,4 +1,4 @@ -Function/Integration | @playform/format - v0.0.7

Module Function/Integration

Index

Variables

Default +Function/Integration | @playform/format - v0.0.8
+
diff --git a/docs/modules/Interface_Integration.html b/docs/modules/Interface_Integration.html index c31c434..8519789 100644 --- a/docs/modules/Interface_Integration.html +++ b/docs/modules/Interface_Integration.html @@ -1,2 +1,2 @@ -Interface/Integration | @playform/format - v0.0.7
+Interface/Integration | @playform/format - v0.0.8
diff --git a/docs/modules/Interface_Option.html b/docs/modules/Interface_Option.html index 5c0f93c..5a184a0 100644 --- a/docs/modules/Interface_Option.html +++ b/docs/modules/Interface_Option.html @@ -1,2 +1,2 @@ -Interface/Option | @playform/format - v0.0.7
+Interface/Option | @playform/format - v0.0.8
diff --git a/docs/modules/Merge.html b/docs/modules/Merge.html index 73c29a6..8066625 100644 --- a/docs/modules/Merge.html +++ b/docs/modules/Merge.html @@ -1,2 +1,2 @@ -Merge | @playform/format - v0.0.7
+Merge | @playform/format - v0.0.8
diff --git a/docs/modules/Type_Biome.html b/docs/modules/Type_Biome.html index dff1f7d..ceaf155 100644 --- a/docs/modules/Type_Biome.html +++ b/docs/modules/Type_Biome.html @@ -1,2 +1,2 @@ -Type/Biome | @playform/format - v0.0.7
+Type/Biome | @playform/format - v0.0.8
diff --git a/docs/modules/Variable_Biome.html b/docs/modules/Variable_Biome.html index d69f915..889a56e 100644 --- a/docs/modules/Variable_Biome.html +++ b/docs/modules/Variable_Biome.html @@ -1,2 +1,2 @@ -Variable/Biome | @playform/format - v0.0.7
+Variable/Biome | @playform/format - v0.0.8
diff --git a/docs/modules/Variable_Option.html b/docs/modules/Variable_Option.html index 159668c..72861fb 100644 --- a/docs/modules/Variable_Option.html +++ b/docs/modules/Variable_Option.html @@ -1,2 +1,2 @@ -Variable/Option | @playform/format - v0.0.7
+Variable/Option | @playform/format - v0.0.8
diff --git a/docs/types/Type_Biome.Type.html b/docs/types/Type_Biome.Type.html index 14b4a66..e465014 100644 --- a/docs/types/Type_Biome.Type.html +++ b/docs/types/Type_Biome.Type.html @@ -1 +1 @@ -Type | @playform/format - v0.0.7
+Type | @playform/format - v0.0.8
diff --git a/docs/variables/Function_Integration.Default.html b/docs/variables/Function_Integration.Default.html index 1b55d97..2d09c93 100644 --- a/docs/variables/Function_Integration.Default.html +++ b/docs/variables/Function_Integration.Default.html @@ -1 +1 @@ -Default | @playform/format - v0.0.7
Default: {
    Action: {
        Accomplished: ((On: Interface) => Promise<string>);
        Changed: ((Plan: Interface) => Promise<Interface>);
        Failed: ((On: Interface) => Promise<string>);
        Fulfilled: ((__namedParameters: Interface) => Promise<string | false>);
        Passed: ((On: Interface) => Promise<true>);
        Read: ((__namedParameters: Interface) => Promise<string>);
        Wrote: ((__namedParameters: Interface) => Promise<Type>);
    };
    Biome: unknown;
    Cache: {
        Folder: string;
        Search: string;
    };
    Exclude: false;
    File: string;
    Logger: 2;
    Path: string;
}
+Default | @playform/format - v0.0.8
Default: {
    Action: {
        Accomplished: ((On: Interface) => Promise<string>);
        Changed: ((Plan: Interface) => Promise<Interface>);
        Failed: ((On: Interface) => Promise<string>);
        Fulfilled: ((__namedParameters: Interface) => Promise<string | false>);
        Passed: ((On: Interface) => Promise<true>);
        Read: ((__namedParameters: Interface) => Promise<string>);
        Wrote: ((__namedParameters: Interface) => Promise<Type>);
    };
    Biome: unknown;
    Cache: {
        Folder: string;
        Search: string;
    };
    Exclude: false;
    File: string;
    Logger: 2;
    Path: string;
}
diff --git a/docs/variables/Variable_Biome.biome.html b/docs/variables/Variable_Biome.biome.html index 032e12b..0065721 100644 --- a/docs/variables/Variable_Biome.biome.html +++ b/docs/variables/Variable_Biome.biome.html @@ -1 +1 @@ -biome | @playform/format - v0.0.7
+biome | @playform/format - v0.0.8
diff --git a/docs/variables/Variable_Option.option.html b/docs/variables/Variable_Option.option.html index 4252678..87066a2 100644 --- a/docs/variables/Variable_Option.option.html +++ b/docs/variables/Variable_Option.option.html @@ -1 +1 @@ -option | @playform/format - v0.0.7
option: {
    Action: {
        Accomplished: ((On: Interface) => Promise<string>);
        Changed: ((Plan: Interface) => Promise<Interface>);
        Failed: ((On: Interface) => Promise<string>);
        Fulfilled: ((__namedParameters: Interface) => Promise<string | false>);
        Passed: ((On: Interface) => Promise<true>);
        Read: ((__namedParameters: Interface) => Promise<string>);
        Wrote: ((__namedParameters: Interface) => Promise<Type>);
    };
    Biome: unknown;
    Cache: {
        Folder: string;
        Search: string;
    };
    Exclude: false;
    File: string;
    Logger: 2;
    Path: string;
}
+option | @playform/format - v0.0.8
option: {
    Action: {
        Accomplished: ((On: Interface) => Promise<string>);
        Changed: ((Plan: Interface) => Promise<Interface>);
        Failed: ((On: Interface) => Promise<string>);
        Fulfilled: ((__namedParameters: Interface) => Promise<string | false>);
        Passed: ((On: Interface) => Promise<true>);
        Read: ((__namedParameters: Interface) => Promise<string>);
        Wrote: ((__namedParameters: Interface) => Promise<Type>);
    };
    Biome: unknown;
    Cache: {
        Folder: string;
        Search: string;
    };
    Exclude: false;
    File: string;
    Logger: 2;
    Path: string;
}