@teachinglab/omd 0.4.2 → 0.4.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.
package/canvas/index.js CHANGED
@@ -1,4 +1,5 @@
1
1
  // Core canvas system
2
+ import { omdCanvas } from './core/omdCanvas.js';
2
3
  export { omdCanvas } from './core/omdCanvas.js';
3
4
  export { CanvasConfig as canvasConfig } from './core/canvasConfig.js';
4
5
 
package/index.js CHANGED
@@ -17,6 +17,9 @@ export * from './canvas/index.js';
17
17
  // Export everything from the visualization components
18
18
  export * from './src/index.js';
19
19
 
20
+ // Explicitly export canvas components to ensure proper resolution
21
+ export { omdCanvas } from './canvas/core/omdCanvas.js';
22
+ export { createCanvas } from './canvas/index.js';
20
23
  // Re-export canvas helpers/events so package consumers can import them from the package root
21
24
  export { EventManager } from './canvas/events/eventManager.js';
22
25
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teachinglab/omd",
3
- "version": "0.4.2",
3
+ "version": "0.4.4",
4
4
  "description": "omd",
5
5
  "main": "./index.js",
6
6
  "module": "./index.js",
@@ -31,13 +31,8 @@
31
31
  "author": "jaredschiffman",
32
32
  "license": "MIT",
33
33
  "dependencies": {
34
- "@netlify/vite-plugin": "^2.5.4",
35
- "@teachinglab/jsvg": "0.1.1",
36
- "dotenv": "^17.2.1",
37
- "express": "^4.18.2",
38
- "mathjs": "^14.5.2",
39
- "openai": "^4.28.0",
40
- "vite": "^5.4.0"
34
+ "@teachinglab/jsvg": "^0.1.1",
35
+ "mathjs": "^14.5.2"
41
36
  },
42
37
  "scripts": {
43
38
  "dev": "npm run build:docs && vite",
@@ -50,7 +45,12 @@
50
45
  "access": "public"
51
46
  },
52
47
  "devDependencies": {
48
+ "@netlify/vite-plugin": "^2.5.4",
49
+ "dotenv": "^17.2.1",
50
+ "express": "^4.18.2",
53
51
  "glob": "^11.0.3",
54
- "marked": "^16.2.1"
52
+ "marked": "^16.2.1",
53
+ "openai": "^4.28.0",
54
+ "vite": "^5.4.0"
55
55
  }
56
56
  }