diff --git a/.gitignore b/.gitignore index e73938c..5128e7d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,3 @@ -# See https://help.github.com/ignore-files/ for more about ignoring files. - # dependencies node_modules/ diff --git a/.travis.yml b/.travis.yml index aa0ed08..861bcbb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -40,3 +40,7 @@ jobs: on: all_branches: true condition: $TRAVIS_TAG =~ ^(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)$ +notifications: + webhooks: + secure: "Y5/QLqEthobAVHPhVvuYmMoLmMzDtX3e0DSLvvLxf9ncYSn3gp2qC/nntkm8D85bHeCtGMjCoFudatCxG4oIWOB45IpXG/+3GWelVIG9GH2iiDMwY3wBSNVzDjnN/FsPA0+P01X9Hr9V3Om5vH6WXoK4yc1HoSD2yPBcRYHnhUrVat+Pokw0CQa26DH9WxvWDm8IGxJiLEI+4E7LzdWe2CK+rAgDwPKMs8wFwpOjq/FJX4amtjWqGHla3XU0AwR5E/2y6bzQseTSjBHY+Dh0KYfPOVvvyXpOwcUImBVANr7XB89wZ0Jy56ohTu1It0jMTr+r7sWKu4s7GUjpTNSam7sJhphmTguVyA634HwhjT4Uj5oSuUNIHhtobvH6y0ZnLix1Bi4lKsSjfCZ/A3vycOJ/dfBqgt7CpOCBE4i0vtLi0WoxyJG/9yr4xdo4V4JlTxGZGaK4xDNhISyk/eedODY96kqz5QnyvwuE3oN7AWNeKCXCB9prqdZWuoBoPhx1fPk0+kiPxPcyzZRSiqUvRZGX0LX5dt9iaSIQfWtFYMUCc0aLyJFxYYIoaDvsewGjluSJ1aUQIkzDZ13BXbrpg1gxhJLzHs6bPrTQRKbeMQTYIdE9tc5lPnFEhJ4zJ+MPjVXa5CwYggUe3j4p+8pVP86Fs/F5ETcPLzwjpd+T898=" + diff --git a/package.json b/package.json index 2759e7f..caa4232 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "demux-postgres", - "version": "4.0.0", + "version": "4.0.1", "description": "Demux-js Action Handler implementation for Postgres databases", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -28,12 +28,12 @@ }, "dependencies": { "@types/express": "^4.16.1", - "demux": "4.0.1-ff84e5a.0", + "demux": "4.0.0", "massive": "5.7.2", "pg-promise": "8.5.3" }, "peerDependencies": { - "demux": "4.0.1-ff84e5a.0" + "demux": "4.0.0" }, "scripts": { "build": "tsc && cp -R src/cyanaudit dist", diff --git a/src/index.ts b/src/index.ts index 6d08863..fa9b114 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,3 +1,4 @@ export { MassiveActionHandler } from './MassiveActionHandler' export { Migration } from './Migration' export { MigrationRunner } from './MigrationRunner' +export { MigrationSequence } from './interfaces' diff --git a/tsconfig.json b/tsconfig.json index 3ccc22e..180e13d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,8 +2,9 @@ "compilerOptions": { "target": "es6", "module": "commonjs", - "declaration": true, + "declaration": true, "outDir": "dist", + "sourceMap": true, "strict": true, "noImplicitAny": true, diff --git a/typings.d.ts b/typings.d.ts deleted file mode 100644 index 261d51e..0000000 --- a/typings.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare module "*.json" { - const value: any - export default value -} diff --git a/yarn.lock b/yarn.lock index d83c0b0..483b78b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1051,10 +1051,10 @@ delegates@^1.0.0: resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" integrity sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o= -demux@4.0.1-ff84e5a.0: - version "4.0.1-ff84e5a.0" - resolved "https://registry.yarnpkg.com/demux/-/demux-4.0.1-ff84e5a.0.tgz#7cec648ab7800c79e8cc07626869b18f4342dda6" - integrity sha512-w33MpYEbsJ25Fmiu+R2RawVuoHp3nUS/XIM8IjmWmrsHuaUP+JsH7hWPLzYLUaSgeuRbsgmCwwhrFsChRa8k+A== +demux@4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/demux/-/demux-4.0.0.tgz#f0803107b3588071afeb5cc57e1cdddf354a1e80" + integrity sha512-wgugBOMDJciL0b2+fpy2L1ysza63Q1l72rPycc/Sdra7rXrphCTQS9M/v1e1NwMXNS60iDdp5uKEIKl/CYUcKQ== dependencies: bunyan "1.8.12" express "4.16.4"