@vesk/vesk-cli 0.2.85 → 0.2.86
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/dist/cli.js +2 -1
- package/package.json +5 -5
package/dist/cli.js
CHANGED
|
@@ -50707,7 +50707,8 @@ function generateApiFunction(apiNode, _apiDir, outDir, options) {
|
|
|
50707
50707
|
} catch {
|
|
50708
50708
|
}
|
|
50709
50709
|
}
|
|
50710
|
-
const
|
|
50710
|
+
const routeParts = apiNode.fullPath.split("/").filter(Boolean);
|
|
50711
|
+
const urlParts = routeParts[0] === "api" ? routeParts.slice(1) : routeParts;
|
|
50711
50712
|
const extracts = [];
|
|
50712
50713
|
let partIdx = 0;
|
|
50713
50714
|
for (let i = 0; i < urlParts.length; i++) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vesk/vesk-cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.86",
|
|
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.
|
|
12
|
-
"@vesk/compiler": "^0.2.
|
|
13
|
-
"@vesk/plugin-tailwind": "^0.2.
|
|
14
|
-
"@vesk/runtime": "^0.2.
|
|
11
|
+
"@vesk/adapter": "^0.2.86",
|
|
12
|
+
"@vesk/compiler": "^0.2.86",
|
|
13
|
+
"@vesk/plugin-tailwind": "^0.2.86",
|
|
14
|
+
"@vesk/runtime": "^0.2.86",
|
|
15
15
|
"esrap": "^2.3.0",
|
|
16
16
|
"typescript": "^5.8.0",
|
|
17
17
|
"ws": "^8.18.0",
|