kakidash 0.2.2 → 0.3.0

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": "kakidash",
3
- "version": "0.2.2",
3
+ "version": "0.3.0",
4
4
  "description": "A lightweight, dependency-free Mindmap library for the browser.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -43,6 +43,7 @@
43
43
  "@types/node": "^25.2.1",
44
44
  "@types/whatwg-mimetype": "^3.0.2",
45
45
  "@types/ws": "^8.18.1",
46
+ "dependency-cruiser": "^17.3.8",
46
47
  "eslint": "^10.0.0",
47
48
  "eslint-config-prettier": "^10.1.8",
48
49
  "eslint-plugin-prettier": "^5.5.4",
@@ -67,10 +68,13 @@
67
68
  "test": "vitest run",
68
69
  "lint": "eslint src tests",
69
70
  "docs": "typedoc",
70
- "format": "prettier --write \"src/**/*.{ts,json}\"",
71
- "ci": "pnpm format && pnpm turbo run typecheck build lint docs && pnpm run test&& pnpm run test:e2e",
71
+ "format": "prettier --write \"{src,tests}/**/*.{ts,json}\"",
72
+ "ci": "pnpm turbo run typecheck build lint docs format dep:check && pnpm turbo run test && pnpm turbo run test:e2e",
73
+ "check": "pnpm turbo run typecheck && pnpm turbo run lint && pnpm turbo run format && pnpm turbo run dep:check && pnpm turbo run build && pnpm turbo run docs && pnpm turbo run test && pnpm turbo run test:e2e",
72
74
  "turbo": "turbo",
73
75
  "turbo:ci": "turbo run typecheck build test lint docs test:e2e",
74
- "test:e2e": "playwright test"
76
+ "test:e2e": "playwright test",
77
+ "dep:graph": "depcruise src --include-only \"^src\" --output-type dot --config .dependency-cruiser.cjs | dot -T svg > dependency-graph.svg",
78
+ "dep:check": "depcruise src --include-only \"^src\" --config .dependency-cruiser.cjs"
75
79
  }
76
80
  }