Skip to content

Commit

Permalink
[feat] Changed parser for es6 javascript. It was prevent install impo…
Browse files Browse the repository at this point in the history
…rt packages
  • Loading branch information
erdemkosk committed Nov 23, 2023
1 parent 6d90f49 commit d633a64
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion bin/index.ts
Expand Up @@ -2,7 +2,7 @@ import { Command as CommanderCommand } from 'commander'
import inquirer from 'inquirer'
import inquirerPrompt from 'inquirer-autocomplete-prompt'
import chalk from 'chalk'
import packages from '../package.json'
import packages from '../package.json' assert { type: 'json' }

import {
CommandInvoker,
Expand Down
3 changes: 0 additions & 3 deletions index.ts

This file was deleted.

5 changes: 3 additions & 2 deletions package.json
Expand Up @@ -2,11 +2,12 @@
"name": "envolve",
"version": "1.1.3",
"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": "index.ts",
"main": "bin/index.ts",
"type": "module",
"scripts": {
"build": "tsc",
"lint": "tsc --noEmit && eslint \"**/*.{js,ts}\" --quiet --fix",
"serve": "node dist/index.js",
"serve": "node --no-warnings --experimental-specifier-resolution=node dist/bin/index.js",
"start": "tsc && npm run serve",
"test": "jest --forceExit --verbose --detectOpenHandles --coverage --coverageReporters=text-summary"
},
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
@@ -1,10 +1,10 @@
{
"compilerOptions": {
"module": "commonjs",
"module": "ESNext",
"strictNullChecks": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"target": "es6",
"target": "ES6",
"noImplicitAny": true,
"moduleResolution": "node",
"sourceMap": true,
Expand Down

0 comments on commit d633a64

Please sign in to comment.