Skip to content

Commit

Permalink
fix(pnpm): inject rxjs path into any-observable
Browse files Browse the repository at this point in the history
  • Loading branch information
aleclarson committed Dec 5, 2018
1 parent fe40ce5 commit f385426
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
'use strict';

// require "rxjs" for any-observable
require('any-observable/register')(require.resolve('rxjs'));

const pMap = require('p-map');
const Task = require('./lib/task');
const TaskWrapper = require('./lib/task-wrapper');
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
],
"dependencies": {
"@samverschueren/stream-to-observable": "^0.3.0",
"any-observable": "^0.3.0",
"is-observable": "^1.1.0",
"is-promise": "^2.1.0",
"is-stream": "^1.1.0",
Expand Down

0 comments on commit f385426

Please sign in to comment.