@voltro/cli 0.22.1 → 0.24.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 (76) hide show
  1. package/CHANGELOG.md +427 -0
  2. package/bin/voltro.mjs +39 -4
  3. package/dist/{apiBuild-DiWxVz-M.js → apiBuild-B2m4XK_8.js} +45 -23
  4. package/dist/apiBuild-UEM3QBke.js +2 -0
  5. package/dist/bin.js +3 -3
  6. package/dist/{commands-BxRaIOBG.js → commands-CaIhTsC2.js} +2944 -2557
  7. package/dist/{dbCommand-DVASmZj2.js → dbCommand-CC61CsAc.js} +474 -263
  8. package/dist/dbCommand-Cr__4ATv.js +2 -0
  9. package/dist/{dev-Dd3EZzj5.js → dev-DPkQVUTP.js} +1 -1
  10. package/dist/{dev-BRiPgbKw.js → dev-NCuEhNxs.js} +1593 -1575
  11. package/dist/index.js +1 -1
  12. package/dist/{inspectMetrics-9ZSuDeqD.js → inspectMetrics-dcC7gnxu.js} +566 -552
  13. package/dist/{serveCommand-DXJOARkO.js → serveCommand-C4gzDZzc.js} +425 -411
  14. package/dist/serveEntry.js +2 -2
  15. package/dist/{start-CsIjcOi-.js → start-C_4VUDT8.js} +327 -325
  16. package/dist/startEntry.js +2 -2
  17. package/package.json +17 -17
  18. package/templates/AGENTS.md +1 -1
  19. package/templates/agent-docs/_index.md +1 -1
  20. package/templates/agent-docs/_manifest.json +1 -1
  21. package/templates/agent-docs/authentication.md +21 -0
  22. package/templates/agent-docs/caching.md +21 -5
  23. package/templates/agent-docs/cli.md +61 -0
  24. package/templates/agent-docs/data.md +208 -170
  25. package/templates/agent-docs/database/migrations.md +123 -0
  26. package/templates/agent-docs/database/seedsdialects.md +12 -0
  27. package/templates/agent-docs/deployment.md +66 -1
  28. package/templates/agent-docs/plugins.md +42 -0
  29. package/templates/agent-docs/routing.md +23 -1
  30. package/templates/agent-docs/templates/apibackends.md +2 -2
  31. package/templates/agent-docs/whats-new.md +281 -32
  32. package/templates/agent-docs/workflows.md +30 -0
  33. package/templates/apps/api-ai/package.json +8 -7
  34. package/templates/apps/api-auth/package.json +9 -8
  35. package/templates/apps/api-backend/package.json +8 -7
  36. package/templates/apps/api-backend-deactivation/package.json +8 -7
  37. package/templates/apps/api-backend-mail/package.json +9 -8
  38. package/templates/apps/api-backend-mariadb/package.json +10 -9
  39. package/templates/apps/api-backend-storage/package.json +9 -8
  40. package/templates/apps/api-data-advanced/package.json +9 -8
  41. package/templates/apps/api-durable/package.json +9 -8
  42. package/templates/apps/api-feature-flags/package.json +10 -9
  43. package/templates/apps/api-governance/package.json +9 -8
  44. package/templates/apps/api-kv/package.json +9 -8
  45. package/templates/apps/api-moderation/package.json +9 -8
  46. package/templates/apps/api-observability/package.json +9 -8
  47. package/templates/apps/api-ratelimit/package.json +9 -8
  48. package/templates/apps/api-rbac/package.json +9 -8
  49. package/templates/apps/api-rest/package.json +8 -7
  50. package/templates/apps/api-saas/package.json +12 -11
  51. package/templates/apps/api-search/package.json +9 -8
  52. package/templates/apps/api-versioning/app.config.ts +6 -4
  53. package/templates/apps/api-versioning/package.json +9 -8
  54. package/templates/apps/api-webhooks/package.json +10 -9
  55. package/templates/apps/changelog/package.json +7 -6
  56. package/templates/apps/edge-functions/package.json +3 -2
  57. package/templates/apps/frontend-admin/package.json +9 -8
  58. package/templates/apps/frontend-app/package.json +9 -8
  59. package/templates/apps/frontend-blank/package.json +8 -7
  60. package/templates/apps/frontend-contact/package.json +8 -7
  61. package/templates/apps/frontend-contact/src/globals.d.ts +6 -0
  62. package/templates/apps/frontend-dashboard/package.json +8 -7
  63. package/templates/apps/frontend-docs/package.json +8 -7
  64. package/templates/apps/frontend-docs/src/globals.d.ts +6 -0
  65. package/templates/apps/frontend-i18n/package.json +7 -6
  66. package/templates/apps/frontend-landing/package.json +8 -7
  67. package/templates/apps/frontend-landing/src/globals.d.ts +6 -0
  68. package/templates/apps/frontend-spa/package.json +8 -7
  69. package/templates/apps/frontend-spa/src/globals.d.ts +6 -0
  70. package/templates/apps/frontend-ssr/package.json +8 -7
  71. package/templates/apps/frontend-ssr/src/globals.d.ts +6 -0
  72. package/templates/apps/frontend-ssr-api/package.json +9 -8
  73. package/templates/apps/frontend-static-blog/package.json +7 -6
  74. package/templates/apps/frontend-static-blog/src/globals.d.ts +6 -0
  75. package/dist/apiBuild-COyPDf3R.js +0 -2
  76. package/dist/dbCommand-CO3eSAZR.js +0 -2
@@ -5,6 +5,7 @@
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "voltro dev .",
8
+ "lint": "voltro doctor .",
8
9
  "migrate": "voltro migrate",
9
10
  "typecheck": "tsc --noEmit",
10
11
  "test": "voltro test"
@@ -12,18 +13,18 @@
12
13
  "dependencies": {
13
14
  "@react-email/components": "^1.0.12",
14
15
  "@react-email/render": "^1.4.0",
15
- "@voltro/cli": "0.22.1",
16
- "@voltro/database": "0.22.1",
17
- "@voltro/env": "0.22.1",
18
- "@voltro/plugin-mail": "0.22.1",
19
- "@voltro/plugin-multitenancy": "0.22.1",
20
- "@voltro/protocol": "0.22.1",
21
- "@voltro/runtime": "0.22.1",
16
+ "@voltro/cli": "0.24.0",
17
+ "@voltro/database": "0.24.0",
18
+ "@voltro/env": "0.24.0",
19
+ "@voltro/plugin-mail": "0.24.0",
20
+ "@voltro/plugin-multitenancy": "0.24.0",
21
+ "@voltro/protocol": "0.24.0",
22
+ "@voltro/runtime": "0.24.0",
22
23
  "effect": "^3.22.0",
23
24
  "react": "^19.0.0"
24
25
  },
25
26
  "devDependencies": {
26
- "@voltro/testing": "0.22.1",
27
+ "@voltro/testing": "0.24.0",
27
28
  "typescript": "^6.0.3",
28
29
  "vitest": "^4.1.10"
29
30
  }
@@ -5,6 +5,7 @@
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "voltro dev .",
8
+ "lint": "voltro doctor .",
8
9
  "migrate": "voltro migrate",
9
10
  "test": "voltro test",
10
11
  "typecheck": "tsc --noEmit"
@@ -12,18 +13,18 @@
12
13
  "dependencies": {
13
14
  "@effect/platform": "^0.97.0",
14
15
  "@effect/rpc": "^0.76.0",
15
- "@voltro/cli": "0.22.1",
16
- "@voltro/database": "0.22.1",
17
- "@voltro/env": "0.22.1",
18
- "@voltro/plugin-multitenancy": "0.22.1",
19
- "@voltro/plugin-storage": "0.22.1",
20
- "@voltro/protocol": "0.22.1",
21
- "@voltro/runtime": "0.22.1",
22
- "@voltro/sql-mysql": "0.22.1",
16
+ "@voltro/cli": "0.24.0",
17
+ "@voltro/database": "0.24.0",
18
+ "@voltro/env": "0.24.0",
19
+ "@voltro/plugin-multitenancy": "0.24.0",
20
+ "@voltro/plugin-storage": "0.24.0",
21
+ "@voltro/protocol": "0.24.0",
22
+ "@voltro/runtime": "0.24.0",
23
+ "@voltro/sql-mysql": "0.24.0",
23
24
  "effect": "^3.22.0"
24
25
  },
25
26
  "devDependencies": {
26
- "@voltro/testing": "0.22.1",
27
+ "@voltro/testing": "0.24.0",
27
28
  "typescript": "^6.0.3",
28
29
  "vitest": "^4.1.10"
29
30
  }
@@ -5,22 +5,23 @@
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "voltro dev .",
8
+ "lint": "voltro doctor .",
8
9
  "migrate": "voltro migrate",
9
10
  "typecheck": "tsc --noEmit",
10
11
  "test": "voltro test"
11
12
  },
12
13
  "dependencies": {
13
- "@voltro/cli": "0.22.1",
14
- "@voltro/database": "0.22.1",
15
- "@voltro/env": "0.22.1",
16
- "@voltro/plugin-multitenancy": "0.22.1",
17
- "@voltro/plugin-storage": "0.22.1",
18
- "@voltro/protocol": "0.22.1",
19
- "@voltro/runtime": "0.22.1",
14
+ "@voltro/cli": "0.24.0",
15
+ "@voltro/database": "0.24.0",
16
+ "@voltro/env": "0.24.0",
17
+ "@voltro/plugin-multitenancy": "0.24.0",
18
+ "@voltro/plugin-storage": "0.24.0",
19
+ "@voltro/protocol": "0.24.0",
20
+ "@voltro/runtime": "0.24.0",
20
21
  "effect": "^3.22.0"
21
22
  },
22
23
  "devDependencies": {
23
- "@voltro/testing": "0.22.1",
24
+ "@voltro/testing": "0.24.0",
24
25
  "typescript": "^6.0.3",
25
26
  "vitest": "^4.1.10"
26
27
  }
@@ -5,23 +5,24 @@
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "voltro dev .",
8
+ "lint": "voltro doctor .",
8
9
  "test": "voltro test",
9
10
  "typecheck": "tsc --noEmit"
10
11
  },
11
12
  "dependencies": {
12
13
  "@effect/platform": "^0.97.0",
13
14
  "@effect/rpc": "^0.76.0",
14
- "@voltro/cli": "0.22.1",
15
- "@voltro/database": "0.22.1",
16
- "@voltro/env": "0.22.1",
17
- "@voltro/plugin-governance": "0.22.1",
18
- "@voltro/plugin-multitenancy": "0.22.1",
19
- "@voltro/protocol": "0.22.1",
20
- "@voltro/runtime": "0.22.1",
15
+ "@voltro/cli": "0.24.0",
16
+ "@voltro/database": "0.24.0",
17
+ "@voltro/env": "0.24.0",
18
+ "@voltro/plugin-governance": "0.24.0",
19
+ "@voltro/plugin-multitenancy": "0.24.0",
20
+ "@voltro/protocol": "0.24.0",
21
+ "@voltro/runtime": "0.24.0",
21
22
  "effect": "^3.22.0"
22
23
  },
23
24
  "devDependencies": {
24
- "@voltro/testing": "0.22.1",
25
+ "@voltro/testing": "0.24.0",
25
26
  "typescript": "^6.0.3",
26
27
  "vitest": "^4.1.10"
27
28
  }
@@ -5,23 +5,24 @@
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "voltro dev .",
8
+ "lint": "voltro doctor .",
8
9
  "test": "voltro test",
9
10
  "typecheck": "tsc --noEmit"
10
11
  },
11
12
  "dependencies": {
12
13
  "@effect/platform": "^0.97.0",
13
14
  "@effect/rpc": "^0.76.0",
14
- "@voltro/cli": "0.22.1",
15
- "@voltro/database": "0.22.1",
16
- "@voltro/env": "0.22.1",
17
- "@voltro/plugin-multitenancy": "0.22.1",
18
- "@voltro/protocol": "0.22.1",
19
- "@voltro/runtime": "0.22.1",
20
- "@voltro/workflow": "0.22.1",
15
+ "@voltro/cli": "0.24.0",
16
+ "@voltro/database": "0.24.0",
17
+ "@voltro/env": "0.24.0",
18
+ "@voltro/plugin-multitenancy": "0.24.0",
19
+ "@voltro/protocol": "0.24.0",
20
+ "@voltro/runtime": "0.24.0",
21
+ "@voltro/workflow": "0.24.0",
21
22
  "effect": "^3.22.0"
22
23
  },
23
24
  "devDependencies": {
24
- "@voltro/testing": "0.22.1",
25
+ "@voltro/testing": "0.24.0",
25
26
  "typescript": "^6.0.3",
26
27
  "vitest": "^4.1.10"
27
28
  }
@@ -5,6 +5,7 @@
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "voltro dev .",
8
+ "lint": "voltro doctor .",
8
9
  "migrate": "voltro migrate",
9
10
  "test": "voltro test",
10
11
  "typecheck": "tsc --noEmit"
@@ -12,18 +13,18 @@
12
13
  "dependencies": {
13
14
  "@effect/platform": "^0.97.0",
14
15
  "@effect/rpc": "^0.76.0",
15
- "@voltro/cli": "0.22.1",
16
- "@voltro/database": "0.22.1",
17
- "@voltro/env": "0.22.1",
18
- "@voltro/plugin-flags": "0.22.1",
19
- "@voltro/plugin-multitenancy": "0.22.1",
20
- "@voltro/protocol": "0.22.1",
21
- "@voltro/runtime": "0.22.1",
22
- "@voltro/sql-postgres": "0.22.1",
16
+ "@voltro/cli": "0.24.0",
17
+ "@voltro/database": "0.24.0",
18
+ "@voltro/env": "0.24.0",
19
+ "@voltro/plugin-flags": "0.24.0",
20
+ "@voltro/plugin-multitenancy": "0.24.0",
21
+ "@voltro/protocol": "0.24.0",
22
+ "@voltro/runtime": "0.24.0",
23
+ "@voltro/sql-postgres": "0.24.0",
23
24
  "effect": "^3.22.0"
24
25
  },
25
26
  "devDependencies": {
26
- "@voltro/testing": "0.22.1",
27
+ "@voltro/testing": "0.24.0",
27
28
  "typescript": "^6.0.3",
28
29
  "vitest": "^4.1.10"
29
30
  }
@@ -5,6 +5,7 @@
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "voltro dev .",
8
+ "lint": "voltro doctor .",
8
9
  "migrate": "voltro migrate",
9
10
  "test": "voltro test",
10
11
  "typecheck": "tsc --noEmit"
@@ -12,17 +13,17 @@
12
13
  "dependencies": {
13
14
  "@effect/platform": "^0.97.0",
14
15
  "@effect/rpc": "^0.76.0",
15
- "@voltro/cli": "0.22.1",
16
- "@voltro/database": "0.22.1",
17
- "@voltro/env": "0.22.1",
18
- "@voltro/plugin-audit": "0.22.1",
19
- "@voltro/plugin-governance": "0.22.1",
20
- "@voltro/protocol": "0.22.1",
21
- "@voltro/runtime": "0.22.1",
16
+ "@voltro/cli": "0.24.0",
17
+ "@voltro/database": "0.24.0",
18
+ "@voltro/env": "0.24.0",
19
+ "@voltro/plugin-audit": "0.24.0",
20
+ "@voltro/plugin-governance": "0.24.0",
21
+ "@voltro/protocol": "0.24.0",
22
+ "@voltro/runtime": "0.24.0",
22
23
  "effect": "^3.22.0"
23
24
  },
24
25
  "devDependencies": {
25
- "@voltro/testing": "0.22.1",
26
+ "@voltro/testing": "0.24.0",
26
27
  "typescript": "^6.0.3",
27
28
  "vitest": "^4.1.10"
28
29
  }
@@ -5,23 +5,24 @@
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "voltro dev .",
8
+ "lint": "voltro doctor .",
8
9
  "test": "voltro test",
9
10
  "typecheck": "tsc --noEmit"
10
11
  },
11
12
  "dependencies": {
12
13
  "@effect/platform": "^0.97.0",
13
14
  "@effect/rpc": "^0.76.0",
14
- "@voltro/cli": "0.22.1",
15
- "@voltro/database": "0.22.1",
16
- "@voltro/env": "0.22.1",
17
- "@voltro/kv": "0.22.1",
18
- "@voltro/plugin-multitenancy": "0.22.1",
19
- "@voltro/protocol": "0.22.1",
20
- "@voltro/runtime": "0.22.1",
15
+ "@voltro/cli": "0.24.0",
16
+ "@voltro/database": "0.24.0",
17
+ "@voltro/env": "0.24.0",
18
+ "@voltro/kv": "0.24.0",
19
+ "@voltro/plugin-multitenancy": "0.24.0",
20
+ "@voltro/protocol": "0.24.0",
21
+ "@voltro/runtime": "0.24.0",
21
22
  "effect": "^3.22.0"
22
23
  },
23
24
  "devDependencies": {
24
- "@voltro/testing": "0.22.1",
25
+ "@voltro/testing": "0.24.0",
25
26
  "typescript": "^6.0.3",
26
27
  "vitest": "^4.1.10"
27
28
  }
@@ -5,6 +5,7 @@
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "voltro dev .",
8
+ "lint": "voltro doctor .",
8
9
  "migrate": "voltro migrate",
9
10
  "test": "voltro test",
10
11
  "typecheck": "tsc --noEmit"
@@ -12,17 +13,17 @@
12
13
  "dependencies": {
13
14
  "@effect/platform": "^0.97.0",
14
15
  "@effect/rpc": "^0.76.0",
15
- "@voltro/cli": "0.22.1",
16
- "@voltro/database": "0.22.1",
17
- "@voltro/env": "0.22.1",
18
- "@voltro/plugin-moderation": "0.22.1",
19
- "@voltro/plugin-multitenancy": "0.22.1",
20
- "@voltro/protocol": "0.22.1",
21
- "@voltro/runtime": "0.22.1",
16
+ "@voltro/cli": "0.24.0",
17
+ "@voltro/database": "0.24.0",
18
+ "@voltro/env": "0.24.0",
19
+ "@voltro/plugin-moderation": "0.24.0",
20
+ "@voltro/plugin-multitenancy": "0.24.0",
21
+ "@voltro/protocol": "0.24.0",
22
+ "@voltro/runtime": "0.24.0",
22
23
  "effect": "^3.22.0"
23
24
  },
24
25
  "devDependencies": {
25
- "@voltro/testing": "0.22.1",
26
+ "@voltro/testing": "0.24.0",
26
27
  "typescript": "^6.0.3",
27
28
  "vitest": "^4.1.10"
28
29
  }
@@ -5,6 +5,7 @@
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "voltro dev .",
8
+ "lint": "voltro doctor .",
8
9
  "migrate": "voltro migrate",
9
10
  "test": "voltro test",
10
11
  "typecheck": "tsc --noEmit"
@@ -12,17 +13,17 @@
12
13
  "dependencies": {
13
14
  "@effect/platform": "^0.97.0",
14
15
  "@effect/rpc": "^0.76.0",
15
- "@voltro/cli": "0.22.1",
16
- "@voltro/database": "0.22.1",
17
- "@voltro/plugin-multitenancy": "0.22.1",
18
- "@voltro/plugin-prometheus": "0.22.1",
19
- "@voltro/plugin-sentry": "0.22.1",
20
- "@voltro/protocol": "0.22.1",
21
- "@voltro/runtime": "0.22.1",
16
+ "@voltro/cli": "0.24.0",
17
+ "@voltro/database": "0.24.0",
18
+ "@voltro/plugin-multitenancy": "0.24.0",
19
+ "@voltro/plugin-prometheus": "0.24.0",
20
+ "@voltro/plugin-sentry": "0.24.0",
21
+ "@voltro/protocol": "0.24.0",
22
+ "@voltro/runtime": "0.24.0",
22
23
  "effect": "^3.22.0"
23
24
  },
24
25
  "devDependencies": {
25
- "@voltro/testing": "0.22.1",
26
+ "@voltro/testing": "0.24.0",
26
27
  "typescript": "^6.0.3",
27
28
  "vitest": "^4.1.10"
28
29
  }
@@ -5,6 +5,7 @@
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "voltro dev .",
8
+ "lint": "voltro doctor .",
8
9
  "migrate": "voltro migrate",
9
10
  "test": "voltro test",
10
11
  "typecheck": "tsc --noEmit"
@@ -12,17 +13,17 @@
12
13
  "dependencies": {
13
14
  "@effect/platform": "^0.97.0",
14
15
  "@effect/rpc": "^0.76.0",
15
- "@voltro/cli": "0.22.1",
16
- "@voltro/database": "0.22.1",
17
- "@voltro/env": "0.22.1",
18
- "@voltro/plugin-multitenancy": "0.22.1",
19
- "@voltro/plugin-ratelimit": "0.22.1",
20
- "@voltro/protocol": "0.22.1",
21
- "@voltro/runtime": "0.22.1",
16
+ "@voltro/cli": "0.24.0",
17
+ "@voltro/database": "0.24.0",
18
+ "@voltro/env": "0.24.0",
19
+ "@voltro/plugin-multitenancy": "0.24.0",
20
+ "@voltro/plugin-ratelimit": "0.24.0",
21
+ "@voltro/protocol": "0.24.0",
22
+ "@voltro/runtime": "0.24.0",
22
23
  "effect": "^3.22.0"
23
24
  },
24
25
  "devDependencies": {
25
- "@voltro/testing": "0.22.1",
26
+ "@voltro/testing": "0.24.0",
26
27
  "typescript": "^6.0.3",
27
28
  "vitest": "^4.1.10"
28
29
  }
@@ -5,6 +5,7 @@
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "voltro dev .",
8
+ "lint": "voltro doctor .",
8
9
  "migrate": "voltro migrate",
9
10
  "test": "voltro test",
10
11
  "typecheck": "tsc --noEmit"
@@ -12,17 +13,17 @@
12
13
  "dependencies": {
13
14
  "@effect/platform": "^0.97.0",
14
15
  "@effect/rpc": "^0.76.0",
15
- "@voltro/cli": "0.22.1",
16
- "@voltro/database": "0.22.1",
17
- "@voltro/env": "0.22.1",
18
- "@voltro/plugin-multitenancy": "0.22.1",
19
- "@voltro/plugin-rbac": "0.22.1",
20
- "@voltro/protocol": "0.22.1",
21
- "@voltro/runtime": "0.22.1",
16
+ "@voltro/cli": "0.24.0",
17
+ "@voltro/database": "0.24.0",
18
+ "@voltro/env": "0.24.0",
19
+ "@voltro/plugin-multitenancy": "0.24.0",
20
+ "@voltro/plugin-rbac": "0.24.0",
21
+ "@voltro/protocol": "0.24.0",
22
+ "@voltro/runtime": "0.24.0",
22
23
  "effect": "^3.22.0"
23
24
  },
24
25
  "devDependencies": {
25
- "@voltro/testing": "0.22.1",
26
+ "@voltro/testing": "0.24.0",
26
27
  "typescript": "^6.0.3",
27
28
  "vitest": "^4.1.10"
28
29
  }
@@ -5,6 +5,7 @@
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "voltro dev .",
8
+ "lint": "voltro doctor .",
8
9
  "migrate": "voltro migrate",
9
10
  "test": "voltro test",
10
11
  "typecheck": "tsc --noEmit"
@@ -12,16 +13,16 @@
12
13
  "dependencies": {
13
14
  "@effect/platform": "^0.97.0",
14
15
  "@effect/rpc": "^0.76.0",
15
- "@voltro/cli": "0.22.1",
16
- "@voltro/database": "0.22.1",
17
- "@voltro/plugin-openapi": "0.22.1",
18
- "@voltro/protocol": "0.22.1",
19
- "@voltro/runtime": "0.22.1",
20
- "@voltro/sql-postgres": "0.22.1",
16
+ "@voltro/cli": "0.24.0",
17
+ "@voltro/database": "0.24.0",
18
+ "@voltro/plugin-openapi": "0.24.0",
19
+ "@voltro/protocol": "0.24.0",
20
+ "@voltro/runtime": "0.24.0",
21
+ "@voltro/sql-postgres": "0.24.0",
21
22
  "effect": "^3.22.0"
22
23
  },
23
24
  "devDependencies": {
24
- "@voltro/testing": "0.22.1",
25
+ "@voltro/testing": "0.24.0",
25
26
  "typescript": "^6.0.3",
26
27
  "vitest": "^4.1.10"
27
28
  }
@@ -5,6 +5,7 @@
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "voltro dev .",
8
+ "lint": "voltro doctor .",
8
9
  "migrate": "voltro migrate",
9
10
  "test": "voltro test",
10
11
  "typecheck": "tsc --noEmit"
@@ -12,20 +13,20 @@
12
13
  "dependencies": {
13
14
  "@effect/platform": "^0.97.0",
14
15
  "@effect/rpc": "^0.76.0",
15
- "@voltro/cli": "0.22.1",
16
- "@voltro/database": "0.22.1",
17
- "@voltro/plugin-analytics-postgres": "0.22.1",
18
- "@voltro/plugin-billing": "0.22.1",
19
- "@voltro/plugin-multitenancy": "0.22.1",
20
- "@voltro/plugin-notifications": "0.22.1",
21
- "@voltro/plugin-presence": "0.22.1",
22
- "@voltro/protocol": "0.22.1",
23
- "@voltro/runtime": "0.22.1",
24
- "@voltro/sql-postgres": "0.22.1",
16
+ "@voltro/cli": "0.24.0",
17
+ "@voltro/database": "0.24.0",
18
+ "@voltro/plugin-analytics-postgres": "0.24.0",
19
+ "@voltro/plugin-billing": "0.24.0",
20
+ "@voltro/plugin-multitenancy": "0.24.0",
21
+ "@voltro/plugin-notifications": "0.24.0",
22
+ "@voltro/plugin-presence": "0.24.0",
23
+ "@voltro/protocol": "0.24.0",
24
+ "@voltro/runtime": "0.24.0",
25
+ "@voltro/sql-postgres": "0.24.0",
25
26
  "effect": "^3.22.0"
26
27
  },
27
28
  "devDependencies": {
28
- "@voltro/testing": "0.22.1",
29
+ "@voltro/testing": "0.24.0",
29
30
  "typescript": "^6.0.3",
30
31
  "vitest": "^4.1.10"
31
32
  }
@@ -5,6 +5,7 @@
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "voltro dev .",
8
+ "lint": "voltro doctor .",
8
9
  "migrate": "voltro migrate",
9
10
  "test": "voltro test",
10
11
  "typecheck": "tsc --noEmit"
@@ -12,17 +13,17 @@
12
13
  "dependencies": {
13
14
  "@effect/platform": "^0.97.0",
14
15
  "@effect/rpc": "^0.76.0",
15
- "@voltro/cli": "0.22.1",
16
- "@voltro/database": "0.22.1",
17
- "@voltro/env": "0.22.1",
18
- "@voltro/plugin-multitenancy": "0.22.1",
19
- "@voltro/plugin-search": "0.22.1",
20
- "@voltro/protocol": "0.22.1",
21
- "@voltro/runtime": "0.22.1",
16
+ "@voltro/cli": "0.24.0",
17
+ "@voltro/database": "0.24.0",
18
+ "@voltro/env": "0.24.0",
19
+ "@voltro/plugin-multitenancy": "0.24.0",
20
+ "@voltro/plugin-search": "0.24.0",
21
+ "@voltro/protocol": "0.24.0",
22
+ "@voltro/runtime": "0.24.0",
22
23
  "effect": "^3.22.0"
23
24
  },
24
25
  "devDependencies": {
25
- "@voltro/testing": "0.22.1",
26
+ "@voltro/testing": "0.24.0",
26
27
  "typescript": "^6.0.3",
27
28
  "vitest": "^4.1.10"
28
29
  }
@@ -1,8 +1,10 @@
1
1
  // Row-history backend for the {{projectName}} project.
2
2
  //
3
- // `versioningPlugin({ tables })` rides the post-commit ChangeEvent tap and
4
- // records a FULL snapshot of every insert/update/delete on the listed tables
5
- // into row history. Read it back with `rowHistory(store, table, id)` (every
3
+ // `versioningPlugin()` rides the post-commit ChangeEvent tap and records a FULL
4
+ // snapshot of every insert/update/delete into row history. It covers every table
5
+ // this app declares BY DEFAULT `exclude: [someTable]` opts one out, and
6
+ // `include: [pluginTable]` adds a plugin-owned one (those are out by default,
7
+ // since the busiest framework tables are append-only logs). Read it back with `rowHistory(store, table, id)` (every
6
8
  // version) and `rowAsOf(store, table, id, when)` (the value at a past instant
7
9
  // — time-travel). This is what-changed-to-what; `audit()` is who/when.
8
10
  // Memory history store — zero infra.
@@ -18,7 +20,7 @@ export default {
18
20
  name: '{{capProjectName}}{{capAppName}}',
19
21
  store: 'memory' as const,
20
22
  plugins: [
21
- versioningPlugin({ tables: ['documents'] }),
23
+ versioningPlugin({}),
22
24
  ],
23
25
  env,
24
26
  }
@@ -5,6 +5,7 @@
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "voltro dev .",
8
+ "lint": "voltro doctor .",
8
9
  "migrate": "voltro migrate",
9
10
  "test": "voltro test",
10
11
  "typecheck": "tsc --noEmit"
@@ -12,17 +13,17 @@
12
13
  "dependencies": {
13
14
  "@effect/platform": "^0.97.0",
14
15
  "@effect/rpc": "^0.76.0",
15
- "@voltro/cli": "0.22.1",
16
- "@voltro/database": "0.22.1",
17
- "@voltro/env": "0.22.1",
18
- "@voltro/plugin-multitenancy": "0.22.1",
19
- "@voltro/plugin-versioning": "0.22.1",
20
- "@voltro/protocol": "0.22.1",
21
- "@voltro/runtime": "0.22.1",
16
+ "@voltro/cli": "0.24.0",
17
+ "@voltro/database": "0.24.0",
18
+ "@voltro/env": "0.24.0",
19
+ "@voltro/plugin-multitenancy": "0.24.0",
20
+ "@voltro/plugin-versioning": "0.24.0",
21
+ "@voltro/protocol": "0.24.0",
22
+ "@voltro/runtime": "0.24.0",
22
23
  "effect": "^3.22.0"
23
24
  },
24
25
  "devDependencies": {
25
- "@voltro/testing": "0.22.1",
26
+ "@voltro/testing": "0.24.0",
26
27
  "typescript": "^6.0.3",
27
28
  "vitest": "^4.1.10"
28
29
  }
@@ -5,6 +5,7 @@
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "voltro dev .",
8
+ "lint": "voltro doctor .",
8
9
  "migrate": "voltro migrate",
9
10
  "test": "voltro test",
10
11
  "typecheck": "tsc --noEmit"
@@ -12,18 +13,18 @@
12
13
  "dependencies": {
13
14
  "@effect/platform": "^0.97.0",
14
15
  "@effect/rpc": "^0.76.0",
15
- "@voltro/cli": "0.22.1",
16
- "@voltro/database": "0.22.1",
17
- "@voltro/env": "0.22.1",
18
- "@voltro/plugin-multitenancy": "0.22.1",
19
- "@voltro/plugin-webhooks": "0.22.1",
20
- "@voltro/protocol": "0.22.1",
21
- "@voltro/runtime": "0.22.1",
22
- "@voltro/sql-postgres": "0.22.1",
16
+ "@voltro/cli": "0.24.0",
17
+ "@voltro/database": "0.24.0",
18
+ "@voltro/env": "0.24.0",
19
+ "@voltro/plugin-multitenancy": "0.24.0",
20
+ "@voltro/plugin-webhooks": "0.24.0",
21
+ "@voltro/protocol": "0.24.0",
22
+ "@voltro/runtime": "0.24.0",
23
+ "@voltro/sql-postgres": "0.24.0",
23
24
  "effect": "^3.22.0"
24
25
  },
25
26
  "devDependencies": {
26
- "@voltro/testing": "0.22.1",
27
+ "@voltro/testing": "0.24.0",
27
28
  "typescript": "^6.0.3",
28
29
  "vitest": "^4.1.10"
29
30
  }