@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 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 version = "0.0.2-dev.3";
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seyuna/cli",
3
- "version": "0.0.2-dev.3",
3
+ "version": "0.0.2-dev.4",
4
4
  "description": "Seyuna CLI",
5
5
  "bin": {
6
6
  "seyuna": "./deno-wrapper.ts"
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.3";
9
+ const version = "0.0.2-dev.4";
10
10
 
11
11
  async function downloadFile(url, dest) {
12
12
  const res = await fetch(url);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seyuna/cli",
3
- "version": "0.0.2-dev.3",
3
+ "version": "0.0.2-dev.4",
4
4
  "bin": {
5
5
  "seyuna": "./bin/seyuna"
6
6
  },