Skip to content

Commit

Permalink
0.16.20
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Jan 9, 2016
1 parent 6af4c97 commit 648a42b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
2 changes: 2 additions & 0 deletions lib/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ exports.bundle = function(moduleExpression, fileName, opts) {

opts = opts || {};

opts.normalize = true;

return config.load()
.then(function() {
fileName = fileName || path.resolve(config.pjson.baseURL, 'build.js');
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "jspm",
"description": "Registry and format agnostic JavaScript package manager",
"version": "0.16.19",
"version": "0.16.20",
"main": "./api.js",
"author": "",
"dependencies": {
Expand All @@ -10,7 +10,7 @@
"glob": "^6.0.1",
"graceful-fs": "^4.1.2",
"jspm-github": "^0.13.9",
"jspm-npm": "^0.25.3",
"jspm-npm": "^0.26.0",
"jspm-registry": "^0.4.0",
"liftoff": "^2.2.0",
"minimatch": "^3.0.0",
Expand All @@ -21,9 +21,9 @@
"rimraf": "^2.4.4",
"rsvp": "^3.1.0",
"semver": "^5.1.0",
"systemjs": "0.19.9",
"systemjs-builder": "0.14.15",
"traceur": "0.0.93",
"systemjs": "0.19.14",
"systemjs-builder": "0.15.0",
"traceur": "0.0.95",
"uglify-js": "^2.6.1"
},
"registry": "npm",
Expand Down
3 changes: 2 additions & 1 deletion test/api.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
var api = require('../api');
var fs = require('fs');
var common = require('../lib/common');
var path = require('path');

api.setPackagePath('testlibs');

Expand All @@ -11,7 +12,7 @@ suite('API Calls', function() {

test('Normalize', function(done) {
api.normalize('jquery').then(function(normalized) {
assert(normalized === System.baseURL + 'jspm_packages/github/components/[email protected]');
assert(normalized === 'file://' + path.resolve('testlibs') + '/jspm_packages/github/components/[email protected]');
done();
})
.catch(done);
Expand Down

0 comments on commit 648a42b

Please sign in to comment.