@pie-lib/math-rendering 5.0.2 → 5.0.3-next.2

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.
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @synced-from pie-lib/packages/math-rendering
3
+ * @auto-generated
4
+ *
5
+ * This is a thin wrapper that re-exports from @pie-element/shared-math-rendering-mathjax.
6
+ * The actual implementation is in packages/shared/math-rendering-mathjax.
7
+ */
8
+ export { renderMath, wrapMath, unWrapMath, mmlToLatex } from '@pie-element/shared-math-rendering-mathjax';
package/dist/index.js ADDED
@@ -0,0 +1,2 @@
1
+ import { mmlToLatex as e, renderMath as t, unWrapMath as n, wrapMath as r } from "@pie-element/shared-math-rendering-mathjax";
2
+ export { e as mmlToLatex, t as renderMath, n as unWrapMath, r as wrapMath };
package/package.json CHANGED
@@ -1,25 +1,33 @@
1
1
  {
2
2
  "name": "@pie-lib/math-rendering",
3
- "version": "5.0.2",
3
+ "version": "5.0.3-next.2",
4
4
  "description": "math rendering utilities",
5
- "publishConfig": {
6
- "access": "public"
7
- },
8
- "main": "lib/index.js",
9
- "module": "src/index.js",
10
- "author": "pie-framework developers",
11
- "license": "ISC",
12
- "repository": "pie-framework/pie-lib",
13
5
  "dependencies": {
14
- "@pie-framework/mathml-to-latex": "1.4.4",
15
- "debug": "^4.1.1",
16
- "lodash-es": "^4.17.23",
17
- "mathjax-full": "3.2.2",
18
- "react": "^18.2.0"
6
+ "@pie-element/shared-math-rendering-mathjax": "0.1.1-next.0"
7
+ },
8
+ "type": "module",
9
+ "main": "./dist/index.js",
10
+ "types": "./dist/index.d.ts",
11
+ "exports": {
12
+ ".": {
13
+ "types": "./dist/index.d.ts",
14
+ "default": "./dist/index.js"
15
+ }
19
16
  },
20
- "resolutions": {
21
- "react": "^18.2.0"
17
+ "files": [
18
+ "dist"
19
+ ],
20
+ "sideEffects": false,
21
+ "scripts": {
22
+ "build": "bun x vite build && bun x tsc --emitDeclarationOnly",
23
+ "dev": "bun x vite",
24
+ "test": "bun x vitest run"
22
25
  },
23
- "gitHead": "a09f84cac337a93082ba823f0798a00da2d0d623",
24
- "scripts": {}
26
+ "devDependencies": {
27
+ "vite": "^8.0.1",
28
+ "typescript": "^5.9.3",
29
+ "@vitejs/plugin-react": "^6.0.1",
30
+ "@types/react": "^18.2.0",
31
+ "@types/react-dom": "^18.2.0"
32
+ }
25
33
  }
package/CHANGELOG.json DELETED
@@ -1 +0,0 @@
1
- []