Skip to content

Commit

Permalink
bump Pretender version
Browse files Browse the repository at this point in the history
  • Loading branch information
givanse committed Feb 15, 2019
1 parent 1f8c32b commit a8f1762
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
'use strict';
var path = require('path');
var Funnel = require('broccoli-funnel');
var concat = require('broccoli-concat');
var MergeTrees = require('broccoli-merge-trees');

module.exports = {
Expand All @@ -25,6 +26,13 @@ module.exports = {
destDir: '/pretender',
});

pretenderTree = concat(pretenderTree, {
outputFile: '/pretender/pretender.js',
footer: 'define(\'pretender\', [], function() {' +
' return self.Pretender;' +
'});',
});

var routeRecognizerFilename = path.basename(this._routeRecognizerPath);
var routeRecognizerTree = new Funnel(path.dirname(this._routeRecognizerPath), {
files: [routeRecognizerFilename, routeRecognizerFilename + '.map'],
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,12 @@
},
"dependencies": {
"abortcontroller-polyfill": "^1.1.9",
"broccoli-concat": "^3.7.3",
"broccoli-funnel": "^2.0.1",
"broccoli-merge-trees": "^3.0.0",
"ember-cli-babel": "^6.6.0",
"fake-xml-http-request": "^2.0.0",
"pretender": "^2.1.0",
"pretender": "^3.0.0",
"route-recognizer": "^0.3.3",
"whatwg-fetch": "^3.0.0"
}
Expand Down

0 comments on commit a8f1762

Please sign in to comment.