cloudcommerce 0.0.22 → 0.0.23

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/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.0.23](https://github.com/ecomplus/cloud-commerce/compare/v0.0.22...v0.0.23) (2022-07-09)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * GH Action also install functions dependencies to deploy ([9321030](https://github.com/ecomplus/cloud-commerce/commit/93210305453b10174a0c586e70614f5d869e46ab))
11
+
5
12
  ### [0.0.22](https://github.com/ecomplus/cloud-commerce/compare/v0.0.21...v0.0.22) (2022-07-09)
6
13
 
7
14
 
package/action.yml CHANGED
@@ -14,16 +14,22 @@ outputs: {}
14
14
  runs:
15
15
  using: "composite"
16
16
  steps:
17
- - if: github.event_name == 'push'
18
- uses: actions/setup-node@v3
17
+ - uses: actions/setup-node@v3
19
18
  with:
20
19
  node-version: 16
21
20
  cache: 'npm'
22
21
 
23
22
  - if: github.event_name == 'push'
24
23
  shell: bash
25
- run: npm i --location=global firebase-tools@^11.2.1 && npm ci
26
-
24
+ run: npm i --location=global firebase-tools@^11.2.1
25
+
26
+ - shell: bash
27
+ run: npm ci --only=production
28
+
29
+ - shell: bash
30
+ working-directory: functions
31
+ run: npm ci --only=production --no-optional
32
+
27
33
  - shell: bash
28
34
  run: npm run build
29
35
 
@@ -36,7 +42,7 @@ runs:
36
42
  export GAC_FILENAME=".gac-$RANDOM.json";
37
43
  echo $FIREBASE_SERVICE_ACCOUNT > $GAC_FILENAME;
38
44
  GOOGLE_APPLICATION_CREDENTIALS=$GAC_FILENAME npm run deploy;
39
-
45
+
40
46
  - if: github.event_name == 'pull_request'
41
47
  name: Deploy Firebase Hosting PR preview
42
48
  uses: FirebaseExtended/action-hosting-deploy@v0
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cloudcommerce",
3
3
  "type": "module",
4
- "version": "0.0.22",
4
+ "version": "0.0.23",
5
5
  "description": "Open fair-code headless commerce platform: API-first, microservices based, event driven and cloud native",
6
6
  "main": "packages/api/lib/index.js",
7
7
  "author": "E-Com Club Softwares para E-commerce <ti@e-com.club>",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/api",
3
3
  "type": "module",
4
- "version": "0.0.22",
4
+ "version": "0.0.23",
5
5
  "description": "E-Com Plus Cloud Commerce APIs client/adapter",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/index.d.ts",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-discounts",
3
3
  "type": "module",
4
- "version": "0.0.22",
4
+ "version": "0.0.23",
5
5
  "description": "E-Com Plus Cloud Commerce app for complex discount rules",
6
6
  "main": "functions/dist/index.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/cli",
3
3
  "type": "module",
4
- "version": "0.0.22",
4
+ "version": "0.0.23",
5
5
  "description": "E-Com Plus Cloud Commerce CLI tools",
6
6
  "bin": {
7
7
  "cloudcommerce": "./bin/run.mjs"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/firebase",
3
3
  "type": "module",
4
- "version": "0.0.22",
4
+ "version": "0.0.23",
5
5
  "description": "E-Com Plus Cloud Commerce on Firebase",
6
6
  "main": "src/index.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/storefront",
3
3
  "type": "module",
4
- "version": "0.0.22",
4
+ "version": "0.0.23",
5
5
  "description": "E-Com Plus Cloud Commerce storefront with Astro",
6
6
  "main": "src/index.js",
7
7
  "repository": {
package/pnpm-lock.yaml CHANGED
@@ -88,13 +88,13 @@ importers:
88
88
 
89
89
  store:
90
90
  specifiers:
91
- '@cloudcommerce/cli': ^0.0.21
91
+ '@cloudcommerce/cli': ^0.0.22
92
92
  dependencies:
93
93
  '@cloudcommerce/cli': link:../packages/cli
94
94
 
95
95
  store/functions:
96
96
  specifiers:
97
- '@cloudcommerce/firebase': ^0.0.21
97
+ '@cloudcommerce/firebase': ^0.0.22
98
98
  dependencies:
99
99
  '@cloudcommerce/firebase': link:../../packages/firebase
100
100