From 15c744bd66b3e4b3035e8902252fc8a7fd5eea78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erdem=20K=C3=B6=C5=9Fk?= Date: Sun, 10 Dec 2023 23:28:33 +0300 Subject: [PATCH] Adding experimental option --- bin/index.ts | 2 +- package.json | 4 ++-- start-envolve.sh | 2 -- 3 files changed, 3 insertions(+), 5 deletions(-) delete mode 100644 start-envolve.sh diff --git a/bin/index.ts b/bin/index.ts index fef9f83..b83833d 100755 --- a/bin/index.ts +++ b/bin/index.ts @@ -1,4 +1,4 @@ -#! /usr/bin/env node +#!/usr/bin/node --no-warnings --experimental-specifier-resolution=node import { Command as CommanderCommand } from 'commander' import inquirer from 'inquirer' import inquirerPrompt from 'inquirer-autocomplete-prompt' diff --git a/package.json b/package.json index 39a2f62..b236f8e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "envolve", - "version": "1.1.5", + "version": "1.1.6", "description": "Envolve CLI is a powerful tool for managing environment variables in your projects. It allows you to easily create, update, compare, and sync environment files across different services.", "main": "bin/index.ts", "type": "module", @@ -52,6 +52,6 @@ "typescript": "^5.2.2" }, "bin": { - "envolve": ".start-envolve.sh" + "envolve": "./dist/bin/index.js" } } diff --git a/start-envolve.sh b/start-envolve.sh deleted file mode 100644 index 96b3dd3..0000000 --- a/start-envolve.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/bash -exec node --experimental-specifier-resolution=node ./dist/bin/index.js "$@"