@teachinglab/omd 0.4.3 → 0.4.5

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.
Files changed (2) hide show
  1. package/index.js +6 -2
  2. package/package.json +9 -9
package/index.js CHANGED
@@ -11,10 +11,14 @@
11
11
  * const { omdTable } = await import('@teachinglab/omd')
12
12
  */
13
13
 
14
- // Export everything from the core OMD library (equations, nodes, display, etc.)
14
+ // Import everything first to ensure proper loading order
15
+ import * as omdCore from './omd/core/index.js';
16
+ import * as omdCanvas from './canvas/index.js';
17
+ import * as omdVisualizations from './src/index.js';
18
+
19
+ // Re-export everything
15
20
  export * from './omd/core/index.js';
16
21
  export * from './canvas/index.js';
17
- // Export everything from the visualization components
18
22
  export * from './src/index.js';
19
23
 
20
24
  // Explicitly export canvas components to ensure proper resolution
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teachinglab/omd",
3
- "version": "0.4.3",
3
+ "version": "0.4.5",
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
  }