@vesk/vesk-cli 0.2.53 → 0.2.55

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.
Files changed (2) hide show
  1. package/dist/cli.js +5 -4
  2. package/package.json +5 -5
package/dist/cli.js CHANGED
@@ -54288,11 +54288,12 @@ function matchUrl(tree, pathname) {
54288
54288
  function matchNodes(nodes, partIndex) {
54289
54289
  for (const node of nodes) {
54290
54290
  if (node.isGroup) {
54291
- if (matchNodes(node.children, partIndex)) {
54292
- if (node.layout)
54293
- pushWithStandalone(node);
54291
+ const marker = chain.length;
54292
+ if (node.layout || node.page)
54293
+ pushWithStandalone(node);
54294
+ if (matchNodes(node.children, partIndex))
54294
54295
  return true;
54295
- }
54296
+ chain.length = marker;
54296
54297
  if (partIndex >= parts.length && node.page && node.fullPath === "/" + parts.join("/")) {
54297
54298
  pushWithStandalone(node);
54298
54299
  return true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vesk/vesk-cli",
3
- "version": "0.2.53",
3
+ "version": "0.2.55",
4
4
  "type": "module",
5
5
  "description": "Vesk — compiler-first framework for the post-VDOM web. vesk dev, vesk build.",
6
6
  "bin": {
@@ -8,10 +8,10 @@
8
8
  },
9
9
  "main": "./dist/cli.js",
10
10
  "dependencies": {
11
- "@vesk/adapter": "^0.2.53",
12
- "@vesk/compiler": "^0.2.53",
13
- "@vesk/plugin-tailwind": "^0.2.53",
14
- "@vesk/runtime": "^0.2.53",
11
+ "@vesk/adapter": "^0.2.55",
12
+ "@vesk/compiler": "^0.2.55",
13
+ "@vesk/plugin-tailwind": "^0.2.55",
14
+ "@vesk/runtime": "^0.2.55",
15
15
  "esrap": "^2.3.0",
16
16
  "typescript": "^5.8.0",
17
17
  "ws": "^8.18.0",