@stacksjs/docs 0.68.1 → 0.69.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 +14 -10
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.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};
2
+ import{alias as a}from"@stacksjs/alias";import{kolorist as s}from"@stacksjs/cli";import{docs as c}from"@stacksjs/config";import{path as e}from"@stacksjs/path";import{server as d}from"@stacksjs/server";import{withPwa as g}from"@vite-pwa/vitepress";import{defineConfig as m}from"vitepress";var i="0.69.1";import{docs as t}from"@stacksjs/config";import{frameworkPath as o}from"@stacksjs/path";var r={outDir:o("docs/dist"),registerType:"autoUpdate",strategies:"injectManifest",srcDir:o("docs/.vitepress"),filename:"sw.ts",injectRegister:"inline",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"}],edge_side_panel:{preferred_width:480},screenshots:[{src:"og.png",sizes:"1281x641",type:"image/png",label:"Screenshot of Stacks"}]},injectManifest:{globPatterns:["**/*.{css,js,html,svg,png,ico,txt,woff2}","hashmap.json"],globIgnores:["og-*.{png,jpg,jpeg}"]}};var w="https://fonts.googleapis.com",j="https://fonts.gstatic.com",x="https://fonts.googleapis.com/css2?family=Readex+Pro:wght@200;400;600&display=swap",v="https://stacksjs.org/",_="https://stacksjs.org/og.png",z="https://github.com/stacksjs/stacks",D="https://github.com/stacksjs/stacks/releases",M="https://github.com/stacksjs/stacks/blob/main/CONTRIBUTING.md",E="https://chat.stacksjs.org",O="https://twitter.com/stacksjs",S=["https://fonts.googleapis.com","https://fonts.gstatic.com"],B=["https://fonts.googleapis.com","https://fonts.gstatic.com"],I=new RegExp("^https://fonts.googleapis.com/.*","i"),R=new RegExp("^https://fonts.gstatic.com/.*","i"),U=/^https:\/\/((i.ibb.co)|((raw|user-images).githubusercontent.com))\/.*/i;import{transformerTwoslash as q}from"@shikijs/vitepress-twoslash";import C from"@shikijs/vitepress-twoslash/client";var u={base:"/docs/",cleanUrls:!0,srcDir:e.projectPath("docs"),outDir:e.storagePath("framework/docs"),cacheDir:e.storagePath("framework/cache/docs"),assetsDir:"/assets",vite:{envDir:e.projectPath(),envPrefix:"FRONTEND_",server:d({type:"docs"}),resolve:{alias:a},plugins:[{name:"stacks-plugin",configureServer(p){p.printUrls=()=>{console.log(` ${s.blue(s.bold("STACKS"))} ${s.blue(i)}`),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:r},l={...u,...c},h=g(m(l)),ss=h;export{O as twitter,q as transformerTwoslash,D as releases,I as pwaFontsRegex,R as pwaFontStylesRegex,r as pwaDocs,S as preconnectLinks,B as preconnectHomeLinks,v as ogUrl,_ as ogImage,j as gstatic,w as googleapis,U as githubusercontentRegex,z as github,u as frameworkDefaults,x as font,E as discord,ss as default,M as contributing,C as TwoSlashFloatingVue};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/docs",
3
3
  "type": "module",
4
- "version": "0.68.1",
4
+ "version": "0.69.1",
5
5
  "description": "The Stacks way to document.",
6
6
  "author": "Chris Breuer",
7
7
  "contributors": ["Chris Breuer <chris@stacksjs.org>"],
@@ -34,16 +34,20 @@
34
34
  "prepublishOnly": "bun run build"
35
35
  },
36
36
  "dependencies": {
37
- "@stacksjs/alias": "0.67.0",
38
- "@stacksjs/config": "0.67.0",
39
- "@stacksjs/path": "0.67.0",
40
- "@stacksjs/server": "0.67.0",
41
- "vitepress": "1.4.1",
42
- "vitepress-plugin-twoslash": "^0.10.2"
37
+ "@iconify-json/carbon": "^1.2.7",
38
+ "@shikijs/vitepress-twoslash": "^3.0.0",
39
+ "@vite-pwa/assets-generator": "^0.2.6",
40
+ "@vite-pwa/vitepress": "^0.5.3",
41
+ "unplugin-icons": "^22.0.0",
42
+ "unplugin-vue-components": "^28.1.0",
43
+ "vite-plugin-pwa": "^0.21.1",
44
+ "vitepress": "1.6.3"
43
45
  },
44
46
  "devDependencies": {
45
- "@stacksjs/development": "0.67.0",
46
- "@vite-pwa/assets-generator": "^0.2.6",
47
- "@vite-pwa/vitepress": "^0.5.3"
47
+ "@stacksjs/alias": "0.68.2",
48
+ "@stacksjs/config": "0.68.2",
49
+ "@stacksjs/development": "0.68.2",
50
+ "@stacksjs/path": "0.68.2",
51
+ "@stacksjs/server": "0.68.2"
48
52
  }
49
53
  }