cloudcommerce 0.0.20 → 0.0.21
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 +8 -0
- package/action.yml +9 -13
- package/package.json +10 -10
- package/packages/api/package.json +1 -1
- package/packages/apps/discounts/package.json +1 -1
- package/packages/cli/package.json +2 -2
- package/packages/firebase/package.json +3 -3
- package/packages/storefront/package.json +2 -2
- package/pnpm-lock.yaml +371 -3982
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
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.21](https://github.com/ecomplus/cloud-commerce/compare/v0.0.20...v0.0.21) (2022-07-09)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **deps:** Update dependency firebase-admin to v11 ([#27](https://github.com/ecomplus/cloud-commerce/issues/27)) ([a258b84](https://github.com/ecomplus/cloud-commerce/commit/a258b84cb26415063b7807a42b8eb937d2ff8452))
|
|
11
|
+
* **gh-action:** Checks `github.event_name` instead of branch to decide live or preview ([b0affe6](https://github.com/ecomplus/cloud-commerce/commit/b0affe6069e23bc57b4b9ce5ff86992430f0f52e))
|
|
12
|
+
|
|
5
13
|
### [0.0.20](https://github.com/ecomplus/cloud-commerce/compare/v0.0.19...v0.0.20) (2022-06-29)
|
|
6
14
|
|
|
7
15
|
### [0.0.19](https://github.com/ecomplus/cloud-commerce/compare/v0.0.18...v0.0.19) (2022-06-29)
|
package/action.yml
CHANGED
|
@@ -14,24 +14,20 @@ outputs: {}
|
|
|
14
14
|
runs:
|
|
15
15
|
using: "composite"
|
|
16
16
|
steps:
|
|
17
|
-
-
|
|
18
|
-
id: get-branch
|
|
19
|
-
env:
|
|
20
|
-
GITHUB_REF: ${{ github.ref }}
|
|
21
|
-
run: echo "::set-output name=name::${GITHUB_REF#refs/heads/}"
|
|
22
|
-
|
|
23
|
-
- if: steps.get-branch.outputs.name == main
|
|
17
|
+
- if: github.event_name == 'push'
|
|
24
18
|
uses: actions/setup-node@v3
|
|
25
19
|
with:
|
|
26
20
|
node-version: 16
|
|
27
21
|
cache: 'npm'
|
|
28
|
-
# cache-dependency-path: ${{ github.action_path }}/scripts/store/package-lock.json
|
|
29
22
|
|
|
30
|
-
- if:
|
|
23
|
+
- if: github.event_name == 'push'
|
|
31
24
|
shell: bash
|
|
32
|
-
run: npm i -g firebase-tools
|
|
25
|
+
run: npm i -g firebase-tools && npm ci
|
|
26
|
+
|
|
27
|
+
- shell: bash
|
|
28
|
+
run: npm run build
|
|
33
29
|
|
|
34
|
-
- if:
|
|
30
|
+
- if: github.event_name == 'push'
|
|
35
31
|
name: Deploy to Firebase live
|
|
36
32
|
shell: bash
|
|
37
33
|
env:
|
|
@@ -39,9 +35,9 @@ runs:
|
|
|
39
35
|
run: |
|
|
40
36
|
export GAC_FILENAME=".gac-$RANDOM.json";
|
|
41
37
|
echo $FIREBASE_SERVICE_ACCOUNT > $GAC_FILENAME;
|
|
42
|
-
GOOGLE_APPLICATION_CREDENTIALS=$GAC_FILENAME
|
|
38
|
+
GOOGLE_APPLICATION_CREDENTIALS=$GAC_FILENAME npm run deploy;
|
|
43
39
|
|
|
44
|
-
- if:
|
|
40
|
+
- if: github.event_name == 'pull_request'
|
|
45
41
|
name: Deploy Firebase Hosting PR preview
|
|
46
42
|
uses: FirebaseExtended/action-hosting-deploy@v0
|
|
47
43
|
with:
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cloudcommerce",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.21",
|
|
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>",
|
|
@@ -19,22 +19,22 @@
|
|
|
19
19
|
"@commitlint/cli": "^17.0.3",
|
|
20
20
|
"@commitlint/config-conventional": "^17.0.3",
|
|
21
21
|
"@commitlint/rules": "^17.0.0",
|
|
22
|
-
"@types/node": "^
|
|
23
|
-
"@typescript-eslint/eslint-plugin": "^5.30.
|
|
24
|
-
"@typescript-eslint/parser": "^5.30.
|
|
25
|
-
"esbuild": "^0.14.
|
|
26
|
-
"eslint": "^8.
|
|
22
|
+
"@types/node": "^18.0.3",
|
|
23
|
+
"@typescript-eslint/eslint-plugin": "^5.30.5",
|
|
24
|
+
"@typescript-eslint/parser": "^5.30.5",
|
|
25
|
+
"esbuild": "^0.14.48",
|
|
26
|
+
"eslint": "^8.19.0",
|
|
27
27
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
28
28
|
"eslint-plugin-import": "^2.26.0",
|
|
29
|
-
"eslint-plugin-vue": "^9.
|
|
29
|
+
"eslint-plugin-vue": "^9.2.0",
|
|
30
30
|
"husky": "^8.0.1",
|
|
31
31
|
"node-fetch": "^3.2.6",
|
|
32
32
|
"standard-version": "^9.5.0",
|
|
33
33
|
"turbo": "^1.3.1",
|
|
34
34
|
"typescript": "^4.7.4",
|
|
35
|
-
"vite": "^2.9.
|
|
36
|
-
"vitest": "^0.
|
|
37
|
-
"zx": "^7.0.
|
|
35
|
+
"vite": "^2.9.14",
|
|
36
|
+
"vitest": "^0.17.1",
|
|
37
|
+
"zx": "^7.0.7"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"postinstall": "husky install",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcommerce/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.21",
|
|
5
5
|
"description": "E-Com Plus Cloud Commerce CLI tools",
|
|
6
6
|
"bin": {
|
|
7
7
|
"cloudcommerce": "./bin/run.mjs"
|
|
@@ -22,6 +22,6 @@
|
|
|
22
22
|
"build": "sh ../../scripts/build-lib.sh"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"zx": "^7.0.
|
|
25
|
+
"zx": "^7.0.7"
|
|
26
26
|
}
|
|
27
27
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcommerce/firebase",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.21",
|
|
5
5
|
"description": "E-Com Plus Cloud Commerce on Firebase",
|
|
6
6
|
"main": "src/index.js",
|
|
7
7
|
"repository": {
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@cloudcommerce/api": "workspace:*",
|
|
23
|
-
"firebase-admin": "^
|
|
24
|
-
"firebase-functions": "^3.
|
|
23
|
+
"firebase-admin": "^11.0.0",
|
|
24
|
+
"firebase-functions": "^3.22.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@firebase/app-types": "^0.7.0"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcommerce/storefront",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.21",
|
|
5
5
|
"description": "E-Com Plus Cloud Commerce storefront with Astro",
|
|
6
6
|
"main": "src/index.js",
|
|
7
7
|
"repository": {
|
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@cloudcommerce/api": "workspace:*",
|
|
23
|
-
"astro": "1.0.0-beta.
|
|
23
|
+
"astro": "1.0.0-beta.63"
|
|
24
24
|
}
|
|
25
25
|
}
|