feat: remove complete dependency on bun to be able to compile to .js

This commit is contained in:
2024-10-08 10:23:17 +05:30
parent 50d377d6bd
commit d5669b2988
8 changed files with 75 additions and 79 deletions

View File

@@ -1,7 +1,6 @@
#!/bin/env bun
#!/bin/env node
import { input, password } from "@inquirer/prompts";
import { $ } from "bun";
import chalk from "chalk-template";
import { Command } from "commander";
import { decrypt_vault, encrypt_vault, initialize, reset } from "./src/main";
@@ -18,7 +17,6 @@ import {
const program = new Command();
const { exit } = process;
$.nothrow();
program.name("confidant").description("Creates a very secure file vault.");