Skip to content

Commit

Permalink
Revert "fix(): #61 (#74)"
Browse files Browse the repository at this point in the history
This reverts commit 8f8b83d.
  • Loading branch information
mkucharz authored Jan 16, 2018
1 parent 8f8b83d commit bedcfed
Show file tree
Hide file tree
Showing 22 changed files with 968 additions and 694 deletions.
2 changes: 1 addition & 1 deletion packages/cli/tests/e2e/config.test-e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ describe('[E2E] CLI Config', function () {

it('can call hello-config socket endpoint', function (done) {
testNixt()
.run(`${cliLocation} call hello-config/hello`)
.run(`${cliLocation} call "hello-config/hello" || exit 0`)
.stdout(/test1 test2/)
.end(done)
})
Expand Down
2 changes: 1 addition & 1 deletion packages/lib-js-core/docs/basics/channels.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ With `channel` method you're able to:
# Import

```js
const {channel} = Server(ctx)
const {channel} = new Server(ctx)
```

# Methods
Expand Down
2 changes: 1 addition & 1 deletion packages/lib-js-core/docs/basics/data.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ With `data` method you're able to:
# Import

```js
const {data} = Server(ctx)
const {data} = new Server(ctx)
```

# Methods
Expand Down
2 changes: 1 addition & 1 deletion packages/lib-js-core/docs/basics/endpoints.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ With `socket` method you're able to:
# Import

```js
const {socket} = Server(ctx)
const {socket} = new Server(ctx)
```

# Methods
Expand Down
2 changes: 1 addition & 1 deletion packages/lib-js-core/docs/basics/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ With `event` method you're able to:
# Import

```js
const {event} = Server(ctx)
const {event} = new Server(ctx)
```

# Methods
Expand Down
2 changes: 1 addition & 1 deletion packages/lib-js-core/docs/basics/logger.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ With `logger` method you're able to:
# Import

```js
const {logger} = Server(ctx)
const {logger} = new Server(ctx)
```

# Methods
Expand Down
2 changes: 1 addition & 1 deletion packages/lib-js-core/docs/basics/responses.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ With `response` method you're able to:
# Import

```js
const {response} = Server(ctx)
const {response} = new Server(ctx)
```

# Methods
Expand Down
2 changes: 1 addition & 1 deletion packages/lib-js-core/docs/basics/users.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ With `users` you're able to:
# Import

```js
const {users} = Server(ctx)
const {users} = new Server(ctx)
```

# Methods
Expand Down
8 changes: 1 addition & 7 deletions packages/lib-js-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
]
},
"dependencies": {
"debug": "^3.1.0",
"form-data": "^2.3.1",
"lodash.get": "^4.4.2",
"lodash.merge": "^4.6.0",
Expand Down Expand Up @@ -69,12 +68,7 @@
],
"presets": [
[
"env",
{
"targets": {
"node": "8"
}
}
"env"
]
]
}
Expand Down
Loading

0 comments on commit bedcfed

Please sign in to comment.