@upstart.gg/sdk 0.0.68 → 0.0.69

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/dist/node/cli/api.js +1 -1
  2. package/dist/node/cli/commands/login/cmd-login.js +1 -1
  3. package/dist/node/cli/commands/publish/cmd-publish.js +6 -6
  4. package/dist/node/cli/commands/publish/uploader.js +1 -1
  5. package/dist/node/cli/is-logged-in.js +1 -1
  6. package/dist/node/cli/program.js +1 -1
  7. package/dist/node/metafile-esm.json +1 -1
  8. package/dist/node/shared/config.d.ts.map +1 -1
  9. package/dist/node/shared/config.js +2 -2
  10. package/dist/node/shared/logger.js +1 -1
  11. package/dist/shared/chunk-A3ACTIE3.js +3 -0
  12. package/dist/shared/chunk-V4SJKXET.js +3 -0
  13. package/dist/shared/datasources/external/meta/oauth/config.d.ts +5 -5
  14. package/dist/shared/datasources/external/meta/oauth/config.d.ts.map +1 -1
  15. package/dist/shared/datasources/external/meta/oauth/config.js +1 -1
  16. package/dist/shared/datasources/external/tiktok/oauth/config.d.ts +15 -5
  17. package/dist/shared/datasources/external/tiktok/oauth/config.d.ts.map +1 -1
  18. package/dist/shared/datasources/external/tiktok/oauth/config.js +1 -1
  19. package/dist/shared/datasources/external/youtube/oauth/config.d.ts +3 -3
  20. package/dist/shared/datasources/external/youtube/oauth/config.js +1 -1
  21. package/dist/shared/datasources/types.d.ts +19 -7
  22. package/dist/shared/datasources/types.d.ts.map +1 -1
  23. package/dist/shared/metafile-esm.json +1 -1
  24. package/dist/shared/oauth.d.ts +5 -4
  25. package/dist/shared/oauth.d.ts.map +1 -1
  26. package/dist/shared/oauth.js +3 -0
  27. package/dist/shared/page.d.ts +9 -3
  28. package/dist/shared/page.d.ts.map +1 -1
  29. package/dist/shared/page.js +1 -1
  30. package/dist/shared/theme.d.ts +13 -9
  31. package/dist/shared/theme.d.ts.map +1 -1
  32. package/dist/shared/theme.js +1 -1
  33. package/dist/shared/themes/all-themes.d.ts.map +1 -1
  34. package/dist/shared/utils/json-date.d.ts +5 -0
  35. package/dist/shared/utils/json-date.d.ts.map +1 -0
  36. package/package.json +1 -1
  37. package/dist/shared/chunk-4NZGINOT.js +0 -3
  38. package/dist/shared/chunk-HIXVR4RL.js +0 -3
@@ -1,4 +1,4 @@
1
1
  /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/enpage/enpage/blob/main/LICENSE */
2
2
 
3
- import{createLogger as E}from"vite";var g="0.0.68";import i from"chalk";function h(e,t,o=!1){let s=E(e==="debug"?"info":e,{prefix:"[enpage]",allowClearScreen:t});return o&&s.info(i.hex("#7270c6").bold(`\u{1F680} Enpage v${g}
3
+ import{createLogger as E}from"vite";var g="0.0.69";import i from"chalk";function h(e,t,o=!1){let s=E(e==="debug"?"info":e,{prefix:"[enpage]",allowClearScreen:t});return o&&s.info(i.hex("#7270c6").bold(`\u{1F680} Enpage v${g}
4
4
  `)),{...s,success:(r,n)=>s.info(i.green(r),n),error:(r,n)=>s.error(i.red(r),n),warn:(r,n)=>s.warn(i.yellow(r),n),warnOnce:(r,n)=>s.warnOnce(i.yellow(r),n),debug:(r,n)=>{e==="debug"&&s.info(i.gray(r),n)}}}var p=h();var m="enpage-cli";var I=process.env.PUBLIC_ENPAGE_OAUTH_CLIENT_ID??"50000000-0000-0000-0000-000000000001",u=process.env.PUBLIC_ENPAGE_API_BASE_URL??"https://api.enpage.co",b=process.env.PUBLIC_ENPAGE_FRONTEND_BASE_URL??"https://enpage.co";import T from"conf";import c from"node:path";import _ from"node:crypto";import a from"node:fs";import{fileURLToPath as L}from"node:url";import F from"chalk";var x=L(new URL(".",import.meta.url)),R=P(),d=new T({projectName:m,encryptionKey:R,clearInvalidConfig:!0});function O(){let e=x;for(;e!==c.parse(e).root;){let t=c.join(e,"node_modules");if(a.existsSync(t))return t;e=c.dirname(e)}return null}function P(){let e=O();if(!e)throw new Error("Could not find nearest node_modules directory.");let t=c.join(e,".enpage-tmp");a.existsSync(t)||a.mkdirSync(t,{recursive:!0,mode:448});let o=c.join(t,".enpage-key");if(!a.existsSync(o)){let r=_.randomBytes(32).toString("hex");return a.writeFileSync(o,r,{mode:384,flush:!0}),r}return a.readFileSync(o,"utf8")}async function J(e,t,o={}){d.get("access_token")&&(o.Authorization=`Bearer ${d.get("access_token")}`);let s=await fetch(l(e),{method:"POST",headers:{"Content-Type":t instanceof URLSearchParams?"application/x-www-form-urlencoded":"application/json",...o},body:t instanceof URLSearchParams?t:JSON.stringify(t)}).catch(r=>{p.error(`Fatal Error requesting API: ${r.message} (${r.cause.code})`),p.error("Please check your internet connection and try again, or retry later."),process.exit(1)});return y(s)}async function K(e,t={}){d.get("access_token")&&(t.Authorization=`Bearer ${d.get("access_token")}`);let o=await fetch(l(e),{headers:t,method:"GET"}).catch(s=>{p.error(`Fatal Error requesting API: ${s.message} (${s.cause.code})`),p.error("Please check your internet connection and try again, or retry later."),process.exit(1)});return y(o)}function l(e){let t=new URL(u.endsWith("/")?u:`${u}/`);return new URL(e,t)}async function y(e){let t=e.headers.get("content-type")?.startsWith("application/json")?await e.json():await e.text();return e.ok?{isSuccess:!0,isError:!1,status:e.status,statusText:e.statusText,data:t}:{isSuccess:!1,isError:!0,status:e.status,statusText:e.statusText,data:t}}export{K as get,J as post};
@@ -1,6 +1,6 @@
1
1
  /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/enpage/enpage/blob/main/LICENSE */
2
2
 
3
- import I from"chalk";import{confirm as b}from"@inquirer/prompts";import A from"open";var y="enpage-cli";var g=process.env.PUBLIC_ENPAGE_OAUTH_CLIENT_ID??"50000000-0000-0000-0000-000000000001",u=process.env.PUBLIC_ENPAGE_API_BASE_URL??"https://api.enpage.co",j=process.env.PUBLIC_ENPAGE_FRONTEND_BASE_URL??"https://enpage.co";var _="oauth/devicecode",E="oauth/token";import{createLogger as L}from"vite";var h="0.0.68";import i from"chalk";function x(r,e,n=!1){let o=L(r==="debug"?"info":r,{prefix:"[enpage]",allowClearScreen:e});return n&&o.info(i.hex("#7270c6").bold(`\u{1F680} Enpage v${h}
3
+ import I from"chalk";import{confirm as b}from"@inquirer/prompts";import A from"open";var y="enpage-cli";var g=process.env.PUBLIC_ENPAGE_OAUTH_CLIENT_ID??"50000000-0000-0000-0000-000000000001",u=process.env.PUBLIC_ENPAGE_API_BASE_URL??"https://api.enpage.co",j=process.env.PUBLIC_ENPAGE_FRONTEND_BASE_URL??"https://enpage.co";var _="oauth/devicecode",E="oauth/token";import{createLogger as L}from"vite";var h="0.0.69";import i from"chalk";function x(r,e,n=!1){let o=L(r==="debug"?"info":r,{prefix:"[enpage]",allowClearScreen:e});return n&&o.info(i.hex("#7270c6").bold(`\u{1F680} Enpage v${h}
4
4
  `)),{...o,success:(t,s)=>o.info(i.green(t),s),error:(t,s)=>o.error(i.red(t),s),warn:(t,s)=>o.warn(i.yellow(t),s),warnOnce:(t,s)=>o.warnOnce(i.yellow(t),s),debug:(t,s)=>{r==="debug"&&o.info(i.gray(t),s)}}}var m=x();import R from"conf";import c from"node:path";import O from"node:crypto";import a from"node:fs";import{fileURLToPath as v}from"node:url";import Q from"chalk";var w=v(new URL(".",import.meta.url)),k=C(),p=new R({projectName:y,encryptionKey:k,clearInvalidConfig:!0});function P(){let r=w;for(;r!==c.parse(r).root;){let e=c.join(r,"node_modules");if(a.existsSync(e))return e;r=c.dirname(r)}return null}function C(){let r=P();if(!r)throw new Error("Could not find nearest node_modules directory.");let e=c.join(r,".enpage-tmp");a.existsSync(e)||a.mkdirSync(e,{recursive:!0,mode:448});let n=c.join(e,".enpage-key");if(!a.existsSync(n)){let t=O.randomBytes(32).toString("hex");return a.writeFileSync(n,t,{mode:384,flush:!0}),t}return a.readFileSync(n,"utf8")}async function l(r,e,n={}){p.get("access_token")&&(n.Authorization=`Bearer ${p.get("access_token")}`);let o=await fetch(N(r),{method:"POST",headers:{"Content-Type":e instanceof URLSearchParams?"application/x-www-form-urlencoded":"application/json",...n},body:e instanceof URLSearchParams?e:JSON.stringify(e)}).catch(t=>{m.error(`Fatal Error requesting API: ${t.message} (${t.cause.code})`),m.error("Please check your internet connection and try again, or retry later."),process.exit(1)});return S(o)}function N(r){let e=new URL(u.endsWith("/")?u:`${u}/`);return new URL(r,e)}async function S(r){let e=r.headers.get("content-type")?.startsWith("application/json")?await r.json():await r.text();return r.ok?{isSuccess:!0,isError:!1,status:r.status,statusText:r.statusText,data:e}:{isSuccess:!1,isError:!0,status:r.status,statusText:r.statusText,data:e}}async function D(r,e){for(;;){let n=new URLSearchParams({grant_type:"device_code",device_code:r,client_id:g}),o=await l(E,n),{data:t,isSuccess:s}=o;if(s)return t;if(t.error==="authorization_pending")await new Promise(f=>setTimeout(f,5e3));else return e.error(`Error while polling for login: ${t.error_description??t.error}`),!1}}async function de({options:r,logger:e}){e.info(`Logging in to Enpage...
5
5
  `);let{isError:n,data:o}=await l(_,{client_id:g,scope:"profile,templates:publish"});n&&(e.error("Failed to get device code. Please try again."),e.error(`Error: ${o.error_description??o.error}`),process.exit(1));let{verification_uri:t,device_code:s}=o;await b({message:"Would you like to open the login page in your browser?",default:!0}).catch(U=>{process.exit(0)})?A(t):e.info(`
6
6
  Please visit the following URL to login:
@@ -1,20 +1,20 @@
1
1
  /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/enpage/enpage/blob/main/LICENSE */
2
2
 
3
- var ye=Object.defineProperty;var _=(e,t)=>()=>(e&&(t=e(e=0)),t);var he=(e,t)=>{for(var r in t)ye(e,r,{get:t[r],enumerable:!0})};function F(){let e;if(process.env.npm_config_user_agent){let t=process.env.npm_config_user_agent.split(" ")[0];e=t.slice(0,t.lastIndexOf("/"))}return e||(console.log("Warning: could not detect package manager"),e="npm"),e}function J(e){return`[${e.error}]${e.error_description?`: ${e.error_description}`:""}`}var q=_(()=>{"use strict"});var X,ft,x,yt,Y,K,V,R=_(()=>{"use strict";X="enpage-cli",ft=process.env.PUBLIC_ENPAGE_OAUTH_CLIENT_ID??"50000000-0000-0000-0000-000000000001",x=process.env.PUBLIC_ENPAGE_API_BASE_URL??"https://api.enpage.co",yt=process.env.PUBLIC_ENPAGE_FRONTEND_BASE_URL??"https://enpage.co",Y=10,K="oauth/userinfo",V="v1/templates"});import Se from"conf";import v from"node:path";import Ee from"node:crypto";import A from"node:fs";import{fileURLToPath as Te}from"node:url";import Pe from"chalk";function Q(){let e=y.get("access_token");if(!e){let t=F();throw new Error(`Access token not found. Please run ${Pe.cyan(`${t} run enpage:login`)} to authenticate.`)}return e}function be(){let e=xe;for(;e!==v.parse(e).root;){let t=v.join(e,"node_modules");if(A.existsSync(t))return t;e=v.dirname(e)}return null}function _e(){let e=be();if(!e)throw new Error("Could not find nearest node_modules directory.");let t=v.join(e,".enpage-tmp");A.existsSync(t)||A.mkdirSync(t,{recursive:!0,mode:448});let r=v.join(t,".enpage-key");if(!A.existsSync(r)){let n=Ee.randomBytes(32).toString("hex");return A.writeFileSync(r,n,{mode:384,flush:!0}),n}return A.readFileSync(r,"utf8")}var xe,we,y,G=_(()=>{"use strict";R();q();xe=Te(new URL(".",import.meta.url)),we=_e(),y=new Se({projectName:X,encryptionKey:we,clearInvalidConfig:!0})});var ee,Z=_(()=>{ee="0.0.68"});import{createLogger as Ae}from"vite";import O from"chalk";function Oe(e,t,r=!1){let o=Ae(e==="debug"?"info":e,{prefix:"[enpage]",allowClearScreen:t});return r&&o.info(O.hex("#7270c6").bold(`\u{1F680} Enpage v${ee}
4
- `)),{...o,success:(n,s)=>o.info(O.green(n),s),error:(n,s)=>o.error(O.red(n),s),warn:(n,s)=>o.warn(O.yellow(n),s),warnOnce:(n,s)=>o.warnOnce(O.yellow(n),s),debug:(n,s)=>{e==="debug"&&o.info(O.gray(n),s)}}}var g,M=_(()=>{"use strict";Z();g=Oe()});var se={};he(se,{get:()=>Ge,post:()=>N});async function N(e,t,r={}){y.get("access_token")&&(r.Authorization=`Bearer ${y.get("access_token")}`);let o=await fetch(oe(e),{method:"POST",headers:{"Content-Type":t instanceof URLSearchParams?"application/x-www-form-urlencoded":"application/json",...r},body:t instanceof URLSearchParams?t:JSON.stringify(t)}).catch(n=>{g.error(`Fatal Error requesting API: ${n.message} (${n.cause.code})`),g.error("Please check your internet connection and try again, or retry later."),process.exit(1)});return ne(o)}async function Ge(e,t={}){y.get("access_token")&&(t.Authorization=`Bearer ${y.get("access_token")}`);let r=await fetch(oe(e),{headers:t,method:"GET"}).catch(o=>{g.error(`Fatal Error requesting API: ${o.message} (${o.cause.code})`),g.error("Please check your internet connection and try again, or retry later."),process.exit(1)});return ne(r)}function oe(e){let t=new URL(x.endsWith("/")?x:`${x}/`);return new URL(e,t)}async function ne(e){let t=e.headers.get("content-type")?.startsWith("application/json")?await e.json():await e.text();return e.ok?{isSuccess:!0,isError:!1,status:e.status,statusText:e.statusText,data:t}:{isSuccess:!1,isError:!0,status:e.status,statusText:e.statusText,data:t}}var W=_(()=>{"use strict";M();R();G()});q();G();import{resolve as h}from"node:path";import{existsSync as D,readFileSync as ct,writeFileSync as lt}from"node:fs";import T from"chalk";R();M();import I from"node:path";import j from"node:fs";import Me from"node:crypto";import Be from"fast-glob";import ae from"node:http";import ze from"node:https";import{pipeline as We}from"node:stream";import ie from"chalk";import qe from"form-data";import*as B from"node:fs";var ke=/[<>"|?*\n\r\t\f\x00-\x1F]/,$e=/(?:^|\/)[*]{2}($|\/)/,Le=248,Ce=e=>e!==null&&typeof e=="object"&&!Array.isArray(e),Ue=e=>typeof e=="string"&&e.length<=Le&&!ke.test(e),ve=e=>e.split(/\r\n?|\n/);var Ne=e=>Ce(e)&&Array.isArray(e.patterns)&&Array.isArray(e.sections);var z=(e,t={})=>{let r=t.path;if(Ne(e))return e;Ue(e)&&B.existsSync(e)&&(r=e,e=B.readFileSync(e,"utf8"));let o=ve(e),n=new Map,s={sections:[],patterns:[]},p={name:"default",patterns:[]},i=null;for(let a of o){let c=a.trim();if(c.startsWith("#")){let[,d]=/^#+\s*(.*)\s*$/.exec(c)||[];if(i){n.delete(i.name),i.comment=i.comment?`${i.comment}
3
+ var ye=Object.defineProperty;var b=(e,t)=>()=>(e&&(t=e(e=0)),t);var he=(e,t)=>{for(var r in t)ye(e,r,{get:t[r],enumerable:!0})};function F(){let e;if(process.env.npm_config_user_agent){let t=process.env.npm_config_user_agent.split(" ")[0];e=t.slice(0,t.lastIndexOf("/"))}return e||(console.log("Warning: could not detect package manager"),e="npm"),e}function J(e){return`[${e.error}]${e.error_description?`: ${e.error_description}`:""}`}var q=b(()=>{"use strict"});var X,ft,x,yt,Y,K,V,R=b(()=>{"use strict";X="enpage-cli",ft=process.env.PUBLIC_ENPAGE_OAUTH_CLIENT_ID??"50000000-0000-0000-0000-000000000001",x=process.env.PUBLIC_ENPAGE_API_BASE_URL??"https://api.enpage.co",yt=process.env.PUBLIC_ENPAGE_FRONTEND_BASE_URL??"https://enpage.co",Y=10,K="oauth/userinfo",V="v1/templates"});import Se from"conf";import v from"node:path";import Ee from"node:crypto";import A from"node:fs";import{fileURLToPath as Te}from"node:url";import Pe from"chalk";function Q(){let e=y.get("access_token");if(!e){let t=F();throw new Error(`Access token not found. Please run ${Pe.cyan(`${t} run enpage:login`)} to authenticate.`)}return e}function _e(){let e=xe;for(;e!==v.parse(e).root;){let t=v.join(e,"node_modules");if(A.existsSync(t))return t;e=v.dirname(e)}return null}function be(){let e=_e();if(!e)throw new Error("Could not find nearest node_modules directory.");let t=v.join(e,".enpage-tmp");A.existsSync(t)||A.mkdirSync(t,{recursive:!0,mode:448});let r=v.join(t,".enpage-key");if(!A.existsSync(r)){let n=Ee.randomBytes(32).toString("hex");return A.writeFileSync(r,n,{mode:384,flush:!0}),n}return A.readFileSync(r,"utf8")}var xe,we,y,G=b(()=>{"use strict";R();q();xe=Te(new URL(".",import.meta.url)),we=be(),y=new Se({projectName:X,encryptionKey:we,clearInvalidConfig:!0})});var ee,Z=b(()=>{ee="0.0.69"});import{createLogger as Ae}from"vite";import O from"chalk";function Oe(e,t,r=!1){let o=Ae(e==="debug"?"info":e,{prefix:"[enpage]",allowClearScreen:t});return r&&o.info(O.hex("#7270c6").bold(`\u{1F680} Enpage v${ee}
4
+ `)),{...o,success:(n,s)=>o.info(O.green(n),s),error:(n,s)=>o.error(O.red(n),s),warn:(n,s)=>o.warn(O.yellow(n),s),warnOnce:(n,s)=>o.warnOnce(O.yellow(n),s),debug:(n,s)=>{e==="debug"&&o.info(O.gray(n),s)}}}var g,M=b(()=>{"use strict";Z();g=Oe()});var se={};he(se,{get:()=>Ge,post:()=>N});async function N(e,t,r={}){y.get("access_token")&&(r.Authorization=`Bearer ${y.get("access_token")}`);let o=await fetch(oe(e),{method:"POST",headers:{"Content-Type":t instanceof URLSearchParams?"application/x-www-form-urlencoded":"application/json",...r},body:t instanceof URLSearchParams?t:JSON.stringify(t)}).catch(n=>{g.error(`Fatal Error requesting API: ${n.message} (${n.cause.code})`),g.error("Please check your internet connection and try again, or retry later."),process.exit(1)});return ne(o)}async function Ge(e,t={}){y.get("access_token")&&(t.Authorization=`Bearer ${y.get("access_token")}`);let r=await fetch(oe(e),{headers:t,method:"GET"}).catch(o=>{g.error(`Fatal Error requesting API: ${o.message} (${o.cause.code})`),g.error("Please check your internet connection and try again, or retry later."),process.exit(1)});return ne(r)}function oe(e){let t=new URL(x.endsWith("/")?x:`${x}/`);return new URL(e,t)}async function ne(e){let t=e.headers.get("content-type")?.startsWith("application/json")?await e.json():await e.text();return e.ok?{isSuccess:!0,isError:!1,status:e.status,statusText:e.statusText,data:t}:{isSuccess:!1,isError:!0,status:e.status,statusText:e.statusText,data:t}}var W=b(()=>{"use strict";M();R();G()});q();G();import{resolve as h}from"node:path";import{existsSync as D,readFileSync as ct,writeFileSync as lt}from"node:fs";import T from"chalk";R();M();import I from"node:path";import j from"node:fs";import Me from"node:crypto";import Be from"fast-glob";import ae from"node:http";import ze from"node:https";import{pipeline as We}from"node:stream";import ie from"chalk";import qe from"form-data";import*as B from"node:fs";var ke=/[<>"|?*\n\r\t\f\x00-\x1F]/,$e=/(?:^|\/)[*]{2}($|\/)/,Le=248,Ce=e=>e!==null&&typeof e=="object"&&!Array.isArray(e),Ue=e=>typeof e=="string"&&e.length<=Le&&!ke.test(e),ve=e=>e.split(/\r\n?|\n/);var Ne=e=>Ce(e)&&Array.isArray(e.patterns)&&Array.isArray(e.sections);var z=(e,t={})=>{let r=t.path;if(Ne(e))return e;Ue(e)&&B.existsSync(e)&&(r=e,e=B.readFileSync(e,"utf8"));let o=ve(e),n=new Map,s={sections:[],patterns:[]},p={name:"default",patterns:[]},i=null;for(let a of o){let c=a.trim();if(c.startsWith("#")){let[,d]=/^#+\s*(.*)\s*$/.exec(c)||[];if(i){n.delete(i.name),i.comment=i.comment?`${i.comment}
5
5
  ${c}`:c,i.name=d?`${i.name.trim()}
6
6
  ${d.trim()}`:i.name.trim(),n.set(i.name.toLowerCase().trim(),i);continue}p={name:d?.trim()||"",comment:c,patterns:[]},n.set(p.name.toLowerCase(),p),s.sections.push(p),i=p;continue}c!==""&&(p.patterns.push(c),s.patterns.push(c)),i=null}return(t.dedupe===!0||t.unique===!0)&&(s=te(s,{...t,format:!1})),s.path=r,s.input=Buffer.from(e),s.format=a=>Fe(s,{...t,...a}),s.dedupe=a=>te(s,{...t,...a}),s.globs=a=>je(s,{path:r,...t,...a}),s};var te=(e,t)=>{let r=z(e,{...t,dedupe:!1}),o=new Map,n={sections:[],patterns:[]},s;for(let p of r.sections){let{name:i="",comment:a,patterns:c}=p,d=i.trim().toLowerCase();for(let f of c)n.patterns.includes(f)||n.patterns.push(f);i&&o.has(d)?(s=o.get(d),s.patterns=[...s.patterns,...c]):(s={name:i,comment:a,patterns:c},n.sections.push(s),o.set(d,s))}for(let p of n.sections)p.patterns=[...new Set(p.patterns)];return n},Ie=e=>{if($e.test(e))return e;let t=!1;return e.startsWith("/")?(e=e.slice(1),t=!0):e.slice(1,e.length-1).includes("/")&&(t=!0),e+=e.endsWith("/")?"**/":"/**",t?e:`**/${e}`},je=(e,t={})=>{let r=z(e,t),o=[],n=0,s=r.patterns.concat(t.ignore||[]).concat((t.unignore||[]).map(i=>i.startsWith("!")?i:`!${i}`)),p=(i,a)=>{let c=o[o.length-1],d=i?"unignore":"ignore";c&&c.type===d?c.patterns.includes(a)||c.patterns.push(a):(o.push({type:d,path:t.path||null,patterns:[a],index:n}),n++)};for(let i of s){let a="";i.startsWith("!")&&(i=i.slice(1),a="!"),p(a,i.startsWith("/")?i.slice(1):i),p(a,Ie(i))}return o},De=(e={name:"",patterns:[]})=>{let t=[e.comment||""];return e.patterns?.length&&(t.push(e.patterns.join(`
7
7
  `)),t.push("")),t.join(`
8
8
  `)},Fe=(e,t={})=>{let r=z(e,t),o=t.formatSection||De,n=r.sections||r,s=[];for(let p of[].concat(n))s.push(o(p));return s.join(`
9
- `)};var re=z;W();import He from"p-queue";import Je from"ora";import{customAlphabet as Xe}from"nanoid";var k=class extends Error{constructor(r,o,n){super(`${r}: ${o}`);this.error=r;this.error_description=o;this.filename=n;this.name="UploadError"}},Ye={maxDataSize:12*1024*1024,retryAttempts:2,retryDelay:1e3},Ke=new ae.Agent({keepAlive:!0,maxSockets:10,keepAliveMsecs:3e3});async function Ve(e){let t=I.join(e,".gitignore"),o=j.existsSync(t)?re(j.readFileSync(t,"utf-8")).patterns:[];return Be("**/*",{cwd:e,onlyFiles:!0,dot:!0,absolute:!0,ignore:["node_modules/**",".cache/**","**/.DS_Store",".gitignore",".env",".env.*",".git/**","dist/**",...o]})}async function Qe(e,t,r,o,n,s,p){let i=async a=>{try{return await Ze(e,t,r,o,n,s,p)}catch(c){if(a<p.retryAttempts)return g.warn(`Retrying upload for ${t} (attempt ${a+1})`),await new Promise(d=>setTimeout(d,p.retryDelay)),i(a+1);throw c}};return i(0)}async function Ze(e,t,r,o,n,s,p){return new Promise((i,a)=>{let c=j.statSync(e),d=I.basename(e),f=Date.now(),S=new qe({maxDataSize:p.maxDataSize}),$=j.createReadStream(e),L=0,w=l=>{L+=l.length};$.on("data",w),S.append("file",$,{filename:d,knownLength:c.size});let b={agent:Ke,method:"POST",headers:{authorization:`Bearer ${s}`,"x-enpage-template-file-path":t,"x-enpage-template-id":o,...S.getHeaders()}},P=(r.startsWith("https")?ze:ae).request(r,b,l=>{let E="";l.on("data",C=>{E+=C}),l.on("end",()=>{let C=Date.now(),fe={fileName:d,fileSize:c.size,uploadDuration:C-f,statusCode:l.statusCode??0,serverResponse:E};if(l.statusCode&&l.statusCode>=200&&l.statusCode<300)n.text=`Uploaded ${t}`,i(fe);else{let U;if(l.headers["content-type"]?.startsWith("application/json")){let H=JSON.parse(E);U=new k(H.error||"unknown_error",H.error_description||"Unknown error occurred",t)}else U=new k("unknown_error",E||"Unknown error occurred",t);n.fail(`Failed to upload ${t} [${U.error}] ${U.error_description}`),a(U)}})});P.on("error",l=>{a(new k("request_error",l.message,t))}),We(S,P,l=>{l&&a(new k("pipeline_error",`Pipeline failed for ${d}: ${l.message}`,t))})})}function et(e,t,r){r.length>0?(g.error(ie.red(`Failed to upload ${r.length} files:`)),r.forEach(o=>{let n=o.reason;g.error(`- ${n.filename}: ${n.error_description} (${n.error})`)})):g.info(ie.green(`Uploaded ${t.length} files successfully for template ${e}.
9
+ `)};var re=z;W();import He from"p-queue";import Je from"ora";import{customAlphabet as Xe}from"nanoid";var k=class extends Error{constructor(r,o,n){super(`${r}: ${o}`);this.error=r;this.error_description=o;this.filename=n;this.name="UploadError"}},Ye={maxDataSize:12*1024*1024,retryAttempts:2,retryDelay:1e3},Ke=new ae.Agent({keepAlive:!0,maxSockets:10,keepAliveMsecs:3e3});async function Ve(e){let t=I.join(e,".gitignore"),o=j.existsSync(t)?re(j.readFileSync(t,"utf-8")).patterns:[];return Be("**/*",{cwd:e,onlyFiles:!0,dot:!0,absolute:!0,ignore:["node_modules/**",".cache/**","**/.DS_Store",".gitignore",".env",".env.*",".git/**","dist/**",...o]})}async function Qe(e,t,r,o,n,s,p){let i=async a=>{try{return await Ze(e,t,r,o,n,s,p)}catch(c){if(a<p.retryAttempts)return g.warn(`Retrying upload for ${t} (attempt ${a+1})`),await new Promise(d=>setTimeout(d,p.retryDelay)),i(a+1);throw c}};return i(0)}async function Ze(e,t,r,o,n,s,p){return new Promise((i,a)=>{let c=j.statSync(e),d=I.basename(e),f=Date.now(),S=new qe({maxDataSize:p.maxDataSize}),$=j.createReadStream(e),L=0,w=l=>{L+=l.length};$.on("data",w),S.append("file",$,{filename:d,knownLength:c.size});let _={agent:Ke,method:"POST",headers:{authorization:`Bearer ${s}`,"x-enpage-template-file-path":t,"x-enpage-template-id":o,...S.getHeaders()}},P=(r.startsWith("https")?ze:ae).request(r,_,l=>{let E="";l.on("data",C=>{E+=C}),l.on("end",()=>{let C=Date.now(),fe={fileName:d,fileSize:c.size,uploadDuration:C-f,statusCode:l.statusCode??0,serverResponse:E};if(l.statusCode&&l.statusCode>=200&&l.statusCode<300)n.text=`Uploaded ${t}`,i(fe);else{let U;if(l.headers["content-type"]?.startsWith("application/json")){let H=JSON.parse(E);U=new k(H.error||"unknown_error",H.error_description||"Unknown error occurred",t)}else U=new k("unknown_error",E||"Unknown error occurred",t);n.fail(`Failed to upload ${t} [${U.error}] ${U.error_description}`),a(U)}})});P.on("error",l=>{a(new k("request_error",l.message,t))}),We(S,P,l=>{l&&a(new k("pipeline_error",`Pipeline failed for ${d}: ${l.message}`,t))})})}function et(e,t,r){r.length>0?(g.error(ie.red(`Failed to upload ${r.length} files:`)),r.forEach(o=>{let n=o.reason;g.error(`- ${n.filename}: ${n.error_description} (${n.error})`)})):g.info(ie.green(`Uploaded ${t.length} files successfully for template ${e}.
10
10
  `))}async function pe(e,t,r,o=!1,n={}){let s={...Ye,...n},p=new He({concurrency:Y}),i=await Ve(t),a=i.length,c={},d=rt(),f=0;for(let m of i){let P=I.relative(t,m),l=await tt(m);c[P]=l}o&&(g.info(`Dry run mode enabled. Skipping upload.
11
- `),g.info("The following files would have been uploaded:"),i.forEach(m=>g.info(`- ${m}`)),process.exit(0));let S=Je(`Uploading ${a} files...`).start(),$=i.map(m=>{let P=I.resolve(t,m),l=I.relative(t,m),E=`${x}/v1/templates/${e}/upload/${d}`;return p.add(async()=>{let C=await Qe(P,l,E,e,S,r,s);return f++,C})}),L=await Promise.allSettled($);S.stop();let w=L.filter(m=>m.status==="fulfilled"),b=L.filter(m=>m.status==="rejected");if(et(e,w.map(m=>m.value),b),!b.length&&w.length){let m=`${x}/v1/templates/${e}/upload/${d}/finalize`,l=await N(m,{signatures:c});if(l.isError)return g.error(`Failed to finalize upload: ${l.data.error_description} (${l.data.error})`),{filesCount:a,uploadedFiles:w.map(E=>E.value),failedFiles:[],success:!1}}return{filesCount:a,uploadedFiles:w.map(m=>m.value),failedFiles:b,success:b.length===0}}async function tt(e){let t=await Me.subtle.digest("SHA-1",j.readFileSync(e));return Array.from(new Uint8Array(t)).map(r=>r.toString(16).padStart(2,"0")).join("")}function rt(){let e=Xe("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",5),t=new Date,r=t.getUTCFullYear(),o=(t.getUTCMonth()+1).toString().padStart(2,"0"),n=t.getUTCDate().toString().padStart(2,"0"),s=t.getUTCHours().toString().padStart(2,"0"),p=t.getUTCMinutes().toString().padStart(2,"0"),i=t.getUTCSeconds().toString().padStart(2,"0");return`${r}${o}${n}${s}${p}${i}_${e()}`}W();R();import ge from"node:path";import{Type as u}from"@sinclair/typebox";var ce=u.Object({id:u.Optional(u.String({title:"Template ID",description:"A unique identifier for the template. Can be any string, but should be unique."})),name:u.String({title:"Template Name"}),description:u.Optional(u.String({title:"Show template description"})),readme:u.Optional(u.Record(u.RegExp(/^[a-z]{2}$/),u.String(),{title:"Readme texts.",description:"A dictionary of readme files for different languages (iso 2 letters code). Currently on supported for 'en' and 'fr'."})),tags:u.Optional(u.Array(u.String(),{title:"Tags"})),author:u.Optional(u.String({title:"Author name"})),thumbnail:u.Optional(u.String({title:"Thumbnail",description:"A URL to the thumbnail image for the template."})),homepage:u.Optional(u.String({title:"Homepage",description:"A URL to the homepage of the template."}))});M();import ot from"node:fs";import{readFile as nt}from"node:fs/promises";import st from"fast-glob";import{fromError as it}from"zod-validation-error";import{basename as le,dirname as at,extname as pt}from"node:path";async function de(e,t=g){ot.existsSync(e)||(t.error(`\u{1F534} No enpage.config.js found!
11
+ `),g.info("The following files would have been uploaded:"),i.forEach(m=>g.info(`- ${m}`)),process.exit(0));let S=Je(`Uploading ${a} files...`).start(),$=i.map(m=>{let P=I.resolve(t,m),l=I.relative(t,m),E=`${x}/v1/templates/${e}/upload/${d}`;return p.add(async()=>{let C=await Qe(P,l,E,e,S,r,s);return f++,C})}),L=await Promise.allSettled($);S.stop();let w=L.filter(m=>m.status==="fulfilled"),_=L.filter(m=>m.status==="rejected");if(et(e,w.map(m=>m.value),_),!_.length&&w.length){let m=`${x}/v1/templates/${e}/upload/${d}/finalize`,l=await N(m,{signatures:c});if(l.isError)return g.error(`Failed to finalize upload: ${l.data.error_description} (${l.data.error})`),{filesCount:a,uploadedFiles:w.map(E=>E.value),failedFiles:[],success:!1}}return{filesCount:a,uploadedFiles:w.map(m=>m.value),failedFiles:_,success:_.length===0}}async function tt(e){let t=await Me.subtle.digest("SHA-1",j.readFileSync(e));return Array.from(new Uint8Array(t)).map(r=>r.toString(16).padStart(2,"0")).join("")}function rt(){let e=Xe("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",5),t=new Date,r=t.getUTCFullYear(),o=(t.getUTCMonth()+1).toString().padStart(2,"0"),n=t.getUTCDate().toString().padStart(2,"0"),s=t.getUTCHours().toString().padStart(2,"0"),p=t.getUTCMinutes().toString().padStart(2,"0"),i=t.getUTCSeconds().toString().padStart(2,"0");return`${r}${o}${n}${s}${p}${i}_${e()}`}W();R();import ge from"node:path";import{Type as u}from"@sinclair/typebox";var ce=u.Object({id:u.Optional(u.String({title:"Template ID",description:"A unique identifier for the template. Can be any string, but should be unique."})),name:u.String({title:"Template Name"}),description:u.Optional(u.String({title:"Show template description"})),readme:u.Optional(u.Record(u.RegExp(/^[a-z]{2}$/),u.String(),{title:"Readme texts.",description:"A dictionary of readme files for different languages (iso 2 letters code). Currently on supported for 'en' and 'fr'."})),tags:u.Optional(u.Array(u.String(),{title:"Tags"})),author:u.Optional(u.String({title:"Author name"})),thumbnail:u.Optional(u.String({title:"Thumbnail",description:"A URL to the thumbnail image for the template."})),homepage:u.Optional(u.String({title:"Homepage",description:"A URL to the homepage of the template."}))});M();import ot from"node:fs";import{readFile as nt}from"node:fs/promises";import st from"fast-glob";import{fromError as it}from"zod-validation-error";import{basename as le,dirname as at,extname as pt}from"node:path";async function de(e,t=g){ot.existsSync(e)||(t.error(`\u{1F534} No enpage.config.js found!
12
12
  Your project must have an enpage.config.js file in the root directory.
13
13
 
14
14
  `),process.exit(1));let r=await import(e),o=at(e),n={},s=await st(["README.enpage.md","README.enpage.*.md"],{cwd:o,onlyFiles:!0,absolute:!0,caseSensitiveMatch:!1});for(let p of s){let i=le(p,".md"),a=pt(i),c=(a===".enpage"?"en":a.substring(1)).toLowerCase();t.debug(`Found template readme file (${c}): ${le(p)}`),n[c]=await nt(p,"utf-8")}return r.manifest.readme=n,r}function ue(e,t){for(let o in e.datasources)if(e.datasources[o].provider==="json"&&!e.datasources[o].sampleData)throw t.error(`\u{1F534} Error: Datasource "${o}" is missing sample data - nothing will be rendered during development! Please check your enpage.config.js file and add a "sampleData" key to your ${o} datasource.`),new Error(`Missing sample data for datasource "${o}"`);let r=ce.safeParse(e.manifest);if(!r.success){t.error(`\u{1F534} Error: template manifest is invalid. Check your call to defineManifest().
15
15
  `);let o=it(r.error);t.error(`Hint: ${o.toString()}
16
16
 
17
- `),process.exit(1)}return e}R();G();async function me(e=!1){let t=y.get("access_token"),r=y.get("expires_at");if(!t)return!1;if(r&&r<Date.now())return console.log("Seems like your token expired..."),!1;if(!e)return!0;let{get:o}=await Promise.resolve().then(()=>(W(),se)),{isSuccess:n}=await o(K);return n}async function br({options:e,args:t,logger:r}){if(!await me(!0)){let f=F();r.error(` ${T.redBright("Error")}: User token not found. Please run ${T.cyan(`${f} run enpage:login`)} to authenticate or set the ${T.cyan("ENPAGE_API_TOKEN")} environment variable.
17
+ `),process.exit(1)}return e}R();G();async function me(e=!1){let t=y.get("access_token"),r=y.get("expires_at");if(!t)return!1;if(r&&r<Date.now())return console.log("Seems like your token expired..."),!1;if(!e)return!0;let{get:o}=await Promise.resolve().then(()=>(W(),se)),{isSuccess:n}=await o(K);return n}async function _r({options:e,args:t,logger:r}){if(!await me(!0)){let f=F();r.error(` ${T.redBright("Error")}: User token not found. Please run ${T.cyan(`${f} run enpage:login`)} to authenticate or set the ${T.cyan("ENPAGE_API_TOKEN")} environment variable.
18
18
  `),process.exit(1)}let o=t.length?ge.isAbsolute(t[0])?t[0]:h(process.cwd(),t[0]):process.cwd();D(o)||(r.error(` Template directory not found: ${o}. Aborting.
19
19
  `),process.exit(1));let n=t.length>1?ge.isAbsolute(t[1])?t[1]:h(process.cwd(),t[1]):h(o,"dist");D(n)||(r.error(` Dist directory not found: ${n}.
20
20
  Please run 'build' before publishing. Aborting.
@@ -27,7 +27,7 @@ Your project must have an enpage.config.js file in the root directory.
27
27
  `),(await pe(c,o,p,e.dryRun)).success||(r.error(`
28
28
  Upload failed. See details above.
29
29
  `),process.exit(1)),r.success(`Template ${c} published.
30
- `)}function dt(e){return D(h(e,"package.json"))?h(e,"package.json"):D(h(e,"template-package.json"))?h(e,"template-package.json"):!1}function ut(e){try{return JSON.parse(ct(e,"utf-8"))}catch{return null}}export{br as publish};
30
+ `)}function dt(e){return D(h(e,"package.json"))?h(e,"package.json"):D(h(e,"template-package.json"))?h(e,"template-package.json"):!1}function ut(e){try{return JSON.parse(ct(e,"utf-8"))}catch{return null}}export{_r as publish};
31
31
  /*!
32
32
  * parse-gitignore <https://github.com/jonschlinkert/parse-gitignore>
33
33
  * Copyright (c) 2015-present, Jon Schlinkert.
@@ -1,6 +1,6 @@
1
1
  /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/enpage/enpage/blob/main/LICENSE */
2
2
 
3
- import L from"node:path";import U from"node:fs";import ge from"node:crypto";import me from"fast-glob";var N="enpage-cli";var Oe=process.env.PUBLIC_ENPAGE_OAUTH_CLIENT_ID??"50000000-0000-0000-0000-000000000001",y=process.env.PUBLIC_ENPAGE_API_BASE_URL??"https://api.enpage.co",Ae=process.env.PUBLIC_ENPAGE_FRONTEND_BASE_URL??"https://enpage.co",I=10;import B from"node:http";import fe from"node:https";import{pipeline as ye}from"node:stream";import{createLogger as q}from"vite";var D="0.0.68";import _ from"chalk";function H(e,t,n=!1){let i=q(e==="debug"?"info":e,{prefix:"[enpage]",allowClearScreen:t});return n&&i.info(_.hex("#7270c6").bold(`\u{1F680} Enpage v${D}
3
+ import L from"node:path";import U from"node:fs";import ge from"node:crypto";import me from"fast-glob";var N="enpage-cli";var Oe=process.env.PUBLIC_ENPAGE_OAUTH_CLIENT_ID??"50000000-0000-0000-0000-000000000001",y=process.env.PUBLIC_ENPAGE_API_BASE_URL??"https://api.enpage.co",Ae=process.env.PUBLIC_ENPAGE_FRONTEND_BASE_URL??"https://enpage.co",I=10;import B from"node:http";import fe from"node:https";import{pipeline as ye}from"node:stream";import{createLogger as q}from"vite";var D="0.0.69";import _ from"chalk";function H(e,t,n=!1){let i=q(e==="debug"?"info":e,{prefix:"[enpage]",allowClearScreen:t});return n&&i.info(_.hex("#7270c6").bold(`\u{1F680} Enpage v${D}
4
4
  `)),{...i,success:(r,s)=>i.info(_.green(r),s),error:(r,s)=>i.error(_.red(r),s),warn:(r,s)=>i.warn(_.yellow(r),s),warnOnce:(r,s)=>i.warnOnce(_.yellow(r),s),debug:(r,s)=>{e==="debug"&&i.info(_.gray(r),s)}}}var g=H();import z from"chalk";import he from"form-data";import*as C from"node:fs";var X=/[<>"|?*\n\r\t\f\x00-\x1F]/,J=/(?:^|\/)[*]{2}($|\/)/,V=248,K=e=>e!==null&&typeof e=="object"&&!Array.isArray(e),Y=e=>typeof e=="string"&&e.length<=V&&!X.test(e),Q=e=>e.split(/\r\n?|\n/);var Z=e=>K(e)&&Array.isArray(e.patterns)&&Array.isArray(e.sections);var $=(e,t={})=>{let n=t.path;if(Z(e))return e;Y(e)&&C.existsSync(e)&&(n=e,e=C.readFileSync(e,"utf8"));let i=Q(e),r=new Map,s={sections:[],patterns:[]},c={name:"default",patterns:[]},o=null;for(let a of i){let p=a.trim();if(p.startsWith("#")){let[,u]=/^#+\s*(.*)\s*$/.exec(p)||[];if(o){r.delete(o.name),o.comment=o.comment?`${o.comment}
5
5
  ${p}`:p,o.name=u?`${o.name.trim()}
6
6
  ${u.trim()}`:o.name.trim(),r.set(o.name.toLowerCase().trim(),o);continue}c={name:u?.trim()||"",comment:p,patterns:[]},r.set(c.name.toLowerCase(),c),s.sections.push(c),o=c;continue}p!==""&&(c.patterns.push(p),s.patterns.push(p)),o=null}return(t.dedupe===!0||t.unique===!0)&&(s=G(s,{...t,format:!1})),s.path=n,s.input=Buffer.from(e),s.format=a=>se(s,{...t,...a}),s.dedupe=a=>G(s,{...t,...a}),s.globs=a=>te(s,{path:n,...t,...a}),s};var G=(e,t)=>{let n=$(e,{...t,dedupe:!1}),i=new Map,r={sections:[],patterns:[]},s;for(let c of n.sections){let{name:o="",comment:a,patterns:p}=c,u=o.trim().toLowerCase();for(let h of p)r.patterns.includes(h)||r.patterns.push(h);o&&i.has(u)?(s=i.get(u),s.patterns=[...s.patterns,...p]):(s={name:o,comment:a,patterns:p},r.sections.push(s),i.set(u,s))}for(let c of r.sections)c.patterns=[...new Set(c.patterns)];return r},ee=e=>{if(J.test(e))return e;let t=!1;return e.startsWith("/")?(e=e.slice(1),t=!0):e.slice(1,e.length-1).includes("/")&&(t=!0),e+=e.endsWith("/")?"**/":"/**",t?e:`**/${e}`},te=(e,t={})=>{let n=$(e,t),i=[],r=0,s=n.patterns.concat(t.ignore||[]).concat((t.unignore||[]).map(o=>o.startsWith("!")?o:`!${o}`)),c=(o,a)=>{let p=i[i.length-1],u=o?"unignore":"ignore";p&&p.type===u?p.patterns.includes(a)||p.patterns.push(a):(i.push({type:u,path:t.path||null,patterns:[a],index:r}),r++)};for(let o of s){let a="";o.startsWith("!")&&(o=o.slice(1),a="!"),c(a,o.startsWith("/")?o.slice(1):o),c(a,ee(o))}return i},re=(e={name:"",patterns:[]})=>{let t=[e.comment||""];return e.patterns?.length&&(t.push(e.patterns.join(`
@@ -1,4 +1,4 @@
1
1
  /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/enpage/enpage/blob/main/LICENSE */
2
2
 
3
- var O=Object.defineProperty;var p=(e,t)=>()=>(e&&(t=e(e=0)),t);var S=(e,t)=>{for(var s in t)O(e,s,{get:t[s],enumerable:!0})};var y,F,g,M,f,m=p(()=>{"use strict";y="enpage-cli",F=process.env.PUBLIC_ENPAGE_OAUTH_CLIENT_ID??"50000000-0000-0000-0000-000000000001",g=process.env.PUBLIC_ENPAGE_API_BASE_URL??"https://api.enpage.co",M=process.env.PUBLIC_ENPAGE_FRONTEND_BASE_URL??"https://enpage.co",f="oauth/userinfo"});import N from"conf";import u from"node:path";import P from"node:crypto";import a from"node:fs";import{fileURLToPath as k}from"node:url";import X from"chalk";function I(){let e=v;for(;e!==u.parse(e).root;){let t=u.join(e,"node_modules");if(a.existsSync(t))return t;e=u.dirname(e)}return null}function b(){let e=I();if(!e)throw new Error("Could not find nearest node_modules directory.");let t=u.join(e,".enpage-tmp");a.existsSync(t)||a.mkdirSync(t,{recursive:!0,mode:448});let s=u.join(t,".enpage-key");if(!a.existsSync(s)){let r=P.randomBytes(32).toString("hex");return a.writeFileSync(s,r,{mode:384,flush:!0}),r}return a.readFileSync(s,"utf8")}var v,w,i,l=p(()=>{"use strict";m();v=k(new URL(".",import.meta.url)),w=b(),i=new N({projectName:y,encryptionKey:w,clearInvalidConfig:!0})});var h,E=p(()=>{h="0.0.68"});import{createLogger as U}from"vite";import c from"chalk";function C(e,t,s=!1){let o=U(e==="debug"?"info":e,{prefix:"[enpage]",allowClearScreen:t});return s&&o.info(c.hex("#7270c6").bold(`\u{1F680} Enpage v${h}
3
+ var O=Object.defineProperty;var p=(e,t)=>()=>(e&&(t=e(e=0)),t);var S=(e,t)=>{for(var s in t)O(e,s,{get:t[s],enumerable:!0})};var y,F,g,M,f,m=p(()=>{"use strict";y="enpage-cli",F=process.env.PUBLIC_ENPAGE_OAUTH_CLIENT_ID??"50000000-0000-0000-0000-000000000001",g=process.env.PUBLIC_ENPAGE_API_BASE_URL??"https://api.enpage.co",M=process.env.PUBLIC_ENPAGE_FRONTEND_BASE_URL??"https://enpage.co",f="oauth/userinfo"});import N from"conf";import u from"node:path";import P from"node:crypto";import a from"node:fs";import{fileURLToPath as k}from"node:url";import X from"chalk";function I(){let e=v;for(;e!==u.parse(e).root;){let t=u.join(e,"node_modules");if(a.existsSync(t))return t;e=u.dirname(e)}return null}function b(){let e=I();if(!e)throw new Error("Could not find nearest node_modules directory.");let t=u.join(e,".enpage-tmp");a.existsSync(t)||a.mkdirSync(t,{recursive:!0,mode:448});let s=u.join(t,".enpage-key");if(!a.existsSync(s)){let r=P.randomBytes(32).toString("hex");return a.writeFileSync(s,r,{mode:384,flush:!0}),r}return a.readFileSync(s,"utf8")}var v,w,i,l=p(()=>{"use strict";m();v=k(new URL(".",import.meta.url)),w=b(),i=new N({projectName:y,encryptionKey:w,clearInvalidConfig:!0})});var h,E=p(()=>{h="0.0.69"});import{createLogger as U}from"vite";import c from"chalk";function C(e,t,s=!1){let o=U(e==="debug"?"info":e,{prefix:"[enpage]",allowClearScreen:t});return s&&o.info(c.hex("#7270c6").bold(`\u{1F680} Enpage v${h}
4
4
  `)),{...o,success:(r,n)=>o.info(c.green(r),n),error:(r,n)=>o.error(c.red(r),n),warn:(r,n)=>o.warn(c.yellow(r),n),warnOnce:(r,n)=>o.warnOnce(c.yellow(r),n),debug:(r,n)=>{e==="debug"&&o.info(c.gray(r),n)}}}var d,_=p(()=>{"use strict";E();d=C()});var x={};S(x,{get:()=>j,post:()=>D});async function D(e,t,s={}){i.get("access_token")&&(s.Authorization=`Bearer ${i.get("access_token")}`);let o=await fetch(T(e),{method:"POST",headers:{"Content-Type":t instanceof URLSearchParams?"application/x-www-form-urlencoded":"application/json",...s},body:t instanceof URLSearchParams?t:JSON.stringify(t)}).catch(r=>{d.error(`Fatal Error requesting API: ${r.message} (${r.cause.code})`),d.error("Please check your internet connection and try again, or retry later."),process.exit(1)});return L(o)}async function j(e,t={}){i.get("access_token")&&(t.Authorization=`Bearer ${i.get("access_token")}`);let s=await fetch(T(e),{headers:t,method:"GET"}).catch(o=>{d.error(`Fatal Error requesting API: ${o.message} (${o.cause.code})`),d.error("Please check your internet connection and try again, or retry later."),process.exit(1)});return L(s)}function T(e){let t=new URL(g.endsWith("/")?g:`${g}/`);return new URL(e,t)}async function L(e){let t=e.headers.get("content-type")?.startsWith("application/json")?await e.json():await e.text();return e.ok?{isSuccess:!0,isError:!1,status:e.status,statusText:e.statusText,data:t}:{isSuccess:!1,isError:!0,status:e.status,statusText:e.statusText,data:t}}var R=p(()=>{"use strict";_();m();l()});m();l();async function ce(e=!1){let t=i.get("access_token"),s=i.get("expires_at");if(!t)return!1;if(s&&s<Date.now())return console.log("Seems like your token expired..."),!1;if(!e)return!0;let{get:o}=await Promise.resolve().then(()=>(R(),x)),{isSuccess:r}=await o(f);return r}export{ce as isLoggedIn};
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/enpage/enpage/blob/main/LICENSE */
3
3
 
4
- var Ur=Object.create;var ze=Object.defineProperty;var $r=Object.getOwnPropertyDescriptor;var Wr=Object.getOwnPropertyNames;var Br=Object.getPrototypeOf,zr=Object.prototype.hasOwnProperty;var pt=(i,t)=>()=>(i&&(t=i(i=0)),t);var _s=(i,t)=>()=>(t||i((t={exports:{}}).exports,t),t.exports),Gr=(i,t)=>{for(var e in t)ze(i,e,{get:t[e],enumerable:!0})},Hr=(i,t,e,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of Wr(t))!zr.call(i,r)&&r!==e&&ze(i,r,{get:()=>t[r],enumerable:!(s=$r(t,r))||s.enumerable});return i};var qr=(i,t,e)=>(e=i!=null?Ur(Br(i)):{},Hr(t||!i||!i.__esModule?ze(e,"default",{value:i,enumerable:!0}):e,i));function ae(){let i;if(process.env.npm_config_user_agent){let t=process.env.npm_config_user_agent.split(" ")[0];i=t.slice(0,t.lastIndexOf("/"))}return i||(console.log("Warning: could not detect package manager"),i="npm"),i}function ks(i){return`[${i.error}]${i.error_description?`: ${i.error_description}`:""}`}var Ge=pt(()=>{"use strict"});var Ns,He,lt,Ec,Ds,Ps,Ls,Fs,Ms,ft=pt(()=>{"use strict";Ns="enpage-cli",He=process.env.PUBLIC_ENPAGE_OAUTH_CLIENT_ID??"50000000-0000-0000-0000-000000000001",lt=process.env.PUBLIC_ENPAGE_API_BASE_URL??"https://api.enpage.co",Ec=process.env.PUBLIC_ENPAGE_FRONTEND_BASE_URL??"https://enpage.co",Ds=10,Ps="oauth/devicecode",Ls="oauth/token",Fs="oauth/userinfo",Ms="v1/templates"});import Vr from"conf";import It from"node:path";import Kr from"node:crypto";import mt from"node:fs";import{fileURLToPath as Yr}from"node:url";import Jr from"chalk";function Is(){let i=M.get("access_token");if(!i){let t=ae();throw new Error(`Access token not found. Please run ${Jr.cyan(`${t} run enpage:login`)} to authenticate.`)}return i}function Qr(){let i=Xr;for(;i!==It.parse(i).root;){let t=It.join(i,"node_modules");if(mt.existsSync(t))return t;i=It.dirname(i)}return null}function tn(){let i=Qr();if(!i)throw new Error("Could not find nearest node_modules directory.");let t=It.join(i,".enpage-tmp");mt.existsSync(t)||mt.mkdirSync(t,{recursive:!0,mode:448});let e=It.join(t,".enpage-key");if(!mt.existsSync(e)){let r=Kr.randomBytes(32).toString("hex");return mt.writeFileSync(e,r,{mode:384,flush:!0}),r}return mt.readFileSync(e,"utf8")}var Xr,Zr,M,gt=pt(()=>{"use strict";ft();Ge();Xr=Yr(new URL(".",import.meta.url)),Zr=tn(),M=new Vr({projectName:Ns,encryptionKey:Zr,clearInvalidConfig:!0})});var Us,js=pt(()=>{Us="0.0.68"});import{createLogger as sn}from"vite";import wt from"chalk";function qe(i,t,e=!1){let s=sn(i==="debug"?"info":i,{prefix:"[enpage]",allowClearScreen:t});return e&&s.info(wt.hex("#7270c6").bold(`\u{1F680} Enpage v${Us}
4
+ var Ur=Object.create;var ze=Object.defineProperty;var $r=Object.getOwnPropertyDescriptor;var Wr=Object.getOwnPropertyNames;var Br=Object.getPrototypeOf,zr=Object.prototype.hasOwnProperty;var pt=(i,t)=>()=>(i&&(t=i(i=0)),t);var _s=(i,t)=>()=>(t||i((t={exports:{}}).exports,t),t.exports),Gr=(i,t)=>{for(var e in t)ze(i,e,{get:t[e],enumerable:!0})},Hr=(i,t,e,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of Wr(t))!zr.call(i,r)&&r!==e&&ze(i,r,{get:()=>t[r],enumerable:!(s=$r(t,r))||s.enumerable});return i};var qr=(i,t,e)=>(e=i!=null?Ur(Br(i)):{},Hr(t||!i||!i.__esModule?ze(e,"default",{value:i,enumerable:!0}):e,i));function ae(){let i;if(process.env.npm_config_user_agent){let t=process.env.npm_config_user_agent.split(" ")[0];i=t.slice(0,t.lastIndexOf("/"))}return i||(console.log("Warning: could not detect package manager"),i="npm"),i}function ks(i){return`[${i.error}]${i.error_description?`: ${i.error_description}`:""}`}var Ge=pt(()=>{"use strict"});var Ns,He,lt,Ec,Ds,Ps,Ls,Fs,Ms,ft=pt(()=>{"use strict";Ns="enpage-cli",He=process.env.PUBLIC_ENPAGE_OAUTH_CLIENT_ID??"50000000-0000-0000-0000-000000000001",lt=process.env.PUBLIC_ENPAGE_API_BASE_URL??"https://api.enpage.co",Ec=process.env.PUBLIC_ENPAGE_FRONTEND_BASE_URL??"https://enpage.co",Ds=10,Ps="oauth/devicecode",Ls="oauth/token",Fs="oauth/userinfo",Ms="v1/templates"});import Vr from"conf";import It from"node:path";import Kr from"node:crypto";import mt from"node:fs";import{fileURLToPath as Yr}from"node:url";import Jr from"chalk";function Is(){let i=M.get("access_token");if(!i){let t=ae();throw new Error(`Access token not found. Please run ${Jr.cyan(`${t} run enpage:login`)} to authenticate.`)}return i}function Qr(){let i=Xr;for(;i!==It.parse(i).root;){let t=It.join(i,"node_modules");if(mt.existsSync(t))return t;i=It.dirname(i)}return null}function tn(){let i=Qr();if(!i)throw new Error("Could not find nearest node_modules directory.");let t=It.join(i,".enpage-tmp");mt.existsSync(t)||mt.mkdirSync(t,{recursive:!0,mode:448});let e=It.join(t,".enpage-key");if(!mt.existsSync(e)){let r=Kr.randomBytes(32).toString("hex");return mt.writeFileSync(e,r,{mode:384,flush:!0}),r}return mt.readFileSync(e,"utf8")}var Xr,Zr,M,gt=pt(()=>{"use strict";ft();Ge();Xr=Yr(new URL(".",import.meta.url)),Zr=tn(),M=new Vr({projectName:Ns,encryptionKey:Zr,clearInvalidConfig:!0})});var Us,js=pt(()=>{Us="0.0.69"});import{createLogger as sn}from"vite";import wt from"chalk";function qe(i,t,e=!1){let s=sn(i==="debug"?"info":i,{prefix:"[enpage]",allowClearScreen:t});return e&&s.info(wt.hex("#7270c6").bold(`\u{1F680} Enpage v${Us}
5
5
  `)),{...s,success:(r,n)=>s.info(wt.green(r),n),error:(r,n)=>s.error(wt.red(r),n),warn:(r,n)=>s.warn(wt.yellow(r),n),warnOnce:(r,n)=>s.warnOnce(wt.yellow(r),n),debug:(r,n)=>{i==="debug"&&s.info(wt.gray(r),n)}}}var k,jt=pt(()=>{"use strict";js();k=qe()});var Gs={};Gr(Gs,{get:()=>mn,post:()=>it});async function it(i,t,e={}){M.get("access_token")&&(e.Authorization=`Bearer ${M.get("access_token")}`);let s=await fetch(Bs(i),{method:"POST",headers:{"Content-Type":t instanceof URLSearchParams?"application/x-www-form-urlencoded":"application/json",...e},body:t instanceof URLSearchParams?t:JSON.stringify(t)}).catch(r=>{k.error(`Fatal Error requesting API: ${r.message} (${r.cause.code})`),k.error("Please check your internet connection and try again, or retry later."),process.exit(1)});return zs(s)}async function mn(i,t={}){M.get("access_token")&&(t.Authorization=`Bearer ${M.get("access_token")}`);let e=await fetch(Bs(i),{headers:t,method:"GET"}).catch(s=>{k.error(`Fatal Error requesting API: ${s.message} (${s.cause.code})`),k.error("Please check your internet connection and try again, or retry later."),process.exit(1)});return zs(e)}function Bs(i){let t=new URL(lt.endsWith("/")?lt:`${lt}/`);return new URL(i,t)}async function zs(i){let t=i.headers.get("content-type")?.startsWith("application/json")?await i.json():await i.text();return i.ok?{isSuccess:!0,isError:!1,status:i.status,statusText:i.statusText,data:t}:{isSuccess:!1,isError:!0,status:i.status,statusText:i.statusText,data:t}}var Ut=pt(()=>{"use strict";jt();ft();gt()});var oi=_s((Ih,ni)=>{"use strict";ni.exports=ii;function ii(i,t,e){i instanceof RegExp&&(i=si(i,e)),t instanceof RegExp&&(t=si(t,e));var s=ri(i,t,e);return s&&{start:s[0],end:s[1],pre:e.slice(0,s[0]),body:e.slice(s[0]+i.length,s[1]),post:e.slice(s[1]+t.length)}}function si(i,t){var e=t.match(i);return e?e[0]:null}ii.range=ri;function ri(i,t,e){var s,r,n,o,a,c=e.indexOf(i),h=e.indexOf(t,c+1),l=c;if(c>=0&&h>0){if(i===t)return[c,h];for(s=[],n=e.length;l>=0&&!a;)l==c?(s.push(l),c=e.indexOf(i,l+1)):s.length==1?a=[s.pop(),h]:(r=s.pop(),r<n&&(n=r,o=h),h=e.indexOf(t,l+1)),l=c<h&&c>=0?c:h;s.length&&(a=[n,o])}return a}});var pi=_s((jh,di)=>{"use strict";var ai=oi();di.exports=Kn;var ci="\0SLASH"+Math.random()+"\0",hi="\0OPEN"+Math.random()+"\0",Ke="\0CLOSE"+Math.random()+"\0",li="\0COMMA"+Math.random()+"\0",fi="\0PERIOD"+Math.random()+"\0";function Ve(i){return parseInt(i,10)==i?parseInt(i,10):i.charCodeAt(0)}function qn(i){return i.split("\\\\").join(ci).split("\\{").join(hi).split("\\}").join(Ke).split("\\,").join(li).split("\\.").join(fi)}function Vn(i){return i.split(ci).join("\\").split(hi).join("{").split(Ke).join("}").split(li).join(",").split(fi).join(".")}function ui(i){if(!i)return[""];var t=[],e=ai("{","}",i);if(!e)return i.split(",");var s=e.pre,r=e.body,n=e.post,o=s.split(",");o[o.length-1]+="{"+r+"}";var a=ui(n);return n.length&&(o[o.length-1]+=a.shift(),o.push.apply(o,a)),t.push.apply(t,o),t}function Kn(i){return i?(i.substr(0,2)==="{}"&&(i="\\{\\}"+i.substr(2)),zt(qn(i),!0).map(Vn)):[]}function Yn(i){return"{"+i+"}"}function Jn(i){return/^-?0\d/.test(i)}function Xn(i,t){return i<=t}function Zn(i,t){return i>=t}function zt(i,t){var e=[],s=ai("{","}",i);if(!s)return[i];var r=s.pre,n=s.post.length?zt(s.post,!1):[""];if(/\$$/.test(s.pre))for(var o=0;o<n.length;o++){var a=r+"{"+s.body+"}"+n[o];e.push(a)}else{var c=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(s.body),h=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(s.body),l=c||h,f=s.body.indexOf(",")>=0;if(!l&&!f)return s.post.match(/,.*\}/)?(i=s.pre+"{"+s.body+Ke+s.post,zt(i)):[i];var u;if(l)u=s.body.split(/\.\./);else if(u=ui(s.body),u.length===1&&(u=zt(u[0],!1).map(Yn),u.length===1))return n.map(function(oe){return s.pre+u[0]+oe});var d;if(l){var g=Ve(u[0]),p=Ve(u[1]),y=Math.max(u[0].length,u[1].length),m=u.length==3?Math.abs(Ve(u[2])):1,b=Xn,w=p<g;w&&(m*=-1,b=Zn);var S=u.some(Jn);d=[];for(var E=g;b(E,p);E+=m){var v;if(h)v=String.fromCharCode(E),v==="\\"&&(v="");else if(v=String(E),S){var C=y-v.length;if(C>0){var K=new Array(C+1).join("0");E<0?v="-"+K+v.slice(1):v=K+v}}d.push(v)}}else{d=[];for(var B=0;B<u.length;B++)d.push.apply(d,zt(u[B],!1))}for(var B=0;B<d.length;B++)for(var o=0;o<n.length;o++){var a=r+d[B]+n[o];(!t||l||a)&&e.push(a)}}return e}});import{program as Mt}from"commander";Ge();gt();import{resolve as X}from"node:path";import{existsSync as Bt,readFileSync as jn,writeFileSync as Un}from"node:fs";import rt from"chalk";ft();jt();import $t from"node:path";import Wt from"node:fs";import gn from"node:crypto";import wn from"fast-glob";import qs from"node:http";import yn from"node:https";import{pipeline as Sn}from"node:stream";import Hs from"chalk";import bn from"form-data";import*as ce from"node:fs";var rn=/[<>"|?*\n\r\t\f\x00-\x1F]/,nn=/(?:^|\/)[*]{2}($|\/)/,on=248,an=i=>i!==null&&typeof i=="object"&&!Array.isArray(i),cn=i=>typeof i=="string"&&i.length<=on&&!rn.test(i),hn=i=>i.split(/\r\n?|\n/);var ln=i=>an(i)&&Array.isArray(i.patterns)&&Array.isArray(i.sections);var he=(i,t={})=>{let e=t.path;if(ln(i))return i;cn(i)&&ce.existsSync(i)&&(e=i,i=ce.readFileSync(i,"utf8"));let s=hn(i),r=new Map,n={sections:[],patterns:[]},o={name:"default",patterns:[]},a=null;for(let c of s){let h=c.trim();if(h.startsWith("#")){let[,l]=/^#+\s*(.*)\s*$/.exec(h)||[];if(a){r.delete(a.name),a.comment=a.comment?`${a.comment}
6
6
  ${h}`:h,a.name=l?`${a.name.trim()}
7
7
  ${l.trim()}`:a.name.trim(),r.set(a.name.toLowerCase().trim(),a);continue}o={name:l?.trim()||"",comment:h,patterns:[]},r.set(o.name.toLowerCase(),o),n.sections.push(o),a=o;continue}h!==""&&(o.patterns.push(h),n.patterns.push(h)),a=null}return(t.dedupe===!0||t.unique===!0)&&(n=$s(n,{...t,format:!1})),n.path=e,n.input=Buffer.from(i),n.format=c=>pn(n,{...t,...c}),n.dedupe=c=>$s(n,{...t,...c}),n.globs=c=>un(n,{path:e,...t,...c}),n};var $s=(i,t)=>{let e=he(i,{...t,dedupe:!1}),s=new Map,r={sections:[],patterns:[]},n;for(let o of e.sections){let{name:a="",comment:c,patterns:h}=o,l=a.trim().toLowerCase();for(let f of h)r.patterns.includes(f)||r.patterns.push(f);a&&s.has(l)?(n=s.get(l),n.patterns=[...n.patterns,...h]):(n={name:a,comment:c,patterns:h},r.sections.push(n),s.set(l,n))}for(let o of r.sections)o.patterns=[...new Set(o.patterns)];return r},fn=i=>{if(nn.test(i))return i;let t=!1;return i.startsWith("/")?(i=i.slice(1),t=!0):i.slice(1,i.length-1).includes("/")&&(t=!0),i+=i.endsWith("/")?"**/":"/**",t?i:`**/${i}`},un=(i,t={})=>{let e=he(i,t),s=[],r=0,n=e.patterns.concat(t.ignore||[]).concat((t.unignore||[]).map(a=>a.startsWith("!")?a:`!${a}`)),o=(a,c)=>{let h=s[s.length-1],l=a?"unignore":"ignore";h&&h.type===l?h.patterns.includes(c)||h.patterns.push(c):(s.push({type:l,path:t.path||null,patterns:[c],index:r}),r++)};for(let a of n){let c="";a.startsWith("!")&&(a=a.slice(1),c="!"),o(c,a.startsWith("/")?a.slice(1):a),o(c,fn(a))}return s},dn=(i={name:"",patterns:[]})=>{let t=[i.comment||""];return i.patterns?.length&&(t.push(i.patterns.join(`
@@ -1 +1 @@
1
- {"inputs":{"package.json":{"bytes":3382,"imports":[]},"src/node/shared/logger.ts":{"bytes":1411,"imports":[{"path":"vite","kind":"import-statement","external":true},{"path":"package.json","kind":"import-statement","original":"../../../package.json"},{"path":"chalk","kind":"import-statement","external":true}],"format":"esm"},"src/node/cli/constants.ts":{"bytes":705,"imports":[],"format":"esm"},"src/node/cli/utils.ts":{"bytes":638,"imports":[],"format":"esm"},"src/node/cli/store.ts":{"bytes":1964,"imports":[{"path":"src/node/cli/constants.ts","kind":"import-statement","original":"./constants"},{"path":"conf","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:crypto","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:url","kind":"import-statement","external":true},{"path":"src/node/cli/utils.ts","kind":"import-statement","original":"./utils"},{"path":"chalk","kind":"import-statement","external":true}],"format":"esm"},"src/node/cli/api.ts":{"bytes":3038,"imports":[{"path":"src/node/shared/logger.ts","kind":"import-statement","original":"../shared/logger"},{"path":"src/node/cli/constants.ts","kind":"import-statement","original":"./constants"},{"path":"src/node/cli/store.ts","kind":"import-statement","original":"./store"}],"format":"esm"},"src/node/cli/is-logged-in.ts":{"bytes":694,"imports":[{"path":"src/node/cli/constants.ts","kind":"import-statement","original":"./constants"},{"path":"src/node/cli/store.ts","kind":"import-statement","original":"./store"},{"path":"src/node/cli/api.ts","kind":"dynamic-import","original":"./api"}],"format":"esm"},"src/node/cli/commands/publish/parse-gitignore.ts":{"bytes":8164,"imports":[{"path":"node:fs","kind":"import-statement","external":true}],"format":"esm"},"src/node/cli/commands/publish/uploader.ts":{"bytes":9822,"imports":[{"path":"node:path","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:crypto","kind":"import-statement","external":true},{"path":"fast-glob","kind":"import-statement","external":true},{"path":"src/node/cli/constants.ts","kind":"import-statement","original":"../../constants"},{"path":"node:http","kind":"import-statement","external":true},{"path":"node:https","kind":"import-statement","external":true},{"path":"node:stream","kind":"import-statement","external":true},{"path":"src/node/shared/logger.ts","kind":"import-statement","original":"~/node/shared/logger"},{"path":"chalk","kind":"import-statement","external":true},{"path":"form-data","kind":"import-statement","external":true},{"path":"src/node/cli/commands/publish/parse-gitignore.ts","kind":"import-statement","original":"./parse-gitignore"},{"path":"p-queue","kind":"import-statement","external":true},{"path":"ora","kind":"import-statement","external":true},{"path":"nanoid","kind":"import-statement","external":true},{"path":"src/node/cli/api.ts","kind":"import-statement","original":"../../api"}],"format":"esm"},"src/shared/manifest.ts":{"bytes":1382,"imports":[{"path":"@sinclair/typebox","kind":"import-statement","external":true}],"format":"esm"},"src/node/shared/config.ts":{"bytes":2731,"imports":[{"path":"src/shared/manifest.ts","kind":"import-statement","original":"~/shared/manifest"},{"path":"~/shared/attributes","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:fs/promises","kind":"import-statement","external":true},{"path":"fast-glob","kind":"import-statement","external":true},{"path":"src/node/shared/logger.ts","kind":"import-statement","original":"./logger"},{"path":"zod-validation-error","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true}],"format":"esm"},"src/node/cli/commands/publish/cmd-publish.ts":{"bytes":4483,"imports":[{"path":"node:path","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"chalk","kind":"import-statement","external":true},{"path":"src/node/cli/utils.ts","kind":"import-statement","original":"../../utils"},{"path":"src/node/cli/store.ts","kind":"import-statement","original":"../../store"},{"path":"src/node/cli/commands/publish/uploader.ts","kind":"import-statement","original":"./uploader"},{"path":"node:path","kind":"import-statement","external":true},{"path":"src/node/cli/api.ts","kind":"import-statement","original":"../../api"},{"path":"src/node/cli/constants.ts","kind":"import-statement","original":"../../constants"},{"path":"src/node/shared/config.ts","kind":"import-statement","original":"~/node/shared/config"},{"path":"src/node/cli/is-logged-in.ts","kind":"import-statement","original":"../../is-logged-in"}],"format":"esm"},"src/node/cli/commands/login/cmd-login.ts":{"bytes":3162,"imports":[{"path":"chalk","kind":"import-statement","external":true},{"path":"@inquirer/prompts","kind":"import-statement","external":true},{"path":"open","kind":"import-statement","external":true},{"path":"src/node/cli/constants.ts","kind":"import-statement","original":"../../constants"},{"path":"src/node/cli/api.ts","kind":"import-statement","original":"../../api"},{"path":"src/node/cli/store.ts","kind":"import-statement","original":"../../store"}],"format":"esm"},"../../node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.js":{"bytes":1219,"imports":[],"format":"cjs"},"../../node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.js":{"bytes":4992,"imports":[{"path":"../../node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.js","kind":"require-call","original":"balanced-match"}],"format":"cjs"},"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/assert-valid-pattern.js":{"bytes":336,"imports":[],"format":"esm"},"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/brace-expressions.js":{"bytes":5631,"imports":[],"format":"esm"},"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/unescape.js":{"bytes":847,"imports":[],"format":"esm"},"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/ast.js":{"bytes":22588,"imports":[{"path":"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/brace-expressions.js","kind":"import-statement","original":"./brace-expressions.js"},{"path":"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/unescape.js","kind":"import-statement","original":"./unescape.js"}],"format":"esm"},"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/escape.js":{"bytes":848,"imports":[],"format":"esm"},"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/index.js":{"bytes":39098,"imports":[{"path":"../../node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.js","kind":"import-statement","original":"brace-expansion"},{"path":"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/assert-valid-pattern.js","kind":"import-statement","original":"./assert-valid-pattern.js"},{"path":"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/ast.js","kind":"import-statement","original":"./ast.js"},{"path":"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/escape.js","kind":"import-statement","original":"./escape.js"},{"path":"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/unescape.js","kind":"import-statement","original":"./unescape.js"},{"path":"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/ast.js","kind":"import-statement","original":"./ast.js"},{"path":"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/escape.js","kind":"import-statement","original":"./escape.js"},{"path":"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/unescape.js","kind":"import-statement","original":"./unescape.js"}],"format":"esm"},"../../node_modules/.pnpm/lru-cache@11.0.0/node_modules/lru-cache/dist/esm/index.js":{"bytes":54894,"imports":[],"format":"esm"},"../../node_modules/.pnpm/minipass@7.1.2/node_modules/minipass/dist/esm/index.js":{"bytes":33228,"imports":[{"path":"node:events","kind":"import-statement","external":true},{"path":"node:stream","kind":"import-statement","external":true},{"path":"node:string_decoder","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/path-scurry@2.0.0/node_modules/path-scurry/dist/esm/index.js":{"bytes":64343,"imports":[{"path":"../../node_modules/.pnpm/lru-cache@11.0.0/node_modules/lru-cache/dist/esm/index.js","kind":"import-statement","original":"lru-cache"},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:url","kind":"import-statement","external":true},{"path":"fs","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:fs/promises","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/minipass@7.1.2/node_modules/minipass/dist/esm/index.js","kind":"import-statement","original":"minipass"}],"format":"esm"},"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/pattern.js":{"bytes":7161,"imports":[{"path":"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/index.js","kind":"import-statement","original":"minimatch"}],"format":"esm"},"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/ignore.js":{"bytes":4101,"imports":[{"path":"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/index.js","kind":"import-statement","original":"minimatch"},{"path":"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/pattern.js","kind":"import-statement","original":"./pattern.js"}],"format":"esm"},"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/processor.js":{"bytes":10453,"imports":[{"path":"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/index.js","kind":"import-statement","original":"minimatch"}],"format":"esm"},"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/walker.js":{"bytes":12569,"imports":[{"path":"../../node_modules/.pnpm/minipass@7.1.2/node_modules/minipass/dist/esm/index.js","kind":"import-statement","original":"minipass"},{"path":"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/ignore.js","kind":"import-statement","original":"./ignore.js"},{"path":"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/processor.js","kind":"import-statement","original":"./processor.js"}],"format":"esm"},"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/glob.js":{"bytes":8339,"imports":[{"path":"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/index.js","kind":"import-statement","original":"minimatch"},{"path":"node:url","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/path-scurry@2.0.0/node_modules/path-scurry/dist/esm/index.js","kind":"import-statement","original":"path-scurry"},{"path":"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/pattern.js","kind":"import-statement","original":"./pattern.js"},{"path":"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/walker.js","kind":"import-statement","original":"./walker.js"}],"format":"esm"},"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/has-magic.js":{"bytes":917,"imports":[{"path":"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/index.js","kind":"import-statement","original":"minimatch"}],"format":"esm"},"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/index.js":{"bytes":1647,"imports":[{"path":"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/index.js","kind":"import-statement","original":"minimatch"},{"path":"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/glob.js","kind":"import-statement","original":"./glob.js"},{"path":"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/has-magic.js","kind":"import-statement","original":"./has-magic.js"},{"path":"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/index.js","kind":"import-statement","original":"minimatch"},{"path":"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/glob.js","kind":"import-statement","original":"./glob.js"},{"path":"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/has-magic.js","kind":"import-statement","original":"./has-magic.js"},{"path":"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/ignore.js","kind":"import-statement","original":"./ignore.js"}],"format":"esm"},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/opt-arg.js":{"bytes":1459,"imports":[],"format":"esm"},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/platform.js":{"bytes":112,"imports":[],"format":"esm"},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/path-arg.js":{"bytes":1664,"imports":[{"path":"path","kind":"import-statement","external":true},{"path":"util","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/platform.js","kind":"import-statement","original":"./platform.js"}],"format":"esm"},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/fs.js":{"bytes":1796,"imports":[{"path":"fs","kind":"import-statement","external":true},{"path":"fs","kind":"import-statement","external":true},{"path":"fs","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/readdir-or-error.js":{"bytes":432,"imports":[{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/fs.js","kind":"import-statement","original":"./fs.js"}],"format":"esm"},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/ignore-enoent.js":{"bytes":332,"imports":[],"format":"esm"},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/rimraf-posix.js":{"bytes":3932,"imports":[{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/fs.js","kind":"import-statement","original":"./fs.js"},{"path":"path","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/readdir-or-error.js","kind":"import-statement","original":"./readdir-or-error.js"},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/ignore-enoent.js","kind":"import-statement","original":"./ignore-enoent.js"}],"format":"esm"},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/fix-eperm.js":{"bytes":1260,"imports":[{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/fs.js","kind":"import-statement","original":"./fs.js"}],"format":"esm"},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/retry-busy.js":{"bytes":2049,"imports":[],"format":"esm"},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/default-tmp.js":{"bytes":2054,"imports":[{"path":"os","kind":"import-statement","external":true},{"path":"path","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/fs.js","kind":"import-statement","original":"./fs.js"},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/platform.js","kind":"import-statement","original":"./platform.js"}],"format":"esm"},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/rimraf-move-remove.js":{"bytes":6181,"imports":[{"path":"path","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/default-tmp.js","kind":"import-statement","original":"./default-tmp.js"},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/ignore-enoent.js","kind":"import-statement","original":"./ignore-enoent.js"},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/fs.js","kind":"import-statement","original":"./fs.js"},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/readdir-or-error.js","kind":"import-statement","original":"./readdir-or-error.js"}],"format":"esm"},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/rimraf-windows.js":{"bytes":6049,"imports":[{"path":"path","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/fix-eperm.js","kind":"import-statement","original":"./fix-eperm.js"},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/fs.js","kind":"import-statement","original":"./fs.js"},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/ignore-enoent.js","kind":"import-statement","original":"./ignore-enoent.js"},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/readdir-or-error.js","kind":"import-statement","original":"./readdir-or-error.js"},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/retry-busy.js","kind":"import-statement","original":"./retry-busy.js"},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/rimraf-move-remove.js","kind":"import-statement","original":"./rimraf-move-remove.js"}],"format":"esm"},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/rimraf-manual.js":{"bytes":389,"imports":[{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/platform.js","kind":"import-statement","original":"./platform.js"},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/rimraf-posix.js","kind":"import-statement","original":"./rimraf-posix.js"},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/rimraf-windows.js","kind":"import-statement","original":"./rimraf-windows.js"}],"format":"esm"},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/rimraf-native.js":{"bytes":430,"imports":[{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/fs.js","kind":"import-statement","original":"./fs.js"}],"format":"esm"},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/use-native.js":{"bytes":771,"imports":[{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/platform.js","kind":"import-statement","original":"./platform.js"}],"format":"esm"},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/index.js":{"bytes":2688,"imports":[{"path":"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/index.js","kind":"import-statement","original":"glob"},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/opt-arg.js","kind":"import-statement","original":"./opt-arg.js"},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/path-arg.js","kind":"import-statement","original":"./path-arg.js"},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/rimraf-manual.js","kind":"import-statement","original":"./rimraf-manual.js"},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/rimraf-move-remove.js","kind":"import-statement","original":"./rimraf-move-remove.js"},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/rimraf-native.js","kind":"import-statement","original":"./rimraf-native.js"},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/rimraf-posix.js","kind":"import-statement","original":"./rimraf-posix.js"},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/rimraf-windows.js","kind":"import-statement","original":"./rimraf-windows.js"},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/use-native.js","kind":"import-statement","original":"./use-native.js"},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/opt-arg.js","kind":"import-statement","original":"./opt-arg.js"}],"format":"esm"},"src/node/cli/commands/build/cmd-build.ts":{"bytes":1576,"imports":[{"path":"vite","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:url","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/index.js","kind":"import-statement","original":"rimraf"}],"format":"esm"},"src/node/cli/commands/logout/cmd-logout.ts":{"bytes":309,"imports":[{"path":"src/node/cli/store.ts","kind":"import-statement","original":"../../store"}],"format":"esm"},"src/node/cli/program.ts":{"bytes":2449,"imports":[{"path":"commander","kind":"import-statement","external":true},{"path":"src/node/cli/commands/publish/cmd-publish.ts","kind":"import-statement","original":"./commands/publish/cmd-publish"},{"path":"src/node/cli/commands/login/cmd-login.ts","kind":"import-statement","original":"./commands/login/cmd-login"},{"path":"src/node/cli/commands/build/cmd-build.ts","kind":"import-statement","original":"./commands/build/cmd-build"},{"path":"src/node/shared/logger.ts","kind":"import-statement","original":"../shared/logger"},{"path":"src/node/cli/commands/logout/cmd-logout.ts","kind":"import-statement","original":"./commands/logout/cmd-logout"}],"format":"esm"},"src/node/cli/types.ts":{"bytes":740,"imports":[],"format":"esm"}},"outputs":{"dist/node/cli/api.js":{"imports":[{"path":"vite","kind":"import-statement","external":true},{"path":"chalk","kind":"import-statement","external":true},{"path":"conf","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:crypto","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:url","kind":"import-statement","external":true},{"path":"chalk","kind":"import-statement","external":true}],"exports":["get","post"],"entryPoint":"src/node/cli/api.ts","inputs":{"src/node/shared/logger.ts":{"bytesInOutput":424},"package.json":{"bytesInOutput":15},"src/node/cli/constants.ts":{"bytesInOutput":240},"src/node/cli/store.ts":{"bytesInOutput":752},"src/node/cli/api.ts":{"bytesInOutput":1190}},"bytes":2752},"dist/node/cli/constants.js":{"imports":[],"exports":["API_BASE_URL","API_ENDPOINT_REGISTER_TEMPLATE","CLI_LOGIN_CLIENT_ID","CLI_LOGIN_POLL_INTERVAL","CLI_PROJECT_NAME","DEFAULT_UPLOAD_MAX_CONCURRENCY","FRONTEND_BASE_URL","OAUTH_ENDPOINT_DEVICE_CODE","OAUTH_ENDPOINT_TOKEN","OAUTH_ENDPOINT_USER_INFO"],"entryPoint":"src/node/cli/constants.ts","inputs":{"src/node/cli/constants.ts":{"bytesInOutput":320}},"bytes":709},"dist/node/cli/is-logged-in.js":{"imports":[{"path":"conf","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:crypto","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:url","kind":"import-statement","external":true},{"path":"chalk","kind":"import-statement","external":true},{"path":"vite","kind":"import-statement","external":true},{"path":"chalk","kind":"import-statement","external":true}],"exports":["isLoggedIn"],"entryPoint":"src/node/cli/is-logged-in.ts","inputs":{"src/node/cli/constants.ts":{"bytesInOutput":289},"src/node/cli/store.ts":{"bytesInOutput":786},"package.json":{"bytesInOutput":28},"src/node/shared/logger.ts":{"bytesInOutput":454},"src/node/cli/api.ts":{"bytesInOutput":1267},"src/node/cli/is-logged-in.ts":{"bytesInOutput":276}},"bytes":3354},"dist/node/cli/program.js":{"imports":[{"path":"conf","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:crypto","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:url","kind":"import-statement","external":true},{"path":"chalk","kind":"import-statement","external":true},{"path":"vite","kind":"import-statement","external":true},{"path":"chalk","kind":"import-statement","external":true},{"path":"commander","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"chalk","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:crypto","kind":"import-statement","external":true},{"path":"fast-glob","kind":"import-statement","external":true},{"path":"node:http","kind":"import-statement","external":true},{"path":"node:https","kind":"import-statement","external":true},{"path":"node:stream","kind":"import-statement","external":true},{"path":"chalk","kind":"import-statement","external":true},{"path":"form-data","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"p-queue","kind":"import-statement","external":true},{"path":"ora","kind":"import-statement","external":true},{"path":"nanoid","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"@sinclair/typebox","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:fs/promises","kind":"import-statement","external":true},{"path":"fast-glob","kind":"import-statement","external":true},{"path":"zod-validation-error","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"chalk","kind":"import-statement","external":true},{"path":"@inquirer/prompts","kind":"import-statement","external":true},{"path":"open","kind":"import-statement","external":true},{"path":"vite","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:url","kind":"import-statement","external":true},{"path":"node:url","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:url","kind":"import-statement","external":true},{"path":"fs","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:fs/promises","kind":"import-statement","external":true},{"path":"node:events","kind":"import-statement","external":true},{"path":"node:stream","kind":"import-statement","external":true},{"path":"node:string_decoder","kind":"import-statement","external":true},{"path":"path","kind":"import-statement","external":true},{"path":"util","kind":"import-statement","external":true},{"path":"fs","kind":"import-statement","external":true},{"path":"fs","kind":"import-statement","external":true},{"path":"fs","kind":"import-statement","external":true},{"path":"path","kind":"import-statement","external":true},{"path":"path","kind":"import-statement","external":true},{"path":"path","kind":"import-statement","external":true},{"path":"os","kind":"import-statement","external":true},{"path":"path","kind":"import-statement","external":true}],"exports":[],"entryPoint":"src/node/cli/program.ts","inputs":{"src/node/cli/utils.ts":{"bytesInOutput":341},"src/node/cli/constants.ts":{"bytesInOutput":376},"src/node/cli/store.ts":{"bytesInOutput":1001},"package.json":{"bytesInOutput":32},"src/node/shared/logger.ts":{"bytesInOutput":469},"src/node/cli/api.ts":{"bytesInOutput":1288},"../../node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.js":{"bytesInOutput":618},"../../node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.js":{"bytesInOutput":2124},"src/node/cli/program.ts":{"bytesInOutput":1353},"src/node/cli/commands/publish/cmd-publish.ts":{"bytesInOutput":2075},"src/node/cli/commands/publish/uploader.ts":{"bytesInOutput":4186},"src/node/cli/commands/publish/parse-gitignore.ts":{"bytesInOutput":2403},"src/shared/manifest.ts":{"bytesInOutput":846},"src/node/shared/config.ts":{"bytesInOutput":1346},"src/node/cli/is-logged-in.ts":{"bytesInOutput":281},"src/node/cli/commands/login/cmd-login.ts":{"bytesInOutput":1192},"src/node/cli/commands/build/cmd-build.ts":{"bytesInOutput":811},"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/index.js":{"bytesInOutput":10898},"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/assert-valid-pattern.js":{"bytesInOutput":134},"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/brace-expressions.js":{"bytesInOutput":1543},"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/unescape.js":{"bytesInOutput":150},"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/ast.js":{"bytesInOutput":5374},"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/escape.js":{"bytesInOutput":109},"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/glob.js":{"bytesInOutput":3638},"../../node_modules/.pnpm/lru-cache@11.0.0/node_modules/lru-cache/dist/esm/index.js":{"bytesInOutput":16623},"../../node_modules/.pnpm/path-scurry@2.0.0/node_modules/path-scurry/dist/esm/index.js":{"bytesInOutput":17233},"../../node_modules/.pnpm/minipass@7.1.2/node_modules/minipass/dist/esm/index.js":{"bytesInOutput":9806},"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/pattern.js":{"bytesInOutput":2120},"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/ignore.js":{"bytesInOutput":1314},"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/processor.js":{"bytesInOutput":3097},"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/walker.js":{"bytesInOutput":5324},"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/has-magic.js":{"bytesInOutput":103},"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/index.js":{"bytesInOutput":638},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/opt-arg.js":{"bytesInOutput":581},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/path-arg.js":{"bytesInOutput":890},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/platform.js":{"bytesInOutput":64},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/fs.js":{"bytesInOutput":901},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/rimraf-posix.js":{"bytesInOutput":1170},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/readdir-or-error.js":{"bytesInOutput":86},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/ignore-enoent.js":{"bytesInOutput":122},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/rimraf-windows.js":{"bytesInOutput":1726},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/fix-eperm.js":{"bytesInOutput":392},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/retry-busy.js":{"bytesInOutput":521},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/rimraf-move-remove.js":{"bytesInOutput":1990},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/default-tmp.js":{"bytesInOutput":532},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/rimraf-manual.js":{"bytesInOutput":46},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/rimraf-native.js":{"bytesInOutput":124},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/use-native.js":{"bytesInOutput":272},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/index.js":{"bytesInOutput":819},"src/node/cli/commands/logout/cmd-logout.ts":{"bytesInOutput":124}},"bytes":110186},"dist/node/cli/store.js":{"imports":[{"path":"conf","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:crypto","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:url","kind":"import-statement","external":true},{"path":"chalk","kind":"import-statement","external":true}],"exports":["accessStore","getTokenOrThrow"],"entryPoint":"src/node/cli/store.ts","inputs":{"src/node/cli/constants.ts":{"bytesInOutput":240},"src/node/cli/store.ts":{"bytesInOutput":925},"src/node/cli/utils.ts":{"bytesInOutput":222}},"bytes":1537},"dist/node/cli/types.js":{"imports":[],"exports":[],"entryPoint":"src/node/cli/types.ts","inputs":{"src/node/cli/types.ts":{"bytesInOutput":0}},"bytes":103},"dist/node/cli/utils.js":{"imports":[],"exports":["formatAPIError","getPackageManager"],"entryPoint":"src/node/cli/utils.ts","inputs":{"src/node/cli/utils.ts":{"bytesInOutput":309}},"bytes":464},"dist/node/shared/config.js":{"imports":[{"path":"@sinclair/typebox","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:fs/promises","kind":"import-statement","external":true},{"path":"fast-glob","kind":"import-statement","external":true},{"path":"vite","kind":"import-statement","external":true},{"path":"chalk","kind":"import-statement","external":true},{"path":"zod-validation-error","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true}],"exports":["loadConfigFromJsFile","loadConfigFromManifestFile","validateTemplateConfig"],"entryPoint":"src/node/shared/config.ts","inputs":{"src/shared/manifest.ts":{"bytesInOutput":845},"src/node/shared/config.ts":{"bytesInOutput":1512},"src/node/shared/logger.ts":{"bytesInOutput":424},"package.json":{"bytesInOutput":15}},"bytes":2994},"dist/node/shared/logger.js":{"imports":[{"path":"vite","kind":"import-statement","external":true},{"path":"chalk","kind":"import-statement","external":true}],"exports":["createLogger","logger"],"entryPoint":"src/node/shared/logger.ts","inputs":{"src/node/shared/logger.ts":{"bytesInOutput":424},"package.json":{"bytesInOutput":15}},"bytes":581},"dist/node/cli/commands/build/cmd-build.js":{"imports":[{"path":"vite","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:url","kind":"import-statement","external":true},{"path":"node:url","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:url","kind":"import-statement","external":true},{"path":"fs","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:fs/promises","kind":"import-statement","external":true},{"path":"node:events","kind":"import-statement","external":true},{"path":"node:stream","kind":"import-statement","external":true},{"path":"node:string_decoder","kind":"import-statement","external":true},{"path":"path","kind":"import-statement","external":true},{"path":"util","kind":"import-statement","external":true},{"path":"fs","kind":"import-statement","external":true},{"path":"fs","kind":"import-statement","external":true},{"path":"fs","kind":"import-statement","external":true},{"path":"path","kind":"import-statement","external":true},{"path":"path","kind":"import-statement","external":true},{"path":"path","kind":"import-statement","external":true},{"path":"os","kind":"import-statement","external":true},{"path":"path","kind":"import-statement","external":true}],"exports":["buildTemplate"],"entryPoint":"src/node/cli/commands/build/cmd-build.ts","inputs":{"../../node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.js":{"bytesInOutput":618},"../../node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.js":{"bytesInOutput":2127},"src/node/cli/commands/build/cmd-build.ts":{"bytesInOutput":811},"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/index.js":{"bytesInOutput":10898},"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/assert-valid-pattern.js":{"bytesInOutput":134},"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/brace-expressions.js":{"bytesInOutput":1543},"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/unescape.js":{"bytesInOutput":150},"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/ast.js":{"bytesInOutput":5374},"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/escape.js":{"bytesInOutput":109},"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/glob.js":{"bytesInOutput":3638},"../../node_modules/.pnpm/lru-cache@11.0.0/node_modules/lru-cache/dist/esm/index.js":{"bytesInOutput":16618},"../../node_modules/.pnpm/path-scurry@2.0.0/node_modules/path-scurry/dist/esm/index.js":{"bytesInOutput":17233},"../../node_modules/.pnpm/minipass@7.1.2/node_modules/minipass/dist/esm/index.js":{"bytesInOutput":9797},"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/pattern.js":{"bytesInOutput":2120},"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/ignore.js":{"bytesInOutput":1314},"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/processor.js":{"bytesInOutput":3097},"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/walker.js":{"bytesInOutput":5324},"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/has-magic.js":{"bytesInOutput":103},"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/index.js":{"bytesInOutput":638},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/opt-arg.js":{"bytesInOutput":581},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/path-arg.js":{"bytesInOutput":890},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/platform.js":{"bytesInOutput":64},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/fs.js":{"bytesInOutput":891},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/rimraf-posix.js":{"bytesInOutput":1166},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/readdir-or-error.js":{"bytesInOutput":86},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/ignore-enoent.js":{"bytesInOutput":120},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/rimraf-windows.js":{"bytesInOutput":1722},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/fix-eperm.js":{"bytesInOutput":392},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/retry-busy.js":{"bytesInOutput":521},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/rimraf-move-remove.js":{"bytesInOutput":1986},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/default-tmp.js":{"bytesInOutput":532},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/rimraf-manual.js":{"bytesInOutput":46},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/rimraf-native.js":{"bytesInOutput":124},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/use-native.js":{"bytesInOutput":272},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/index.js":{"bytesInOutput":819}},"bytes":92528},"dist/node/cli/commands/login/cmd-login.js":{"imports":[{"path":"chalk","kind":"import-statement","external":true},{"path":"@inquirer/prompts","kind":"import-statement","external":true},{"path":"open","kind":"import-statement","external":true},{"path":"vite","kind":"import-statement","external":true},{"path":"chalk","kind":"import-statement","external":true},{"path":"conf","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:crypto","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:url","kind":"import-statement","external":true},{"path":"chalk","kind":"import-statement","external":true}],"exports":["login","pollForLogin"],"entryPoint":"src/node/cli/commands/login/cmd-login.ts","inputs":{"src/node/cli/commands/login/cmd-login.ts":{"bytesInOutput":1163},"src/node/cli/constants.ts":{"bytesInOutput":281},"src/node/shared/logger.ts":{"bytesInOutput":424},"package.json":{"bytesInOutput":15},"src/node/cli/store.ts":{"bytesInOutput":752},"src/node/cli/api.ts":{"bytesInOutput":851}},"bytes":3628},"dist/node/cli/commands/logout/cmd-logout.js":{"imports":[{"path":"conf","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:crypto","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:url","kind":"import-statement","external":true},{"path":"chalk","kind":"import-statement","external":true}],"exports":["logout"],"entryPoint":"src/node/cli/commands/logout/cmd-logout.ts","inputs":{"src/node/cli/constants.ts":{"bytesInOutput":240},"src/node/cli/store.ts":{"bytesInOutput":752},"src/node/cli/commands/logout/cmd-logout.ts":{"bytesInOutput":118}},"bytes":1234},"dist/node/cli/commands/publish/cmd-publish.js":{"imports":[{"path":"conf","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:crypto","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:url","kind":"import-statement","external":true},{"path":"chalk","kind":"import-statement","external":true},{"path":"vite","kind":"import-statement","external":true},{"path":"chalk","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"chalk","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:crypto","kind":"import-statement","external":true},{"path":"fast-glob","kind":"import-statement","external":true},{"path":"node:http","kind":"import-statement","external":true},{"path":"node:https","kind":"import-statement","external":true},{"path":"node:stream","kind":"import-statement","external":true},{"path":"chalk","kind":"import-statement","external":true},{"path":"form-data","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"p-queue","kind":"import-statement","external":true},{"path":"ora","kind":"import-statement","external":true},{"path":"nanoid","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"@sinclair/typebox","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:fs/promises","kind":"import-statement","external":true},{"path":"fast-glob","kind":"import-statement","external":true},{"path":"zod-validation-error","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true}],"exports":["publish"],"entryPoint":"src/node/cli/commands/publish/cmd-publish.ts","inputs":{"src/node/cli/utils.ts":{"bytesInOutput":337},"src/node/cli/constants.ts":{"bytesInOutput":319},"src/node/cli/store.ts":{"bytesInOutput":981},"package.json":{"bytesInOutput":30},"src/node/shared/logger.ts":{"bytesInOutput":459},"src/node/cli/api.ts":{"bytesInOutput":1278},"src/node/cli/commands/publish/cmd-publish.ts":{"bytesInOutput":2051},"src/node/cli/commands/publish/uploader.ts":{"bytesInOutput":4164},"src/node/cli/commands/publish/parse-gitignore.ts":{"bytesInOutput":2395},"src/shared/manifest.ts":{"bytesInOutput":846},"src/node/shared/config.ts":{"bytesInOutput":1345},"src/node/cli/is-logged-in.ts":{"bytesInOutput":277}},"bytes":14962},"dist/node/cli/commands/publish/parse-gitignore.js":{"imports":[{"path":"node:fs","kind":"import-statement","external":true}],"exports":["dedupe","default","format","formatSection","globs","parse","parseFile","patterns"],"entryPoint":"src/node/cli/commands/publish/parse-gitignore.ts","inputs":{"src/node/cli/commands/publish/parse-gitignore.ts":{"bytesInOutput":2471}},"bytes":2916},"dist/node/cli/commands/publish/uploader.js":{"imports":[{"path":"node:path","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:crypto","kind":"import-statement","external":true},{"path":"fast-glob","kind":"import-statement","external":true},{"path":"node:http","kind":"import-statement","external":true},{"path":"node:https","kind":"import-statement","external":true},{"path":"node:stream","kind":"import-statement","external":true},{"path":"vite","kind":"import-statement","external":true},{"path":"chalk","kind":"import-statement","external":true},{"path":"chalk","kind":"import-statement","external":true},{"path":"form-data","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"p-queue","kind":"import-statement","external":true},{"path":"ora","kind":"import-statement","external":true},{"path":"nanoid","kind":"import-statement","external":true},{"path":"conf","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:crypto","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:url","kind":"import-statement","external":true},{"path":"chalk","kind":"import-statement","external":true}],"exports":["uploadTemplate"],"entryPoint":"src/node/cli/commands/publish/uploader.ts","inputs":{"src/node/cli/commands/publish/uploader.ts":{"bytesInOutput":4143},"src/node/cli/constants.ts":{"bytesInOutput":247},"src/node/shared/logger.ts":{"bytesInOutput":424},"package.json":{"bytesInOutput":15},"src/node/cli/commands/publish/parse-gitignore.ts":{"bytesInOutput":2377},"src/node/cli/store.ts":{"bytesInOutput":767},"src/node/cli/api.ts":{"bytesInOutput":855}},"bytes":9187}}}
1
+ {"inputs":{"package.json":{"bytes":3382,"imports":[]},"src/node/shared/logger.ts":{"bytes":1411,"imports":[{"path":"vite","kind":"import-statement","external":true},{"path":"package.json","kind":"import-statement","original":"../../../package.json"},{"path":"chalk","kind":"import-statement","external":true}],"format":"esm"},"src/node/cli/constants.ts":{"bytes":705,"imports":[],"format":"esm"},"src/node/cli/utils.ts":{"bytes":638,"imports":[],"format":"esm"},"src/node/cli/store.ts":{"bytes":1964,"imports":[{"path":"src/node/cli/constants.ts","kind":"import-statement","original":"./constants"},{"path":"conf","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:crypto","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:url","kind":"import-statement","external":true},{"path":"src/node/cli/utils.ts","kind":"import-statement","original":"./utils"},{"path":"chalk","kind":"import-statement","external":true}],"format":"esm"},"src/node/cli/api.ts":{"bytes":3038,"imports":[{"path":"src/node/shared/logger.ts","kind":"import-statement","original":"../shared/logger"},{"path":"src/node/cli/constants.ts","kind":"import-statement","original":"./constants"},{"path":"src/node/cli/store.ts","kind":"import-statement","original":"./store"}],"format":"esm"},"src/node/cli/is-logged-in.ts":{"bytes":694,"imports":[{"path":"src/node/cli/constants.ts","kind":"import-statement","original":"./constants"},{"path":"src/node/cli/store.ts","kind":"import-statement","original":"./store"},{"path":"src/node/cli/api.ts","kind":"dynamic-import","original":"./api"}],"format":"esm"},"src/node/cli/commands/publish/parse-gitignore.ts":{"bytes":8164,"imports":[{"path":"node:fs","kind":"import-statement","external":true}],"format":"esm"},"src/node/cli/commands/publish/uploader.ts":{"bytes":9822,"imports":[{"path":"node:path","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:crypto","kind":"import-statement","external":true},{"path":"fast-glob","kind":"import-statement","external":true},{"path":"src/node/cli/constants.ts","kind":"import-statement","original":"../../constants"},{"path":"node:http","kind":"import-statement","external":true},{"path":"node:https","kind":"import-statement","external":true},{"path":"node:stream","kind":"import-statement","external":true},{"path":"src/node/shared/logger.ts","kind":"import-statement","original":"~/node/shared/logger"},{"path":"chalk","kind":"import-statement","external":true},{"path":"form-data","kind":"import-statement","external":true},{"path":"src/node/cli/commands/publish/parse-gitignore.ts","kind":"import-statement","original":"./parse-gitignore"},{"path":"p-queue","kind":"import-statement","external":true},{"path":"ora","kind":"import-statement","external":true},{"path":"nanoid","kind":"import-statement","external":true},{"path":"src/node/cli/api.ts","kind":"import-statement","original":"../../api"}],"format":"esm"},"src/shared/manifest.ts":{"bytes":1382,"imports":[{"path":"@sinclair/typebox","kind":"import-statement","external":true}],"format":"esm"},"src/node/shared/config.ts":{"bytes":2675,"imports":[{"path":"src/shared/manifest.ts","kind":"import-statement","original":"~/shared/manifest"},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:fs/promises","kind":"import-statement","external":true},{"path":"fast-glob","kind":"import-statement","external":true},{"path":"src/node/shared/logger.ts","kind":"import-statement","original":"./logger"},{"path":"zod-validation-error","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true}],"format":"esm"},"src/node/cli/commands/publish/cmd-publish.ts":{"bytes":4483,"imports":[{"path":"node:path","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"chalk","kind":"import-statement","external":true},{"path":"src/node/cli/utils.ts","kind":"import-statement","original":"../../utils"},{"path":"src/node/cli/store.ts","kind":"import-statement","original":"../../store"},{"path":"src/node/cli/commands/publish/uploader.ts","kind":"import-statement","original":"./uploader"},{"path":"node:path","kind":"import-statement","external":true},{"path":"src/node/cli/api.ts","kind":"import-statement","original":"../../api"},{"path":"src/node/cli/constants.ts","kind":"import-statement","original":"../../constants"},{"path":"src/node/shared/config.ts","kind":"import-statement","original":"~/node/shared/config"},{"path":"src/node/cli/is-logged-in.ts","kind":"import-statement","original":"../../is-logged-in"}],"format":"esm"},"src/node/cli/commands/login/cmd-login.ts":{"bytes":3162,"imports":[{"path":"chalk","kind":"import-statement","external":true},{"path":"@inquirer/prompts","kind":"import-statement","external":true},{"path":"open","kind":"import-statement","external":true},{"path":"src/node/cli/constants.ts","kind":"import-statement","original":"../../constants"},{"path":"src/node/cli/api.ts","kind":"import-statement","original":"../../api"},{"path":"src/node/cli/store.ts","kind":"import-statement","original":"../../store"}],"format":"esm"},"../../node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.js":{"bytes":1219,"imports":[],"format":"cjs"},"../../node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.js":{"bytes":4992,"imports":[{"path":"../../node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.js","kind":"require-call","original":"balanced-match"}],"format":"cjs"},"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/assert-valid-pattern.js":{"bytes":336,"imports":[],"format":"esm"},"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/brace-expressions.js":{"bytes":5631,"imports":[],"format":"esm"},"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/unescape.js":{"bytes":847,"imports":[],"format":"esm"},"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/ast.js":{"bytes":22588,"imports":[{"path":"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/brace-expressions.js","kind":"import-statement","original":"./brace-expressions.js"},{"path":"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/unescape.js","kind":"import-statement","original":"./unescape.js"}],"format":"esm"},"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/escape.js":{"bytes":848,"imports":[],"format":"esm"},"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/index.js":{"bytes":39098,"imports":[{"path":"../../node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.js","kind":"import-statement","original":"brace-expansion"},{"path":"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/assert-valid-pattern.js","kind":"import-statement","original":"./assert-valid-pattern.js"},{"path":"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/ast.js","kind":"import-statement","original":"./ast.js"},{"path":"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/escape.js","kind":"import-statement","original":"./escape.js"},{"path":"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/unescape.js","kind":"import-statement","original":"./unescape.js"},{"path":"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/ast.js","kind":"import-statement","original":"./ast.js"},{"path":"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/escape.js","kind":"import-statement","original":"./escape.js"},{"path":"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/unescape.js","kind":"import-statement","original":"./unescape.js"}],"format":"esm"},"../../node_modules/.pnpm/lru-cache@11.0.0/node_modules/lru-cache/dist/esm/index.js":{"bytes":54894,"imports":[],"format":"esm"},"../../node_modules/.pnpm/minipass@7.1.2/node_modules/minipass/dist/esm/index.js":{"bytes":33228,"imports":[{"path":"node:events","kind":"import-statement","external":true},{"path":"node:stream","kind":"import-statement","external":true},{"path":"node:string_decoder","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/path-scurry@2.0.0/node_modules/path-scurry/dist/esm/index.js":{"bytes":64343,"imports":[{"path":"../../node_modules/.pnpm/lru-cache@11.0.0/node_modules/lru-cache/dist/esm/index.js","kind":"import-statement","original":"lru-cache"},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:url","kind":"import-statement","external":true},{"path":"fs","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:fs/promises","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/minipass@7.1.2/node_modules/minipass/dist/esm/index.js","kind":"import-statement","original":"minipass"}],"format":"esm"},"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/pattern.js":{"bytes":7161,"imports":[{"path":"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/index.js","kind":"import-statement","original":"minimatch"}],"format":"esm"},"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/ignore.js":{"bytes":4101,"imports":[{"path":"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/index.js","kind":"import-statement","original":"minimatch"},{"path":"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/pattern.js","kind":"import-statement","original":"./pattern.js"}],"format":"esm"},"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/processor.js":{"bytes":10453,"imports":[{"path":"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/index.js","kind":"import-statement","original":"minimatch"}],"format":"esm"},"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/walker.js":{"bytes":12569,"imports":[{"path":"../../node_modules/.pnpm/minipass@7.1.2/node_modules/minipass/dist/esm/index.js","kind":"import-statement","original":"minipass"},{"path":"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/ignore.js","kind":"import-statement","original":"./ignore.js"},{"path":"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/processor.js","kind":"import-statement","original":"./processor.js"}],"format":"esm"},"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/glob.js":{"bytes":8339,"imports":[{"path":"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/index.js","kind":"import-statement","original":"minimatch"},{"path":"node:url","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/path-scurry@2.0.0/node_modules/path-scurry/dist/esm/index.js","kind":"import-statement","original":"path-scurry"},{"path":"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/pattern.js","kind":"import-statement","original":"./pattern.js"},{"path":"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/walker.js","kind":"import-statement","original":"./walker.js"}],"format":"esm"},"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/has-magic.js":{"bytes":917,"imports":[{"path":"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/index.js","kind":"import-statement","original":"minimatch"}],"format":"esm"},"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/index.js":{"bytes":1647,"imports":[{"path":"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/index.js","kind":"import-statement","original":"minimatch"},{"path":"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/glob.js","kind":"import-statement","original":"./glob.js"},{"path":"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/has-magic.js","kind":"import-statement","original":"./has-magic.js"},{"path":"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/index.js","kind":"import-statement","original":"minimatch"},{"path":"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/glob.js","kind":"import-statement","original":"./glob.js"},{"path":"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/has-magic.js","kind":"import-statement","original":"./has-magic.js"},{"path":"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/ignore.js","kind":"import-statement","original":"./ignore.js"}],"format":"esm"},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/opt-arg.js":{"bytes":1459,"imports":[],"format":"esm"},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/platform.js":{"bytes":112,"imports":[],"format":"esm"},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/path-arg.js":{"bytes":1664,"imports":[{"path":"path","kind":"import-statement","external":true},{"path":"util","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/platform.js","kind":"import-statement","original":"./platform.js"}],"format":"esm"},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/fs.js":{"bytes":1796,"imports":[{"path":"fs","kind":"import-statement","external":true},{"path":"fs","kind":"import-statement","external":true},{"path":"fs","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/readdir-or-error.js":{"bytes":432,"imports":[{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/fs.js","kind":"import-statement","original":"./fs.js"}],"format":"esm"},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/ignore-enoent.js":{"bytes":332,"imports":[],"format":"esm"},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/rimraf-posix.js":{"bytes":3932,"imports":[{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/fs.js","kind":"import-statement","original":"./fs.js"},{"path":"path","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/readdir-or-error.js","kind":"import-statement","original":"./readdir-or-error.js"},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/ignore-enoent.js","kind":"import-statement","original":"./ignore-enoent.js"}],"format":"esm"},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/fix-eperm.js":{"bytes":1260,"imports":[{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/fs.js","kind":"import-statement","original":"./fs.js"}],"format":"esm"},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/retry-busy.js":{"bytes":2049,"imports":[],"format":"esm"},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/default-tmp.js":{"bytes":2054,"imports":[{"path":"os","kind":"import-statement","external":true},{"path":"path","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/fs.js","kind":"import-statement","original":"./fs.js"},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/platform.js","kind":"import-statement","original":"./platform.js"}],"format":"esm"},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/rimraf-move-remove.js":{"bytes":6181,"imports":[{"path":"path","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/default-tmp.js","kind":"import-statement","original":"./default-tmp.js"},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/ignore-enoent.js","kind":"import-statement","original":"./ignore-enoent.js"},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/fs.js","kind":"import-statement","original":"./fs.js"},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/readdir-or-error.js","kind":"import-statement","original":"./readdir-or-error.js"}],"format":"esm"},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/rimraf-windows.js":{"bytes":6049,"imports":[{"path":"path","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/fix-eperm.js","kind":"import-statement","original":"./fix-eperm.js"},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/fs.js","kind":"import-statement","original":"./fs.js"},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/ignore-enoent.js","kind":"import-statement","original":"./ignore-enoent.js"},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/readdir-or-error.js","kind":"import-statement","original":"./readdir-or-error.js"},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/retry-busy.js","kind":"import-statement","original":"./retry-busy.js"},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/rimraf-move-remove.js","kind":"import-statement","original":"./rimraf-move-remove.js"}],"format":"esm"},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/rimraf-manual.js":{"bytes":389,"imports":[{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/platform.js","kind":"import-statement","original":"./platform.js"},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/rimraf-posix.js","kind":"import-statement","original":"./rimraf-posix.js"},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/rimraf-windows.js","kind":"import-statement","original":"./rimraf-windows.js"}],"format":"esm"},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/rimraf-native.js":{"bytes":430,"imports":[{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/fs.js","kind":"import-statement","original":"./fs.js"}],"format":"esm"},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/use-native.js":{"bytes":771,"imports":[{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/platform.js","kind":"import-statement","original":"./platform.js"}],"format":"esm"},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/index.js":{"bytes":2688,"imports":[{"path":"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/index.js","kind":"import-statement","original":"glob"},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/opt-arg.js","kind":"import-statement","original":"./opt-arg.js"},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/path-arg.js","kind":"import-statement","original":"./path-arg.js"},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/rimraf-manual.js","kind":"import-statement","original":"./rimraf-manual.js"},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/rimraf-move-remove.js","kind":"import-statement","original":"./rimraf-move-remove.js"},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/rimraf-native.js","kind":"import-statement","original":"./rimraf-native.js"},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/rimraf-posix.js","kind":"import-statement","original":"./rimraf-posix.js"},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/rimraf-windows.js","kind":"import-statement","original":"./rimraf-windows.js"},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/use-native.js","kind":"import-statement","original":"./use-native.js"},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/opt-arg.js","kind":"import-statement","original":"./opt-arg.js"}],"format":"esm"},"src/node/cli/commands/build/cmd-build.ts":{"bytes":1576,"imports":[{"path":"vite","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:url","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/index.js","kind":"import-statement","original":"rimraf"}],"format":"esm"},"src/node/cli/commands/logout/cmd-logout.ts":{"bytes":309,"imports":[{"path":"src/node/cli/store.ts","kind":"import-statement","original":"../../store"}],"format":"esm"},"src/node/cli/program.ts":{"bytes":2449,"imports":[{"path":"commander","kind":"import-statement","external":true},{"path":"src/node/cli/commands/publish/cmd-publish.ts","kind":"import-statement","original":"./commands/publish/cmd-publish"},{"path":"src/node/cli/commands/login/cmd-login.ts","kind":"import-statement","original":"./commands/login/cmd-login"},{"path":"src/node/cli/commands/build/cmd-build.ts","kind":"import-statement","original":"./commands/build/cmd-build"},{"path":"src/node/shared/logger.ts","kind":"import-statement","original":"../shared/logger"},{"path":"src/node/cli/commands/logout/cmd-logout.ts","kind":"import-statement","original":"./commands/logout/cmd-logout"}],"format":"esm"},"src/node/cli/types.ts":{"bytes":740,"imports":[],"format":"esm"}},"outputs":{"dist/node/cli/api.js":{"imports":[{"path":"vite","kind":"import-statement","external":true},{"path":"chalk","kind":"import-statement","external":true},{"path":"conf","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:crypto","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:url","kind":"import-statement","external":true},{"path":"chalk","kind":"import-statement","external":true}],"exports":["get","post"],"entryPoint":"src/node/cli/api.ts","inputs":{"src/node/shared/logger.ts":{"bytesInOutput":424},"package.json":{"bytesInOutput":15},"src/node/cli/constants.ts":{"bytesInOutput":240},"src/node/cli/store.ts":{"bytesInOutput":752},"src/node/cli/api.ts":{"bytesInOutput":1190}},"bytes":2752},"dist/node/cli/constants.js":{"imports":[],"exports":["API_BASE_URL","API_ENDPOINT_REGISTER_TEMPLATE","CLI_LOGIN_CLIENT_ID","CLI_LOGIN_POLL_INTERVAL","CLI_PROJECT_NAME","DEFAULT_UPLOAD_MAX_CONCURRENCY","FRONTEND_BASE_URL","OAUTH_ENDPOINT_DEVICE_CODE","OAUTH_ENDPOINT_TOKEN","OAUTH_ENDPOINT_USER_INFO"],"entryPoint":"src/node/cli/constants.ts","inputs":{"src/node/cli/constants.ts":{"bytesInOutput":320}},"bytes":709},"dist/node/cli/is-logged-in.js":{"imports":[{"path":"conf","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:crypto","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:url","kind":"import-statement","external":true},{"path":"chalk","kind":"import-statement","external":true},{"path":"vite","kind":"import-statement","external":true},{"path":"chalk","kind":"import-statement","external":true}],"exports":["isLoggedIn"],"entryPoint":"src/node/cli/is-logged-in.ts","inputs":{"src/node/cli/constants.ts":{"bytesInOutput":289},"src/node/cli/store.ts":{"bytesInOutput":786},"package.json":{"bytesInOutput":28},"src/node/shared/logger.ts":{"bytesInOutput":454},"src/node/cli/api.ts":{"bytesInOutput":1267},"src/node/cli/is-logged-in.ts":{"bytesInOutput":276}},"bytes":3354},"dist/node/cli/program.js":{"imports":[{"path":"conf","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:crypto","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:url","kind":"import-statement","external":true},{"path":"chalk","kind":"import-statement","external":true},{"path":"vite","kind":"import-statement","external":true},{"path":"chalk","kind":"import-statement","external":true},{"path":"commander","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"chalk","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:crypto","kind":"import-statement","external":true},{"path":"fast-glob","kind":"import-statement","external":true},{"path":"node:http","kind":"import-statement","external":true},{"path":"node:https","kind":"import-statement","external":true},{"path":"node:stream","kind":"import-statement","external":true},{"path":"chalk","kind":"import-statement","external":true},{"path":"form-data","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"p-queue","kind":"import-statement","external":true},{"path":"ora","kind":"import-statement","external":true},{"path":"nanoid","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"@sinclair/typebox","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:fs/promises","kind":"import-statement","external":true},{"path":"fast-glob","kind":"import-statement","external":true},{"path":"zod-validation-error","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"chalk","kind":"import-statement","external":true},{"path":"@inquirer/prompts","kind":"import-statement","external":true},{"path":"open","kind":"import-statement","external":true},{"path":"vite","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:url","kind":"import-statement","external":true},{"path":"node:url","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:url","kind":"import-statement","external":true},{"path":"fs","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:fs/promises","kind":"import-statement","external":true},{"path":"node:events","kind":"import-statement","external":true},{"path":"node:stream","kind":"import-statement","external":true},{"path":"node:string_decoder","kind":"import-statement","external":true},{"path":"path","kind":"import-statement","external":true},{"path":"util","kind":"import-statement","external":true},{"path":"fs","kind":"import-statement","external":true},{"path":"fs","kind":"import-statement","external":true},{"path":"fs","kind":"import-statement","external":true},{"path":"path","kind":"import-statement","external":true},{"path":"path","kind":"import-statement","external":true},{"path":"path","kind":"import-statement","external":true},{"path":"os","kind":"import-statement","external":true},{"path":"path","kind":"import-statement","external":true}],"exports":[],"entryPoint":"src/node/cli/program.ts","inputs":{"src/node/cli/utils.ts":{"bytesInOutput":341},"src/node/cli/constants.ts":{"bytesInOutput":376},"src/node/cli/store.ts":{"bytesInOutput":1001},"package.json":{"bytesInOutput":32},"src/node/shared/logger.ts":{"bytesInOutput":469},"src/node/cli/api.ts":{"bytesInOutput":1288},"../../node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.js":{"bytesInOutput":618},"../../node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.js":{"bytesInOutput":2124},"src/node/cli/program.ts":{"bytesInOutput":1353},"src/node/cli/commands/publish/cmd-publish.ts":{"bytesInOutput":2075},"src/node/cli/commands/publish/uploader.ts":{"bytesInOutput":4186},"src/node/cli/commands/publish/parse-gitignore.ts":{"bytesInOutput":2403},"src/shared/manifest.ts":{"bytesInOutput":846},"src/node/shared/config.ts":{"bytesInOutput":1346},"src/node/cli/is-logged-in.ts":{"bytesInOutput":281},"src/node/cli/commands/login/cmd-login.ts":{"bytesInOutput":1192},"src/node/cli/commands/build/cmd-build.ts":{"bytesInOutput":811},"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/index.js":{"bytesInOutput":10898},"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/assert-valid-pattern.js":{"bytesInOutput":134},"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/brace-expressions.js":{"bytesInOutput":1543},"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/unescape.js":{"bytesInOutput":150},"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/ast.js":{"bytesInOutput":5374},"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/escape.js":{"bytesInOutput":109},"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/glob.js":{"bytesInOutput":3638},"../../node_modules/.pnpm/lru-cache@11.0.0/node_modules/lru-cache/dist/esm/index.js":{"bytesInOutput":16623},"../../node_modules/.pnpm/path-scurry@2.0.0/node_modules/path-scurry/dist/esm/index.js":{"bytesInOutput":17233},"../../node_modules/.pnpm/minipass@7.1.2/node_modules/minipass/dist/esm/index.js":{"bytesInOutput":9806},"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/pattern.js":{"bytesInOutput":2120},"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/ignore.js":{"bytesInOutput":1314},"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/processor.js":{"bytesInOutput":3097},"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/walker.js":{"bytesInOutput":5324},"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/has-magic.js":{"bytesInOutput":103},"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/index.js":{"bytesInOutput":638},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/opt-arg.js":{"bytesInOutput":581},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/path-arg.js":{"bytesInOutput":890},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/platform.js":{"bytesInOutput":64},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/fs.js":{"bytesInOutput":901},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/rimraf-posix.js":{"bytesInOutput":1170},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/readdir-or-error.js":{"bytesInOutput":86},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/ignore-enoent.js":{"bytesInOutput":122},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/rimraf-windows.js":{"bytesInOutput":1726},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/fix-eperm.js":{"bytesInOutput":392},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/retry-busy.js":{"bytesInOutput":521},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/rimraf-move-remove.js":{"bytesInOutput":1990},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/default-tmp.js":{"bytesInOutput":532},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/rimraf-manual.js":{"bytesInOutput":46},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/rimraf-native.js":{"bytesInOutput":124},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/use-native.js":{"bytesInOutput":272},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/index.js":{"bytesInOutput":819},"src/node/cli/commands/logout/cmd-logout.ts":{"bytesInOutput":124}},"bytes":110186},"dist/node/cli/store.js":{"imports":[{"path":"conf","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:crypto","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:url","kind":"import-statement","external":true},{"path":"chalk","kind":"import-statement","external":true}],"exports":["accessStore","getTokenOrThrow"],"entryPoint":"src/node/cli/store.ts","inputs":{"src/node/cli/constants.ts":{"bytesInOutput":240},"src/node/cli/store.ts":{"bytesInOutput":925},"src/node/cli/utils.ts":{"bytesInOutput":222}},"bytes":1537},"dist/node/cli/types.js":{"imports":[],"exports":[],"entryPoint":"src/node/cli/types.ts","inputs":{"src/node/cli/types.ts":{"bytesInOutput":0}},"bytes":103},"dist/node/cli/utils.js":{"imports":[],"exports":["formatAPIError","getPackageManager"],"entryPoint":"src/node/cli/utils.ts","inputs":{"src/node/cli/utils.ts":{"bytesInOutput":309}},"bytes":464},"dist/node/shared/config.js":{"imports":[{"path":"@sinclair/typebox","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:fs/promises","kind":"import-statement","external":true},{"path":"fast-glob","kind":"import-statement","external":true},{"path":"vite","kind":"import-statement","external":true},{"path":"chalk","kind":"import-statement","external":true},{"path":"zod-validation-error","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true}],"exports":["loadConfigFromJsFile","loadConfigFromManifestFile","validateTemplateConfig"],"entryPoint":"src/node/shared/config.ts","inputs":{"src/shared/manifest.ts":{"bytesInOutput":845},"src/node/shared/config.ts":{"bytesInOutput":1512},"src/node/shared/logger.ts":{"bytesInOutput":424},"package.json":{"bytesInOutput":15}},"bytes":2994},"dist/node/shared/logger.js":{"imports":[{"path":"vite","kind":"import-statement","external":true},{"path":"chalk","kind":"import-statement","external":true}],"exports":["createLogger","logger"],"entryPoint":"src/node/shared/logger.ts","inputs":{"src/node/shared/logger.ts":{"bytesInOutput":424},"package.json":{"bytesInOutput":15}},"bytes":581},"dist/node/cli/commands/build/cmd-build.js":{"imports":[{"path":"vite","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:url","kind":"import-statement","external":true},{"path":"node:url","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:url","kind":"import-statement","external":true},{"path":"fs","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:fs/promises","kind":"import-statement","external":true},{"path":"node:events","kind":"import-statement","external":true},{"path":"node:stream","kind":"import-statement","external":true},{"path":"node:string_decoder","kind":"import-statement","external":true},{"path":"path","kind":"import-statement","external":true},{"path":"util","kind":"import-statement","external":true},{"path":"fs","kind":"import-statement","external":true},{"path":"fs","kind":"import-statement","external":true},{"path":"fs","kind":"import-statement","external":true},{"path":"path","kind":"import-statement","external":true},{"path":"path","kind":"import-statement","external":true},{"path":"path","kind":"import-statement","external":true},{"path":"os","kind":"import-statement","external":true},{"path":"path","kind":"import-statement","external":true}],"exports":["buildTemplate"],"entryPoint":"src/node/cli/commands/build/cmd-build.ts","inputs":{"../../node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.js":{"bytesInOutput":618},"../../node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.js":{"bytesInOutput":2127},"src/node/cli/commands/build/cmd-build.ts":{"bytesInOutput":811},"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/index.js":{"bytesInOutput":10898},"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/assert-valid-pattern.js":{"bytesInOutput":134},"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/brace-expressions.js":{"bytesInOutput":1543},"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/unescape.js":{"bytesInOutput":150},"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/ast.js":{"bytesInOutput":5374},"../../node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/escape.js":{"bytesInOutput":109},"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/glob.js":{"bytesInOutput":3638},"../../node_modules/.pnpm/lru-cache@11.0.0/node_modules/lru-cache/dist/esm/index.js":{"bytesInOutput":16618},"../../node_modules/.pnpm/path-scurry@2.0.0/node_modules/path-scurry/dist/esm/index.js":{"bytesInOutput":17233},"../../node_modules/.pnpm/minipass@7.1.2/node_modules/minipass/dist/esm/index.js":{"bytesInOutput":9797},"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/pattern.js":{"bytesInOutput":2120},"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/ignore.js":{"bytesInOutput":1314},"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/processor.js":{"bytesInOutput":3097},"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/walker.js":{"bytesInOutput":5324},"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/has-magic.js":{"bytesInOutput":103},"../../node_modules/.pnpm/glob@11.0.0/node_modules/glob/dist/esm/index.js":{"bytesInOutput":638},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/opt-arg.js":{"bytesInOutput":581},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/path-arg.js":{"bytesInOutput":890},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/platform.js":{"bytesInOutput":64},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/fs.js":{"bytesInOutput":891},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/rimraf-posix.js":{"bytesInOutput":1166},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/readdir-or-error.js":{"bytesInOutput":86},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/ignore-enoent.js":{"bytesInOutput":120},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/rimraf-windows.js":{"bytesInOutput":1722},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/fix-eperm.js":{"bytesInOutput":392},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/retry-busy.js":{"bytesInOutput":521},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/rimraf-move-remove.js":{"bytesInOutput":1986},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/default-tmp.js":{"bytesInOutput":532},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/rimraf-manual.js":{"bytesInOutput":46},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/rimraf-native.js":{"bytesInOutput":124},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/use-native.js":{"bytesInOutput":272},"../../node_modules/.pnpm/rimraf@6.0.1/node_modules/rimraf/dist/esm/index.js":{"bytesInOutput":819}},"bytes":92528},"dist/node/cli/commands/login/cmd-login.js":{"imports":[{"path":"chalk","kind":"import-statement","external":true},{"path":"@inquirer/prompts","kind":"import-statement","external":true},{"path":"open","kind":"import-statement","external":true},{"path":"vite","kind":"import-statement","external":true},{"path":"chalk","kind":"import-statement","external":true},{"path":"conf","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:crypto","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:url","kind":"import-statement","external":true},{"path":"chalk","kind":"import-statement","external":true}],"exports":["login","pollForLogin"],"entryPoint":"src/node/cli/commands/login/cmd-login.ts","inputs":{"src/node/cli/commands/login/cmd-login.ts":{"bytesInOutput":1163},"src/node/cli/constants.ts":{"bytesInOutput":281},"src/node/shared/logger.ts":{"bytesInOutput":424},"package.json":{"bytesInOutput":15},"src/node/cli/store.ts":{"bytesInOutput":752},"src/node/cli/api.ts":{"bytesInOutput":851}},"bytes":3628},"dist/node/cli/commands/logout/cmd-logout.js":{"imports":[{"path":"conf","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:crypto","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:url","kind":"import-statement","external":true},{"path":"chalk","kind":"import-statement","external":true}],"exports":["logout"],"entryPoint":"src/node/cli/commands/logout/cmd-logout.ts","inputs":{"src/node/cli/constants.ts":{"bytesInOutput":240},"src/node/cli/store.ts":{"bytesInOutput":752},"src/node/cli/commands/logout/cmd-logout.ts":{"bytesInOutput":118}},"bytes":1234},"dist/node/cli/commands/publish/cmd-publish.js":{"imports":[{"path":"conf","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:crypto","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:url","kind":"import-statement","external":true},{"path":"chalk","kind":"import-statement","external":true},{"path":"vite","kind":"import-statement","external":true},{"path":"chalk","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"chalk","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:crypto","kind":"import-statement","external":true},{"path":"fast-glob","kind":"import-statement","external":true},{"path":"node:http","kind":"import-statement","external":true},{"path":"node:https","kind":"import-statement","external":true},{"path":"node:stream","kind":"import-statement","external":true},{"path":"chalk","kind":"import-statement","external":true},{"path":"form-data","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"p-queue","kind":"import-statement","external":true},{"path":"ora","kind":"import-statement","external":true},{"path":"nanoid","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"@sinclair/typebox","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:fs/promises","kind":"import-statement","external":true},{"path":"fast-glob","kind":"import-statement","external":true},{"path":"zod-validation-error","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true}],"exports":["publish"],"entryPoint":"src/node/cli/commands/publish/cmd-publish.ts","inputs":{"src/node/cli/utils.ts":{"bytesInOutput":337},"src/node/cli/constants.ts":{"bytesInOutput":319},"src/node/cli/store.ts":{"bytesInOutput":981},"package.json":{"bytesInOutput":30},"src/node/shared/logger.ts":{"bytesInOutput":459},"src/node/cli/api.ts":{"bytesInOutput":1278},"src/node/cli/commands/publish/cmd-publish.ts":{"bytesInOutput":2051},"src/node/cli/commands/publish/uploader.ts":{"bytesInOutput":4164},"src/node/cli/commands/publish/parse-gitignore.ts":{"bytesInOutput":2395},"src/shared/manifest.ts":{"bytesInOutput":846},"src/node/shared/config.ts":{"bytesInOutput":1345},"src/node/cli/is-logged-in.ts":{"bytesInOutput":277}},"bytes":14962},"dist/node/cli/commands/publish/parse-gitignore.js":{"imports":[{"path":"node:fs","kind":"import-statement","external":true}],"exports":["dedupe","default","format","formatSection","globs","parse","parseFile","patterns"],"entryPoint":"src/node/cli/commands/publish/parse-gitignore.ts","inputs":{"src/node/cli/commands/publish/parse-gitignore.ts":{"bytesInOutput":2471}},"bytes":2916},"dist/node/cli/commands/publish/uploader.js":{"imports":[{"path":"node:path","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:crypto","kind":"import-statement","external":true},{"path":"fast-glob","kind":"import-statement","external":true},{"path":"node:http","kind":"import-statement","external":true},{"path":"node:https","kind":"import-statement","external":true},{"path":"node:stream","kind":"import-statement","external":true},{"path":"vite","kind":"import-statement","external":true},{"path":"chalk","kind":"import-statement","external":true},{"path":"chalk","kind":"import-statement","external":true},{"path":"form-data","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"p-queue","kind":"import-statement","external":true},{"path":"ora","kind":"import-statement","external":true},{"path":"nanoid","kind":"import-statement","external":true},{"path":"conf","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:crypto","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:url","kind":"import-statement","external":true},{"path":"chalk","kind":"import-statement","external":true}],"exports":["uploadTemplate"],"entryPoint":"src/node/cli/commands/publish/uploader.ts","inputs":{"src/node/cli/commands/publish/uploader.ts":{"bytesInOutput":4143},"src/node/cli/constants.ts":{"bytesInOutput":247},"src/node/shared/logger.ts":{"bytesInOutput":424},"package.json":{"bytesInOutput":15},"src/node/cli/commands/publish/parse-gitignore.ts":{"bytesInOutput":2377},"src/node/cli/store.ts":{"bytesInOutput":767},"src/node/cli/api.ts":{"bytesInOutput":855}},"bytes":9187}}}
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/node/shared/config.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,MAAM,EAA2B,MAAM,UAAU,CAAC;AAGhE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAEpD,wBAAsB,oBAAoB,CACxC,UAAU,EAAE,MAAM,EAClB,MAAM;;;;;;;;;;CAAgB,GACrB,OAAO,CAAC,cAAc,CAAC,CA8BzB;AAED,wBAAgB,0BAA0B,CAAC,YAAY,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,cAAc,CAM/F;AAED,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,kBAmB5E"}
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/node/shared/config.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,MAAM,EAA2B,MAAM,UAAU,CAAC;AAGhE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAEpD,wBAAsB,oBAAoB,CACxC,UAAU,EAAE,MAAM,EAClB,MAAM;;;;;;;;;;CAAgB,GACrB,OAAO,CAAC,cAAc,CAAC,CA8BzB;AAED,wBAAgB,0BAA0B,CAAC,YAAY,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,cAAc,CAM/F;AAED,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,kBAmB5E"}