@stacksjs/docs 0.70.23 → 0.70.26

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 +23 -18
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // @bun
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.70.23";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};
2
+ import{docs as q}from"@stacksjs/config";import{path as b}from"@stacksjs/path";var y="https://fonts.googleapis.com",z="https://fonts.gstatic.com",B="https://fonts.googleapis.com/css2?family=Readex+Pro:wght@200;400;600&display=swap",C="https://stacksjs.com/",E="https://stacksjs.com/og.png",F="https://github.com/stacksjs/stacks",G="https://github.com/stacksjs/stacks/releases",H="https://github.com/stacksjs/stacks/blob/main/CONTRIBUTING.md",I="https://chat.stacksjs.com",J="https://twitter.com/stacksjs",K=["https://fonts.googleapis.com","https://fonts.gstatic.com"],L=["https://fonts.googleapis.com","https://fonts.gstatic.com"],N=new RegExp("^https://fonts.googleapis.com/.*","i"),O=new RegExp("^https://fonts.gstatic.com/.*","i"),Q=/^https:\/\/((i.ibb.co)|((raw|user-images).githubusercontent.com))\/.*/i;var v={docsDir:b.projectPath("docs"),outDir:b.frameworkPath("docs/dist")},U={...v,...q};export{J as twitter,G as releases,N as pwaFontsRegex,O as pwaFontStylesRegex,K as preconnectLinks,L as preconnectHomeLinks,C as ogUrl,E as ogImage,z as gstatic,y as googleapis,Q as githubusercontentRegex,F as github,v as frameworkDefaults,B as font,U as docsConfig,I as discord,H as contributing};
package/package.json CHANGED
@@ -1,10 +1,12 @@
1
1
  {
2
2
  "name": "@stacksjs/docs",
3
3
  "type": "module",
4
- "version": "0.70.23",
4
+ "version": "0.70.26",
5
5
  "description": "The Stacks way to document.",
6
6
  "author": "Chris Breuer",
7
- "contributors": ["Chris Breuer <chris@stacksjs.org>"],
7
+ "contributors": [
8
+ "Chris Breuer <chris@stacksjs.com>"
9
+ ],
8
10
  "license": "MIT",
9
11
  "funding": "https://github.com/sponsors/chrisbbreuer",
10
12
  "homepage": "https://github.com/stacksjs/stacks/tree/main/storage/framework/core/docs#readme",
@@ -16,39 +18,42 @@
16
18
  "bugs": {
17
19
  "url": "https://github.com/stacksjs/stacks/issues"
18
20
  },
19
- "keywords": ["docs", "utilities", "functions", "stacks"],
21
+ "keywords": [
22
+ "docs",
23
+ "utilities",
24
+ "functions",
25
+ "stacks"
26
+ ],
20
27
  "exports": {
21
28
  ".": {
29
+ "types": "./dist/index.d.ts",
30
+ "bun": "./src/index.ts",
22
31
  "import": "./dist/index.js"
23
32
  },
24
33
  "./*": {
34
+ "bun": "./src/*",
25
35
  "import": "./dist/*"
26
36
  }
27
37
  },
28
38
  "module": "dist/index.js",
29
39
  "types": "dist/index.d.ts",
30
- "files": ["README.md", "dist"],
40
+ "files": [
41
+ "README.md",
42
+ "dist"
43
+ ],
31
44
  "scripts": {
32
45
  "build": "bun build.ts",
33
46
  "typecheck": "bun tsc --noEmit",
34
47
  "prepublishOnly": "bun run build"
35
48
  },
36
49
  "dependencies": {
37
- "@iconify-json/carbon": "^1.2.8",
38
- "@shikijs/vitepress-twoslash": "^3.2.1",
39
- "@vite-pwa/assets-generator": "^1.0.0",
40
- "@vite-pwa/vitepress": "^1.0.0",
41
- "unocss": "^66.0.0",
42
- "unplugin-icons": "^22.1.0",
43
- "unplugin-vue-components": "^28.4.1",
44
- "vite-plugin-pwa": "^1.0.0",
45
- "vitepress": "1.6.3"
50
+ "@stacksjs/bunpress": "^0.1.4"
46
51
  },
47
52
  "devDependencies": {
48
- "@stacksjs/alias": "0.70.22",
49
- "@stacksjs/config": "0.70.22",
50
- "@stacksjs/development": "0.70.22",
51
- "@stacksjs/path": "0.70.22",
52
- "@stacksjs/server": "0.70.22"
53
+ "@stacksjs/alias": "0.70.23",
54
+ "@stacksjs/config": "0.70.23",
55
+ "better-dx": "^0.2.12",
56
+ "@stacksjs/path": "0.70.23",
57
+ "@stacksjs/server": "0.70.23"
53
58
  }
54
59
  }