@lacrous/omnicloud 0.2.1 → 0.2.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 CHANGED
@@ -1,12 +1,15 @@
1
1
  {
2
2
  "name": "@lacrous/omnicloud",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "description": "SDK and core building blocks for OmniCloud — self-hosted cloud storage powered by your Telegram account.",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "main": "./dist/index.cjs",
8
8
  "module": "./dist/index.js",
9
9
  "types": "./dist/index.d.ts",
10
+ "bin": {
11
+ "omnicloud": "./dist/cli.js"
12
+ },
10
13
  "exports": {
11
14
  ".": {
12
15
  "types": "./dist/index.d.ts",
@@ -15,7 +18,8 @@
15
18
  }
16
19
  },
17
20
  "files": [
18
- "dist"
21
+ "dist",
22
+ "server"
19
23
  ],
20
24
  "sideEffects": false,
21
25
  "engines": {
@@ -35,21 +39,30 @@
35
39
  ],
36
40
  "dependencies": {
37
41
  "big-integer": "^1.6.52",
38
- "telegram": "^2.26.22"
42
+ "telegram": "^2.26.22",
43
+ "@fastify/cookie": "^11.0.0",
44
+ "@fastify/multipart": "^9.0.0",
45
+ "@fastify/static": "^8.0.0",
46
+ "@prisma/client": "^6.2.0",
47
+ "fastify": "^5.0.0",
48
+ "prisma": "^6.2.0"
39
49
  },
40
50
  "devDependencies": {
41
- "@omnicloud/core": "0.2.1",
42
- "@omnicloud/shared": "0.2.1",
43
- "@omnicloud/telegram": "0.2.1",
51
+ "@omnicloud/core": "0.2.3",
52
+ "@omnicloud/shared": "0.2.3",
53
+ "@omnicloud/telegram": "0.2.3",
44
54
  "@types/node": "^22.10.0",
55
+ "esbuild": "0.25.12",
45
56
  "tsup": "^8.3.0",
46
57
  "typescript": "^5.6.3",
47
58
  "vitest": "^3.0.0"
48
59
  },
49
60
  "scripts": {
50
- "build": "tsup",
61
+ "build": "node --max-old-space-size=4096 ./node_modules/tsup/dist/cli-default.js",
51
62
  "typecheck": "tsc --noEmit",
52
63
  "test": "vitest run",
53
- "lint": "eslint src test"
64
+ "lint": "eslint src test",
65
+ "build:cli": "tsup --config tsup.cli.config.ts",
66
+ "bundle:server": "node scripts/bundle-server.mjs"
54
67
  }
55
68
  }