zappie 0.1.7 → 0.1.8
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/dist/cli.js +4 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# zappie
|
|
2
2
|
|
|
3
|
+
## 0.1.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 0b31798: `zappie verify --start` accepts a start path with `{menu}` or `{branch}` once `@zappie/verify` reports that it filled it in. An older `@zappie/verify` opens the path as written, so the command fails and asks for `@zappie/verify` 0.3.1 or later.
|
|
8
|
+
|
|
3
9
|
## 0.1.7
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/dist/cli.js
CHANGED
|
@@ -1829,10 +1829,11 @@ async function runProjectVerify(options) {
|
|
|
1829
1829
|
...options.runner ? { runner: options.runner } : {},
|
|
1830
1830
|
...options.signal ? { signal: options.signal } : {}
|
|
1831
1831
|
});
|
|
1832
|
-
const ran = result.environment
|
|
1833
|
-
|
|
1832
|
+
const ran = result.environment;
|
|
1833
|
+
const placeholders = /\{(?:menu|branch)\}/.test(options.startPath ?? "");
|
|
1834
|
+
if (options.startPath && (placeholders ? ran?.startPathTemplate !== options.startPath : ran?.startPath !== options.startPath)) {
|
|
1834
1835
|
throw new CliError(
|
|
1835
|
-
|
|
1836
|
+
`Your @zappie/verify ignored --start. Update it to ${placeholders ? "0.3.1" : "0.3.0"} or later.`
|
|
1836
1837
|
);
|
|
1837
1838
|
}
|
|
1838
1839
|
if (options.report) {
|