@hasna/cloud 0.1.1 → 0.1.3
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 +5 -4
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hasna/cloud",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Shared cloud infrastructure
|
|
3
|
+
"version": "0.1.3",
|
|
4
|
+
"description": "Shared cloud infrastructure \u2014 database adapter (SQLite + PostgreSQL), sync engine, feedback system, unified dotfile config",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/index.js",
|
|
@@ -24,7 +24,8 @@
|
|
|
24
24
|
"build": "bun build src/index.ts --outdir dist --target node && bun build src/cli/index.ts --outdir dist/cli --target node && bun build src/mcp/index.ts --outdir dist/mcp --target node && bun run build:types",
|
|
25
25
|
"build:types": "tsc --emitDeclarationOnly --declaration --outDir dist",
|
|
26
26
|
"test": "bun test",
|
|
27
|
-
"prepublishOnly": "bun run build"
|
|
27
|
+
"prepublishOnly": "bun run build",
|
|
28
|
+
"postinstall": "mkdir -p $HOME/.hasna/cloud 2>/dev/null || true; test -f $HOME/.hasna/cloud/config.json || printf '{\"rds\":{\"host\":\"hasnaxyz-prod-opensource.c4limg0qgqvk.us-east-1.rds.amazonaws.com\",\"port\":5432,\"username\":\"\",\"password_env\":\"HASNA_RDS_PASSWORD\",\"ssl\":true},\"mode\":\"local\",\"feedback_endpoint\":\"https://feedback.hasna.com/api/v1/feedback\",\"auto_sync_interval_minutes\":0}\\n' > $HOME/.hasna/cloud/config.json 2>/dev/null || true"
|
|
28
29
|
},
|
|
29
30
|
"publishConfig": {
|
|
30
31
|
"registry": "https://registry.npmjs.org",
|
|
@@ -41,4 +42,4 @@
|
|
|
41
42
|
"@types/pg": "^8.11.11",
|
|
42
43
|
"typescript": "^5.7.3"
|
|
43
44
|
}
|
|
44
|
-
}
|
|
45
|
+
}
|