@stacksjs/docs 0.67.0 → 0.68.1

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 (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{alias as p}from"@stacksjs/alias";import{kolorist as s}from"@stacksjs/cli";import{docs as c}from"@stacksjs/config";import{path as r}from"@stacksjs/path";import{server as h}from"@stacksjs/server";import{withPwa as j}from"@vite-pwa/vitepress";import{defineConfig as y}from"vitepress";var e="0.67.0";import{docs as t}from"@stacksjs/config";import{frameworkPath as m}from"@stacksjs/path";var D="https://fonts.googleapis.com",I="https://fonts.gstatic.com",O="https://fonts.googleapis.com/css2?family=Readex+Pro:wght@200;400;600&display=swap",q="https://stacksjs.org/",z="https://stacksjs.org/og.png",A="https://github.com/stacksjs/stacks",C="https://github.com/stacksjs/stacks/releases",G="https://github.com/stacksjs/stacks/blob/main/CONTRIBUTING.md",H="https://chat.stacksjs.org",J="https://twitter.com/stacksjs",K=["https://fonts.googleapis.com","https://fonts.gstatic.com"],L=["https://fonts.googleapis.com","https://fonts.gstatic.com"],i=new RegExp("^https://fonts.googleapis.com/.*","i"),d=new RegExp("^https://fonts.gstatic.com/.*","i"),u=/^https:\/\/((i.ibb.co)|((raw|user-images).githubusercontent.com))\/.*/i;var k={outDir:m("docs/dist"),registerType:"autoUpdate",manifest:{id:"/",name:t.title,short_name:t.title,description:t.description,theme_color:"#ffffff",start_url:"/",lang:"en-US",dir:"ltr",orientation:"natural",display:"standalone",display_override:["window-controls-overlay"],categories:["development","developer tools"],icons:[{src:"pwa-64x64.png",sizes:"64x64",type:"image/png"},{src:"pwa-192x192.png",sizes:"192x192",type:"image/png"},{src:"pwa-512x512.png",sizes:"512x512",type:"image/png",purpose:"any"},{src:"maskable-icon.png",sizes:"512x512",type:"image/png",purpose:"maskable"}],screenshots:[{src:"og.png",sizes:"2258x1185",type:"image/png",label:`Screenshot of ${t.title}`}],handle_links:"preferred",launch_handler:{client_mode:["navigate-existing","auto"]},edge_side_panel:{preferred_width:480}},workbox:{navigateFallbackDenylist:[/^\/new$/],maximumFileSizeToCacheInBytes:3145728,globPatterns:["**/*.{css,js,html,png,svg,ico,txt,woff2,json}"],dontCacheBustURLsMatching:/^assets\//,runtimeCaching:[{urlPattern:i,handler:"CacheFirst",options:{cacheName:"google-fonts-cache",expiration:{maxEntries:10,maxAgeSeconds:31536000},cacheableResponse:{statuses:[0,200]}}},{urlPattern:d,handler:"CacheFirst",options:{cacheName:"gstatic-fonts-cache",expiration:{maxEntries:10,maxAgeSeconds:31536000},cacheableResponse:{statuses:[0,200]}}},{urlPattern:u,handler:"CacheFirst",options:{cacheName:"githubusercontent-images-cache",expiration:{maxEntries:10,maxAgeSeconds:31536000},cacheableResponse:{statuses:[0,200]}}}]},experimental:{includeAllowlist:!0}};import{transformerTwoslash as Z}from"vitepress-plugin-twoslash";import $ from"vitepress-plugin-twoslash/client";var E={base:"/docs/",cleanUrls:!0,srcDir:r.projectPath("docs"),outDir:r.storagePath("framework/docs"),cacheDir:r.storagePath("framework/cache/docs"),assetsDir:"/assets",vite:{envDir:r.projectPath(),envPrefix:"FRONTEND_",server:h({type:"docs"}),resolve:{alias:p},plugins:[{name:"stacks-plugin",configureServer(o){o.printUrls=()=>{console.log(` ${s.blue(s.bold("STACKS"))} ${s.blue(e)}`),console.log(` ${s.green("\u279C")} ${s.bold("Docs")}: ${s.green("https://stacks.localhost/docs")}`),console.log(` ${s.green("\u279C")} ${s.bold("Temp URL")}: ${s.green("http://stacksjs.test:3000")}`)}}}]},pwa:k},B={...E,...c},M=j(y(B)),ts=M;export{J as twitter,Z as transformerTwoslash,C as releases,i as pwaFontsRegex,d as pwaFontStylesRegex,k as pwaDocs,K as preconnectLinks,L as preconnectHomeLinks,q as ogUrl,z as ogImage,I as gstatic,D as googleapis,u as githubusercontentRegex,A as github,E as frameworkDefaults,O as font,H as discord,ts as default,G as contributing,$ as TwoSlashFloatingVue};
2
+ import{alias as p}from"@stacksjs/alias";import{kolorist as s}from"@stacksjs/cli";import{docs as c}from"@stacksjs/config";import{path as r}from"@stacksjs/path";import{server as h}from"@stacksjs/server";import{withPwa as j}from"@vite-pwa/vitepress";import{defineConfig as y}from"vitepress";var e="0.68.1";import{docs as t}from"@stacksjs/config";import{frameworkPath as m}from"@stacksjs/path";var D="https://fonts.googleapis.com",I="https://fonts.gstatic.com",O="https://fonts.googleapis.com/css2?family=Readex+Pro:wght@200;400;600&display=swap",q="https://stacksjs.org/",z="https://stacksjs.org/og.png",A="https://github.com/stacksjs/stacks",C="https://github.com/stacksjs/stacks/releases",G="https://github.com/stacksjs/stacks/blob/main/CONTRIBUTING.md",H="https://chat.stacksjs.org",J="https://twitter.com/stacksjs",K=["https://fonts.googleapis.com","https://fonts.gstatic.com"],L=["https://fonts.googleapis.com","https://fonts.gstatic.com"],i=new RegExp("^https://fonts.googleapis.com/.*","i"),d=new RegExp("^https://fonts.gstatic.com/.*","i"),u=/^https:\/\/((i.ibb.co)|((raw|user-images).githubusercontent.com))\/.*/i;var k={outDir:m("docs/dist"),registerType:"autoUpdate",manifest:{id:"/",name:t.title,short_name:t.title,description:t.description,theme_color:"#ffffff",start_url:"/",lang:"en-US",dir:"ltr",orientation:"natural",display:"standalone",display_override:["window-controls-overlay"],categories:["development","developer tools"],icons:[{src:"pwa-64x64.png",sizes:"64x64",type:"image/png"},{src:"pwa-192x192.png",sizes:"192x192",type:"image/png"},{src:"pwa-512x512.png",sizes:"512x512",type:"image/png",purpose:"any"},{src:"maskable-icon.png",sizes:"512x512",type:"image/png",purpose:"maskable"}],screenshots:[{src:"og.png",sizes:"2258x1185",type:"image/png",label:`Screenshot of ${t.title}`}],handle_links:"preferred",launch_handler:{client_mode:["navigate-existing","auto"]},edge_side_panel:{preferred_width:480}},workbox:{navigateFallbackDenylist:[/^\/new$/],maximumFileSizeToCacheInBytes:3145728,globPatterns:["**/*.{css,js,html,png,svg,ico,txt,woff2,json}"],dontCacheBustURLsMatching:/^assets\//,runtimeCaching:[{urlPattern:i,handler:"CacheFirst",options:{cacheName:"google-fonts-cache",expiration:{maxEntries:10,maxAgeSeconds:31536000},cacheableResponse:{statuses:[0,200]}}},{urlPattern:d,handler:"CacheFirst",options:{cacheName:"gstatic-fonts-cache",expiration:{maxEntries:10,maxAgeSeconds:31536000},cacheableResponse:{statuses:[0,200]}}},{urlPattern:u,handler:"CacheFirst",options:{cacheName:"githubusercontent-images-cache",expiration:{maxEntries:10,maxAgeSeconds:31536000},cacheableResponse:{statuses:[0,200]}}}]},experimental:{includeAllowlist:!0}};import{transformerTwoslash as Z}from"vitepress-plugin-twoslash";import $ from"vitepress-plugin-twoslash/client";var E={base:"/docs/",cleanUrls:!0,srcDir:r.projectPath("docs"),outDir:r.storagePath("framework/docs"),cacheDir:r.storagePath("framework/cache/docs"),assetsDir:"/assets",vite:{envDir:r.projectPath(),envPrefix:"FRONTEND_",server:h({type:"docs"}),resolve:{alias:p},plugins:[{name:"stacks-plugin",configureServer(o){o.printUrls=()=>{console.log(` ${s.blue(s.bold("STACKS"))} ${s.blue(e)}`),console.log(` ${s.green("\u279C")} ${s.bold("Docs")}: ${s.green("https://stacks.localhost/docs")}`),console.log(` ${s.green("\u279C")} ${s.bold("Temp URL")}: ${s.green("http://stacksjs.test:3000")}`)}}}]},pwa:k},B={...E,...c},M=j(y(B)),ts=M;export{J as twitter,Z as transformerTwoslash,C as releases,i as pwaFontsRegex,d as pwaFontStylesRegex,k as pwaDocs,K as preconnectLinks,L as preconnectHomeLinks,q as ogUrl,z as ogImage,I as gstatic,D as googleapis,u as githubusercontentRegex,A as github,E as frameworkDefaults,O as font,H as discord,ts as default,G as contributing,$ as TwoSlashFloatingVue};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/docs",
3
3
  "type": "module",
4
- "version": "0.67.0",
4
+ "version": "0.68.1",
5
5
  "description": "The Stacks way to document.",
6
6
  "author": "Chris Breuer",
7
7
  "contributors": ["Chris Breuer <chris@stacksjs.org>"],
@@ -38,7 +38,7 @@
38
38
  "@stacksjs/config": "0.67.0",
39
39
  "@stacksjs/path": "0.67.0",
40
40
  "@stacksjs/server": "0.67.0",
41
- "vitepress": "1.4.0",
41
+ "vitepress": "1.4.1",
42
42
  "vitepress-plugin-twoslash": "^0.10.2"
43
43
  },
44
44
  "devDependencies": {