@powerhousedao/builder-tools 6.2.3-dev.5 → 6.2.3-dev.51
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.
- package/dist/index.d.mts +406 -79
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +1059 -82
- package/dist/index.mjs.map +1 -1
- package/dist/service-worker/service-worker.ts +8 -2
- package/package.json +10 -10
|
@@ -212,7 +212,10 @@ registerRoute(
|
|
|
212
212
|
new StaleWhileRevalidate({
|
|
213
213
|
cacheName: "ph-package-cdn-entry",
|
|
214
214
|
plugins: [
|
|
215
|
-
new ExpirationPlugin({
|
|
215
|
+
new ExpirationPlugin({
|
|
216
|
+
maxEntries: 60,
|
|
217
|
+
maxAgeSeconds: 60 * 60 * 24 * 30,
|
|
218
|
+
}),
|
|
216
219
|
new CacheableResponsePlugin({ statuses: [0, 200] }),
|
|
217
220
|
],
|
|
218
221
|
}),
|
|
@@ -235,7 +238,10 @@ registerRoute(
|
|
|
235
238
|
// boot until the browser's own fetch timeout.
|
|
236
239
|
registerRoute(
|
|
237
240
|
({ url }) => url.pathname.endsWith("/powerhouse.config.json"),
|
|
238
|
-
new NetworkFirst({
|
|
241
|
+
new NetworkFirst({
|
|
242
|
+
cacheName: "ph-runtime-config",
|
|
243
|
+
networkTimeoutSeconds: 5,
|
|
244
|
+
}),
|
|
239
245
|
);
|
|
240
246
|
|
|
241
247
|
// ── extra runtime caching ────────────────────────────────────────────────────
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerhousedao/builder-tools",
|
|
3
|
-
"version": "6.2.3-dev.
|
|
3
|
+
"version": "6.2.3-dev.51",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"publishConfig": {
|
|
@@ -23,13 +23,13 @@
|
|
|
23
23
|
},
|
|
24
24
|
"sideEffects": false,
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@powerhousedao/config": "6.2.3-dev.
|
|
27
|
-
"@powerhousedao/shared": "6.2.3-dev.
|
|
26
|
+
"@powerhousedao/config": "6.2.3-dev.51",
|
|
27
|
+
"@powerhousedao/shared": "6.2.3-dev.51",
|
|
28
28
|
"@tailwindcss/vite": "4.2.2",
|
|
29
|
-
"@vitejs/plugin-react": "6.
|
|
30
|
-
"document-model": "6.2.3-dev.
|
|
29
|
+
"@vitejs/plugin-react": "6.1.1",
|
|
30
|
+
"document-model": "6.2.3-dev.51",
|
|
31
31
|
"magic-string": "^0.30.21",
|
|
32
|
-
"vite": "8.0
|
|
32
|
+
"vite": "8.3.0",
|
|
33
33
|
"vite-plugin-html": "3.2.2",
|
|
34
34
|
"vite-plugin-pwa": "1.3.0",
|
|
35
35
|
"workbox-cacheable-response": "7.4.1",
|
|
@@ -41,10 +41,10 @@
|
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@sentry/vite-plugin": "^4.3.0",
|
|
44
|
-
"tsdown": "0.
|
|
45
|
-
"tsx": "4.
|
|
44
|
+
"tsdown": "0.23.0",
|
|
45
|
+
"tsx": "4.23.13",
|
|
46
46
|
"vite-plugin-externalize-dependencies": "^1.0.1",
|
|
47
|
-
"vitest": "
|
|
47
|
+
"vitest": "5.0.3",
|
|
48
48
|
"zod": "4.3.6"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"homepage": "https://academy.vetra.io",
|
|
76
76
|
"scripts": {
|
|
77
77
|
"tsc": "tsc",
|
|
78
|
-
"lint": "
|
|
78
|
+
"lint": "cd ../.. && oxlint packages/builder-tools",
|
|
79
79
|
"build": "tsdown",
|
|
80
80
|
"test": "vitest --run"
|
|
81
81
|
}
|