@warlock.js/cascade 5.3.2 → 5.5.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
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.5.0 - 2026-09-07
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- Documentation shipped in this package's `skills/` told users to run `pnpm`-specific commands. `pnpm <binary>` has no npm equivalent, so those instructions failed outright for anyone not using pnpm. Commands are now package-manager neutral.
|
|
12
|
+
|
|
7
13
|
## 5.2.3 - 2026-09-02
|
|
8
14
|
|
|
9
15
|
### Fixed
|
package/llms-full.txt
CHANGED
|
@@ -703,7 +703,7 @@ Server-only: `package.json` declares `"warlock": { "environment": "server" }`. `
|
|
|
703
703
|
## Install
|
|
704
704
|
|
|
705
705
|
```bash
|
|
706
|
-
|
|
706
|
+
npm install @warlock.js/cascade @warlock.js/seal
|
|
707
707
|
```
|
|
708
708
|
|
|
709
709
|
## Foundations
|
|
@@ -2699,10 +2699,10 @@ See [`@warlock.js/cascade/configure-delete-strategy/SKILL.md`](@warlock.js/casca
|
|
|
2699
2699
|
## Running migrations
|
|
2700
2700
|
|
|
2701
2701
|
```bash
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2702
|
+
npx cascade migrate # apply pending migrations
|
|
2703
|
+
npx cascade migrate:rollback # undo the last batch
|
|
2704
|
+
npx cascade migrate:list # which migrations have been executed
|
|
2705
|
+
npx cascade migrate:export-sql # write .up.sql / .down.sql instead of executing
|
|
2706
2706
|
```
|
|
2707
2707
|
|
|
2708
2708
|
`cascade migrate` discovers migration files via the `-p`/`--path` glob (default `./migrations/**`), runs them in order, and records each in the `_migrations` table / collection. See [`@warlock.js/cascade/run-cascade-cli/SKILL.md`](@warlock.js/cascade/run-cascade-cli/SKILL.md) for every flag and the programmatic Operations API.
|
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.5.0",
|
|
17
|
+
"@warlock.js/logger": "5.5.0",
|
|
18
|
+
"@warlock.js/seal": "5.5.0",
|
|
19
19
|
"citty": "^0.2.2",
|
|
20
20
|
"fast-glob": "^3.3.3"
|
|
21
21
|
},
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
],
|
|
44
44
|
"author": "hassanzohdy",
|
|
45
45
|
"license": "MIT",
|
|
46
|
-
"version": "5.
|
|
46
|
+
"version": "5.5.0",
|
|
47
47
|
"main": "./cjs/index.cjs",
|
|
48
48
|
"module": "./esm/index.mjs",
|
|
49
49
|
"types": "./esm/index.d.mts",
|
|
@@ -52,10 +52,10 @@ See [`@warlock.js/cascade/configure-delete-strategy/SKILL.md`](@warlock.js/casca
|
|
|
52
52
|
## Running migrations
|
|
53
53
|
|
|
54
54
|
```bash
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
55
|
+
npx cascade migrate # apply pending migrations
|
|
56
|
+
npx cascade migrate:rollback # undo the last batch
|
|
57
|
+
npx cascade migrate:list # which migrations have been executed
|
|
58
|
+
npx cascade migrate:export-sql # write .up.sql / .down.sql instead of executing
|
|
59
59
|
```
|
|
60
60
|
|
|
61
61
|
`cascade migrate` discovers migration files via the `-p`/`--path` glob (default `./migrations/**`), runs them in order, and records each in the `_migrations` table / collection. See [`@warlock.js/cascade/run-cascade-cli/SKILL.md`](@warlock.js/cascade/run-cascade-cli/SKILL.md) for every flag and the programmatic Operations API.
|