@cloudcommerce/app-discounts 0.0.33 → 0.0.37

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,6 +1,6 @@
1
- @cloudcommerce/app-discounts:build: cache hit, replaying output 7938e53656861eb6
2
- @cloudcommerce/app-discounts:build: 
3
- @cloudcommerce/app-discounts:build: > @cloudcommerce/app-discounts@0.0.32 build /home/leo/code/ecomplus/cloud-commerce/packages/apps/discounts
4
- @cloudcommerce/app-discounts:build: > echo '@ecomplus/app-discounts'
5
- @cloudcommerce/app-discounts:build: 
6
- @cloudcommerce/app-discounts:build: @ecomplus/app-discounts
1
+ @cloudcommerce/app-discounts:build: cache hit, replaying output 09771dc278197b8f
2
+ @cloudcommerce/app-discounts:build: 
3
+ @cloudcommerce/app-discounts:build: > @cloudcommerce/app-discounts@0.0.36 build /home/leo/code/ecomplus/cloud-commerce/packages/apps/discounts
4
+ @cloudcommerce/app-discounts:build: > echo '@ecomplus/app-discounts'
5
+ @cloudcommerce/app-discounts:build: 
6
+ @cloudcommerce/app-discounts:build: @ecomplus/app-discounts
package/lib/index.js ADDED
@@ -0,0 +1,4 @@
1
+ export const events = [];
2
+
3
+ export const modules = {};
4
+ // # sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,MAAM,GAAiB,EAAE,CAAC;AAEvC,MAAM,CAAC,MAAM,OAAO,GAAG,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-discounts",
3
3
  "type": "module",
4
- "version": "0.0.33",
4
+ "version": "0.0.37",
5
5
  "description": "E-Com Plus Cloud Commerce app for complex discount rules",
6
6
  "main": "functions/dist/index.js",
7
7
  "repository": {
@@ -16,7 +16,10 @@
16
16
  },
17
17
  "homepage": "https://github.com/ecomplus/cloud-commerce/tree/main/packages/apps/discounts#readme",
18
18
  "dependencies": {
19
- "@cloudcommerce/api": "0.0.33"
19
+ "@cloudcommerce/api": "0.0.37"
20
+ },
21
+ "devDependencies": {
22
+ "@cloudcommerce/types": "0.0.37"
20
23
  },
21
24
  "scripts": {
22
25
  "build": "echo '@ecomplus/app-discounts'"
package/src/index.ts ADDED
@@ -0,0 +1,7 @@
1
+ import type { AppEventsTopic } from '@cloudcommerce/types';
2
+
3
+ export const events: AppEventsTopic[] = [];
4
+
5
+ export const applyDiscount = () => {
6
+ return {};
7
+ };
package/tsconfig.json ADDED
@@ -0,0 +1,3 @@
1
+ {
2
+ "extends": "../../../tsconfig.json"
3
+ }