@final-commerce/command-frame 0.1.0 → 0.1.4

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.
@@ -3,18 +3,19 @@
3
3
  * Stores mock data that mimics the Render environment
4
4
  */
5
5
  import { CFProductType, CFUserTypes, } from "../CommonTypes";
6
- // Asset Imports
7
- import logo from "./assets/logo.png";
8
- import basilAlmondImg from "./assets/basil-almond-paste.png";
9
- import beerImg from "./assets/beer-paste.png";
10
- import beetImg from "./assets/beet-paste.png";
11
- import caramelizedImg from "./assets/caramelized-paste.png";
12
- import garlicOnionImg from "./assets/garlic-onion-paste.png";
13
- import garlicImg from "./assets/garlic-paste.png";
14
- import gingerLimeImg from "./assets/ginger-lime-paste.png";
15
- import lemonImg from "./assets/lemon-paste.png";
16
- import redPepperImg from "./assets/red-pepper-paste.png";
17
- import roastedTomatoImg from "./assets/roasted-tomato-paste.png";
6
+ // Asset Imports - Using Remote URLs to avoid build complexity with asset copying
7
+ const ASSETS_BASE_URL = "https://raw.githubusercontent.com/Final-Commerce/command-frame/refs/heads/main/src/demo/assets";
8
+ const logo = `${ASSETS_BASE_URL}/logo.png`;
9
+ const basilAlmondImg = `${ASSETS_BASE_URL}/basil-almond-paste.png`;
10
+ const beerImg = `${ASSETS_BASE_URL}/beer-paste.png`;
11
+ const beetImg = `${ASSETS_BASE_URL}/beet-paste.png`;
12
+ const caramelizedImg = `${ASSETS_BASE_URL}/caramelized-paste.png`;
13
+ const garlicOnionImg = `${ASSETS_BASE_URL}/garlic-onion-paste.png`;
14
+ const garlicImg = `${ASSETS_BASE_URL}/garlic-paste.png`;
15
+ const gingerLimeImg = `${ASSETS_BASE_URL}/ginger-lime-paste.png`;
16
+ const lemonImg = `${ASSETS_BASE_URL}/lemon-paste.png`;
17
+ const redPepperImg = `${ASSETS_BASE_URL}/red-pepper-paste.png`;
18
+ const roastedTomatoImg = `${ASSETS_BASE_URL}/roasted-tomato-paste.png`;
18
19
  // --- COMPANY ---
19
20
  export const MOCK_COMPANY = {
20
21
  id: "comp_paste_demo",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@final-commerce/command-frame",
3
- "version": "0.1.0",
3
+ "version": "0.1.4",
4
4
  "description": "Commands Frame library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -11,7 +11,7 @@
11
11
  "package.json"
12
12
  ],
13
13
  "scripts": {
14
- "build": "tsc && mkdir -p dist/demo/assets && cp -R src/demo/assets/ dist/demo/assets/",
14
+ "build": "tsc",
15
15
  "build:clean": "rm -rf dist && npm run build",
16
16
  "dev": "tsc --watch",
17
17
  "prepublishOnly": "npm run build",
Binary file