Skip to content

Commit

Permalink
v1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
juanhapes committed Oct 9, 2019
2 parents 8288933 + 9458819 commit ee0259a
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Expand Up @@ -5,6 +5,14 @@ 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.0.1] - 2019-10-09
### Changed
- `main` js file from `index.js` to `lib/index.js`

### Removed
- unnecessary `index.js` file
- unnecessary `lib/index.js` file

## [1.0.0] - 2019-10-04
### Added
- `event-emitter` package
Expand Down
9 changes: 0 additions & 9 deletions lib/index.js

This file was deleted.

6 changes: 3 additions & 3 deletions package.json
@@ -1,14 +1,14 @@
{
"name": "@janiscommerce/event-emitter",
"version": "1.0.0",
"version": "1.0.1",
"description": "A package for emit events",
"main": "lib/index.js",
"main": "lib/event-emitter.js",
"scripts": {
"test": "export TEST_ENV=true; mocha --exit -R nyan --recursive tests/",
"test-ci": "nyc --reporter=html --reporter=text mocha --recursive tests/",
"watch-test": "export TEST_ENV=true; mocha --exit -R nyan -w --recursive tests/",
"coverage": "nyc npm test",
"lint": "eslint lib/index.js lib/ tests/"
"lint": "eslint lib/ tests/"
},
"repository": {
"type": "git",
Expand Down
3 changes: 2 additions & 1 deletion tests/event-emitter-test.js
Expand Up @@ -4,7 +4,8 @@ const assert = require('assert');
const sandbox = require('sinon').createSandbox();
const MicroserviceCall = require('@janiscommerce/microservice-call');

const { EventEmitter, EventEmitterError } = require('./../lib');
const EventEmitter = require('./../lib/event-emitter');
const EventEmitterError = require('./../lib/event-emitter-error');

const setEnvVars = () => {
process.env.JANIS_SERVICE_NAME = 'some-service';
Expand Down

0 comments on commit ee0259a

Please sign in to comment.