cloudcommerce 0.0.30 → 0.0.31

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.31](https://github.com/ecomplus/cloud-commerce/compare/v0.0.30...v0.0.31) (2022-07-20)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * GH Action must get credentials from inputs (`secrets` unrecognized) ([482f82b](https://github.com/ecomplus/cloud-commerce/commit/482f82bc4ff3ddc73445b4ffbbf5bf9655cf7de2))
11
+
5
12
  ### [0.0.30](https://github.com/ecomplus/cloud-commerce/compare/v0.0.29...v0.0.30) (2022-07-20)
6
13
 
7
14
 
package/action.yml CHANGED
@@ -8,6 +8,12 @@ inputs:
8
8
  firebase-service-account:
9
9
  description: 'Firebase service account JSON'
10
10
  required: true
11
+ ecom-authentication-id:
12
+ description: 'E-Com Plus store authentication ID'
13
+ required: true
14
+ ecom-api-key:
15
+ description: 'E-Com Plus store API key'
16
+ required: true
11
17
 
12
18
  outputs: {}
13
19
 
@@ -37,10 +43,10 @@ runs:
37
43
  name: Deploy to Firebase live
38
44
  shell: bash
39
45
  env:
46
+ GITHUB_TOKEN: ${{ inputs.github-token }}
40
47
  FIREBASE_SERVICE_ACCOUNT: ${{ inputs.firebase-service-account }}
41
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42
- ECOM_AUTHENTICATION_ID: ${{ secrets.ECOM_AUTHENTICATION_ID }}
43
- ECOM_API_KEY: ${{ secrets.ECOM_API_KEY }}
48
+ ECOM_AUTHENTICATION_ID: ${{ inputs.ecom-authentication-id }}
49
+ ECOM_API_KEY: ${{ inputs.ecom-api-key }}
44
50
  run: |
45
51
  export GAC_FILENAME=".gac-$RANDOM.json"
46
52
  echo $FIREBASE_SERVICE_ACCOUNT > $GAC_FILENAME
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cloudcommerce",
3
3
  "type": "module",
4
- "version": "0.0.30",
4
+ "version": "0.0.31",
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.30",
4
+ "version": "0.0.31",
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.30",
4
+ "version": "0.0.31",
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.30",
4
+ "version": "0.0.31",
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.30",
4
+ "version": "0.0.31",
5
5
  "description": "E-Com Plus Cloud Commerce on Firebase",
6
6
  "main": "lib/index.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/storefront",
3
3
  "type": "module",
4
- "version": "0.0.30",
4
+ "version": "0.0.31",
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
@@ -96,13 +96,13 @@ importers:
96
96
 
97
97
  store:
98
98
  specifiers:
99
- '@cloudcommerce/cli': ^0.0.29
99
+ '@cloudcommerce/cli': ^0.0.30
100
100
  dependencies:
101
101
  '@cloudcommerce/cli': link:../packages/cli
102
102
 
103
103
  store/functions:
104
104
  specifiers:
105
- '@cloudcommerce/firebase': ^0.0.29
105
+ '@cloudcommerce/firebase': ^0.0.30
106
106
  dependencies:
107
107
  '@cloudcommerce/firebase': link:../../packages/firebase
108
108