@tobi-or-not/docpress 0.12.3 → 0.13.1

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,9 @@
1
+ /*
2
+ * Mermaid sizes its HTML labels at a line-height of 1.5, but renders them as <p>
3
+ * elements that pick up the VitePress `.vp-doc p` line-height and margins, so
4
+ * multi-line node and edge labels overflow their boxes and are clipped.
5
+ */
6
+ .vp-doc .mermaid foreignObject p {
7
+ line-height: 1.5;
8
+ margin: 0;
9
+ }
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@tobi-or-not/docpress",
3
3
  "type": "module",
4
- "version": "0.12.3",
5
- "packageManager": "bun@1.4.0",
4
+ "version": "0.13.1",
5
+ "packageManager": "bun@1.4.2",
6
6
  "homepage": "https://this-is-tobi.com/docpress/introduction",
7
7
  "repository": {
8
8
  "type": "git",
@@ -35,6 +35,7 @@
35
35
  "stop:docker": "docker rm --force docpress",
36
36
  "test": "vitest run",
37
37
  "test:cov": "vitest run --coverage",
38
+ "typecheck": "tsc -p tsconfig.spec.json",
38
39
  "vp:build": "vitepress build ./docpress",
39
40
  "vp:build:docker": "docker build --tag tobi-or-not/docs --target prod .",
40
41
  "vp:dev": "vitepress dev ./docpress --port 8080",
@@ -44,29 +45,29 @@
44
45
  "dependencies": {
45
46
  "@octokit/rest": "^22.0.1",
46
47
  "commander": "^15.0.0",
47
- "mermaid": "^11.17.2",
48
+ "mermaid": "^12.0.0",
48
49
  "picocolors": "^1.1.1",
49
- "simple-git": "^3.36.0",
50
+ "simple-git": "^4.0.2",
50
51
  "vitepress": "^1.6.4",
51
52
  "vitepress-plugin-mermaid": "^2.0.17",
52
- "yaml": "^2.9.0",
53
- "zod": "^4.5.4"
53
+ "yaml": "^2.9.1",
54
+ "zod": "^4.6.5"
54
55
  },
55
56
  "devDependencies": {
56
57
  "@antfu/eslint-config": "^9.5.1",
57
- "@commitlint/cli": "^21.2.2",
58
- "@commitlint/config-conventional": "^21.2.2",
58
+ "@commitlint/cli": "^21.2.3",
59
+ "@commitlint/config-conventional": "^21.2.3",
59
60
  "@octokit/types": "^18.0.0",
60
- "@types/node": "^26.4.1",
61
- "@vitejs/plugin-vue": "^6.0.8",
62
- "@vitest/coverage-v8": "^4.1.11",
63
- "eslint": "^10.9.1",
61
+ "@types/node": "^26.6.3",
62
+ "@vitejs/plugin-vue": "^6.0.9",
63
+ "@vitest/coverage-v8": "^5.0.2",
64
+ "eslint": "^10.11.0",
64
65
  "husky": "^9.1.7",
65
66
  "nano-staged": "^1.0.2",
66
67
  "typescript": "^6.0.3",
67
- "vite": "^8.2.2",
68
- "vitest": "^4.1.11",
69
- "vue": "^3.5.42"
68
+ "vite": "^8.3.1",
69
+ "vitest": "^5.0.2",
70
+ "vue": "^3.5.43"
70
71
  },
71
72
  "publishConfig": {
72
73
  "registry": "https://registry.npmjs.org/",
@@ -74,11 +75,12 @@
74
75
  "tag": "latest"
75
76
  },
76
77
  "overrides": {
77
- "brace-expansion": "^5.0.8",
78
- "dompurify": "^3.4.14",
79
- "fast-uri": "^3.1.6",
80
- "js-yaml": "^4.3.1",
81
- "nanoid": "^3.3.16",
82
- "postcss": "^8.5.26"
78
+ "brace-expansion": "^5.0.12",
79
+ "dompurify": "^3.4.16",
80
+ "fast-uri": "^3.1.8",
81
+ "js-yaml": "^4.3.2",
82
+ "lodash-es": "^4.18.1",
83
+ "nanoid": "^3.3.19",
84
+ "postcss": "^8.5.28"
83
85
  }
84
86
  }