cloudcommerce 0.0.25 → 0.0.28
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 +35 -0
- package/CONTRIBUTING.md +1 -0
- package/package.json +5 -5
- package/packages/api/lib/index.d.ts +9988 -29
- package/packages/api/lib/index.js +47 -20
- package/packages/api/lib/index.js.map +1 -1
- package/packages/api/lib/types/applications.d.ts +1 -1
- package/packages/api/lib/types/authentications.d.ts +1 -1
- package/packages/api/lib/types/brands.d.ts +1 -1
- package/packages/api/lib/types/carts.d.ts +3 -3
- package/packages/api/lib/types/categories.d.ts +1 -1
- package/packages/api/lib/types/collections.d.ts +1 -1
- package/packages/api/lib/types/customers.d.ts +2 -2
- package/packages/api/lib/types/grids.d.ts +1 -1
- package/packages/api/lib/types/orders.d.ts +5 -5
- package/packages/api/lib/types/products.d.ts +2 -2
- package/packages/api/lib/types/stores.d.ts +1 -1
- package/packages/api/lib/types.d.ts +25 -8
- package/packages/api/package.json +1 -1
- package/packages/api/src/index.ts +78 -29
- package/packages/api/src/types/applications.d.ts +1 -1
- package/packages/api/src/types/authentications.d.ts +1 -1
- package/packages/api/src/types/brands.d.ts +1 -1
- package/packages/api/src/types/carts.d.ts +3 -3
- package/packages/api/src/types/categories.d.ts +1 -1
- package/packages/api/src/types/collections.d.ts +1 -1
- package/packages/api/src/types/customers.d.ts +2 -2
- package/packages/api/src/types/grids.d.ts +1 -1
- package/packages/api/src/types/orders.d.ts +5 -5
- package/packages/api/src/types/products.d.ts +2 -2
- package/packages/api/src/types/stores.d.ts +1 -1
- package/packages/api/src/types.ts +56 -17
- package/packages/api/tests/index.test.ts +16 -0
- package/packages/apps/discounts/package.json +1 -1
- package/packages/cli/create-auth.js +5 -0
- package/packages/cli/lib/create-auth.js +48 -0
- package/packages/cli/lib/index.js +39 -2
- package/packages/cli/lib/login.js +41 -0
- package/packages/cli/package.json +7 -1
- package/packages/cli/src/create-auth.ts +53 -0
- package/packages/cli/src/index.ts +52 -2
- package/packages/cli/src/login.ts +48 -0
- package/packages/firebase/lib/index.js +20 -9
- package/packages/firebase/lib/index.js.map +1 -1
- package/packages/firebase/package.json +5 -1
- package/packages/firebase/src/index.ts +21 -9
- package/packages/storefront/package.json +1 -1
- package/pnpm-lock.yaml +136 -91
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,41 @@
|
|
|
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.28](https://github.com/ecomplus/cloud-commerce/compare/v0.0.27...v0.0.28) (2022-07-17)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **api:** Handle authentication for mutation requests ([03e1dea](https://github.com/ecomplus/cloud-commerce/commit/03e1dea512956bea74df5325c0e80e26492e00a6))
|
|
11
|
+
* **api:** Match resource on list endpoint with optional query string ([11d0e8d](https://github.com/ecomplus/cloud-commerce/commit/11d0e8d71371897c88dedb24b64a693d4089df06))
|
|
12
|
+
* **api:** Properly handle post, put and patch with body ([49adf9a](https://github.com/ecomplus/cloud-commerce/commit/49adf9a01bef2098296091b6ff6b3f59ffec139f))
|
|
13
|
+
* **cli:** Handle setup command to login to E-Com Plus and create base Cloud Commerce authentication ([636eedb](https://github.com/ecomplus/cloud-commerce/commit/636eedb92fd74015e065677b9ea68a15a8398ed5))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* **api:** Add 'authentications' resource to types ([8be86f2](https://github.com/ecomplus/cloud-commerce/commit/8be86f231d559777e1cf97cda945ec9fa55bc68f))
|
|
19
|
+
* **api:** Do not reassign original `config.headers` object ([f26e2aa](https://github.com/ecomplus/cloud-commerce/commit/f26e2aa008d3a947190ade6f599876f371512306))
|
|
20
|
+
* **api:** Fix login response typedef ([3348558](https://github.com/ecomplus/cloud-commerce/commit/334855861bf8b6b55dc5d9b6e44d0cc230aca3d3))
|
|
21
|
+
* **api:** Fix typedefs for authenticate and subresource (nested) endpoints ([675d6fd](https://github.com/ecomplus/cloud-commerce/commit/675d6fdc90f5d182c4e170f7d8f6fbc43afecda8))
|
|
22
|
+
* **api:** Fix typedefs for authentications list and read ([84abfc3](https://github.com/ecomplus/cloud-commerce/commit/84abfc31069dc4dcaedf59941a75321964844715))
|
|
23
|
+
* **api:** Improve resources types Object IDs ([05e3c98](https://github.com/ecomplus/cloud-commerce/commit/05e3c987a77a0a3efc729d676feb60ba0541cb34))
|
|
24
|
+
* **api:** Skip setting Store ID and lang on auth endpoints ([6f3be2a](https://github.com/ecomplus/cloud-commerce/commit/6f3be2a6ffb49c608030715545f12b5b3ed93de4))
|
|
25
|
+
|
|
26
|
+
### [0.0.27](https://github.com/ecomplus/cloud-commerce/compare/v0.0.26...v0.0.27) (2022-07-13)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Features
|
|
30
|
+
|
|
31
|
+
* **firebase:** Try to debug concurrency at function z `/pid` ([f9447ca](https://github.com/ecomplus/cloud-commerce/commit/f9447ca38e9669a8caedc08e5ce015428c92ce22))
|
|
32
|
+
|
|
33
|
+
### [0.0.26](https://github.com/ecomplus/cloud-commerce/compare/v0.0.25...v0.0.26) (2022-07-13)
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
### Bug Fixes
|
|
37
|
+
|
|
38
|
+
* **firebase:** Use Cloud Functions v2, update initial functions (ssr, z*) and deploy region ([6f73696](https://github.com/ecomplus/cloud-commerce/commit/6f736961cbb76b6576d72dd27bcf5f8245f53ead))
|
|
39
|
+
|
|
5
40
|
### [0.0.25](https://github.com/ecomplus/cloud-commerce/compare/v0.0.24...v0.0.25) (2022-07-13)
|
|
6
41
|
|
|
7
42
|
|
package/CONTRIBUTING.md
CHANGED
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.28",
|
|
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,21 +19,21 @@
|
|
|
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": "^18.0.
|
|
22
|
+
"@types/node": "^18.0.5",
|
|
23
23
|
"@typescript-eslint/eslint-plugin": "^5.30.6",
|
|
24
24
|
"@typescript-eslint/parser": "^5.30.6",
|
|
25
25
|
"esbuild": "^0.14.49",
|
|
26
|
-
"eslint": "^8.
|
|
26
|
+
"eslint": "^8.20.0",
|
|
27
27
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
28
28
|
"eslint-plugin-import": "^2.26.0",
|
|
29
29
|
"eslint-plugin-vue": "^9.2.0",
|
|
30
30
|
"husky": "^8.0.1",
|
|
31
|
-
"node-fetch": "^3.2.
|
|
31
|
+
"node-fetch": "^3.2.8",
|
|
32
32
|
"standard-version": "^9.5.0",
|
|
33
33
|
"turbo": "^1.3.1",
|
|
34
34
|
"typescript": "^4.7.4",
|
|
35
35
|
"vite": "^2.9.14",
|
|
36
|
-
"vitest": "^0.18.
|
|
36
|
+
"vitest": "^0.18.1",
|
|
37
37
|
"zx": "^7.0.7"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|