Skip to content

Commit 1788267

Browse files
author
Marvin Zhang
committed
refactor: Update DevlogManager to use readonly properties and improve package.json for better dependency management
1 parent c862aad commit 1788267

File tree

10 files changed

+50
-402
lines changed

10 files changed

+50
-402
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,4 +144,7 @@ build/
144144

145145
# Devlog configuration with credentials
146146
devlog.config.json
147-
devlog-integrations.config.json
147+
devlog-integrations.config.json
148+
149+
# Local environment variables for development
150+
.nx

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,8 @@
4040
"node": ">=18",
4141
"pnpm": ">=8.0.0"
4242
},
43-
"packageManager": "[email protected]"
43+
"packageManager": "[email protected]",
44+
"dependencies": {
45+
"better-sqlite3": "^11.10.0"
46+
}
4447
}

packages/core/package.json

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,19 @@
1212
],
1313
"repository": {
1414
"type": "git",
15-
"url": "https://github.com/tikazyq/devlog.git",
15+
"url": "https://github.com/codervisor/devlog.git",
1616
"directory": "packages/core"
1717
},
18-
"homepage": "https://github.com/tikazyq/devlog#readme",
18+
"homepage": "https://github.com/codervisor/devlog#readme",
1919
"bugs": {
20-
"url": "https://github.com/tikazyq/devlog/issues"
20+
"url": "https://github.com/codervisor/devlog/issues"
2121
},
2222
"scripts": {
2323
"build": "tsc",
2424
"dev": "tsc --watch",
2525
"test": "vitest run",
2626
"test:watch": "vitest",
2727
"test:ui": "vitest --ui",
28-
"prepare": "pnpm build",
2928
"clean": "rm -rf build",
3029
"prepublishOnly": "pnpm build"
3130
},
@@ -35,7 +34,10 @@
3534
"core",
3635
"library"
3736
],
38-
"author": "",
37+
"author": {
38+
"name": "Marvin Zhang",
39+
"email": "[email protected]"
40+
},
3941
"license": "MIT",
4042
"dependencies": {
4143
"@devlog/types": "workspace:*"
@@ -46,6 +48,7 @@
4648
"mysql2": "^3.11.0"
4749
},
4850
"devDependencies": {
51+
"@devlog/types": "workspace:*",
4952
"@types/node": "^20.0.0",
5053
"@vitest/ui": "^2.1.9",
5154
"typescript": "^5.0.0",

0 commit comments

Comments
 (0)