@cloudcommerce/cli 0.0.72 → 0.0.75

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.
@@ -1,5 +1,5 @@
1
- @cloudcommerce/cli:build: cache hit, replaying output bd5afc1b5914340f
1
+ @cloudcommerce/cli:build: cache hit, replaying output 6bcdd74045eda2a9
2
2
  @cloudcommerce/cli:build: 
3
- @cloudcommerce/cli:build: > @cloudcommerce/cli@0.0.71 build /home/leo/code/ecomplus/cloud-commerce/packages/cli
3
+ @cloudcommerce/cli:build: > @cloudcommerce/cli@0.0.74 build /home/leo/code/ecomplus/cloud-commerce/packages/cli
4
4
  @cloudcommerce/cli:build: > sh ../../scripts/build-lib.sh
5
5
  @cloudcommerce/cli:build: 
@@ -54,6 +54,53 @@
54
54
  "region": "southamerica-east1"
55
55
  }
56
56
  ],
57
+ "headers": [
58
+ {
59
+ "source": "/api/**",
60
+ "headers": [
61
+ {
62
+ "key": "Cache-Control",
63
+ "value": "private, max-age=30, must-revalidate"
64
+ }
65
+ ]
66
+ },
67
+ {
68
+ "source": "/img/**",
69
+ "headers": [
70
+ {
71
+ "key": "Cache-Control",
72
+ "value": "public, max-age=300, s-maxage=60, must-revalidate"
73
+ }
74
+ ]
75
+ },
76
+ {
77
+ "source": "/assets/**",
78
+ "headers": [
79
+ {
80
+ "key": "Cache-Control",
81
+ "value": "public, max-age=86400, s-maxage=600"
82
+ }
83
+ ]
84
+ },
85
+ {
86
+ "source": "/app/**",
87
+ "headers": [
88
+ {
89
+ "key": "Cache-Control",
90
+ "value": "public, max-age=600, stale-while-revalidate=900"
91
+ }
92
+ ]
93
+ },
94
+ {
95
+ "source": "**/*.?????*.@(js|css|webp|avif)",
96
+ "headers": [
97
+ {
98
+ "key": "Cache-Control",
99
+ "value": "public, max-age=31536000, immutable"
100
+ }
101
+ ]
102
+ }
103
+ ],
57
104
  "cleanUrls": true
58
105
  },
59
106
  "storage": {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/cli",
3
3
  "type": "module",
4
- "version": "0.0.72",
4
+ "version": "0.0.75",
5
5
  "description": "E-Com Plus Cloud Commerce CLI tools",
6
6
  "bin": {
7
7
  "cloudcommerce": "./bin/run.mjs"
@@ -23,7 +23,7 @@
23
23
  },
24
24
  "homepage": "https://github.com/ecomplus/cloud-commerce/tree/main/packages/cli#readme",
25
25
  "dependencies": {
26
- "@cloudcommerce/api": "0.0.72",
26
+ "@cloudcommerce/api": "0.0.75",
27
27
  "libsodium-wrappers": "^0.7.10",
28
28
  "md5": "^2.3.0",
29
29
  "zx": "^7.0.8"