@stratal/framework 0.0.5 → 0.0.6

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/README.md CHANGED
@@ -54,9 +54,8 @@ npx skills add strataljs/stratal
54
54
  ## Quick Start
55
55
 
56
56
  ```typescript
57
+ import { Stratal } from 'stratal'
57
58
  import { Module } from 'stratal/module'
58
- import { StratalWorker } from 'stratal/worker'
59
- import { type ApplicationConfig } from 'stratal'
60
59
  import { AuthModule } from '@stratal/framework/auth'
61
60
  import { DatabaseModule } from '@stratal/framework/database'
62
61
  import { RbacModule } from '@stratal/framework/rbac'
@@ -72,11 +71,7 @@ import { RbacModule } from '@stratal/framework/rbac'
72
71
  })
73
72
  class AppModule {}
74
73
 
75
- export default class Backend extends StratalWorker {
76
- protected configure(): ApplicationConfig {
77
- return { module: AppModule }
78
- }
79
- }
74
+ export default new Stratal({ module: AppModule })
80
75
  ```
81
76
 
82
77
  ## Documentation
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stratal/framework",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "author": "Temitayo Fadojutimi",
@@ -9,6 +9,9 @@
9
9
  "url": "git+https://github.com/strataljs/stratal.git",
10
10
  "directory": "packages/framework"
11
11
  },
12
+ "engines": {
13
+ "node": ">=22.0.0"
14
+ },
12
15
  "publishConfig": {
13
16
  "access": "public",
14
17
  "provenance": true
@@ -75,7 +78,7 @@
75
78
  "better-auth": "^1.4.9",
76
79
  "casbin": "^5.41.0",
77
80
  "pg": "^8.0.0",
78
- "stratal": "0.0.5"
81
+ "stratal": "0.0.6"
79
82
  },
80
83
  "peerDependenciesMeta": {
81
84
  "@better-auth/core": {
@@ -97,9 +100,9 @@
97
100
  "devDependencies": {
98
101
  "@better-auth/core": "^1.5.0",
99
102
  "@cloudflare/vitest-pool-workers": "^0.12.18",
100
- "@cloudflare/workers-types": "4.20260301.1",
103
+ "@cloudflare/workers-types": "4.20260306.1",
101
104
  "@faker-js/faker": "^10.3.0",
102
- "@stratal/testing": "^0.0.5",
105
+ "@stratal/testing": "workspace:^",
103
106
  "@types/node": "^22.19.13",
104
107
  "@types/pg": "^8.18.0",
105
108
  "@vitest/coverage-istanbul": "3.2.4",
@@ -110,9 +113,9 @@
110
113
  "casbin": "^5.49.0",
111
114
  "pg": "^8.19.0",
112
115
  "reflect-metadata": "^0.2.2",
113
- "stratal": "0.0.5",
116
+ "stratal": "workspace:*",
114
117
  "typescript": "^5.9.3",
115
118
  "vitest": "~3.2.0",
116
119
  "wrangler": "^4.69.0"
117
120
  }
118
- }
121
+ }
package/CHANGELOG.md DELETED
@@ -1,10 +0,0 @@
1
- # @stratal/framework
2
-
3
- ## 0.0.5
4
-
5
- ### Patch Changes
6
-
7
- - [#66](https://github.com/strataljs/stratal/pull/66) [`c8ea964`](https://github.com/strataljs/stratal/commit/c8ea964e272b09ebc6619843e77d2b51178f9423) Thanks [@adesege](https://github.com/adesege)! - Add AuthModule (Better Auth integration), DatabaseModule (ZenStack ORM with named connections and plugins), RbacModule (Casbin RBAC), AuthGuard factory, AuthContext, Factory base class, and database event types. Includes E2E test suite with Docker Postgres.
8
-
9
- - Updated dependencies [[`c8ea964`](https://github.com/strataljs/stratal/commit/c8ea964e272b09ebc6619843e77d2b51178f9423)]:
10
- - stratal@0.0.5