@cuongph.dev/dbdocgen 0.1.0 → 0.1.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cuongph.dev/dbdocgen",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Generate database documentation from SQL schema files — Excel, Markdown, HTML, Mermaid ER diagram, and Word (A5:SQL-style layout)",
5
5
  "repository": {
6
6
  "type": "git",
@@ -49,12 +49,25 @@
49
49
  "README.md",
50
50
  "LICENSE"
51
51
  ],
52
+ "scripts": {
53
+ "build": "tsup",
54
+ "prepare": "npm run build && chmod +x dist/cli/index.js",
55
+ "prepublishOnly": "npm test && npm run typecheck",
56
+ "dev": "tsx src/cli/index.ts",
57
+ "test": "vitest run",
58
+ "test:watch": "vitest",
59
+ "lint": "eslint .",
60
+ "format": "prettier --write .",
61
+ "typecheck": "tsc --noEmit"
62
+ },
52
63
  "dependencies": {
53
64
  "commander": "^15.0.0",
54
65
  "cosmiconfig": "^9.0.2",
55
66
  "docx": "^9.7.1",
67
+ "elkjs": "^0.11.1",
56
68
  "exceljs": "^4.4.0",
57
69
  "node-sql-parser": "^5.4.0",
70
+ "sharp": "^0.35.2",
58
71
  "zod": "^4.4.3"
59
72
  },
60
73
  "devDependencies": {
@@ -67,14 +80,5 @@
67
80
  "tsx": "^4.22.4",
68
81
  "typescript": "^6.0.3",
69
82
  "vitest": "^4.1.9"
70
- },
71
- "scripts": {
72
- "build": "tsup",
73
- "dev": "tsx src/cli/index.ts",
74
- "test": "vitest run",
75
- "test:watch": "vitest",
76
- "lint": "eslint .",
77
- "format": "prettier --write .",
78
- "typecheck": "tsc --noEmit"
79
83
  }
80
- }
84
+ }