@warlock.js/core 4.2.0 → 4.2.1

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 CHANGED
@@ -13,6 +13,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
13
13
  - `warlock add notifications` — new feature in the `add` command: installs `@warlock.js/notifications` (and pulls the `mail` feature for the default mail channel), ejects `config/notifications.ts` (mail + in-app channels wired), and scaffolds the app-owned `Notification` model + a timestamped migration into `src/app/notifications/`. Re-running is idempotent (the model file is the sentinel — no duplicate migration). The async queue stays opt-in (commented in the config; enable with `warlock add herald` + `heraldQueue()`).
14
14
  - **Notifications connector** — a built-in connector (priority `8`, early phase) reads `config/notifications.ts` at boot and hands its default export to `setNotificationConfig`. `@warlock.js/notifications` is lazy-imported (gated on the config's presence), so core keeps no hard dependency on it — the same pattern as the herald connector. Config files stay declarative (`export default config`); the side-effect moves out of the config file.
15
15
 
16
+ ## 4.2.1
17
+
18
+ ### Fixed
19
+
20
+ - Ship the `bin` folder so the `warlock` CLI works from the published package — it was omitted from the 4.2.0 build.
21
+
16
22
  ## 4.2.0
17
23
 
18
24
  ### Changed
package/bin/warlock.js ADDED
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+
3
+ import "../esm/cli/start.mjs";
package/package.json CHANGED
@@ -36,13 +36,13 @@
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.0",
40
- "@warlock.js/cache": "4.2.0",
41
- "@warlock.js/cascade": "4.2.0",
42
- "@warlock.js/context": "4.2.0",
43
- "@warlock.js/logger": "4.2.0",
44
- "@warlock.js/seal": "4.2.0",
45
- "@warlock.js/fs": "4.2.0",
39
+ "@warlock.js/auth": "4.2.1",
40
+ "@warlock.js/cache": "4.2.1",
41
+ "@warlock.js/cascade": "4.2.1",
42
+ "@warlock.js/context": "4.2.1",
43
+ "@warlock.js/logger": "4.2.1",
44
+ "@warlock.js/seal": "4.2.1",
45
+ "@warlock.js/fs": "4.2.1",
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.0"
71
+ "@warlock.js/herald": "4.2.1"
72
72
  },
73
73
  "bin": {
74
74
  "warlock": "bin/warlock.js"
75
75
  },
76
- "version": "4.2.0",
76
+ "version": "4.2.1",
77
77
  "type": "module",
78
78
  "main": "./esm/index.mjs",
79
79
  "module": "./esm/index.mjs",