broccoli-amd-loader
Advanced tools
Comparing version 0.1.0 to 0.2.0
'use strict'; | ||
var funnel = require('broccoli-funnel'); | ||
var merge = require('broccoli-merge-trees'); | ||
var Funnel = require('broccoli-funnel'); | ||
var Merge = require('broccoli-merge-trees'); | ||
var path = require('path'); | ||
var Plugin = require('broccoli-plugin'); | ||
@@ -10,3 +11,3 @@ var defaultDestDir = '/'; | ||
var loaderDir = path.dirname(require.resolve('loader.js')); | ||
return funnel(loaderDir, { | ||
return new Funnel(loaderDir, { | ||
include: ['loader.js'], | ||
@@ -21,3 +22,3 @@ destDir: destDir | ||
return merge([tree, loaderTree(destDir)]); | ||
return new Merge([tree, loaderTree(destDir)]); | ||
}; |
{ | ||
"name": "broccoli-amd-loader", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"description": "provides a broccoli tree with a loader.js in it", | ||
@@ -11,3 +11,3 @@ "main": "index.js", | ||
"type": "git", | ||
"url": "https://github.com/201-created/broccoli-amd-loader.git" | ||
"url": "https://github.com/bustlelabs/broccoli-amd-loader.git" | ||
}, | ||
@@ -24,7 +24,6 @@ "keywords": [ | ||
"dependencies": { | ||
"broccoli-funnel": "^0.2.3", | ||
"broccoli-merge-trees": "^0.2.1", | ||
"loader.js": "^3.2.0", | ||
"lodash": "^3.10.0" | ||
"broccoli-funnel": "^1.1.0", | ||
"broccoli-merge-trees": "^2.0.0", | ||
"loader.js": "^4.2.3" | ||
} | ||
} |
## broccoli-amd-loader | ||
Returns a tree that merges in an amd loader ([loader.js](https://github.com/ember-cli/loader.js) to the given tree at `<destDir>/loader.js`. | ||
Returns a tree that merges in an amd loader ([loader.js](https://github.com/ember-cli/loader.js) to the given tree at `<destDir>/loader.js`). | ||
@@ -5,0 +5,0 @@ Example: |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1674
3
18
+ Addedbroccoli-funnel@1.2.0(transitive)
+ Addedbroccoli-merge-trees@2.0.1(transitive)
+ Addedcan-symlink@1.0.0(transitive)
+ Addedexists-sync@0.0.4(transitive)
+ Addedfs-tree-diff@0.5.9(transitive)
+ Addedheimdalljs@0.2.6(transitive)
+ Addedheimdalljs-logger@0.1.10(transitive)
+ Addedloader.js@4.7.0(transitive)
+ Addedmerge-trees@1.0.1(transitive)
+ Addedobject-assign@4.1.1(transitive)
+ Addedos-tmpdir@1.0.2(transitive)
+ Addedrsvp@3.2.1(transitive)
+ Addedtmp@0.0.28(transitive)
+ Addedwalk-sync@0.3.4(transitive)
- Removedlodash@^3.10.0
- Removedbroccoli-funnel@0.2.15(transitive)
- Removedbroccoli-merge-trees@0.2.4(transitive)
- Removedfs-tree-diff@0.3.1(transitive)
- Removedloader.js@3.6.0(transitive)
- Removedlodash@3.10.1(transitive)
- Removedminimatch@2.0.10(transitive)
- Removedrsvp@3.6.2(transitive)
- Removedwalk-sync@0.2.7(transitive)
Updatedbroccoli-funnel@^1.1.0
Updatedbroccoli-merge-trees@^2.0.0
Updatedloader.js@^4.2.3