@warlock.js/core 4.2.10 → 4.2.11
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/CHANGELOG.md +16 -5
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -6,12 +6,23 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
## 4.2.11
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- `lowerStage3Decorators()` — Vite/Vitest plugin that lowers TC39 Stage-3 decorators with esbuild before oxc / the SSR rewrite mangles them; drop it first in a config's `plugins` so model-decorated files load under Vitest 4 / Vite 8.
|
|
14
|
+
- `warlock add notifications` — installs `@warlock.js/notifications` (+ the `mail` feature), ejects `config/notifications.ts`, and scaffolds the app-owned `Notification` model + migration into `src/app/notifications/` (idempotent; async queue opt-in).
|
|
15
|
+
- Notifications connector — built-in connector (priority `8`, early phase) reads `config/notifications.ts` at boot and passes it to `setNotificationConfig`; lazy-imports `@warlock.js/notifications` (config-gated), so core keeps no hard dependency on it.
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
10
19
|
- `warlock add test` now scaffolds a `vite.config.ts` that includes `lowerStage3Decorators()`, so a fresh project can test decorated models out of the box.
|
|
11
|
-
- `warlock add test` `test
|
|
12
|
-
-
|
|
13
|
-
|
|
14
|
-
|
|
20
|
+
- `warlock add test` `test` / `test:coverage` scripts now run one-shot (`vitest run`) instead of watch mode — CI-safe by default.
|
|
21
|
+
- Bumped `@mongez/reinforcements` to 3.3.0
|
|
22
|
+
|
|
23
|
+
### Fixed
|
|
24
|
+
|
|
25
|
+
- `startHttpTestServer` now starts early-phase connectors (database, cache, logger, …) before loading app modules, then late-phase (http, socket) after — mirroring dev/prod boot order; fixes a `MissingDataSourceError` when a module's boot side-effect queries the DB at import under the Vitest integration harness.
|
|
15
26
|
|
|
16
27
|
## 4.2.5
|
|
17
28
|
|
package/package.json
CHANGED
|
@@ -32,17 +32,17 @@
|
|
|
32
32
|
"@mongez/events": "^2.2.6",
|
|
33
33
|
"@mongez/http": "^3.3.8",
|
|
34
34
|
"@mongez/localization": "^3.4.6",
|
|
35
|
-
"@mongez/reinforcements": "^3.
|
|
35
|
+
"@mongez/reinforcements": "^3.3.0",
|
|
36
36
|
"@mongez/slug": "^1.0.7",
|
|
37
37
|
"@mongez/supportive-is": "^2.1.3",
|
|
38
38
|
"@mongez/time-wizard": "^1.0.6",
|
|
39
|
-
"@warlock.js/auth": "4.2.
|
|
40
|
-
"@warlock.js/cache": "4.2.
|
|
41
|
-
"@warlock.js/cascade": "4.2.
|
|
42
|
-
"@warlock.js/context": "4.2.
|
|
43
|
-
"@warlock.js/logger": "4.2.
|
|
44
|
-
"@warlock.js/seal": "4.2.
|
|
45
|
-
"@warlock.js/fs": "4.2.
|
|
39
|
+
"@warlock.js/auth": "4.2.11",
|
|
40
|
+
"@warlock.js/cache": "4.2.11",
|
|
41
|
+
"@warlock.js/cascade": "4.2.11",
|
|
42
|
+
"@warlock.js/context": "4.2.11",
|
|
43
|
+
"@warlock.js/logger": "4.2.11",
|
|
44
|
+
"@warlock.js/seal": "4.2.11",
|
|
45
|
+
"@warlock.js/fs": "4.2.11",
|
|
46
46
|
"chokidar": "^5.0.0",
|
|
47
47
|
"dayjs": "^1.11.19",
|
|
48
48
|
"es-module-lexer": "^2.0.0",
|
|
@@ -68,12 +68,12 @@
|
|
|
68
68
|
"react": "^19.2.3",
|
|
69
69
|
"react-dom": "^19.2.3",
|
|
70
70
|
"@react-email/render": "^2.0.5",
|
|
71
|
-
"@warlock.js/herald": "4.2.
|
|
71
|
+
"@warlock.js/herald": "4.2.11"
|
|
72
72
|
},
|
|
73
73
|
"bin": {
|
|
74
74
|
"warlock": "bin/warlock.js"
|
|
75
75
|
},
|
|
76
|
-
"version": "4.2.
|
|
76
|
+
"version": "4.2.11",
|
|
77
77
|
"type": "module",
|
|
78
78
|
"main": "./esm/index.mjs",
|
|
79
79
|
"module": "./esm/index.mjs",
|