@wenyan-md/core 1.0.5 → 1.0.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wenyan-md/core",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "description": "Core library for Wenyan markdown rendering & publishing",
5
5
  "author": "Lei <caol64@gmail.com> (https://github.com/caol64)",
6
6
  "license": "Apache-2.0",
@@ -17,6 +17,14 @@
17
17
  "files": [
18
18
  "dist"
19
19
  ],
20
+ "homepage": "https://github.com/caol64/wenyan-core#readme",
21
+ "repository": {
22
+ "type": "git",
23
+ "url": "git+https://github.com/caol64/wenyan-core.git"
24
+ },
25
+ "bugs": {
26
+ "url": "https://github.com/caol64/wenyan-core/issues"
27
+ },
20
28
  "exports": {
21
29
  ".": {
22
30
  "import": "./dist/core.js",
@@ -40,7 +48,6 @@
40
48
  }
41
49
  },
42
50
  "devDependencies": {
43
- "@types/css-tree": "^2.3.10",
44
51
  "@types/jsdom": "^21.1.7",
45
52
  "@types/node": "^24.3.0",
46
53
  "ts-lib": "^0.0.5",
@@ -49,20 +56,22 @@
49
56
  "vitest": "^3.2.4"
50
57
  },
51
58
  "dependencies": {
52
- "css-tree": "^3.1.0",
59
+ "css-tree": "3.0.1",
53
60
  "formdata-node": "^6.0.3",
54
61
  "front-matter": "^4.0.2",
55
- "highlight.js": "^11.11.1",
62
+ "highlight.js": "11.10.0",
56
63
  "jsdom": "^26.1.0",
57
64
  "marked": "^15.0.12",
58
65
  "marked-highlight": "^2.2.1",
59
- "mathjax-full": "^3.2.2"
66
+ "mathjax-full": "3.2.2"
60
67
  },
61
68
  "scripts": {
62
69
  "dev": "vite build --watch",
63
70
  "build": "vite build && tsc",
64
71
  "build:browser": "vite build --config vite.config.browser.ts",
65
- "build:all": "pnpm build && pnpm build:browser",
72
+ "build:styles": "vite build --config vite.config.styles.ts",
73
+ "build:math": "vite build --config vite.config.math.ts",
74
+ "build:all": "pnpm build && pnpm build:browser && pnpm build:styles && pnpm build:math",
66
75
  "test:main": "pnpm build && vitest run main.test.js",
67
76
  "test:wrapper": "pnpm build && vitest run wrapper.test.js",
68
77
  "test:publish": "pnpm build && vitest run publish.test.js"