@nextblock-cms/ecom 0.0.8

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/index.ts ADDED
@@ -0,0 +1,12 @@
1
+ // Stub implementation for Open Source version
2
+ // This file replaces the real libs/ecommerce during public sync
3
+
4
+ console.warn(
5
+ '⚠️ NextBlock E-commerce: Free/Stub version installed. Features are disabled. Please configure your license key to unlock functionality.',
6
+ );
7
+
8
+ export const CartIcon = () => null;
9
+
10
+ export const addToCart = () => null;
11
+
12
+ export const CartDrawer = () => null;
package/package.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "name": "@nextblock-cms/ecom",
3
+ "version": "0.0.8",
4
+ "type": "module",
5
+ "dependencies": {}
6
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "extends": "../../../tsconfig.base.json",
3
+ "compilerOptions": {
4
+ "module": "esnext",
5
+ "moduleResolution": "bundler",
6
+ "types": ["vite/client"]
7
+ },
8
+ "include": ["**/*.ts", "**/*.tsx"],
9
+ "exclude": []
10
+ }