mirror of
https://github.com/chenasraf/simple-scaffold.git
synced 2026-05-17 17:28:09 +00:00
deploy: ff142d7532
This commit is contained in:
2
404.html
2
404.html
@@ -6,7 +6,7 @@
|
||||
<title data-rh="true">Page Not Found | Simple Scaffold</title><meta data-rh="true" name="viewport" content="width=device-width,initial-scale=1"><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:image" content="https://chenasraf.github.io/simple-scaffold/img/docusaurus-social-card.jpg"><meta data-rh="true" name="twitter:image" content="https://chenasraf.github.io/simple-scaffold/img/docusaurus-social-card.jpg"><meta data-rh="true" property="og:url" content="https://chenasraf.github.io/simple-scaffold/404.html"><meta data-rh="true" property="og:locale" content="en"><meta data-rh="true" name="docusaurus_locale" content="en"><meta data-rh="true" name="docusaurus_tag" content="default"><meta data-rh="true" name="docsearch:language" content="en"><meta data-rh="true" name="docsearch:docusaurus_tag" content="default"><meta data-rh="true" property="og:title" content="Page Not Found | Simple Scaffold"><link data-rh="true" rel="icon" href="/simple-scaffold/img/favicon.svg"><link data-rh="true" rel="canonical" href="https://chenasraf.github.io/simple-scaffold/404.html"><link data-rh="true" rel="alternate" href="https://chenasraf.github.io/simple-scaffold/404.html" hreflang="en"><link data-rh="true" rel="alternate" href="https://chenasraf.github.io/simple-scaffold/404.html" hreflang="x-default"><link rel="preconnect" href="https://www.googletagmanager.com">
|
||||
<script>window.dataLayer=window.dataLayer||[]</script>
|
||||
<script>!function(e,t,a,n,g){e[n]=e[n]||[],e[n].push({"gtm.start":(new Date).getTime(),event:"gtm.js"});var m=t.getElementsByTagName(a)[0],r=t.createElement(a);r.async=!0,r.src="https://www.googletagmanager.com/gtm.js?id=GTM-KHQS9TQ",m.parentNode.insertBefore(r,m)}(window,document,"script","dataLayer")</script><link rel="stylesheet" href="/simple-scaffold/assets/css/styles.eed925c4.css">
|
||||
<script src="/simple-scaffold/assets/js/runtime~main.dd564d72.js" defer="defer"></script>
|
||||
<script src="/simple-scaffold/assets/js/runtime~main.90488c65.js" defer="defer"></script>
|
||||
<script src="/simple-scaffold/assets/js/main.501ecb4d.js" defer="defer"></script>
|
||||
</head>
|
||||
<body class="navigation-with-keyboard">
|
||||
|
||||
1
assets/js/0331ca43.0db3cf5f.js
Normal file
1
assets/js/0331ca43.0db3cf5f.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
assets/js/3bd150b0.44a155b4.js
Normal file
1
assets/js/3bd150b0.44a155b4.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
assets/js/e999734b.c18bb241.js
Normal file
1
assets/js/e999734b.c18bb241.js
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunksimple_scaffold_docs=self.webpackChunksimple_scaffold_docs||[]).push([[300],{724:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>l,contentTitle:()=>i,default:()=>f,frontMatter:()=>r,metadata:()=>a,toc:()=>c});var o=t(1527),s=t(3108);const r={title:"Node.js Usage"},i=void 0,a={id:"usage/node",title:"Node.js Usage",description:"Overview",source:"@site/docs/usage/04-node.md",sourceDirName:"usage",slug:"/usage/node",permalink:"/simple-scaffold/docs/usage/node",draft:!1,unlisted:!1,editUrl:"https://github.com/chenasraf/simple-scaffold/blob/master/docs/docs/usage/04-node.md",tags:[],version:"current",sidebarPosition:4,frontMatter:{title:"Node.js Usage"},sidebar:"docs",previous:{title:"CLI Usage",permalink:"/simple-scaffold/docs/usage/cli"},next:{title:"Examples",permalink:"/simple-scaffold/docs/usage/examples"}},l={},c=[{value:"Overview",id:"overview",level:2},{value:"Before Write option",id:"before-write-option",level:3},{value:"Example",id:"example",level:2}];function d(e){const n={a:"a",code:"code",h2:"h2",h3:"h3",p:"p",pre:"pre",...(0,s.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.h2,{id:"overview",children:"Overview"}),"\n",(0,o.jsx)(n.p,{children:"You can build the scaffold yourself, if you want to create more complex arguments, scaffold groups,\netc - simply pass a config object to the Scaffold function when you are ready to start."}),"\n",(0,o.jsxs)(n.p,{children:["The config takes similar arguments to the command line. The full type definitions can be found in\n",(0,o.jsx)(n.a,{href:"https://github.com/chenasraf/simple-scaffold/blob/develop/src/types.ts#L13",children:"src/types.ts"}),"."]}),"\n",(0,o.jsxs)(n.p,{children:["See the full\n",(0,o.jsx)(n.a,{href:"https://chenasraf.github.io/simple-scaffold/interfaces/ScaffoldConfig.html",children:"documentation"})," for the\nconfiguration options and their behavior."]}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{className:"language-ts",children:"interface ScaffoldConfig {\n name: string\n templates: string[]\n output: FileResponse<string>\n subdir?: boolean\n data?: Record<string, any>\n overwrite?: FileResponse<boolean>\n quiet?: boolean\n verbose?: LogLevel\n dryRun?: boolean\n helpers?: Record<string, Helper>\n subdirHelper?: DefaultHelpers | string\n beforeWrite?(\n content: Buffer,\n rawContent: Buffer,\n outputPath: string,\n ): string | Buffer | undefined | Promise<string | Buffer | undefined>\n}\n"})}),"\n",(0,o.jsx)(n.h3,{id:"before-write-option",children:"Before Write option"}),"\n",(0,o.jsx)(n.p,{children:"This option allows you to preprocess a file before it is being written, such as running a formatter,\nlinter or other commands."}),"\n",(0,o.jsx)(n.p,{children:"To use this option, you can run any async/blocking command, and return a string as the final output\nto be used as the file contents."}),"\n",(0,o.jsxs)(n.p,{children:["Returning ",(0,o.jsx)(n.code,{children:"undefined"})," will keep the file contents as-is, after normal Handlebars.js procesing by\nSimple Scaffold."]}),"\n",(0,o.jsx)(n.h2,{id:"example",children:"Example"}),"\n",(0,o.jsx)(n.p,{children:"This is an example of loading a complete scaffold via Node.js:"}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{className:"language-typescript",children:'import Scaffold from "simple-scaffold"\n\nconst config = {\n name: "component",\n templates: [path.join(__dirname, "scaffolds", "component")],\n output: path.join(__dirname, "src", "components"),\n subdir: true,\n subdirHelper: "upperCase",\n data: {\n property: "value",\n },\n helpers: {\n twice: (text) => [text, text].join(" "),\n },\n // return a string to replace the final file contents after pre-processing, or `undefined`\n // to keep it as-is\n beforeWrite: (content, rawContent, outputPath) => content.toString().toUpperCase(),\n}\n\nconst scaffold = Scaffold(config)\n'})})]})}function f(e={}){const{wrapper:n}={...(0,s.a)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(d,{...e})}):d(e)}},3108:(e,n,t)=>{t.d(n,{Z:()=>a,a:()=>i});var o=t(959);const s={},r=o.createContext(s);function i(e){const n=o.useContext(r);return o.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),o.createElement(r.Provider,{value:n},e.children)}}}]);
|
||||
@@ -1 +0,0 @@
|
||||
"use strict";(self.webpackChunksimple_scaffold_docs=self.webpackChunksimple_scaffold_docs||[]).push([[300],{724:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>l,contentTitle:()=>i,default:()=>f,frontMatter:()=>r,metadata:()=>a,toc:()=>c});var o=t(1527),s=t(3108);const r={title:"Node.js Usage"},i=void 0,a={id:"usage/node",title:"Node.js Usage",description:"Overview",source:"@site/docs/usage/04-node.md",sourceDirName:"usage",slug:"/usage/node",permalink:"/simple-scaffold/docs/usage/node",draft:!1,unlisted:!1,editUrl:"https://github.com/chenasraf/simple-scaffold/blob/master/docs/docs/usage/04-node.md",tags:[],version:"current",sidebarPosition:4,frontMatter:{title:"Node.js Usage"},sidebar:"docs",previous:{title:"CLI Usage",permalink:"/simple-scaffold/docs/usage/cli"},next:{title:"Examples",permalink:"/simple-scaffold/docs/usage/examples"}},l={},c=[{value:"Overview",id:"overview",level:2},{value:"Before Write option",id:"before-write-option",level:3},{value:"Example",id:"example",level:2}];function d(e){const n={a:"a",code:"code",h2:"h2",h3:"h3",p:"p",pre:"pre",...(0,s.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.h2,{id:"overview",children:"Overview"}),"\n",(0,o.jsx)(n.p,{children:"You can build the scaffold yourself, if you want to create more complex arguments, scaffold groups,\netc - simply pass a config object to the Scaffold function when you are ready to start."}),"\n",(0,o.jsxs)(n.p,{children:["The config takes similar arguments to the command line. The full type definitions can be found in\n",(0,o.jsx)(n.a,{href:"https://github.com/chenasraf/simple-scaffold/blob/develop/src/types.ts#L13",children:"src/types.ts"}),"."]}),"\n",(0,o.jsxs)(n.p,{children:["See the full\n",(0,o.jsx)(n.a,{href:"https://chenasraf.github.io/simple-scaffold/interfaces/ScaffoldConfig.html",children:"documentation"})," for the\nconfiguration options and their behavior."]}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{className:"language-ts",children:"interface ScaffoldConfig {\n name: string\n templates: string[]\n output: FileResponse<string>\n createSubFolder?: boolean\n data?: Record<string, any>\n overwrite?: FileResponse<boolean>\n quiet?: boolean\n verbose?: LogLevel\n dryRun?: boolean\n helpers?: Record<string, Helper>\n subFolderNameHelper?: DefaultHelpers | string\n beforeWrite?(\n content: Buffer,\n rawContent: Buffer,\n outputPath: string,\n ): string | Buffer | undefined | Promise<string | Buffer | undefined>\n}\n"})}),"\n",(0,o.jsx)(n.h3,{id:"before-write-option",children:"Before Write option"}),"\n",(0,o.jsx)(n.p,{children:"This option allows you to preprocess a file before it is being written, such as running a formatter,\nlinter or other commands."}),"\n",(0,o.jsx)(n.p,{children:"To use this option, you can run any async/blocking command, and return a string as the final output\nto be used as the file contents."}),"\n",(0,o.jsxs)(n.p,{children:["Returning ",(0,o.jsx)(n.code,{children:"undefined"})," will keep the file contents as-is, after normal Handlebars.js procesing by\nSimple Scaffold."]}),"\n",(0,o.jsx)(n.h2,{id:"example",children:"Example"}),"\n",(0,o.jsx)(n.p,{children:"This is an example of loading a complete scaffold via Node.js:"}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{className:"language-typescript",children:'import Scaffold from "simple-scaffold"\n\nconst config = {\n name: "component",\n templates: [path.join(__dirname, "scaffolds", "component")],\n output: path.join(__dirname, "src", "components"),\n createSubFolder: true,\n subFolderNameHelper: "upperCase"\n data: {\n property: "value",\n },\n helpers: {\n twice: (text) => [text, text].join(" ")\n },\n // return a string to replace the final file contents after pre-processing, or `undefined`\n // to keep it as-is\n beforeWrite: (content, rawContent, outputPath) => content.toString().toUpperCase()\n}\n\nconst scaffold = Scaffold(config)\n'})})]})}function f(e={}){const{wrapper:n}={...(0,s.a)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(d,{...e})}):d(e)}},3108:(e,n,t)=>{t.d(n,{Z:()=>a,a:()=>i});var o=t(959);const s={},r=o.createContext(s);function i(e){const n=o.useContext(r);return o.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),o.createElement(r.Provider,{value:n},e.children)}}}]);
|
||||
1
assets/js/f6aebfbf.8e3aeb9f.js
Normal file
1
assets/js/f6aebfbf.8e3aeb9f.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
(()=>{"use strict";var e,t,r,a,o,f={},n={};function c(e){var t=n[e];if(void 0!==t)return t.exports;var r=n[e]={id:e,loaded:!1,exports:{}};return f[e].call(r.exports,r,r.exports,c),r.loaded=!0,r.exports}c.m=f,c.c=n,e=[],c.O=(t,r,a,o)=>{if(!r){var f=1/0;for(i=0;i<e.length;i++){r=e[i][0],a=e[i][1],o=e[i][2];for(var n=!0,b=0;b<r.length;b++)(!1&o||f>=o)&&Object.keys(c.O).every((e=>c.O[e](r[b])))?r.splice(b--,1):(n=!1,o<f&&(f=o));if(n){e.splice(i--,1);var d=a();void 0!==d&&(t=d)}}return t}o=o||0;for(var i=e.length;i>0&&e[i-1][2]>o;i--)e[i]=e[i-1];e[i]=[r,a,o]},c.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return c.d(t,{a:t}),t},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,c.t=function(e,a){if(1&a&&(e=this(e)),8&a)return e;if("object"==typeof e&&e){if(4&a&&e.__esModule)return e;if(16&a&&"function"==typeof e.then)return e}var o=Object.create(null);c.r(o);var f={};t=t||[null,r({}),r([]),r(r)];for(var n=2&a&&e;"object"==typeof n&&!~t.indexOf(n);n=r(n))Object.getOwnPropertyNames(n).forEach((t=>f[t]=()=>e[t]));return f.default=()=>e,c.d(o,f),o},c.d=(e,t)=>{for(var r in t)c.o(t,r)&&!c.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},c.f={},c.e=e=>Promise.all(Object.keys(c.f).reduce(((t,r)=>(c.f[r](e,t),t)),[])),c.u=e=>"assets/js/"+({53:"935f2afb",74:"4c5c6dbb",85:"1f391b9e",92:"5873b104",189:"3bd150b0",237:"1df93b7f",300:"e999734b",306:"f6aebfbf",368:"a94703ab",403:"1e37097f",414:"393be207",518:"a7bd4aaa",597:"5e8c322a",661:"5e95c892",681:"6ff67fd4",879:"6cd1f720",886:"25a6218c",902:"38e469bb",905:"0331ca43",918:"17896441"}[e]||e)+"."+{53:"005b8f98",74:"5eacaab7",85:"d88969bb",92:"6b616f21",189:"703775f8",237:"6f0634fa",300:"c54bc38e",306:"f11c86c3",368:"cd0392f4",403:"e7d6a4c4",414:"d3ec89d6",509:"763f462f",518:"0e60e4e4",597:"0241ad9b",661:"0021d3e5",681:"2dba586c",772:"46e3500d",879:"dde22d01",886:"04847128",902:"e8ad1309",905:"0fc4deb7",918:"e433af4f"}[e]+".js",c.miniCssF=e=>{},c.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),c.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a={},o="simple-scaffold-docs:",c.l=(e,t,r,f)=>{if(a[e])a[e].push(t);else{var n,b;if(void 0!==r)for(var d=document.getElementsByTagName("script"),i=0;i<d.length;i++){var l=d[i];if(l.getAttribute("src")==e||l.getAttribute("data-webpack")==o+r){n=l;break}}n||(b=!0,(n=document.createElement("script")).charset="utf-8",n.timeout=120,c.nc&&n.setAttribute("nonce",c.nc),n.setAttribute("data-webpack",o+r),n.src=e),a[e]=[t];var s=(t,r)=>{n.onerror=n.onload=null,clearTimeout(u);var o=a[e];if(delete a[e],n.parentNode&&n.parentNode.removeChild(n),o&&o.forEach((e=>e(r))),t)return t(r)},u=setTimeout(s.bind(null,void 0,{type:"timeout",target:n}),12e4);n.onerror=s.bind(null,n.onerror),n.onload=s.bind(null,n.onload),b&&document.head.appendChild(n)}},c.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.p="/simple-scaffold/",c.gca=function(e){return e={17896441:"918","935f2afb":"53","4c5c6dbb":"74","1f391b9e":"85","5873b104":"92","3bd150b0":"189","1df93b7f":"237",e999734b:"300",f6aebfbf:"306",a94703ab:"368","1e37097f":"403","393be207":"414",a7bd4aaa:"518","5e8c322a":"597","5e95c892":"661","6ff67fd4":"681","6cd1f720":"879","25a6218c":"886","38e469bb":"902","0331ca43":"905"}[e]||e,c.p+c.u(e)},(()=>{var e={303:0,532:0};c.f.j=(t,r)=>{var a=c.o(e,t)?e[t]:void 0;if(0!==a)if(a)r.push(a[2]);else if(/^(303|532)$/.test(t))e[t]=0;else{var o=new Promise(((r,o)=>a=e[t]=[r,o]));r.push(a[2]=o);var f=c.p+c.u(t),n=new Error;c.l(f,(r=>{if(c.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var o=r&&("load"===r.type?"missing":r.type),f=r&&r.target&&r.target.src;n.message="Loading chunk "+t+" failed.\n("+o+": "+f+")",n.name="ChunkLoadError",n.type=o,n.request=f,a[1](n)}}),"chunk-"+t,t)}},c.O.j=t=>0===e[t];var t=(t,r)=>{var a,o,f=r[0],n=r[1],b=r[2],d=0;if(f.some((t=>0!==e[t]))){for(a in n)c.o(n,a)&&(c.m[a]=n[a]);if(b)var i=b(c)}for(t&&t(r);d<f.length;d++)o=f[d],c.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return c.O(i)},r=self.webpackChunksimple_scaffold_docs=self.webpackChunksimple_scaffold_docs||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})()})();
|
||||
(()=>{"use strict";var e,t,r,a,o,f={},n={};function c(e){var t=n[e];if(void 0!==t)return t.exports;var r=n[e]={id:e,loaded:!1,exports:{}};return f[e].call(r.exports,r,r.exports,c),r.loaded=!0,r.exports}c.m=f,c.c=n,e=[],c.O=(t,r,a,o)=>{if(!r){var f=1/0;for(i=0;i<e.length;i++){r=e[i][0],a=e[i][1],o=e[i][2];for(var n=!0,b=0;b<r.length;b++)(!1&o||f>=o)&&Object.keys(c.O).every((e=>c.O[e](r[b])))?r.splice(b--,1):(n=!1,o<f&&(f=o));if(n){e.splice(i--,1);var d=a();void 0!==d&&(t=d)}}return t}o=o||0;for(var i=e.length;i>0&&e[i-1][2]>o;i--)e[i]=e[i-1];e[i]=[r,a,o]},c.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return c.d(t,{a:t}),t},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,c.t=function(e,a){if(1&a&&(e=this(e)),8&a)return e;if("object"==typeof e&&e){if(4&a&&e.__esModule)return e;if(16&a&&"function"==typeof e.then)return e}var o=Object.create(null);c.r(o);var f={};t=t||[null,r({}),r([]),r(r)];for(var n=2&a&&e;"object"==typeof n&&!~t.indexOf(n);n=r(n))Object.getOwnPropertyNames(n).forEach((t=>f[t]=()=>e[t]));return f.default=()=>e,c.d(o,f),o},c.d=(e,t)=>{for(var r in t)c.o(t,r)&&!c.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},c.f={},c.e=e=>Promise.all(Object.keys(c.f).reduce(((t,r)=>(c.f[r](e,t),t)),[])),c.u=e=>"assets/js/"+({53:"935f2afb",74:"4c5c6dbb",85:"1f391b9e",92:"5873b104",189:"3bd150b0",237:"1df93b7f",300:"e999734b",306:"f6aebfbf",368:"a94703ab",403:"1e37097f",414:"393be207",518:"a7bd4aaa",597:"5e8c322a",661:"5e95c892",681:"6ff67fd4",879:"6cd1f720",886:"25a6218c",902:"38e469bb",905:"0331ca43",918:"17896441"}[e]||e)+"."+{53:"005b8f98",74:"5eacaab7",85:"d88969bb",92:"6b616f21",189:"44a155b4",237:"6f0634fa",300:"c18bb241",306:"8e3aeb9f",368:"cd0392f4",403:"e7d6a4c4",414:"d3ec89d6",509:"763f462f",518:"0e60e4e4",597:"0241ad9b",661:"0021d3e5",681:"2dba586c",772:"46e3500d",879:"dde22d01",886:"04847128",902:"e8ad1309",905:"0db3cf5f",918:"e433af4f"}[e]+".js",c.miniCssF=e=>{},c.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),c.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a={},o="simple-scaffold-docs:",c.l=(e,t,r,f)=>{if(a[e])a[e].push(t);else{var n,b;if(void 0!==r)for(var d=document.getElementsByTagName("script"),i=0;i<d.length;i++){var l=d[i];if(l.getAttribute("src")==e||l.getAttribute("data-webpack")==o+r){n=l;break}}n||(b=!0,(n=document.createElement("script")).charset="utf-8",n.timeout=120,c.nc&&n.setAttribute("nonce",c.nc),n.setAttribute("data-webpack",o+r),n.src=e),a[e]=[t];var s=(t,r)=>{n.onerror=n.onload=null,clearTimeout(u);var o=a[e];if(delete a[e],n.parentNode&&n.parentNode.removeChild(n),o&&o.forEach((e=>e(r))),t)return t(r)},u=setTimeout(s.bind(null,void 0,{type:"timeout",target:n}),12e4);n.onerror=s.bind(null,n.onerror),n.onload=s.bind(null,n.onload),b&&document.head.appendChild(n)}},c.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.p="/simple-scaffold/",c.gca=function(e){return e={17896441:"918","935f2afb":"53","4c5c6dbb":"74","1f391b9e":"85","5873b104":"92","3bd150b0":"189","1df93b7f":"237",e999734b:"300",f6aebfbf:"306",a94703ab:"368","1e37097f":"403","393be207":"414",a7bd4aaa:"518","5e8c322a":"597","5e95c892":"661","6ff67fd4":"681","6cd1f720":"879","25a6218c":"886","38e469bb":"902","0331ca43":"905"}[e]||e,c.p+c.u(e)},(()=>{var e={303:0,532:0};c.f.j=(t,r)=>{var a=c.o(e,t)?e[t]:void 0;if(0!==a)if(a)r.push(a[2]);else if(/^(303|532)$/.test(t))e[t]=0;else{var o=new Promise(((r,o)=>a=e[t]=[r,o]));r.push(a[2]=o);var f=c.p+c.u(t),n=new Error;c.l(f,(r=>{if(c.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var o=r&&("load"===r.type?"missing":r.type),f=r&&r.target&&r.target.src;n.message="Loading chunk "+t+" failed.\n("+o+": "+f+")",n.name="ChunkLoadError",n.type=o,n.request=f,a[1](n)}}),"chunk-"+t,t)}},c.O.j=t=>0===e[t];var t=(t,r)=>{var a,o,f=r[0],n=r[1],b=r[2],d=0;if(f.some((t=>0!==e[t]))){for(a in n)c.o(n,a)&&(c.m[a]=n[a]);if(b)var i=b(c)}for(t&&t(r);d<f.length;d++)o=f[d],c.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return c.O(i)},r=self.webpackChunksimple_scaffold_docs=self.webpackChunksimple_scaffold_docs||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})()})();
|
||||
@@ -6,7 +6,7 @@
|
||||
<title data-rh="true">simple-scaffold | Simple Scaffold</title><meta data-rh="true" name="viewport" content="width=device-width,initial-scale=1"><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:image" content="https://chenasraf.github.io/simple-scaffold/img/docusaurus-social-card.jpg"><meta data-rh="true" name="twitter:image" content="https://chenasraf.github.io/simple-scaffold/img/docusaurus-social-card.jpg"><meta data-rh="true" property="og:url" content="https://chenasraf.github.io/simple-scaffold/docs/api/"><meta data-rh="true" property="og:locale" content="en"><meta data-rh="true" name="docusaurus_locale" content="en"><meta data-rh="true" name="docsearch:language" content="en"><meta data-rh="true" name="docusaurus_version" content="current"><meta data-rh="true" name="docusaurus_tag" content="docs-default-current"><meta data-rh="true" name="docsearch:version" content="current"><meta data-rh="true" name="docsearch:docusaurus_tag" content="docs-default-current"><meta data-rh="true" property="og:title" content="simple-scaffold | Simple Scaffold"><meta data-rh="true" name="description" content="GitHub |"><meta data-rh="true" property="og:description" content="GitHub |"><link data-rh="true" rel="icon" href="/simple-scaffold/img/favicon.svg"><link data-rh="true" rel="canonical" href="https://chenasraf.github.io/simple-scaffold/docs/api/"><link data-rh="true" rel="alternate" href="https://chenasraf.github.io/simple-scaffold/docs/api/" hreflang="en"><link data-rh="true" rel="alternate" href="https://chenasraf.github.io/simple-scaffold/docs/api/" hreflang="x-default"><link rel="preconnect" href="https://www.googletagmanager.com">
|
||||
<script>window.dataLayer=window.dataLayer||[]</script>
|
||||
<script>!function(e,t,a,n,g){e[n]=e[n]||[],e[n].push({"gtm.start":(new Date).getTime(),event:"gtm.js"});var m=t.getElementsByTagName(a)[0],r=t.createElement(a);r.async=!0,r.src="https://www.googletagmanager.com/gtm.js?id=GTM-KHQS9TQ",m.parentNode.insertBefore(r,m)}(window,document,"script","dataLayer")</script><link rel="stylesheet" href="/simple-scaffold/assets/css/styles.eed925c4.css">
|
||||
<script src="/simple-scaffold/assets/js/runtime~main.dd564d72.js" defer="defer"></script>
|
||||
<script src="/simple-scaffold/assets/js/runtime~main.90488c65.js" defer="defer"></script>
|
||||
<script src="/simple-scaffold/assets/js/main.501ecb4d.js" defer="defer"></script>
|
||||
</head>
|
||||
<body class="navigation-with-keyboard">
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title data-rh="true">Interface: ScaffoldConfig | Simple Scaffold</title><meta data-rh="true" name="viewport" content="width=device-width,initial-scale=1"><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:image" content="https://chenasraf.github.io/simple-scaffold/img/docusaurus-social-card.jpg"><meta data-rh="true" name="twitter:image" content="https://chenasraf.github.io/simple-scaffold/img/docusaurus-social-card.jpg"><meta data-rh="true" property="og:url" content="https://chenasraf.github.io/simple-scaffold/docs/api/interfaces/ScaffoldConfig"><meta data-rh="true" property="og:locale" content="en"><meta data-rh="true" name="docusaurus_locale" content="en"><meta data-rh="true" name="docsearch:language" content="en"><meta data-rh="true" name="docusaurus_version" content="current"><meta data-rh="true" name="docusaurus_tag" content="docs-default-current"><meta data-rh="true" name="docsearch:version" content="current"><meta data-rh="true" name="docsearch:docusaurus_tag" content="docs-default-current"><meta data-rh="true" property="og:title" content="Interface: ScaffoldConfig | Simple Scaffold"><meta data-rh="true" name="description" content="The config object for defining a scaffolding group."><meta data-rh="true" property="og:description" content="The config object for defining a scaffolding group."><link data-rh="true" rel="icon" href="/simple-scaffold/img/favicon.svg"><link data-rh="true" rel="canonical" href="https://chenasraf.github.io/simple-scaffold/docs/api/interfaces/ScaffoldConfig"><link data-rh="true" rel="alternate" href="https://chenasraf.github.io/simple-scaffold/docs/api/interfaces/ScaffoldConfig" hreflang="en"><link data-rh="true" rel="alternate" href="https://chenasraf.github.io/simple-scaffold/docs/api/interfaces/ScaffoldConfig" hreflang="x-default"><link rel="preconnect" href="https://www.googletagmanager.com">
|
||||
<script>window.dataLayer=window.dataLayer||[]</script>
|
||||
<script>!function(e,t,a,n,g){e[n]=e[n]||[],e[n].push({"gtm.start":(new Date).getTime(),event:"gtm.js"});var m=t.getElementsByTagName(a)[0],r=t.createElement(a);r.async=!0,r.src="https://www.googletagmanager.com/gtm.js?id=GTM-KHQS9TQ",m.parentNode.insertBefore(r,m)}(window,document,"script","dataLayer")</script><link rel="stylesheet" href="/simple-scaffold/assets/css/styles.eed925c4.css">
|
||||
<script src="/simple-scaffold/assets/js/runtime~main.dd564d72.js" defer="defer"></script>
|
||||
<script src="/simple-scaffold/assets/js/runtime~main.90488c65.js" defer="defer"></script>
|
||||
<script src="/simple-scaffold/assets/js/main.501ecb4d.js" defer="defer"></script>
|
||||
</head>
|
||||
<body class="navigation-with-keyboard">
|
||||
@@ -27,7 +27,7 @@
|
||||
<p>Name to be passed to the generated files. <code>{{name}}</code> and <code>{{Name}}</code> inside contents and file names will be replaced
|
||||
accordingly.</p>
|
||||
<h4 class="anchor anchorWithStickyNavbar_BKl5" id="defined-in">Defined in<a href="#defined-in" class="hash-link" aria-label="Direct link to Defined in" title="Direct link to Defined in"></a></h4>
|
||||
<p><a href="https://github.com/chenasraf/simple-scaffold/blob/0f4607f/src/types.ts#L19" target="_blank" rel="noopener noreferrer">types.ts:19</a></p>
|
||||
<p><a href="https://github.com/chenasraf/simple-scaffold/blob/ff142d7/src/types.ts#L19" target="_blank" rel="noopener noreferrer">types.ts:19</a></p>
|
||||
<hr>
|
||||
<h3 class="anchor anchorWithStickyNavbar_BKl5" id="templates">templates<a href="#templates" class="hash-link" aria-label="Direct link to templates" title="Direct link to templates"></a></h3>
|
||||
<p>• <strong>templates</strong>: <code>string</code>[]</p>
|
||||
@@ -36,11 +36,11 @@ or a glob pattern for multiple file matching easily.</p>
|
||||
<p><strong><code>Default</code></strong></p>
|
||||
<div class="language-ts codeBlockContainer_vsDe theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_sght"><pre tabindex="0" class="prism-code language-ts codeBlock_lq4m thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_vX3f"><span class="token-line" style="color:#393A34"><span class="token plain">Current working directory</span><br></span></code></pre><div class="buttonGroup_QVhR"><button type="button" aria-label="Copy code to clipboard" title="Copy" class="clean-btn"><span class="copyButtonIcons_ul1N" aria-hidden="true"><svg viewBox="0 0 24 24" class="copyButtonIcon_QWwj"><path fill="currentColor" d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg viewBox="0 0 24 24" class="copyButtonSuccessIcon_cvhv"><path fill="currentColor" d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div>
|
||||
<h4 class="anchor anchorWithStickyNavbar_BKl5" id="defined-in-1">Defined in<a href="#defined-in-1" class="hash-link" aria-label="Direct link to Defined in" title="Direct link to Defined in"></a></h4>
|
||||
<p><a href="https://github.com/chenasraf/simple-scaffold/blob/0f4607f/src/types.ts#L27" target="_blank" rel="noopener noreferrer">types.ts:27</a></p>
|
||||
<p><a href="https://github.com/chenasraf/simple-scaffold/blob/ff142d7/src/types.ts#L27" target="_blank" rel="noopener noreferrer">types.ts:27</a></p>
|
||||
<hr>
|
||||
<h3 class="anchor anchorWithStickyNavbar_BKl5" id="output">output<a href="#output" class="hash-link" aria-label="Direct link to output" title="Direct link to output"></a></h3>
|
||||
<p>• <strong>output</strong>: <a href="/simple-scaffold/docs/api/modules#fileresponse"><code>FileResponse</code></a><<code>string</code>></p>
|
||||
<p>Path to output to. If <code>subdir</code> is <code>true</code>, the subfolder will be created inside this path.</p>
|
||||
<p>Path to output to. If <code>subdir</code> is <code>true</code>, the subdir will be created inside this path.</p>
|
||||
<p>May also be a <a href="/simple-scaffold/docs/api/modules#fileresponsehandler">FileResponseHandler</a> which returns a new output path to override the default one.</p>
|
||||
<p><strong><code>See</code></strong></p>
|
||||
<ul>
|
||||
@@ -48,24 +48,24 @@ or a glob pattern for multiple file matching easily.</p>
|
||||
<li><a href="/simple-scaffold/docs/api/modules#fileresponsehandler">FileResponseHandler</a></li>
|
||||
</ul>
|
||||
<h4 class="anchor anchorWithStickyNavbar_BKl5" id="defined-in-2">Defined in<a href="#defined-in-2" class="hash-link" aria-label="Direct link to Defined in" title="Direct link to Defined in"></a></h4>
|
||||
<p><a href="https://github.com/chenasraf/simple-scaffold/blob/0f4607f/src/types.ts#L37" target="_blank" rel="noopener noreferrer">types.ts:37</a></p>
|
||||
<p><a href="https://github.com/chenasraf/simple-scaffold/blob/ff142d7/src/types.ts#L37" target="_blank" rel="noopener noreferrer">types.ts:37</a></p>
|
||||
<hr>
|
||||
<h3 class="anchor anchorWithStickyNavbar_BKl5" id="subdir">subdir<a href="#subdir" class="hash-link" aria-label="Direct link to subdir" title="Direct link to subdir"></a></h3>
|
||||
<p>• <code>Optional</code> <strong>subdir</strong>: <code>boolean</code></p>
|
||||
<p>Whether to create subfolder with the input name.</p>
|
||||
<p>Whether to create subdir with the input name.</p>
|
||||
<p>When <code>true</code>, you may also use <a href="/simple-scaffold/docs/api/interfaces/ScaffoldConfig#subdirhelper">subdirHelper</a> to determine a pre-process helper on
|
||||
the directory name.</p>
|
||||
<p><strong><code>Default</code></strong></p>
|
||||
<p><code>false</code></p>
|
||||
<h4 class="anchor anchorWithStickyNavbar_BKl5" id="defined-in-3">Defined in<a href="#defined-in-3" class="hash-link" aria-label="Direct link to Defined in" title="Direct link to Defined in"></a></h4>
|
||||
<p><a href="https://github.com/chenasraf/simple-scaffold/blob/0f4607f/src/types.ts#L47" target="_blank" rel="noopener noreferrer">types.ts:47</a></p>
|
||||
<p><a href="https://github.com/chenasraf/simple-scaffold/blob/ff142d7/src/types.ts#L47" target="_blank" rel="noopener noreferrer">types.ts:47</a></p>
|
||||
<hr>
|
||||
<h3 class="anchor anchorWithStickyNavbar_BKl5" id="data">data<a href="#data" class="hash-link" aria-label="Direct link to data" title="Direct link to data"></a></h3>
|
||||
<p>• <code>Optional</code> <strong>data</strong>: <code>Record</code><<code>string</code>, <code>any</code>></p>
|
||||
<p>Add custom data to the templates. By default, only your app name is included as <code>{{name}}</code> and <code>{{Name}}</code>.</p>
|
||||
<p>This can be any object that will be usable by Handlebars.</p>
|
||||
<h4 class="anchor anchorWithStickyNavbar_BKl5" id="defined-in-4">Defined in<a href="#defined-in-4" class="hash-link" aria-label="Direct link to Defined in" title="Direct link to Defined in"></a></h4>
|
||||
<p><a href="https://github.com/chenasraf/simple-scaffold/blob/0f4607f/src/types.ts#L54" target="_blank" rel="noopener noreferrer">types.ts:54</a></p>
|
||||
<p><a href="https://github.com/chenasraf/simple-scaffold/blob/ff142d7/src/types.ts#L54" target="_blank" rel="noopener noreferrer">types.ts:54</a></p>
|
||||
<hr>
|
||||
<h3 class="anchor anchorWithStickyNavbar_BKl5" id="overwrite">overwrite<a href="#overwrite" class="hash-link" aria-label="Direct link to overwrite" title="Direct link to overwrite"></a></h3>
|
||||
<p>• <code>Optional</code> <strong>overwrite</strong>: <a href="/simple-scaffold/docs/api/modules#fileresponse"><code>FileResponse</code></a><<code>boolean</code>></p>
|
||||
@@ -81,7 +81,7 @@ a boolean for each file.</p>
|
||||
<p><strong><code>Default</code></strong></p>
|
||||
<p><code>false</code></p>
|
||||
<h4 class="anchor anchorWithStickyNavbar_BKl5" id="defined-in-5">Defined in<a href="#defined-in-5" class="hash-link" aria-label="Direct link to Defined in" title="Direct link to Defined in"></a></h4>
|
||||
<p><a href="https://github.com/chenasraf/simple-scaffold/blob/0f4607f/src/types.ts#L69" target="_blank" rel="noopener noreferrer">types.ts:69</a></p>
|
||||
<p><a href="https://github.com/chenasraf/simple-scaffold/blob/ff142d7/src/types.ts#L69" target="_blank" rel="noopener noreferrer">types.ts:69</a></p>
|
||||
<hr>
|
||||
<h3 class="anchor anchorWithStickyNavbar_BKl5" id="loglevel">logLevel<a href="#loglevel" class="hash-link" aria-label="Direct link to logLevel" title="Direct link to logLevel"></a></h3>
|
||||
<p>• <code>Optional</code> <strong>logLevel</strong>: <a href="/simple-scaffold/docs/api/modules#loglevel-1"><code>LogLevel</code></a></p>
|
||||
@@ -93,7 +93,7 @@ of the same level or higher.</p>
|
||||
<p><strong><code>Default</code></strong></p>
|
||||
<p><code>2 (info)</code></p>
|
||||
<h4 class="anchor anchorWithStickyNavbar_BKl5" id="defined-in-6">Defined in<a href="#defined-in-6" class="hash-link" aria-label="Direct link to Defined in" title="Direct link to Defined in"></a></h4>
|
||||
<p><a href="https://github.com/chenasraf/simple-scaffold/blob/0f4607f/src/types.ts#L81" target="_blank" rel="noopener noreferrer">types.ts:81</a></p>
|
||||
<p><a href="https://github.com/chenasraf/simple-scaffold/blob/ff142d7/src/types.ts#L81" target="_blank" rel="noopener noreferrer">types.ts:81</a></p>
|
||||
<hr>
|
||||
<h3 class="anchor anchorWithStickyNavbar_BKl5" id="dryrun">dryRun<a href="#dryrun" class="hash-link" aria-label="Direct link to dryRun" title="Direct link to dryRun"></a></h3>
|
||||
<p>• <code>Optional</code> <strong>dryRun</strong>: <code>boolean</code></p>
|
||||
@@ -102,7 +102,7 @@ actual file contents or create directories.</p>
|
||||
<p><strong><code>Default</code></strong></p>
|
||||
<p><code>false</code></p>
|
||||
<h4 class="anchor anchorWithStickyNavbar_BKl5" id="defined-in-7">Defined in<a href="#defined-in-7" class="hash-link" aria-label="Direct link to Defined in" title="Direct link to Defined in"></a></h4>
|
||||
<p><a href="https://github.com/chenasraf/simple-scaffold/blob/0f4607f/src/types.ts#L89" target="_blank" rel="noopener noreferrer">types.ts:89</a></p>
|
||||
<p><a href="https://github.com/chenasraf/simple-scaffold/blob/ff142d7/src/types.ts#L89" target="_blank" rel="noopener noreferrer">types.ts:89</a></p>
|
||||
<hr>
|
||||
<h3 class="anchor anchorWithStickyNavbar_BKl5" id="helpers">helpers<a href="#helpers" class="hash-link" aria-label="Direct link to helpers" title="Direct link to helpers"></a></h3>
|
||||
<p>• <code>Optional</code> <strong>helpers</strong>: <code>Record</code><<code>string</code>, <code>HelperDelegate</code>></p>
|
||||
@@ -126,11 +126,11 @@ and the value is the helper function itself. The signature of helpers is as foll
|
||||
<li><a href="https://chenasraf.github.io/simple-scaffold/docs/usage/templates%7C" target="_blank" rel="noopener noreferrer">Templates</a></li>
|
||||
</ul>
|
||||
<h4 class="anchor anchorWithStickyNavbar_BKl5" id="defined-in-8">Defined in<a href="#defined-in-8" class="hash-link" aria-label="Direct link to Defined in" title="Direct link to Defined in"></a></h4>
|
||||
<p><a href="https://github.com/chenasraf/simple-scaffold/blob/0f4607f/src/types.ts#L131" target="_blank" rel="noopener noreferrer">types.ts:131</a></p>
|
||||
<p><a href="https://github.com/chenasraf/simple-scaffold/blob/ff142d7/src/types.ts#L131" target="_blank" rel="noopener noreferrer">types.ts:131</a></p>
|
||||
<hr>
|
||||
<h3 class="anchor anchorWithStickyNavbar_BKl5" id="subdirhelper">subdirHelper<a href="#subdirhelper" class="hash-link" aria-label="Direct link to subdirHelper" title="Direct link to subdirHelper"></a></h3>
|
||||
<p>• <code>Optional</code> <strong>subdirHelper</strong>: <code>string</code></p>
|
||||
<p>Default transformer to apply to subfolder name when using <code>subdir: true</code>. Can be one of the default
|
||||
<p>Default transformer to apply to subdir name when using <code>subdir: true</code>. Can be one of the default
|
||||
capitalization helpers, or a custom one you provide to <code>helpers</code>. Defaults to <code>undefined</code>, which means no
|
||||
transformation is done.</p>
|
||||
<p><strong><code>See</code></strong></p>
|
||||
@@ -140,7 +140,7 @@ transformation is done.</p>
|
||||
<li><a href="/simple-scaffold/docs/api/modules#defaulthelpers">DefaultHelpers</a></li>
|
||||
</ul>
|
||||
<h4 class="anchor anchorWithStickyNavbar_BKl5" id="defined-in-9">Defined in<a href="#defined-in-9" class="hash-link" aria-label="Direct link to Defined in" title="Direct link to Defined in"></a></h4>
|
||||
<p><a href="https://github.com/chenasraf/simple-scaffold/blob/0f4607f/src/types.ts#L142" target="_blank" rel="noopener noreferrer">types.ts:142</a></p>
|
||||
<p><a href="https://github.com/chenasraf/simple-scaffold/blob/ff142d7/src/types.ts#L142" target="_blank" rel="noopener noreferrer">types.ts:142</a></p>
|
||||
<h2 class="anchor anchorWithStickyNavbar_BKl5" id="methods">Methods<a href="#methods" class="hash-link" aria-label="Direct link to Methods" title="Direct link to Methods"></a></h2>
|
||||
<h3 class="anchor anchorWithStickyNavbar_BKl5" id="beforewrite">beforeWrite<a href="#beforewrite" class="hash-link" aria-label="Direct link to beforeWrite" title="Direct link to beforeWrite"></a></h3>
|
||||
<p>▸ <strong>beforeWrite</strong>(<code>content</code>, <code>rawContent</code>, <code>outputPath</code>): <code>undefined</code> | <code>string</code> | <code>Buffer</code> | <code>Promise</code><<code>undefined</code> | <code>string</code> | <code>Buffer</code>></p>
|
||||
@@ -155,6 +155,6 @@ you may run formatters on a file, fix output in edge-cases not supported by help
|
||||
<p>The final output of the file
|
||||
contents-only, after further modifications - or <code>undefined</code> to use the original content (i.e. <code>content.toString()</code>)</p>
|
||||
<h4 class="anchor anchorWithStickyNavbar_BKl5" id="defined-in-10">Defined in<a href="#defined-in-10" class="hash-link" aria-label="Direct link to Defined in" title="Direct link to Defined in"></a></h4>
|
||||
<p><a href="https://github.com/chenasraf/simple-scaffold/blob/0f4607f/src/types.ts#L158" target="_blank" rel="noopener noreferrer">types.ts:158</a></p></div></article><nav class="pagination-nav docusaurus-mt-lg" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href="/simple-scaffold/docs/api/modules"><div class="pagination-nav__sublabel">Previous</div><div class="pagination-nav__label">Exports</div></a><a class="pagination-nav__link pagination-nav__link--next" href="/simple-scaffold/docs/usage/"><div class="pagination-nav__sublabel">Next</div><div class="pagination-nav__label">Usage</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_l53Q thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href="#properties" class="table-of-contents__link toc-highlight">Properties</a><ul><li><a href="#name" class="table-of-contents__link toc-highlight">name</a></li><li><a href="#templates" class="table-of-contents__link toc-highlight">templates</a></li><li><a href="#output" class="table-of-contents__link toc-highlight">output</a></li><li><a href="#subdir" class="table-of-contents__link toc-highlight">subdir</a></li><li><a href="#data" class="table-of-contents__link toc-highlight">data</a></li><li><a href="#overwrite" class="table-of-contents__link toc-highlight">overwrite</a></li><li><a href="#loglevel" class="table-of-contents__link toc-highlight">logLevel</a></li><li><a href="#dryrun" class="table-of-contents__link toc-highlight">dryRun</a></li><li><a href="#helpers" class="table-of-contents__link toc-highlight">helpers</a></li><li><a href="#subdirhelper" class="table-of-contents__link toc-highlight">subdirHelper</a></li></ul></li><li><a href="#methods" class="table-of-contents__link toc-highlight">Methods</a><ul><li><a href="#beforewrite" class="table-of-contents__link toc-highlight">beforeWrite</a></li></ul></li></ul></div></div></div></div></main></div></div></div><footer class="footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="col footer__col"><div class="footer__title">Docs</div><ul class="footer__items clean-list"><li class="footer__item"><a class="footer__link-item" href="/simple-scaffold/docs/intro">Tutorial</a></li></ul></div><div class="col footer__col"><div class="footer__title">More from @casraf</div><ul class="footer__items clean-list"><li class="footer__item"><a href="https://chenasraf.github.io/massarg" target="_blank" rel="noopener noreferrer" class="footer__link-item">Massarg - CLI Argument Parser<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_I4o_"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li class="footer__item"><a href="https://casraf.dev" target="_blank" rel="noopener noreferrer" class="footer__link-item">Website<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_I4o_"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li></ul></div><div class="col footer__col"><div class="footer__title">More</div><ul class="footer__items clean-list"><li class="footer__item"><a href="https://npmjs.com/package/simple-scaffold" target="_blank" rel="noopener noreferrer" class="footer__link-item">npm<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_I4o_"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li class="footer__item"><a href="https://github.com/chenasraf/simple-scaffold" target="_blank" rel="noopener noreferrer" class="footer__link-item">GitHub<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_I4o_"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li></ul></div></div><div class="footer__bottom text--center"><div class="footer__copyright">Copyright © 2024 Chen Asraf. Built with Docusaurus.</div></div></div></footer></div>
|
||||
<p><a href="https://github.com/chenasraf/simple-scaffold/blob/ff142d7/src/types.ts#L158" target="_blank" rel="noopener noreferrer">types.ts:158</a></p></div></article><nav class="pagination-nav docusaurus-mt-lg" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href="/simple-scaffold/docs/api/modules"><div class="pagination-nav__sublabel">Previous</div><div class="pagination-nav__label">Exports</div></a><a class="pagination-nav__link pagination-nav__link--next" href="/simple-scaffold/docs/usage/"><div class="pagination-nav__sublabel">Next</div><div class="pagination-nav__label">Usage</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_l53Q thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href="#properties" class="table-of-contents__link toc-highlight">Properties</a><ul><li><a href="#name" class="table-of-contents__link toc-highlight">name</a></li><li><a href="#templates" class="table-of-contents__link toc-highlight">templates</a></li><li><a href="#output" class="table-of-contents__link toc-highlight">output</a></li><li><a href="#subdir" class="table-of-contents__link toc-highlight">subdir</a></li><li><a href="#data" class="table-of-contents__link toc-highlight">data</a></li><li><a href="#overwrite" class="table-of-contents__link toc-highlight">overwrite</a></li><li><a href="#loglevel" class="table-of-contents__link toc-highlight">logLevel</a></li><li><a href="#dryrun" class="table-of-contents__link toc-highlight">dryRun</a></li><li><a href="#helpers" class="table-of-contents__link toc-highlight">helpers</a></li><li><a href="#subdirhelper" class="table-of-contents__link toc-highlight">subdirHelper</a></li></ul></li><li><a href="#methods" class="table-of-contents__link toc-highlight">Methods</a><ul><li><a href="#beforewrite" class="table-of-contents__link toc-highlight">beforeWrite</a></li></ul></li></ul></div></div></div></div></main></div></div></div><footer class="footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="col footer__col"><div class="footer__title">Docs</div><ul class="footer__items clean-list"><li class="footer__item"><a class="footer__link-item" href="/simple-scaffold/docs/intro">Tutorial</a></li></ul></div><div class="col footer__col"><div class="footer__title">More from @casraf</div><ul class="footer__items clean-list"><li class="footer__item"><a href="https://chenasraf.github.io/massarg" target="_blank" rel="noopener noreferrer" class="footer__link-item">Massarg - CLI Argument Parser<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_I4o_"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li class="footer__item"><a href="https://casraf.dev" target="_blank" rel="noopener noreferrer" class="footer__link-item">Website<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_I4o_"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li></ul></div><div class="col footer__col"><div class="footer__title">More</div><ul class="footer__items clean-list"><li class="footer__item"><a href="https://npmjs.com/package/simple-scaffold" target="_blank" rel="noopener noreferrer" class="footer__link-item">npm<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_I4o_"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li class="footer__item"><a href="https://github.com/chenasraf/simple-scaffold" target="_blank" rel="noopener noreferrer" class="footer__link-item">GitHub<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_I4o_"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li></ul></div></div><div class="footer__bottom text--center"><div class="footer__copyright">Copyright © 2024 Chen Asraf. Built with Docusaurus.</div></div></div></footer></div>
|
||||
</body>
|
||||
</html>
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -6,7 +6,7 @@
|
||||
<title data-rh="true">Configuration Files | Simple Scaffold</title><meta data-rh="true" name="viewport" content="width=device-width,initial-scale=1"><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:image" content="https://chenasraf.github.io/simple-scaffold/img/docusaurus-social-card.jpg"><meta data-rh="true" name="twitter:image" content="https://chenasraf.github.io/simple-scaffold/img/docusaurus-social-card.jpg"><meta data-rh="true" property="og:url" content="https://chenasraf.github.io/simple-scaffold/docs/usage/configuration_files"><meta data-rh="true" property="og:locale" content="en"><meta data-rh="true" name="docusaurus_locale" content="en"><meta data-rh="true" name="docsearch:language" content="en"><meta data-rh="true" name="docusaurus_version" content="current"><meta data-rh="true" name="docusaurus_tag" content="docs-default-current"><meta data-rh="true" name="docsearch:version" content="current"><meta data-rh="true" name="docsearch:docusaurus_tag" content="docs-default-current"><meta data-rh="true" property="og:title" content="Configuration Files | Simple Scaffold"><meta data-rh="true" name="description" content="If you want to have reusable configurations which are complex and don't fit into command lines"><meta data-rh="true" property="og:description" content="If you want to have reusable configurations which are complex and don't fit into command lines"><link data-rh="true" rel="icon" href="/simple-scaffold/img/favicon.svg"><link data-rh="true" rel="canonical" href="https://chenasraf.github.io/simple-scaffold/docs/usage/configuration_files"><link data-rh="true" rel="alternate" href="https://chenasraf.github.io/simple-scaffold/docs/usage/configuration_files" hreflang="en"><link data-rh="true" rel="alternate" href="https://chenasraf.github.io/simple-scaffold/docs/usage/configuration_files" hreflang="x-default"><link rel="preconnect" href="https://www.googletagmanager.com">
|
||||
<script>window.dataLayer=window.dataLayer||[]</script>
|
||||
<script>!function(e,t,a,n,g){e[n]=e[n]||[],e[n].push({"gtm.start":(new Date).getTime(),event:"gtm.js"});var m=t.getElementsByTagName(a)[0],r=t.createElement(a);r.async=!0,r.src="https://www.googletagmanager.com/gtm.js?id=GTM-KHQS9TQ",m.parentNode.insertBefore(r,m)}(window,document,"script","dataLayer")</script><link rel="stylesheet" href="/simple-scaffold/assets/css/styles.eed925c4.css">
|
||||
<script src="/simple-scaffold/assets/js/runtime~main.dd564d72.js" defer="defer"></script>
|
||||
<script src="/simple-scaffold/assets/js/runtime~main.90488c65.js" defer="defer"></script>
|
||||
<script src="/simple-scaffold/assets/js/main.501ecb4d.js" defer="defer"></script>
|
||||
</head>
|
||||
<body class="navigation-with-keyboard">
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title data-rh="true">Examples | Simple Scaffold</title><meta data-rh="true" name="viewport" content="width=device-width,initial-scale=1"><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:image" content="https://chenasraf.github.io/simple-scaffold/img/docusaurus-social-card.jpg"><meta data-rh="true" name="twitter:image" content="https://chenasraf.github.io/simple-scaffold/img/docusaurus-social-card.jpg"><meta data-rh="true" property="og:url" content="https://chenasraf.github.io/simple-scaffold/docs/usage/examples"><meta data-rh="true" property="og:locale" content="en"><meta data-rh="true" name="docusaurus_locale" content="en"><meta data-rh="true" name="docsearch:language" content="en"><meta data-rh="true" name="docusaurus_version" content="current"><meta data-rh="true" name="docusaurus_tag" content="docs-default-current"><meta data-rh="true" name="docsearch:version" content="current"><meta data-rh="true" name="docsearch:docusaurus_tag" content="docs-default-current"><meta data-rh="true" property="og:title" content="Examples | Simple Scaffold"><meta data-rh="true" name="description" content="Example files"><meta data-rh="true" property="og:description" content="Example files"><link data-rh="true" rel="icon" href="/simple-scaffold/img/favicon.svg"><link data-rh="true" rel="canonical" href="https://chenasraf.github.io/simple-scaffold/docs/usage/examples"><link data-rh="true" rel="alternate" href="https://chenasraf.github.io/simple-scaffold/docs/usage/examples" hreflang="en"><link data-rh="true" rel="alternate" href="https://chenasraf.github.io/simple-scaffold/docs/usage/examples" hreflang="x-default"><link rel="preconnect" href="https://www.googletagmanager.com">
|
||||
<script>window.dataLayer=window.dataLayer||[]</script>
|
||||
<script>!function(e,t,a,n,g){e[n]=e[n]||[],e[n].push({"gtm.start":(new Date).getTime(),event:"gtm.js"});var m=t.getElementsByTagName(a)[0],r=t.createElement(a);r.async=!0,r.src="https://www.googletagmanager.com/gtm.js?id=GTM-KHQS9TQ",m.parentNode.insertBefore(r,m)}(window,document,"script","dataLayer")</script><link rel="stylesheet" href="/simple-scaffold/assets/css/styles.eed925c4.css">
|
||||
<script src="/simple-scaffold/assets/js/runtime~main.dd564d72.js" defer="defer"></script>
|
||||
<script src="/simple-scaffold/assets/js/runtime~main.90488c65.js" defer="defer"></script>
|
||||
<script src="/simple-scaffold/assets/js/main.501ecb4d.js" defer="defer"></script>
|
||||
</head>
|
||||
<body class="navigation-with-keyboard">
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title data-rh="true">Usage | Simple Scaffold</title><meta data-rh="true" name="viewport" content="width=device-width,initial-scale=1"><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:image" content="https://chenasraf.github.io/simple-scaffold/img/docusaurus-social-card.jpg"><meta data-rh="true" name="twitter:image" content="https://chenasraf.github.io/simple-scaffold/img/docusaurus-social-card.jpg"><meta data-rh="true" property="og:url" content="https://chenasraf.github.io/simple-scaffold/docs/usage/"><meta data-rh="true" property="og:locale" content="en"><meta data-rh="true" name="docusaurus_locale" content="en"><meta data-rh="true" name="docsearch:language" content="en"><meta data-rh="true" name="docusaurus_version" content="current"><meta data-rh="true" name="docusaurus_tag" content="docs-default-current"><meta data-rh="true" name="docsearch:version" content="current"><meta data-rh="true" name="docsearch:docusaurus_tag" content="docs-default-current"><meta data-rh="true" property="og:title" content="Usage | Simple Scaffold"><meta data-rh="true" name="description" content="- CLI Usage"><meta data-rh="true" property="og:description" content="- CLI Usage"><link data-rh="true" rel="icon" href="/simple-scaffold/img/favicon.svg"><link data-rh="true" rel="canonical" href="https://chenasraf.github.io/simple-scaffold/docs/usage/"><link data-rh="true" rel="alternate" href="https://chenasraf.github.io/simple-scaffold/docs/usage/" hreflang="en"><link data-rh="true" rel="alternate" href="https://chenasraf.github.io/simple-scaffold/docs/usage/" hreflang="x-default"><link rel="preconnect" href="https://www.googletagmanager.com">
|
||||
<script>window.dataLayer=window.dataLayer||[]</script>
|
||||
<script>!function(e,t,a,n,g){e[n]=e[n]||[],e[n].push({"gtm.start":(new Date).getTime(),event:"gtm.js"});var m=t.getElementsByTagName(a)[0],r=t.createElement(a);r.async=!0,r.src="https://www.googletagmanager.com/gtm.js?id=GTM-KHQS9TQ",m.parentNode.insertBefore(r,m)}(window,document,"script","dataLayer")</script><link rel="stylesheet" href="/simple-scaffold/assets/css/styles.eed925c4.css">
|
||||
<script src="/simple-scaffold/assets/js/runtime~main.dd564d72.js" defer="defer"></script>
|
||||
<script src="/simple-scaffold/assets/js/runtime~main.90488c65.js" defer="defer"></script>
|
||||
<script src="/simple-scaffold/assets/js/main.501ecb4d.js" defer="defer"></script>
|
||||
</head>
|
||||
<body class="navigation-with-keyboard">
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title data-rh="true">Migration | Simple Scaffold</title><meta data-rh="true" name="viewport" content="width=device-width,initial-scale=1"><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:image" content="https://chenasraf.github.io/simple-scaffold/img/docusaurus-social-card.jpg"><meta data-rh="true" name="twitter:image" content="https://chenasraf.github.io/simple-scaffold/img/docusaurus-social-card.jpg"><meta data-rh="true" property="og:url" content="https://chenasraf.github.io/simple-scaffold/docs/usage/migration"><meta data-rh="true" property="og:locale" content="en"><meta data-rh="true" name="docusaurus_locale" content="en"><meta data-rh="true" name="docsearch:language" content="en"><meta data-rh="true" name="docusaurus_version" content="current"><meta data-rh="true" name="docusaurus_tag" content="docs-default-current"><meta data-rh="true" name="docsearch:version" content="current"><meta data-rh="true" name="docsearch:docusaurus_tag" content="docs-default-current"><meta data-rh="true" property="og:title" content="Migration | Simple Scaffold"><meta data-rh="true" name="description" content="v1.x to v2.x"><meta data-rh="true" property="og:description" content="v1.x to v2.x"><link data-rh="true" rel="icon" href="/simple-scaffold/img/favicon.svg"><link data-rh="true" rel="canonical" href="https://chenasraf.github.io/simple-scaffold/docs/usage/migration"><link data-rh="true" rel="alternate" href="https://chenasraf.github.io/simple-scaffold/docs/usage/migration" hreflang="en"><link data-rh="true" rel="alternate" href="https://chenasraf.github.io/simple-scaffold/docs/usage/migration" hreflang="x-default"><link rel="preconnect" href="https://www.googletagmanager.com">
|
||||
<script>window.dataLayer=window.dataLayer||[]</script>
|
||||
<script>!function(e,t,a,n,g){e[n]=e[n]||[],e[n].push({"gtm.start":(new Date).getTime(),event:"gtm.js"});var m=t.getElementsByTagName(a)[0],r=t.createElement(a);r.async=!0,r.src="https://www.googletagmanager.com/gtm.js?id=GTM-KHQS9TQ",m.parentNode.insertBefore(r,m)}(window,document,"script","dataLayer")</script><link rel="stylesheet" href="/simple-scaffold/assets/css/styles.eed925c4.css">
|
||||
<script src="/simple-scaffold/assets/js/runtime~main.dd564d72.js" defer="defer"></script>
|
||||
<script src="/simple-scaffold/assets/js/runtime~main.90488c65.js" defer="defer"></script>
|
||||
<script src="/simple-scaffold/assets/js/main.501ecb4d.js" defer="defer"></script>
|
||||
</head>
|
||||
<body class="navigation-with-keyboard">
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -6,7 +6,7 @@
|
||||
<title data-rh="true">Template Files | Simple Scaffold</title><meta data-rh="true" name="viewport" content="width=device-width,initial-scale=1"><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:image" content="https://chenasraf.github.io/simple-scaffold/img/docusaurus-social-card.jpg"><meta data-rh="true" name="twitter:image" content="https://chenasraf.github.io/simple-scaffold/img/docusaurus-social-card.jpg"><meta data-rh="true" property="og:url" content="https://chenasraf.github.io/simple-scaffold/docs/usage/templates"><meta data-rh="true" property="og:locale" content="en"><meta data-rh="true" name="docusaurus_locale" content="en"><meta data-rh="true" name="docsearch:language" content="en"><meta data-rh="true" name="docusaurus_version" content="current"><meta data-rh="true" name="docusaurus_tag" content="docs-default-current"><meta data-rh="true" name="docsearch:version" content="current"><meta data-rh="true" name="docsearch:docusaurus_tag" content="docs-default-current"><meta data-rh="true" property="og:title" content="Template Files | Simple Scaffold"><meta data-rh="true" name="description" content="Put your template files anywhere, and fill them with tokens for replacement."><meta data-rh="true" property="og:description" content="Put your template files anywhere, and fill them with tokens for replacement."><link data-rh="true" rel="icon" href="/simple-scaffold/img/favicon.svg"><link data-rh="true" rel="canonical" href="https://chenasraf.github.io/simple-scaffold/docs/usage/templates"><link data-rh="true" rel="alternate" href="https://chenasraf.github.io/simple-scaffold/docs/usage/templates" hreflang="en"><link data-rh="true" rel="alternate" href="https://chenasraf.github.io/simple-scaffold/docs/usage/templates" hreflang="x-default"><link rel="preconnect" href="https://www.googletagmanager.com">
|
||||
<script>window.dataLayer=window.dataLayer||[]</script>
|
||||
<script>!function(e,t,a,n,g){e[n]=e[n]||[],e[n].push({"gtm.start":(new Date).getTime(),event:"gtm.js"});var m=t.getElementsByTagName(a)[0],r=t.createElement(a);r.async=!0,r.src="https://www.googletagmanager.com/gtm.js?id=GTM-KHQS9TQ",m.parentNode.insertBefore(r,m)}(window,document,"script","dataLayer")</script><link rel="stylesheet" href="/simple-scaffold/assets/css/styles.eed925c4.css">
|
||||
<script src="/simple-scaffold/assets/js/runtime~main.dd564d72.js" defer="defer"></script>
|
||||
<script src="/simple-scaffold/assets/js/runtime~main.90488c65.js" defer="defer"></script>
|
||||
<script src="/simple-scaffold/assets/js/main.501ecb4d.js" defer="defer"></script>
|
||||
</head>
|
||||
<body class="navigation-with-keyboard">
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title data-rh="true">Simple Scaffold | Simple Scaffold</title><meta data-rh="true" name="viewport" content="width=device-width,initial-scale=1"><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:image" content="https://chenasraf.github.io/simple-scaffold/img/docusaurus-social-card.jpg"><meta data-rh="true" name="twitter:image" content="https://chenasraf.github.io/simple-scaffold/img/docusaurus-social-card.jpg"><meta data-rh="true" property="og:url" content="https://chenasraf.github.io/simple-scaffold/"><meta data-rh="true" property="og:locale" content="en"><meta data-rh="true" name="docusaurus_locale" content="en"><meta data-rh="true" name="docusaurus_tag" content="default"><meta data-rh="true" name="docsearch:language" content="en"><meta data-rh="true" name="docsearch:docusaurus_tag" content="default"><meta data-rh="true" property="og:title" content="Simple Scaffold | Simple Scaffold"><meta data-rh="true" name="description" content="Description will go into a meta tag in <head />"><meta data-rh="true" property="og:description" content="Description will go into a meta tag in <head />"><link data-rh="true" rel="icon" href="/simple-scaffold/img/favicon.svg"><link data-rh="true" rel="canonical" href="https://chenasraf.github.io/simple-scaffold/"><link data-rh="true" rel="alternate" href="https://chenasraf.github.io/simple-scaffold/" hreflang="en"><link data-rh="true" rel="alternate" href="https://chenasraf.github.io/simple-scaffold/" hreflang="x-default"><script data-rh="true">function insertBanner(){var n=document.createElement("div");n.id="__docusaurus-base-url-issue-banner-container";n.innerHTML='\n<div id="__docusaurus-base-url-issue-banner" style="border: thick solid red; background-color: rgb(255, 230, 179); margin: 20px; padding: 20px; font-size: 20px;">\n <p style="font-weight: bold; font-size: 30px;">Your Docusaurus site did not load properly.</p>\n <p>A very common reason is a wrong site <a href="https://docusaurus.io/docs/docusaurus.config.js/#baseUrl" style="font-weight: bold;">baseUrl configuration</a>.</p>\n <p>Current configured baseUrl = <span style="font-weight: bold; color: red;">/simple-scaffold/</span> </p>\n <p>We suggest trying baseUrl = <span id="__docusaurus-base-url-issue-banner-suggestion-container" style="font-weight: bold; color: green;"></span></p>\n</div>\n',document.body.prepend(n);var e=document.getElementById("__docusaurus-base-url-issue-banner-suggestion-container"),s=window.location.pathname,o="/"===s.substr(-1)?s:s+"/";e.innerHTML=o}document.addEventListener("DOMContentLoaded",(function(){void 0===window.docusaurus&&insertBanner()}))</script><link rel="preconnect" href="https://www.googletagmanager.com">
|
||||
<script>window.dataLayer=window.dataLayer||[]</script>
|
||||
<script>!function(e,t,a,n,g){e[n]=e[n]||[],e[n].push({"gtm.start":(new Date).getTime(),event:"gtm.js"});var m=t.getElementsByTagName(a)[0],r=t.createElement(a);r.async=!0,r.src="https://www.googletagmanager.com/gtm.js?id=GTM-KHQS9TQ",m.parentNode.insertBefore(r,m)}(window,document,"script","dataLayer")</script><link rel="stylesheet" href="/simple-scaffold/assets/css/styles.eed925c4.css">
|
||||
<script src="/simple-scaffold/assets/js/runtime~main.dd564d72.js" defer="defer"></script>
|
||||
<script src="/simple-scaffold/assets/js/runtime~main.90488c65.js" defer="defer"></script>
|
||||
<script src="/simple-scaffold/assets/js/main.501ecb4d.js" defer="defer"></script>
|
||||
</head>
|
||||
<body class="navigation-with-keyboard">
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title data-rh="true">Markdown page example | Simple Scaffold</title><meta data-rh="true" name="viewport" content="width=device-width,initial-scale=1"><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:image" content="https://chenasraf.github.io/simple-scaffold/img/docusaurus-social-card.jpg"><meta data-rh="true" name="twitter:image" content="https://chenasraf.github.io/simple-scaffold/img/docusaurus-social-card.jpg"><meta data-rh="true" property="og:url" content="https://chenasraf.github.io/simple-scaffold/markdown-page"><meta data-rh="true" property="og:locale" content="en"><meta data-rh="true" name="docusaurus_locale" content="en"><meta data-rh="true" name="docusaurus_tag" content="default"><meta data-rh="true" name="docsearch:language" content="en"><meta data-rh="true" name="docsearch:docusaurus_tag" content="default"><meta data-rh="true" property="og:title" content="Markdown page example | Simple Scaffold"><meta data-rh="true" name="description" content="You don't need React to write simple standalone pages."><meta data-rh="true" property="og:description" content="You don't need React to write simple standalone pages."><link data-rh="true" rel="icon" href="/simple-scaffold/img/favicon.svg"><link data-rh="true" rel="canonical" href="https://chenasraf.github.io/simple-scaffold/markdown-page"><link data-rh="true" rel="alternate" href="https://chenasraf.github.io/simple-scaffold/markdown-page" hreflang="en"><link data-rh="true" rel="alternate" href="https://chenasraf.github.io/simple-scaffold/markdown-page" hreflang="x-default"><link rel="preconnect" href="https://www.googletagmanager.com">
|
||||
<script>window.dataLayer=window.dataLayer||[]</script>
|
||||
<script>!function(e,t,a,n,g){e[n]=e[n]||[],e[n].push({"gtm.start":(new Date).getTime(),event:"gtm.js"});var m=t.getElementsByTagName(a)[0],r=t.createElement(a);r.async=!0,r.src="https://www.googletagmanager.com/gtm.js?id=GTM-KHQS9TQ",m.parentNode.insertBefore(r,m)}(window,document,"script","dataLayer")</script><link rel="stylesheet" href="/simple-scaffold/assets/css/styles.eed925c4.css">
|
||||
<script src="/simple-scaffold/assets/js/runtime~main.dd564d72.js" defer="defer"></script>
|
||||
<script src="/simple-scaffold/assets/js/runtime~main.90488c65.js" defer="defer"></script>
|
||||
<script src="/simple-scaffold/assets/js/main.501ecb4d.js" defer="defer"></script>
|
||||
</head>
|
||||
<body class="navigation-with-keyboard">
|
||||
|
||||
Reference in New Issue
Block a user