@reventlessdev/reventless-spec 3.0.0-alpha.158 → 3.0.0-alpha.159
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
|
@@ -3,6 +3,13 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# 3.0.0-alpha.159 (2026-10-08)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **spec:** check-lifecycle leaves an app's lifecycle-model.json alone when a plugin could not be read ([70202bc](https://github.com/ReventlessDev/reventless-core/commit/70202bc78491e797638919e649238690e8466e27))
|
|
11
|
+
|
|
12
|
+
|
|
6
13
|
# 3.0.0-alpha.158 (2026-10-06)
|
|
7
14
|
|
|
8
15
|
**Note:** Version bump only for package @reventlessdev/reventless-spec
|
package/package.json
CHANGED
|
@@ -1504,6 +1504,7 @@ let main = () =>
|
|
|
1504
1504
|
let exampleDir = root.dir
|
|
1505
1505
|
let derived = []
|
|
1506
1506
|
let dirs = pluginDirsIn(exampleDir)
|
|
1507
|
+
let failedBefore = Array.length(failures)
|
|
1507
1508
|
|
|
1508
1509
|
for j in 0 to Array.length(dirs) - 1 {
|
|
1509
1510
|
switch dirs->Array.get(j) {
|
|
@@ -1531,7 +1532,10 @@ let main = () =>
|
|
|
1531
1532
|
}
|
|
1532
1533
|
}
|
|
1533
1534
|
|
|
1534
|
-
|
|
1535
|
+
// A plugin that could not be read derived nothing, so the golden would lose its commands
|
|
1536
|
+
// without a scenario having changed: it is left as it is until every plugin reads.
|
|
1537
|
+
let complete = Array.length(failures) == failedBefore
|
|
1538
|
+
if Array.length(dirs) > 0 && complete && !json {
|
|
1535
1539
|
let dir = NodePath.join([exampleDir, "schema"])
|
|
1536
1540
|
if !(dir->NodeFs.existsSync) {
|
|
1537
1541
|
NodeFs.mkdirSync(dir, {recursive: true})
|
|
@@ -1243,6 +1243,7 @@ function main() {
|
|
|
1243
1243
|
let exampleDir = root.dir;
|
|
1244
1244
|
let derived = [];
|
|
1245
1245
|
let dirs = pluginDirsIn(exampleDir);
|
|
1246
|
+
let failedBefore = failures.length;
|
|
1246
1247
|
for (let j = 0, j_finish = dirs.length; j < j_finish; ++j) {
|
|
1247
1248
|
let pluginDir = dirs[j];
|
|
1248
1249
|
if (pluginDir !== undefined) {
|
|
@@ -1266,7 +1267,8 @@ function main() {
|
|
|
1266
1267
|
}
|
|
1267
1268
|
}
|
|
1268
1269
|
}
|
|
1269
|
-
|
|
1270
|
+
let complete = failures.length === failedBefore;
|
|
1271
|
+
if (dirs.length !== 0 && complete && !json) {
|
|
1270
1272
|
let dir = Nodepath.join(exampleDir, "schema");
|
|
1271
1273
|
if (!Nodefs.existsSync(dir)) {
|
|
1272
1274
|
Nodefs.mkdirSync(dir, {
|