Skip to content

Commit

Permalink
Merge pull request #29 from spotware/fix-changed-ts-config-outdir
Browse files Browse the repository at this point in the history
Move connect.ts to src. Move build files to lib
  • Loading branch information
dkaledin authored Nov 19, 2018
2 parents 7bd0fb4 + 8b31093 commit 80ab2d6
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "connect-ts-api",
"version": "4.5.1",
"version": "4.6.1",

This comment has been minimized.

Copy link
@spirinvladimir

spirinvladimir Nov 19, 2018

Why not 4.6.0?

"main": "lib/connect.js",
"typings": "lib/connect",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion spec/connect.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use strict";
exports.__esModule = true;
var connect_1 = require("../lib/connect");
var connect_1 = require("../src/connect");
describe('Connect ts API test', function () {
var adapter;
var encodeDecode = {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion test/connect.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {AdapterConnectionStates, IConnectionAdapter, IMessageWithId} from 'connection-adapter';

import {Connect, IMessage, ISendCommand} from '../lib/connect';
import {Connect, IMessage, ISendCommand} from '../src/connect';
import {BehaviorSubject, ReplaySubject} from 'rxjs';
import {isNull, isUndefined} from 'util';

Expand Down
5 changes: 3 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@
"es2015",
"es2015.promise"
],
"skipLibCheck": true
"skipLibCheck": true,
"outDir": "lib"
},
"include": [
"lib/*"
"src/*"
]
}

0 comments on commit 80ab2d6

Please sign in to comment.