@vesk/vesk-cli 0.2.20 → 0.2.21
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 +7 -8
- package/package.json +5 -5
package/dist/cli.js
CHANGED
|
@@ -31093,8 +31093,8 @@ var platform_deploy_exports = {};
|
|
|
31093
31093
|
__export(platform_deploy_exports, {
|
|
31094
31094
|
emitPlatformOutput: () => emitPlatformOutput
|
|
31095
31095
|
});
|
|
31096
|
-
import { writeFileSync as writeFileSync9, mkdirSync as mkdirSync7, rmSync as rmSync3,
|
|
31097
|
-
import { resolve as resolve20
|
|
31096
|
+
import { writeFileSync as writeFileSync9, mkdirSync as mkdirSync7, rmSync as rmSync3, cpSync } from "node:fs";
|
|
31097
|
+
import { resolve as resolve20 } from "node:path";
|
|
31098
31098
|
async function emitPlatformOutput(platform, ctx2) {
|
|
31099
31099
|
if (platform === "node") return null;
|
|
31100
31100
|
const prerenderedPaths = ctx2.prerenderedRoutes.map((r) => r.path);
|
|
@@ -31159,10 +31159,9 @@ ${shell.bootstrap}
|
|
|
31159
31159
|
}, null, 2), "utf-8");
|
|
31160
31160
|
if (platform === "vercel") {
|
|
31161
31161
|
const vercelDir = resolve20(projectRoot, ".vercel");
|
|
31162
|
-
|
|
31163
|
-
|
|
31164
|
-
|
|
31165
|
-
symlinkSync(relative3(dirname12(linkPath), outRoot), linkPath, "dir");
|
|
31162
|
+
const outputPath = resolve20(vercelDir, "output");
|
|
31163
|
+
rmSync3(outputPath, { recursive: true, force: true });
|
|
31164
|
+
cpSync(outRoot, outputPath, { recursive: true });
|
|
31166
31165
|
}
|
|
31167
31166
|
rmSync3(entry, { force: true });
|
|
31168
31167
|
return outRoot;
|
|
@@ -48594,7 +48593,7 @@ function buildCodeframe2(src2, line, column, context = 5) {
|
|
|
48594
48593
|
|
|
48595
48594
|
// src/build-packages.ts
|
|
48596
48595
|
import { spawnSync } from "node:child_process";
|
|
48597
|
-
import { cpSync, existsSync as existsSync35, mkdirSync as mkdirSync14, readFileSync as readFileSync31, readdirSync as readdirSync11, statSync as statSync20, writeFileSync as writeFileSync18 } from "node:fs";
|
|
48596
|
+
import { cpSync as cpSync2, existsSync as existsSync35, mkdirSync as mkdirSync14, readFileSync as readFileSync31, readdirSync as readdirSync11, statSync as statSync20, writeFileSync as writeFileSync18 } from "node:fs";
|
|
48598
48597
|
import { createRequire as createRequire5 } from "node:module";
|
|
48599
48598
|
import { dirname as dirname21, join as join20, resolve as resolve34 } from "node:path";
|
|
48600
48599
|
import { fileURLToPath as fileURLToPath8 } from "node:url";
|
|
@@ -48673,7 +48672,7 @@ function buildPackages(force = false) {
|
|
|
48673
48672
|
for (const c of cfg.copy || []) {
|
|
48674
48673
|
const to = join20(distDir, c.to);
|
|
48675
48674
|
mkdirSync14(dirname21(to), { recursive: true });
|
|
48676
|
-
|
|
48675
|
+
cpSync2(join20(pkgDir, c.from), to, { recursive: true });
|
|
48677
48676
|
}
|
|
48678
48677
|
const srcPkg = JSON.parse(readFileSync31(join20(pkgDir, "package.json"), "utf-8"));
|
|
48679
48678
|
if (pkg === "lucide-vesk") {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vesk/vesk-cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.21",
|
|
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.21",
|
|
12
|
+
"@vesk/compiler": "^0.2.21",
|
|
13
|
+
"@vesk/plugin-tailwind": "^0.2.21",
|
|
14
|
+
"@vesk/runtime": "^0.2.21",
|
|
15
15
|
"esrap": "^2.3.0",
|
|
16
16
|
"typescript": "^5.8.0",
|
|
17
17
|
"ws": "^8.18.0",
|