@stacksjs/docs 0.61.23 → 0.62.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.
Files changed (2) hide show
  1. package/dist/index.js +5 -5
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ import {server as server2} from "@stacksjs/server";
7
7
  import {withPwa} from "@vite-pwa/vitepress";
8
8
  import {defineConfig} from "vitepress";
9
9
  // package.json
10
- var version = "0.61.23";
10
+ var version = "0.62.0";
11
11
 
12
12
  // src/scripts/pwa.ts
13
13
  import {docs} from "@stacksjs/config";
@@ -89,7 +89,7 @@ var pwaDocs = {
89
89
  },
90
90
  workbox: {
91
91
  navigateFallbackDenylist: [/^\/new$/],
92
- maximumFileSizeToCacheInBytes: 3145728,
92
+ maximumFileSizeToCacheInBytes: 3 * 1024 * 1024,
93
93
  globPatterns: ["**/*.{css,js,html,png,svg,ico,txt,woff2,json}"],
94
94
  dontCacheBustURLsMatching: /^assets\//,
95
95
  runtimeCaching: [
@@ -100,7 +100,7 @@ var pwaDocs = {
100
100
  cacheName: "google-fonts-cache",
101
101
  expiration: {
102
102
  maxEntries: 10,
103
- maxAgeSeconds: 31536000
103
+ maxAgeSeconds: 60 * 60 * 24 * 365
104
104
  },
105
105
  cacheableResponse: {
106
106
  statuses: [0, 200]
@@ -114,7 +114,7 @@ var pwaDocs = {
114
114
  cacheName: "gstatic-fonts-cache",
115
115
  expiration: {
116
116
  maxEntries: 10,
117
- maxAgeSeconds: 31536000
117
+ maxAgeSeconds: 60 * 60 * 24 * 365
118
118
  },
119
119
  cacheableResponse: {
120
120
  statuses: [0, 200]
@@ -128,7 +128,7 @@ var pwaDocs = {
128
128
  cacheName: "githubusercontent-images-cache",
129
129
  expiration: {
130
130
  maxEntries: 10,
131
- maxAgeSeconds: 31536000
131
+ maxAgeSeconds: 60 * 60 * 24 * 365
132
132
  },
133
133
  cacheableResponse: {
134
134
  statuses: [0, 200]
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/docs",
3
3
  "type": "module",
4
- "version": "0.61.23",
4
+ "version": "0.62.0",
5
5
  "description": "The Stacks way to document.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -51,7 +51,7 @@
51
51
  "@stacksjs/config": "latest",
52
52
  "@stacksjs/path": "latest",
53
53
  "@stacksjs/server": "latest",
54
- "vitepress": "1.2.3",
54
+ "vitepress": "1.3.0",
55
55
  "vitepress-plugin-twoslash": "^0.10.2"
56
56
  },
57
57
  "dependencies": {
@@ -59,7 +59,7 @@
59
59
  "@stacksjs/config": "latest",
60
60
  "@stacksjs/path": "latest",
61
61
  "@stacksjs/server": "latest",
62
- "vitepress": "1.2.3",
62
+ "vitepress": "1.3.0",
63
63
  "vitepress-plugin-twoslash": "^0.10.2"
64
64
  },
65
65
  "devDependencies": {