@format.dev/studio 0.1.2 → 0.2.0

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.
@@ -237,4 +237,4 @@ import{LogLevel as e}from"@format.dev/compile/shared/types/index";import*as t fr
237
237
  export const components = {
238
238
  ${Ra(e)}
239
239
  }
240
- `;return await Wt.format(t,Pa)}const Ha={react:za,vue:Ba,html:Va};async function Ua(e,t){return await Ha[t.framework](e)}const Wa=`virtual:generate-modules`;function Ga(){return{name:`user-virtual-module`,apply:`serve`,resolveId(e){if(e===Wa)return e},async load(e){if(e===Wa){let e=w.getConfig();return await Ua(await dt(e),e)}}}}const Ka=/\.(css|scss|sass|less)(\?inline)?$/i;function qa(){return{name:`auto-inline-css`,enforce:`pre`,resolveId(e,t,n){return n?.ssr||!Ka.test(e)||!t||/\?inline($|&)/.test(e)?null:this.resolve(e+`?inline`,t)}}}function Ja(e,n){let r=t.relative(t.resolve(n),t.resolve(e));return r===``||!r.startsWith(`..`)&&!t.isAbsolute(r)}function Ya(e,t){for(let n of t)if(Ja(e,n))return!0;return!1}async function Xa(e){try{let t=await x(e);return Nt(`sha256`).update(t).digest(`hex`).slice(0,8)}catch{return null}}function Za(e={}){let n=(e.watchDirs??[]).map(e=>t.resolve(e)),r=e.documentsDir?t.resolve(e.documentsDir):null,i=e.onFileChanged??(()=>{});return{name:`hot-update-notifier`,apply:`serve`,configureServer(e){if(n.length===0&&!r)return;let a=null,o=null,s=async()=>{if(!o)return;let{event:t,file:n}=o;o=null,v.debug(`HMR asset event detected (${t})`,n),e.ws.send({type:`custom`,event:`hmr`,data:{file:n,ts:Date.now(),hash:t===`unlink`||t===`unlinkDir`?null:await Xa(n),event:t}})},c=(e,r)=>{let i=t.resolve(r);Ya(i,n)&&(o={event:e,file:i},a&&clearTimeout(a),a=setTimeout(()=>void s(),75))},l=null,u=()=>{v.debug(`documents change settled, client refreshing documents`),e.ws.send({type:`custom`,event:`documents-changed`,data:{ts:Date.now()}})},d=(e,n)=>{!r||!Ja(t.resolve(n),r)||(v.debug(`documents ${e}: ${n}`),l&&clearTimeout(l),l=setTimeout(u,100))},f=[...n,...r?[r]:[]];for(let t of f)e.watcher.add(t);r&&v.debug(`Watching for document changes in: ${r}`);let p=e=>{i(e),c(`add`,e),d(`add`,e)},m=e=>{i(e),c(`change`,e)},h=e=>{i(e),c(`unlink`,e),d(`unlink`,e)},g=e=>{i(e),c(`addDir`,e),d(`addDir`,e)},_=e=>{i(e),c(`unlinkDir`,e),d(`unlinkDir`,e)};e.watcher.on(`add`,p),e.watcher.on(`change`,m),e.watcher.on(`unlink`,h),e.watcher.on(`addDir`,g),e.watcher.on(`unlinkDir`,_),e.httpServer?.once(`close`,()=>{for(let t of f)e.watcher.unwatch(t);a&&clearTimeout(a),l&&clearTimeout(l),e.watcher.off(`add`,p),e.watcher.off(`change`,m),e.watcher.off(`unlink`,h),e.watcher.off(`addDir`,g),e.watcher.off(`unlinkDir`,_)})},async handleHotUpdate(e){if(i(e.file),n.length>0&&Ya(e.file,n))return[];v.debug(`HMR file update detected`,e.file);let t=await Xa(e.file);return e.server.ws.send({type:`custom`,event:`hmr`,data:{file:e.file,ts:Date.now(),hash:t,modules:e.modules.map(e=>e.url)}}),[]}}}const Qa={appDir:o(R,`app`),engineDir:H};function $a(e,t=Qa){return[ne(e),t.appDir,t.engineDir]}function eo(){let e=new Set,t=new Map;return function(n={}){let r=[Jn()],i={};for(let e of r){if(!u.existsSync(e))continue;let t=Se(u.readFileSync(e,`utf8`));Object.assign(i,t)}let a=n.keyFilter??(()=>!0),o=new Set(Object.keys(i).filter(a));for(let n of e)if(!o.has(n))if(t.has(n)){let e=t.get(n);e===void 0?delete process.env[n]:process.env[n]=e,t.delete(n)}else delete process.env[n];for(let e of o)t.has(e)||t.set(e,process.env[e]),process.env[e]=i[e];e=o}}const to=eo();function no(e={}){return to(e)}function ro(e){return t=>{let n=c(Jn()),r=null,i=t=>{c(t)===n&&(r&&clearTimeout(r),r=setTimeout(()=>{e()},75))};t.watcher.add(n),t.watcher.on(`add`,i),t.watcher.on(`change`,i),t.watcher.on(`unlink`,i),t.httpServer?.once(`close`,()=>{r&&clearTimeout(r),t.watcher.unwatch(n),t.watcher.off(`add`,i),t.watcher.off(`change`,i),t.watcher.off(`unlink`,i)})}}function io(e,t){let n=!1,r=null,i=i=>{r&&clearTimeout(r),r=setTimeout(async()=>{if(!n){n=!0;try{v.info(`Config file changed — restarting Format Studio server...`);let{config:n}=await he(e);w.setConfig(n),await t?.(),await i.restart()}catch(e){v.error(`Restart failed.`,e);let t={message:`Failed to restart Format Studio server after config file change.`};e instanceof Error&&e.message&&(t.details=[{message:e.message}]),N(i,t)}finally{n=!1}}},120)};return t=>{let n=n=>{n===e&&(W.consumeConfigRestartSkip()||i(t))};t.watcher.add(e),t.watcher.on(`change`,n),t.watcher.on(`add`,n),t.watcher.on(`unlink`,n),t.httpServer?.once(`close`,()=>{t.watcher.unwatch(e),t.watcher.off(`change`,n),t.watcher.off(`add`,n),t.watcher.off(`unlink`,n)})}}function ao(e,t,n=`pre`){return{name:e,enforce:n,async configResolved(e){for(let n of t.configResolved??[])await n(e)},async configureServer(e){for(let n of t.configureServer??[])await n(e)},async handleHotUpdate(e){for(let n of t.handleHotUpdate??[])await n(e)},async buildStart(){for(let e of t.buildStart??[])await e()},async closeBundle(){for(let e of t.closeBundle??[])await e()}}}function oo(e,t={}){let{onRestart:n}=t,r=()=>{no(),ve(ge())};return ao(`format:hooks`,{configResolved:[r],configureServer:[r,ro(r),io(e,n)]})}function so(e=process.env.FMT_ENGINE_VERSION){return e?.trim()||`0.1.0`}const co={FMT_ENV:`the FMT_ENV variable`,settings:`saved settings`,default:`the default`},lo=e=>co[e],uo=e=>e.port?Number(e.port):process.env.PORT?Number(process.env.PORT):1234;async function fo(t){let{config:n,filepath:r}=await he();w.setConfig(n);let i=Jn();no(),d(i)||v.debug(`No .env file found at startup: ${i}`),ve(ge()),vn({settings:await pn()});let{environment:a,source:o}=yn();v.info(`Environment: ${a.name} (from ${lo(o)})`);let s=uo(t),l=C();v.info(`Loading Format Studio...`),v.debug(`Format dev options`,t),v.debug(`CWD: ${l}`),v.debug(`User config: ${JSON.stringify(n)}`),v.debug(`Log level: ${pe()}`),v.debug(`Checking dependency versions`);try{Yt(l)}catch(e){v.error(e.message),process.exit(1)}let u=await Jt(l);if(u.pinnedVersion||(v.error('No "version" field found in your Format config. Run `format update latest` to pin a release.'),process.exit()),u.mismatches.length>0){v.error(`Some installed Format packages do not match the pinned version (${u.pinnedVersion}):`);for(let e of u.mismatches)v.error(` ${e.name} ${e.actual} (expected ${e.expected})`);v.error("Run `format update` to bring everything in line."),process.exit()}let f=so();v.debug(`Engine requested: ${f}`);try{v.debug(`Authenticating`);let e=await Ui(f,t);if(!e)throw new D(`Failed to authenticate`);let{accessToken:n,engineUrl:r,engineDigest:i,engine:a}=e;if(!n)throw new D(`Access token missing from credentials`);if(!r)throw new D(`Engine URL missing from access token`);W.setToken(n),W.setEngineVersions({requested:f,resolved:a}),await ga(r,a,i)}catch(e){v.error(`Failed to start Format Studio`),e instanceof O&&(v.error(cn),process.exit()),v.error(`Error: ${e.message}`),process.exit()}let p=(0,L.getSharedAssetsDir)(n),{isDirectory:m}=await de(p),h=m;!m&&n.sharedAssetsDir&&v.error(`Shared assets directory (sharedAssetsDir) not found or is not a directory: ${n.sharedAssetsDir} (${p})`);let{baseViteConfig:g,frameworkPlugins:ne,stylePlugins:ie}=Kt(),ae=new Xt({log:e=>v.debug(e),warn:e=>v.warn(e),allowedReadPaths:[l],sandbox:`standard`}),oe=[()=>void ae.dispose(),Fr];process.once(`exit`,()=>{for(let e of oe)e()});let se=()=>process.exit();process.once(`SIGINT`,se),process.once(`SIGTERM`,se);let ce=await ee(te(g,{clearScreen:!1,configFile:!1,server:{port:s,strictPort:!0,fs:{allow:$a(l)},watch:{ignored:Ie,awaitWriteFinish:{stabilityThreshold:200,pollInterval:50}}},plugins:[Za({watchDirs:[i,...h?[p]:[]],documentsDir:(0,L.getDocumentsDir)(n),onFileChanged:e=>jr(e,n)}),oo(r),Gt(!1),qa(),Ga(),Na(s,ae),...ne,...ie],optimizeDeps:{entries:!1,exclude:[`dist/app`]},define:{DEFAULT_VARIANT:JSON.stringify(He),VARIANT_PARAM:JSON.stringify(Je)},build:{rollupOptions:{input:{}}},cacheDir:c(Dn(),`vite-cache`),resolve:{dedupe:[`react`,`react-dom`],alias:{[Sn]:na(R,`app`,`index.js`)},mainFields:[]}}));br(e=>{ce.ws.send({type:`custom`,event:`pdf-build-status`,data:e})}),await ae.initDev({root:l,framework:n.framework,configJson:JSON.stringify(n),decodeStyleEntities:qt({framework:n.framework})});try{await ce.listen()}catch(e){if(!/already in use/i.test(e.message))throw e;v.error(ln(s)),process.exit(1)}oe.push(Li({server:ce})),pe()!==e.DEBUG&&v.clear();let le=`${sn}:${s}`;t.open&&await re(le);let ue=[`FORMAT STUDIO`,`————————————————————————`,le,`————————————————————————`,`Build something amazing.`],fe=Math.max(...ue.map(e=>e.length))+8,_e=`═`.repeat(fe+2);if(console.log(_(`╔${_e}╗`)),ue.forEach(e=>{let t=e.padStart((fe+e.length)/2).padEnd(fe);console.log(_(`║ ${t} ║`))}),console.log(_(`╚${_e}╝`)),pe()!==e.DEBUG)for(let e of me(n))v.warn(e)}export{Dn as n,fo as t};
240
+ `;return await Wt.format(t,Pa)}const Ha={react:za,vue:Ba,html:Va};async function Ua(e,t){return await Ha[t.framework](e)}const Wa=`virtual:generate-modules`;function Ga(){return{name:`user-virtual-module`,apply:`serve`,resolveId(e){if(e===Wa)return e},async load(e){if(e===Wa){let e=w.getConfig();return await Ua(await dt(e),e)}}}}const Ka=/\.(css|scss|sass|less)(\?inline)?$/i;function qa(){return{name:`auto-inline-css`,enforce:`pre`,resolveId(e,t,n){return n?.ssr||!Ka.test(e)||!t||/\?inline($|&)/.test(e)?null:this.resolve(e+`?inline`,t)}}}function Ja(e,n){let r=t.relative(t.resolve(n),t.resolve(e));return r===``||!r.startsWith(`..`)&&!t.isAbsolute(r)}function Ya(e,t){for(let n of t)if(Ja(e,n))return!0;return!1}async function Xa(e){try{let t=await x(e);return Nt(`sha256`).update(t).digest(`hex`).slice(0,8)}catch{return null}}function Za(e={}){let n=(e.watchDirs??[]).map(e=>t.resolve(e)),r=e.documentsDir?t.resolve(e.documentsDir):null,i=e.onFileChanged??(()=>{});return{name:`hot-update-notifier`,apply:`serve`,configureServer(e){if(n.length===0&&!r)return;let a=null,o=null,s=async()=>{if(!o)return;let{event:t,file:n}=o;o=null,v.debug(`HMR asset event detected (${t})`,n),e.ws.send({type:`custom`,event:`hmr`,data:{file:n,ts:Date.now(),hash:t===`unlink`||t===`unlinkDir`?null:await Xa(n),event:t}})},c=(e,r)=>{let i=t.resolve(r);Ya(i,n)&&(o={event:e,file:i},a&&clearTimeout(a),a=setTimeout(()=>void s(),75))},l=null,u=()=>{v.debug(`documents change settled, client refreshing documents`),e.ws.send({type:`custom`,event:`documents-changed`,data:{ts:Date.now()}})},d=(e,n)=>{!r||!Ja(t.resolve(n),r)||(v.debug(`documents ${e}: ${n}`),l&&clearTimeout(l),l=setTimeout(u,100))},f=[...n,...r?[r]:[]];for(let t of f)e.watcher.add(t);r&&v.debug(`Watching for document changes in: ${r}`);let p=e=>{i(e),c(`add`,e),d(`add`,e)},m=e=>{i(e),c(`change`,e)},h=e=>{i(e),c(`unlink`,e),d(`unlink`,e)},g=e=>{i(e),c(`addDir`,e),d(`addDir`,e)},_=e=>{i(e),c(`unlinkDir`,e),d(`unlinkDir`,e)};e.watcher.on(`add`,p),e.watcher.on(`change`,m),e.watcher.on(`unlink`,h),e.watcher.on(`addDir`,g),e.watcher.on(`unlinkDir`,_),e.httpServer?.once(`close`,()=>{for(let t of f)e.watcher.unwatch(t);a&&clearTimeout(a),l&&clearTimeout(l),e.watcher.off(`add`,p),e.watcher.off(`change`,m),e.watcher.off(`unlink`,h),e.watcher.off(`addDir`,g),e.watcher.off(`unlinkDir`,_)})},async handleHotUpdate(e){if(i(e.file),n.length>0&&Ya(e.file,n))return[];v.debug(`HMR file update detected`,e.file);let t=await Xa(e.file);return e.server.ws.send({type:`custom`,event:`hmr`,data:{file:e.file,ts:Date.now(),hash:t,modules:e.modules.map(e=>e.url)}}),[]}}}const Qa={appDir:o(R,`app`),engineDir:H};function $a(e,t=Qa){return[ne(e),t.appDir,t.engineDir]}function eo(){let e=new Set,t=new Map;return function(n={}){let r=[Jn()],i={};for(let e of r){if(!u.existsSync(e))continue;let t=Se(u.readFileSync(e,`utf8`));Object.assign(i,t)}let a=n.keyFilter??(()=>!0),o=new Set(Object.keys(i).filter(a));for(let n of e)if(!o.has(n))if(t.has(n)){let e=t.get(n);e===void 0?delete process.env[n]:process.env[n]=e,t.delete(n)}else delete process.env[n];for(let e of o)t.has(e)||t.set(e,process.env[e]),process.env[e]=i[e];e=o}}const to=eo();function no(e={}){return to(e)}function ro(e){return t=>{let n=c(Jn()),r=null,i=t=>{c(t)===n&&(r&&clearTimeout(r),r=setTimeout(()=>{e()},75))};t.watcher.add(n),t.watcher.on(`add`,i),t.watcher.on(`change`,i),t.watcher.on(`unlink`,i),t.httpServer?.once(`close`,()=>{r&&clearTimeout(r),t.watcher.unwatch(n),t.watcher.off(`add`,i),t.watcher.off(`change`,i),t.watcher.off(`unlink`,i)})}}function io(e,t){let n=!1,r=null,i=i=>{r&&clearTimeout(r),r=setTimeout(async()=>{if(!n){n=!0;try{v.info(`Config file changed — restarting Format Studio server...`);let{config:n}=await he(e);w.setConfig(n),await t?.(),await i.restart()}catch(e){v.error(`Restart failed.`,e);let t={message:`Failed to restart Format Studio server after config file change.`};e instanceof Error&&e.message&&(t.details=[{message:e.message}]),N(i,t)}finally{n=!1}}},120)};return t=>{let n=n=>{n===e&&(W.consumeConfigRestartSkip()||i(t))};t.watcher.add(e),t.watcher.on(`change`,n),t.watcher.on(`add`,n),t.watcher.on(`unlink`,n),t.httpServer?.once(`close`,()=>{t.watcher.unwatch(e),t.watcher.off(`change`,n),t.watcher.off(`add`,n),t.watcher.off(`unlink`,n)})}}function ao(e,t,n=`pre`){return{name:e,enforce:n,async configResolved(e){for(let n of t.configResolved??[])await n(e)},async configureServer(e){for(let n of t.configureServer??[])await n(e)},async handleHotUpdate(e){for(let n of t.handleHotUpdate??[])await n(e)},async buildStart(){for(let e of t.buildStart??[])await e()},async closeBundle(){for(let e of t.closeBundle??[])await e()}}}function oo(e,t={}){let{onRestart:n}=t,r=()=>{no(),ve(ge())};return ao(`format:hooks`,{configResolved:[r],configureServer:[r,ro(r),io(e,n)]})}function so(e=process.env.FMT_ENGINE_VERSION){return e?.trim()||`0.2.0`}const co={FMT_ENV:`the FMT_ENV variable`,settings:`saved settings`,default:`the default`},lo=e=>co[e],uo=e=>e.port?Number(e.port):process.env.PORT?Number(process.env.PORT):1234;async function fo(t){let{config:n,filepath:r}=await he();w.setConfig(n);let i=Jn();no(),d(i)||v.debug(`No .env file found at startup: ${i}`),ve(ge()),vn({settings:await pn()});let{environment:a,source:o}=yn();v.info(`Environment: ${a.name} (from ${lo(o)})`);let s=uo(t),l=C();v.info(`Loading Format Studio...`),v.debug(`Format dev options`,t),v.debug(`CWD: ${l}`),v.debug(`User config: ${JSON.stringify(n)}`),v.debug(`Log level: ${pe()}`),v.debug(`Checking dependency versions`);try{Yt(l)}catch(e){v.error(e.message),process.exit(1)}let u=await Jt(l);if(u.pinnedVersion||(v.error('No "version" field found in your Format config. Run `format update latest` to pin a release.'),process.exit()),u.mismatches.length>0){v.error(`Some installed Format packages do not match the pinned version (${u.pinnedVersion}):`);for(let e of u.mismatches)v.error(` ${e.name} ${e.actual} (expected ${e.expected})`);v.error("Run `format update` to bring everything in line."),process.exit()}let f=so();v.debug(`Engine requested: ${f}`);try{v.debug(`Authenticating`);let e=await Ui(f,t);if(!e)throw new D(`Failed to authenticate`);let{accessToken:n,engineUrl:r,engineDigest:i,engine:a}=e;if(!n)throw new D(`Access token missing from credentials`);if(!r)throw new D(`Engine URL missing from access token`);W.setToken(n),W.setEngineVersions({requested:f,resolved:a}),await ga(r,a,i)}catch(e){v.error(`Failed to start Format Studio`),e instanceof O&&(v.error(cn),process.exit()),v.error(`Error: ${e.message}`),process.exit()}let p=(0,L.getSharedAssetsDir)(n),{isDirectory:m}=await de(p),h=m;!m&&n.sharedAssetsDir&&v.error(`Shared assets directory (sharedAssetsDir) not found or is not a directory: ${n.sharedAssetsDir} (${p})`);let{baseViteConfig:g,frameworkPlugins:ne,stylePlugins:ie}=Kt(),ae=new Xt({log:e=>v.debug(e),warn:e=>v.warn(e),allowedReadPaths:[l],sandbox:`standard`}),oe=[()=>void ae.dispose(),Fr];process.once(`exit`,()=>{for(let e of oe)e()});let se=()=>process.exit();process.once(`SIGINT`,se),process.once(`SIGTERM`,se);let ce=await ee(te(g,{clearScreen:!1,configFile:!1,server:{port:s,strictPort:!0,fs:{allow:$a(l)},watch:{ignored:Ie,awaitWriteFinish:{stabilityThreshold:200,pollInterval:50}}},plugins:[Za({watchDirs:[i,...h?[p]:[]],documentsDir:(0,L.getDocumentsDir)(n),onFileChanged:e=>jr(e,n)}),oo(r),Gt(!1),qa(),Ga(),Na(s,ae),...ne,...ie],optimizeDeps:{entries:!1,exclude:[`dist/app`]},define:{DEFAULT_VARIANT:JSON.stringify(He),VARIANT_PARAM:JSON.stringify(Je)},build:{rollupOptions:{input:{}}},cacheDir:c(Dn(),`vite-cache`),resolve:{dedupe:[`react`,`react-dom`],alias:{[Sn]:na(R,`app`,`index.js`)},mainFields:[]}}));br(e=>{ce.ws.send({type:`custom`,event:`pdf-build-status`,data:e})}),await ae.initDev({root:l,framework:n.framework,configJson:JSON.stringify(n),decodeStyleEntities:qt({framework:n.framework})});try{await ce.listen()}catch(e){if(!/already in use/i.test(e.message))throw e;v.error(ln(s)),process.exit(1)}oe.push(Li({server:ce})),pe()!==e.DEBUG&&v.clear();let le=`${sn}:${s}`;t.open&&await re(le);let ue=[`FORMAT STUDIO`,`————————————————————————`,le,`————————————————————————`,`Build something amazing.`],fe=Math.max(...ue.map(e=>e.length))+8,_e=`═`.repeat(fe+2);if(console.log(_(`╔${_e}╗`)),ue.forEach(e=>{let t=e.padStart((fe+e.length)/2).padEnd(fe);console.log(_(`║ ${t} ║`))}),console.log(_(`╚${_e}╝`)),pe()!==e.DEBUG)for(let e of me(n))v.warn(e)}export{Dn as n,fo as t};
package/dist/node/bin.js CHANGED
@@ -1 +1 @@
1
- import{n as e,t}from"./DDjjoMC6.js";import{createSpecProgram as n}from"@format.dev/compile/server/cli/index";import{rimraf as r}from"rimraf";var i={commands:[{name:`dev`,description:`Run the Format Studio server.`,options:[{field:`open`,flags:`--no-open`,description:`Do not automatically open Studio in the browser after authentication.`,type:`boolean`,defaultValue:!0},{field:`port`,flags:`--port <port>`,description:`Port to run the server on. Defaults to 1234.`,type:`number`}]}]};function a(){return n({name:`format-studio`,description:`Format Studio`,spec:i,handlers:{dev:t,"clear-cache":async()=>{await r(e())}}})}a().parse();export{};
1
+ import{n as e,t}from"./Dk2ND8wl.js";import{createSpecProgram as n}from"@format.dev/compile/server/cli/index";import{rimraf as r}from"rimraf";var i={commands:[{name:`dev`,description:`Run the Format Studio server.`,options:[{field:`open`,flags:`--no-open`,description:`Do not automatically open Studio in the browser after authentication.`,type:`boolean`,defaultValue:!0},{field:`port`,flags:`--port <port>`,description:`Port to run the server on. Defaults to 1234.`,type:`number`}]}]};function a(){return n({name:`format-studio`,description:`Format Studio`,spec:i,handlers:{dev:t,"clear-cache":async()=>{await r(e())}}})}a().parse();export{};
@@ -1 +1 @@
1
- import{t as e}from"./DDjjoMC6.js";export{e as serve};
1
+ import{t as e}from"./Dk2ND8wl.js";export{e as serve};
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@format.dev/studio",
3
3
  "module": "./dist/node/index.js",
4
4
  "type": "module",
5
- "version": "0.1.2",
5
+ "version": "0.2.0",
6
6
  "license": "Elastic-2.0",
7
7
  "repository": {
8
8
  "type": "git",
@@ -33,12 +33,12 @@
33
33
  "access": "public"
34
34
  },
35
35
  "dependencies": {
36
- "@format.dev/cli": "0.1.2",
37
- "@format.dev/client": "0.1.2",
38
- "@format.dev/compile": "0.1.2",
39
- "@format.dev/fonts": "0.1.2",
40
- "@format.dev/utils": "0.1.2",
41
- "@format.dev/zip": "0.1.2",
36
+ "@format.dev/cli": "0.2.0",
37
+ "@format.dev/client": "0.2.0",
38
+ "@format.dev/compile": "0.2.0",
39
+ "@format.dev/fonts": "0.2.0",
40
+ "@format.dev/utils": "0.2.0",
41
+ "@format.dev/zip": "0.2.0",
42
42
  "@inquirer/prompts": "^7.10.1",
43
43
  "@radix-ui/react-focus-scope": "^1.1.7",
44
44
  "@radix-ui/react-slider": "^1.4.0",
@@ -61,8 +61,8 @@
61
61
  "vite": "8.3.2"
62
62
  },
63
63
  "devDependencies": {
64
- "@format.dev/react": "0.1.2",
65
- "@format.dev/vue": "0.1.2",
64
+ "@format.dev/react": "0.2.0",
65
+ "@format.dev/vue": "0.2.0",
66
66
  "@storybook/addon-a11y": "10.6.1",
67
67
  "@storybook/react-vite": "10.6.1",
68
68
  "@testing-library/react": "^16.3.0",