@seyuna/cli 0.0.2-dev.3 → 0.0.2-dev.4
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/bin/seyuna +0 -0
- package/deno-wrapper.ts +4 -2
- package/deno.json +1 -1
- package/node-install.js +1 -1
- package/package.json +1 -1
package/bin/seyuna
CHANGED
|
Binary file
|
package/deno-wrapper.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env -S deno run --allow-run --allow-read --allow-write --allow-net
|
|
2
2
|
|
|
3
|
-
import { dirname, join } from "jsr:@std/path@^0.224.0";
|
|
3
|
+
import { fromFileUrl, dirname, join } from "jsr:@std/path@^0.224.0";
|
|
4
4
|
import { ensureDir, existsSync } from "jsr:@std/fs@^0.224.0";
|
|
5
5
|
|
|
6
|
-
const
|
|
6
|
+
const scriptDir = dirname(fromFileUrl(import.meta.url));
|
|
7
|
+
|
|
8
|
+
const version = "0.0.2-dev.4";
|
|
7
9
|
|
|
8
10
|
// Download a file from a URL to a destination path
|
|
9
11
|
async function downloadFile(url: string, dest: string): Promise<void> {
|
package/deno.json
CHANGED
package/node-install.js
CHANGED
|
@@ -6,7 +6,7 @@ import { fileURLToPath } from "url";
|
|
|
6
6
|
import process from "process";
|
|
7
7
|
|
|
8
8
|
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
9
|
-
const version = "0.0.2-dev.
|
|
9
|
+
const version = "0.0.2-dev.4";
|
|
10
10
|
|
|
11
11
|
async function downloadFile(url, dest) {
|
|
12
12
|
const res = await fetch(url);
|