From b5f7dc2d204b322f1cfd62a0e296837fa77d378b Mon Sep 17 00:00:00 2001 From: Juan Date: Tue, 16 Jul 2019 17:32:30 -0300 Subject: [PATCH] npx fix + v1.1.1 --- CHANGELOG.md | 5 +++++ index.js | 2 ++ package.json | 5 ++++- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d5ca686..210b522 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [1.1.1] - 2019-07-16 +### Added +- `index` fix for npx excecution +- `package.json` bin command + ## [1.1.0] - 2019-07-16 ### Changed - Environments and Config paths, uses MS_PATH from env file diff --git a/index.js b/index.js index f89b994..332444e 100644 --- a/index.js +++ b/index.js @@ -1,3 +1,5 @@ +#!/usr/bin/env node + 'use strict'; const { EnvironmentBuilder } = require('./lib'); diff --git a/package.json b/package.json index 8da58b9..ee1f02c 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,11 @@ { "name": "@janiscommerce/environment-builder", - "version": "1.1.0", + "version": "1.1.1", "description": "Build the exclusive files of each environment in the right folder.", "main": "index.js", + "bin": { + "environment-builder": "index.js" + }, "scripts": { "test": "export TEST_ENV=true; mocha --exit -R nyan --recursive tests/", "test-ci": "nyc --reporter=html --reporter=text mocha --recursive tests/",