@warlock.js/cascade 5.10.0 → 5.12.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.
- package/CHANGELOG.md +6 -0
- package/llms-full.txt +2 -0
- package/package.json +12 -4
- package/skills/cascade-basics/SKILL.md +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,12 @@ All notable changes to `@warlock.js/cascade` are documented in this file.
|
|
|
4
4
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). `@warlock.js/*` packages are released in lockstep — every package shares the same version number, so a version below may list only the changes that affected this package.
|
|
6
6
|
|
|
7
|
+
## 5.11.0 - 2026-09-14
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- A project that uses no database — or only one of PostgreSQL / MongoDB — no longer fails `npm ls` with missing `pg` / `mongodb` peers; both drivers are now optional peers, and you install the one you use.
|
|
12
|
+
|
|
7
13
|
## 5.10.0 - 2026-09-14
|
|
8
14
|
|
|
9
15
|
_Released in lockstep with the `@warlock.js/*` family; no package-specific changes in 5.10.0._
|
package/llms-full.txt
CHANGED
|
@@ -706,6 +706,8 @@ Server-only: `package.json` declares `"warlock": { "environment": "server" }`. `
|
|
|
706
706
|
npm install @warlock.js/cascade @warlock.js/seal
|
|
707
707
|
```
|
|
708
708
|
|
|
709
|
+
`pg` and `mongodb` are optional peer dependencies — install whichever driver your app actually uses (`npm install pg` for Postgres, `npm install mongodb` for MongoDB); a project that uses neither, or only one, installs no extra driver package.
|
|
710
|
+
|
|
709
711
|
## Foundations
|
|
710
712
|
|
|
711
713
|
The 10 things that are true in every cascade use:
|
package/package.json
CHANGED
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
"@mongez/events": "^2.2.7",
|
|
14
14
|
"@mongez/reinforcements": "^4.0.1",
|
|
15
15
|
"@mongez/supportive-is": "^2.1.4",
|
|
16
|
-
"@warlock.js/context": "5.
|
|
17
|
-
"@warlock.js/logger": "5.
|
|
18
|
-
"@warlock.js/seal": "5.
|
|
16
|
+
"@warlock.js/context": "5.12.0",
|
|
17
|
+
"@warlock.js/logger": "5.12.0",
|
|
18
|
+
"@warlock.js/seal": "5.12.0",
|
|
19
19
|
"citty": "^0.2.2",
|
|
20
20
|
"fast-glob": "^3.3.3"
|
|
21
21
|
},
|
|
@@ -27,6 +27,14 @@
|
|
|
27
27
|
"mongodb": "^5.7.0 || ^6.0.0 || ^7.0.0",
|
|
28
28
|
"pg": "^8.16.3"
|
|
29
29
|
},
|
|
30
|
+
"peerDependenciesMeta": {
|
|
31
|
+
"mongodb": {
|
|
32
|
+
"optional": true
|
|
33
|
+
},
|
|
34
|
+
"pg": {
|
|
35
|
+
"optional": true
|
|
36
|
+
}
|
|
37
|
+
},
|
|
30
38
|
"keywords": [
|
|
31
39
|
"mongodb",
|
|
32
40
|
"postgres",
|
|
@@ -43,7 +51,7 @@
|
|
|
43
51
|
],
|
|
44
52
|
"author": "hassanzohdy",
|
|
45
53
|
"license": "MIT",
|
|
46
|
-
"version": "5.
|
|
54
|
+
"version": "5.12.0",
|
|
47
55
|
"main": "./cjs/index.cjs",
|
|
48
56
|
"module": "./esm/index.mjs",
|
|
49
57
|
"types": "./esm/index.d.mts",
|
|
@@ -17,6 +17,8 @@ Server-only: `package.json` declares `"warlock": { "environment": "server" }`. `
|
|
|
17
17
|
npm install @warlock.js/cascade @warlock.js/seal
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
+
`pg` and `mongodb` are optional peer dependencies — install whichever driver your app actually uses (`npm install pg` for Postgres, `npm install mongodb` for MongoDB); a project that uses neither, or only one, installs no extra driver package.
|
|
21
|
+
|
|
20
22
|
## Foundations
|
|
21
23
|
|
|
22
24
|
The 10 things that are true in every cascade use:
|