@nymbalhq/platform 0.0.0-stage → 1.0.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.
Files changed (48) hide show
  1. package/dist/chunk-74KODSYJ.js +2564 -0
  2. package/dist/chunk-74KODSYJ.js.map +1 -0
  3. package/dist/chunk-PW6ILJF7.js +740 -0
  4. package/dist/chunk-PW6ILJF7.js.map +1 -0
  5. package/dist/chunk-PZ5AY32C.js +10 -0
  6. package/dist/chunk-PZ5AY32C.js.map +1 -0
  7. package/dist/db/schema/index.d.ts +10125 -0
  8. package/dist/db/schema/index.js +10 -0
  9. package/dist/db/schema/index.js.map +1 -0
  10. package/dist/index.d.ts +1373 -0
  11. package/dist/index.js +6462 -0
  12. package/dist/index.js.map +1 -0
  13. package/dist/register-IVFYBJSX.js +8 -0
  14. package/dist/register-IVFYBJSX.js.map +1 -0
  15. package/drizzle.config.postgres.ts +10 -0
  16. package/drizzle.config.sqlite.ts +10 -0
  17. package/migrations/postgres/0000_tearful_longshot.sql +166 -0
  18. package/migrations/postgres/0001_neat_zeigeist.sql +1 -0
  19. package/migrations/postgres/0002_sloppy_mad_thinker.sql +20 -0
  20. package/migrations/postgres/0003_violet_violations.sql +15 -0
  21. package/migrations/postgres/0004_white_reavers.sql +15 -0
  22. package/migrations/postgres/0005_natural_nico_minoru.sql +12 -0
  23. package/migrations/postgres/0006_minor_dragon_man.sql +28 -0
  24. package/migrations/postgres/meta/0000_snapshot.json +1172 -0
  25. package/migrations/postgres/meta/0001_snapshot.json +1187 -0
  26. package/migrations/postgres/meta/0002_snapshot.json +1325 -0
  27. package/migrations/postgres/meta/0003_snapshot.json +1432 -0
  28. package/migrations/postgres/meta/0004_snapshot.json +1439 -0
  29. package/migrations/postgres/meta/0005_snapshot.json +1461 -0
  30. package/migrations/postgres/meta/0006_snapshot.json +1598 -0
  31. package/migrations/postgres/meta/_journal.json +55 -0
  32. package/migrations/sqlite/0000_glorious_vision.sql +166 -0
  33. package/migrations/sqlite/0001_tricky_glorian.sql +1 -0
  34. package/migrations/sqlite/0002_puzzling_epoch.sql +19 -0
  35. package/migrations/sqlite/0003_fantastic_captain_stacy.sql +15 -0
  36. package/migrations/sqlite/0004_remarkable_shriek.sql +12 -0
  37. package/migrations/sqlite/0005_conscious_speedball.sql +13 -0
  38. package/migrations/sqlite/0006_flat_psylocke.sql +28 -0
  39. package/migrations/sqlite/meta/0000_snapshot.json +1093 -0
  40. package/migrations/sqlite/meta/0001_snapshot.json +1100 -0
  41. package/migrations/sqlite/meta/0002_snapshot.json +1222 -0
  42. package/migrations/sqlite/meta/0003_snapshot.json +1320 -0
  43. package/migrations/sqlite/meta/0004_snapshot.json +1328 -0
  44. package/migrations/sqlite/meta/0005_snapshot.json +1343 -0
  45. package/migrations/sqlite/meta/0006_snapshot.json +1470 -0
  46. package/migrations/sqlite/meta/_journal.json +55 -0
  47. package/package.json +85 -3
  48. package/README.md +0 -3
@@ -0,0 +1,55 @@
1
+ {
2
+ "version": "7",
3
+ "dialect": "sqlite",
4
+ "entries": [
5
+ {
6
+ "idx": 0,
7
+ "version": "6",
8
+ "when": 1776875073175,
9
+ "tag": "0000_glorious_vision",
10
+ "breakpoints": true
11
+ },
12
+ {
13
+ "idx": 1,
14
+ "version": "6",
15
+ "when": 1792286470217,
16
+ "tag": "0001_tricky_glorian",
17
+ "breakpoints": true
18
+ },
19
+ {
20
+ "idx": 2,
21
+ "version": "6",
22
+ "when": 1792302104573,
23
+ "tag": "0002_puzzling_epoch",
24
+ "breakpoints": true
25
+ },
26
+ {
27
+ "idx": 3,
28
+ "version": "6",
29
+ "when": 1792310134659,
30
+ "tag": "0003_fantastic_captain_stacy",
31
+ "breakpoints": true
32
+ },
33
+ {
34
+ "idx": 4,
35
+ "version": "6",
36
+ "when": 1792325872767,
37
+ "tag": "0004_remarkable_shriek",
38
+ "breakpoints": true
39
+ },
40
+ {
41
+ "idx": 5,
42
+ "version": "6",
43
+ "when": 1792361576359,
44
+ "tag": "0005_conscious_speedball",
45
+ "breakpoints": true
46
+ },
47
+ {
48
+ "idx": 6,
49
+ "version": "6",
50
+ "when": 1792397455388,
51
+ "tag": "0006_flat_psylocke",
52
+ "breakpoints": true
53
+ }
54
+ ]
55
+ }
package/package.json CHANGED
@@ -1,6 +1,88 @@
1
1
  {
2
2
  "name": "@nymbalhq/platform",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "1.0.0",
4
+ "description": "Nymbal CQRS kernel (command store, document store, event bus)",
5
+ "license": "MIT",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/nymbalhq/nymbal.git",
9
+ "directory": "packages/platform"
10
+ },
11
+ "publishConfig": {
12
+ "access": "public"
13
+ },
14
+ "type": "module",
15
+ "engines": {
16
+ "node": ">=22"
17
+ },
18
+ "main": "./dist/index.js",
19
+ "types": "./dist/index.d.ts",
20
+ "exports": {
21
+ ".": {
22
+ "types": "./dist/index.d.ts",
23
+ "import": "./dist/index.js"
24
+ },
25
+ "./schema": {
26
+ "types": "./dist/db/schema/index.d.ts",
27
+ "import": "./dist/db/schema/index.js"
28
+ }
29
+ },
30
+ "files": [
31
+ "dist",
32
+ "drizzle.config.sqlite.ts",
33
+ "drizzle.config.postgres.ts",
34
+ "migrations"
35
+ ],
36
+ "dependencies": {
37
+ "bcryptjs": "^2.4.3",
38
+ "better-sqlite3": "^11.3.0",
39
+ "drizzle-orm": "^0.36.0",
40
+ "jose": "^5.9.6",
41
+ "pg": "^8.13.1",
42
+ "pino": "^9.5.0",
43
+ "pino-pretty": "^11.3.0",
44
+ "uuid": "^10.0.0",
45
+ "zod": "^3.23.8",
46
+ "@nymbalhq/config": "1.0.0",
47
+ "@nymbalhq/types": "1.0.0"
48
+ },
49
+ "peerDependencies": {
50
+ "@nymbalhq/adapter-anthropic": "^1.0.0",
51
+ "@nymbalhq/adapter-smtp": "^1.0.0",
52
+ "@nymbalhq/adapter-stripe": "^1.0.0"
53
+ },
54
+ "peerDependenciesMeta": {
55
+ "@nymbalhq/adapter-anthropic": {
56
+ "optional": true
57
+ },
58
+ "@nymbalhq/adapter-smtp": {
59
+ "optional": true
60
+ },
61
+ "@nymbalhq/adapter-stripe": {
62
+ "optional": true
63
+ }
64
+ },
65
+ "devDependencies": {
66
+ "@types/bcryptjs": "^2.4.6",
67
+ "@types/better-sqlite3": "^7.6.11",
68
+ "@types/pg": "^8.11.10",
69
+ "@types/uuid": "^10.0.0",
70
+ "drizzle-kit": "^0.28.0",
71
+ "stripe": "^17.4.0",
72
+ "tsup": "^8.3.5",
73
+ "typescript": "^5.6.3",
74
+ "vitest": "^3.0.0",
75
+ "@nymbalhq/adapter-anthropic": "1.0.0",
76
+ "@nymbalhq/adapter-smtp": "1.0.0",
77
+ "@nymbalhq/adapter-stripe": "1.0.0"
78
+ },
79
+ "scripts": {
80
+ "build": "tsup",
81
+ "dev": "tsup --watch",
82
+ "typecheck": "tsc -p tsconfig.json --noEmit",
83
+ "db:generate:sqlite": "drizzle-kit generate --config=drizzle.config.sqlite.ts",
84
+ "db:generate:postgres": "drizzle-kit generate --config=drizzle.config.postgres.ts",
85
+ "db:migrate:sqlite": "drizzle-kit migrate --config=drizzle.config.sqlite.ts",
86
+ "db:migrate:postgres": "drizzle-kit migrate --config=drizzle.config.postgres.ts"
87
+ }
6
88
  }
package/README.md DELETED
@@ -1,3 +0,0 @@
1
- # Temporary Holding Version
2
-
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.