@cloudcommerce/cli 0.6.13 → 0.7.1

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,4 +1,4 @@
1
1
 
2
- > @cloudcommerce/cli@0.6.12 build /home/leo/code/ecomplus/cloud-commerce/packages/cli
2
+ > @cloudcommerce/cli@0.7.0 build /home/leo/code/ecomplus/cloud-commerce/packages/cli
3
3
  > sh ../../scripts/build-lib.sh
4
4
 
@@ -1,8 +1,4 @@
1
1
  {
2
- "firestore": {
3
- "rules": "firestore.rules",
4
- "indexes": "firestore.indexes.json"
5
- },
6
2
  "functions": [
7
3
  {
8
4
  "predeploy": "npm run build -- --codebase core",
@@ -27,7 +23,16 @@
27
23
  {
28
24
  "predeploy": "npm run build -- --codebase ssr",
29
25
  "source": "functions/ssr",
30
- "codebase": "ssr"
26
+ "codebase": "ssr",
27
+ "ignore": [
28
+ ".git",
29
+ ".runtimeconfig.json",
30
+ "firebase-debug.log",
31
+ "firebase-debug.*.log",
32
+ "node_modules",
33
+ ".turbo",
34
+ "_astro"
35
+ ]
31
36
  }
32
37
  ],
33
38
  "hosting": {
@@ -109,7 +114,16 @@
109
114
  ]
110
115
  },
111
116
  {
112
- "source": "**/*.?????*.@(js|css|webp|avif)",
117
+ "source": "/_astro/**",
118
+ "headers": [
119
+ {
120
+ "key": "Cache-Control",
121
+ "value": "public, max-age=31536000, immutable"
122
+ }
123
+ ]
124
+ },
125
+ {
126
+ "source": "/_image",
113
127
  "headers": [
114
128
  {
115
129
  "key": "Cache-Control",
@@ -120,6 +134,10 @@
120
134
  ],
121
135
  "cleanUrls": true
122
136
  },
137
+ "firestore": {
138
+ "rules": "firestore.rules",
139
+ "indexes": "firestore.indexes.json"
140
+ },
123
141
  "storage": {
124
142
  "rules": "storage.rules"
125
143
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/cli",
3
3
  "type": "module",
4
- "version": "0.6.13",
4
+ "version": "0.7.1",
5
5
  "description": "E-Com Plus Cloud Commerce CLI tools",
6
6
  "bin": {
7
7
  "cloudcommerce": "./bin/run.mjs"
@@ -26,7 +26,7 @@
26
26
  "libsodium-wrappers": "^0.7.11",
27
27
  "md5": "^2.3.0",
28
28
  "zx": "^7.2.0",
29
- "@cloudcommerce/api": "0.6.13"
29
+ "@cloudcommerce/api": "0.7.1"
30
30
  },
31
31
  "scripts": {
32
32
  "build": "sh ../../scripts/build-lib.sh"