@caelo-cms/provisioning 0.10.40 → 0.10.41

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.
@@ -12,15 +12,15 @@
12
12
 
13
13
  :80 {
14
14
  root * /srv/current
15
- # Content-hashed build outputs (fonts, plugin bundles) never change
16
- # under the same URL — cache them for a year. Keep this pattern in
15
+ # Content-hashed build outputs (fonts, plugin bundles, media) never
16
+ # change under the same URL — cache them for a year. Keep this pattern in
17
17
  # sync with CONTENT_HASHED_PATH_PATTERN in @caelo-cms/shared
18
18
  # (enforced by packages/provisioning/src/index.test.ts). Pages and
19
- # slug-addressed media keep file_server's ETag/Last-Modified default.
19
+ # manifests keep file_server's ETag/Last-Modified default.
20
20
  # `file` gates the header on the file existing: a 404 for a hashed
21
21
  # URL (old page after a deploy switch) must not be cached for a year.
22
22
  @content_hashed {
23
- path_regexp content_hashed ^/(?:_app/immutable/.+|_assets/fonts/[^/]+/[0-9a-f]{16,64}\.(?:woff2|woff|ttf|otf)|_caelo/plugin/[^/]+/[^/]+\.[0-9a-f]{12}\.(?:js|css))$
23
+ path_regexp content_hashed ^/(?:_app/immutable/.+|_assets/fonts/[^/]+/[0-9a-f]{16,64}\.(?:woff2|woff|ttf|otf)|_assets/[a-z0-9][a-z0-9-]*(?:/[a-z][a-z0-9-]*)?\.[0-9a-f]{16}\.[a-z0-9]{2,5}|_caelo/plugin/[^/]+/[^/]+\.[0-9a-f]{12}\.(?:js|css))$
24
24
  file
25
25
  }
26
26
  header @content_hashed Cache-Control "public, max-age=31536000, immutable"
@@ -14,15 +14,15 @@
14
14
 
15
15
  :80 {
16
16
  root * /srv/current
17
- # Content-hashed build outputs (fonts, plugin bundles) never change
18
- # under the same URL — cache them for a year. Keep this pattern in
17
+ # Content-hashed build outputs (fonts, plugin bundles, media) never
18
+ # change under the same URL — cache them for a year. Keep this pattern in
19
19
  # sync with CONTENT_HASHED_PATH_PATTERN in @caelo-cms/shared
20
20
  # (enforced by packages/provisioning/src/index.test.ts). Pages and
21
- # slug-addressed media keep file_server's ETag/Last-Modified default.
21
+ # manifests keep file_server's ETag/Last-Modified default.
22
22
  # `file` gates the header on the file existing: a 404 for a hashed
23
23
  # URL (old page after a deploy switch) must not be cached for a year.
24
24
  @content_hashed {
25
- path_regexp content_hashed ^/(?:_app/immutable/.+|_assets/fonts/[^/]+/[0-9a-f]{16,64}\.(?:woff2|woff|ttf|otf)|_caelo/plugin/[^/]+/[^/]+\.[0-9a-f]{12}\.(?:js|css))$
25
+ path_regexp content_hashed ^/(?:_app/immutable/.+|_assets/fonts/[^/]+/[0-9a-f]{16,64}\.(?:woff2|woff|ttf|otf)|_assets/[a-z0-9][a-z0-9-]*(?:/[a-z][a-z0-9-]*)?\.[0-9a-f]{16}\.[a-z0-9]{2,5}|_caelo/plugin/[^/]+/[^/]+\.[0-9a-f]{12}\.(?:js|css))$
26
26
  file
27
27
  }
28
28
  header @content_hashed Cache-Control "public, max-age=31536000, immutable"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caelo-cms/provisioning",
3
- "version": "0.10.40",
3
+ "version": "0.10.41",
4
4
  "private": false,
5
5
  "license": "MPL-2.0",
6
6
  "description": "Pulumi-driven provisioning for Caelo CMS — `bunx @caelo-cms/provisioning --provider <self-hosted|gcp|aws|azure>` brings up a TLS-served install with Postgres + storage + secrets manager + the admin + the API gateway.",
@@ -38,8 +38,8 @@
38
38
  "prepublishOnly": "tsc -b --force && tsc --project stacks/gcp/tsconfig.json && tsc --project stacks/gcp-firebase/tsconfig.json"
39
39
  },
40
40
  "dependencies": {
41
- "@caelo-cms/edge-router": "^0.10.40",
42
- "@caelo-cms/shared": "^0.10.40",
41
+ "@caelo-cms/edge-router": "^0.10.41",
42
+ "@caelo-cms/shared": "^0.10.41",
43
43
  "@clack/prompts": "1.8.1",
44
44
  "@pulumi/aws": "^7",
45
45
  "@pulumi/awsx": "^3",