Skip to content

Commit

Permalink
chore(all): prepare release 0.17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Oct 13, 2015
1 parent 10ca62b commit fe4bf21
Show file tree
Hide file tree
Showing 15 changed files with 380 additions and 316 deletions.
19 changes: 10 additions & 9 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-framework",
"version": "0.16.0",
"version": "0.17.0",
"description": "The aurelia framework brings together all the required core aurelia libraries into a ready-to-go application-building platform.",
"keywords": [
"aurelia",
Expand All @@ -17,14 +17,15 @@
"url": "http://github.com/aurelia/framework"
},
"dependencies": {
"aurelia-binding": "^0.9.0",
"aurelia-dependency-injection": "^0.10.0",
"aurelia-loader": "^0.9.0",
"aurelia-logging": "^0.7.0",
"aurelia-metadata": "^0.8.0",
"aurelia-path": "^0.9.0",
"aurelia-task-queue": "^0.7.0",
"aurelia-templating": "^0.15.0",
"aurelia-binding": "^0.10.0",
"aurelia-dependency-injection": "^0.11.0",
"aurelia-loader": "^0.10.0",
"aurelia-logging": "^0.8.0",
"aurelia-metadata": "^0.9.0",
"aurelia-pal": "^0.2.0",
"aurelia-path": "^0.10.0",
"aurelia-task-queue": "^0.8.0",
"aurelia-templating": "^0.16.0",
"core-js": "zloirock/core-js"
}
}
102 changes: 62 additions & 40 deletions config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,65 +14,87 @@ System.config({
},

map: {
"aurelia-binding": "github:aurelia/binding@0.9.0",
"aurelia-dependency-injection": "github:aurelia/dependency-injection@0.10.0",
"aurelia-loader": "github:aurelia/loader@0.9.0",
"aurelia-logging": "github:aurelia/logging@0.7.0",
"aurelia-metadata": "github:aurelia/metadata@0.8.0",
"aurelia-pal": "github:aurelia/pal@0.1.10",
"aurelia-pal-browser": "github:aurelia/pal-browser@0.1.13",
"aurelia-path": "github:aurelia/path@0.9.0",
"aurelia-task-queue": "github:aurelia/task-queue@0.7.0",
"aurelia-templating": "github:aurelia/templating@0.15.0",
"aurelia-binding": "github:aurelia/binding@0.10.0",
"aurelia-dependency-injection": "github:aurelia/dependency-injection@0.11.0",
"aurelia-loader": "github:aurelia/loader@0.10.0",
"aurelia-logging": "github:aurelia/logging@0.8.0",
"aurelia-metadata": "github:aurelia/metadata@0.9.0",
"aurelia-pal": "github:aurelia/pal@0.2.0",
"aurelia-pal-browser": "github:aurelia/pal-browser@0.2.0",
"aurelia-path": "github:aurelia/path@0.10.0",
"aurelia-task-queue": "github:aurelia/task-queue@0.8.0",
"aurelia-templating": "github:aurelia/templating@0.16.0",
"babel": "npm:[email protected]",
"babel-runtime": "npm:[email protected]",
"core-js": "npm:core-js@1.1.4",
"github:aurelia/binding@0.9.0": {
"aurelia-dependency-injection": "github:aurelia/dependency-injection@0.10.0",
"aurelia-metadata": "github:aurelia/metadata@0.8.0",
"aurelia-task-queue": "github:aurelia/task-queue@0.7.0",
"core-js": "npm:core-js@1.2.1",
"github:aurelia/binding@0.10.0": {
"aurelia-metadata": "github:aurelia/metadata@0.9.0",
"aurelia-pal": "github:aurelia/pal@0.2.0",
"aurelia-task-queue": "github:aurelia/task-queue@0.8.0",
"core-js": "npm:[email protected]"
},
"github:aurelia/[email protected]": {
"aurelia-logging": "github:aurelia/[email protected]",
"aurelia-metadata": "github:aurelia/[email protected]",
"github:aurelia/[email protected]": {
"aurelia-logging": "github:aurelia/[email protected]",
"aurelia-metadata": "github:aurelia/[email protected]",
"aurelia-pal": "github:aurelia/[email protected]",
"core-js": "npm:[email protected]"
},
"github:aurelia/[email protected]": {
"aurelia-html-template-element": "github:aurelia/[email protected]",
"aurelia-metadata": "github:aurelia/[email protected]",
"aurelia-path": "github:aurelia/[email protected]",
"core-js": "github:zloirock/[email protected]"
"github:aurelia/[email protected]": {
"aurelia-metadata": "github:aurelia/[email protected]",
"aurelia-path": "github:aurelia/[email protected]"
},
"github:aurelia/[email protected]": {
"github:aurelia/[email protected]": {
"aurelia-pal": "github:aurelia/[email protected]",
"core-js": "npm:[email protected]"
},
"github:aurelia/pal-browser@0.1.13": {
"aurelia-pal": "github:aurelia/pal@0.1.10"
"github:aurelia/pal-browser@0.2.0": {
"aurelia-pal": "github:aurelia/pal@0.2.0"
},
"github:aurelia/[email protected]": {
"aurelia-binding": "github:aurelia/[email protected]",
"aurelia-dependency-injection": "github:aurelia/[email protected]",
"aurelia-html-template-element": "github:aurelia/[email protected]",
"aurelia-loader": "github:aurelia/[email protected]",
"aurelia-logging": "github:aurelia/[email protected]",
"aurelia-metadata": "github:aurelia/[email protected]",
"aurelia-path": "github:aurelia/[email protected]",
"aurelia-task-queue": "github:aurelia/[email protected]",
"github:aurelia/[email protected]": {
"aurelia-pal": "github:aurelia/[email protected]"
},
"github:aurelia/[email protected]": {
"aurelia-binding": "github:aurelia/[email protected]",
"aurelia-dependency-injection": "github:aurelia/[email protected]",
"aurelia-loader": "github:aurelia/[email protected]",
"aurelia-logging": "github:aurelia/[email protected]",
"aurelia-metadata": "github:aurelia/[email protected]",
"aurelia-pal": "github:aurelia/[email protected]",
"aurelia-path": "github:aurelia/[email protected]",
"aurelia-task-queue": "github:aurelia/[email protected]",
"core-js": "npm:[email protected]"
},
"github:jspm/[email protected]": {
"process": "npm:[email protected]"
"github:jspm/[email protected]": {
"assert": "npm:[email protected]"
},
"github:jspm/[email protected]": {
"process": "npm:[email protected]"
},
"github:jspm/[email protected]": {
"util": "npm:[email protected]"
},
"npm:[email protected]": {
"util": "npm:[email protected]"
},
"npm:[email protected]": {
"fs": "github:jspm/[email protected]",
"process": "github:jspm/[email protected].1",
"process": "github:jspm/[email protected].2",
"systemjs-json": "github:systemjs/[email protected]"
},
"npm:core-js@1.1.4": {
"npm:core-js@1.2.1": {
"fs": "github:jspm/[email protected]",
"process": "github:jspm/[email protected].1",
"process": "github:jspm/[email protected].2",
"systemjs-json": "github:systemjs/[email protected]"
},
"npm:[email protected]": {
"util": "github:jspm/[email protected]"
},
"npm:[email protected]": {
"assert": "github:jspm/[email protected]"
},
"npm:[email protected]": {
"inherits": "npm:[email protected]",
"process": "github:jspm/[email protected]"
}
}
});
6 changes: 4 additions & 2 deletions dist/amd/aurelia-framework.d.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
declare module 'aurelia-framework' {
import * as core from 'core-js';
import 'core-js';
import * as TheLogManager from 'aurelia-logging';
import { ViewEngine, BindingLanguage, ViewSlot, ViewResources, CompositionEngine, Animator, DOMBoundary } from 'aurelia-templating';
import { ViewEngine, BindingLanguage, ViewSlot, ViewResources, CompositionEngine, Animator, templatingEngine } from 'aurelia-templating';
import { join } from 'aurelia-path';
import { Container } from 'aurelia-dependency-injection';
import { Loader } from 'aurelia-loader';
import { DOM, PLATFORM } from 'aurelia-pal';

/**
* Manages configuring the aurelia framework instance.
Expand Down Expand Up @@ -175,5 +176,6 @@ declare module 'aurelia-framework' {
export * from 'aurelia-loader';
export * from 'aurelia-task-queue';
export * from 'aurelia-path';
export * from 'aurelia-pal';
export const LogManager: any;
}
71 changes: 29 additions & 42 deletions dist/amd/aurelia-framework.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
define(['exports', 'core-js', 'aurelia-logging', 'aurelia-templating', 'aurelia-path', 'aurelia-dependency-injection', 'aurelia-loader', 'aurelia-binding', 'aurelia-metadata', 'aurelia-task-queue'], function (exports, _coreJs, _aureliaLogging, _aureliaTemplating, _aureliaPath, _aureliaDependencyInjection, _aureliaLoader, _aureliaBinding, _aureliaMetadata, _aureliaTaskQueue) {
define(['exports', 'core-js', 'aurelia-logging', 'aurelia-templating', 'aurelia-path', 'aurelia-dependency-injection', 'aurelia-loader', 'aurelia-pal', 'aurelia-binding', 'aurelia-metadata', 'aurelia-task-queue'], function (exports, _coreJs, _aureliaLogging, _aureliaTemplating, _aureliaPath, _aureliaDependencyInjection, _aureliaLoader, _aureliaPal, _aureliaBinding, _aureliaMetadata, _aureliaTaskQueue) {
'use strict';

exports.__esModule = true;
Expand Down Expand Up @@ -73,9 +73,7 @@ define(['exports', 'core-js', 'aurelia-logging', 'aurelia-templating', 'aurelia-
this.postTasks = [];
this.resourcesToLoad = {};
this.preTask(function () {
return System.normalize('aurelia-bootstrapper').then(function (bootstrapperName) {
return _this.bootstrapperName = bootstrapperName;
});
return _this.bootstrapperName = aurelia.loader.normalizeSync('aurelia-bootstrapper');
});
this.postTask(function () {
return loadResources(aurelia.container, _this.resourcesToLoad, aurelia.resources);
Expand Down Expand Up @@ -160,13 +158,12 @@ define(['exports', 'core-js', 'aurelia-logging', 'aurelia-templating', 'aurelia-

this.plugin(plugin);
this.preTask(function () {
return System.normalize(name, _this2.bootstrapperName).then(function (normalizedName) {
normalizedName = normalizedName.endsWith('.js') || normalizedName.endsWith('.ts') ? normalizedName.substring(0, normalizedName.length - 3) : normalizedName;
var normalizedName = _this2.aurelia.loader.normalizeSync(name, _this2.bootstrapperName);
normalizedName = normalizedName.endsWith('.js') || normalizedName.endsWith('.ts') ? normalizedName.substring(0, normalizedName.length - 3) : normalizedName;

plugin.moduleId = normalizedName;
plugin.resourcesRelativeTo = normalizedName;
System.map[name] = normalizedName;
});
plugin.moduleId = normalizedName;
plugin.resourcesRelativeTo = normalizedName;
_this2.aurelia.loader.map(name, normalizedName);
});

return this;
Expand Down Expand Up @@ -200,11 +197,10 @@ define(['exports', 'core-js', 'aurelia-logging', 'aurelia-templating', 'aurelia-
var _this3 = this;

this.preTask(function () {
return System.normalize('aurelia-logging-console', _this3.bootstrapperName).then(function (name) {
return _this3.aurelia.loader.loadModule(name).then(function (m) {
_aureliaLogging.addAppender(new m.ConsoleAppender());
_aureliaLogging.setLevel(_aureliaLogging.logLevel.debug);
});
var name = _this3.aurelia.loader.normalizeSync('aurelia-logging-console', _this3.bootstrapperName);
return _this3.aurelia.loader.loadModule(name).then(function (m) {
_aureliaLogging.addAppender(new m.ConsoleAppender());
_aureliaLogging.setLevel(_aureliaLogging.logLevel.debug);
});
});

Expand Down Expand Up @@ -243,25 +239,8 @@ define(['exports', 'core-js', 'aurelia-logging', 'aurelia-templating', 'aurelia-

exports.FrameworkConfiguration = FrameworkConfiguration;

if (!window.CustomEvent || typeof window.CustomEvent !== 'function') {
var _CustomEvent = function _CustomEvent(event, params) {
params = params || {
bubbles: false,
cancelable: false,
detail: undefined
};

var evt = document.createEvent('CustomEvent');
evt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail);
return evt;
};

_CustomEvent.prototype = window.Event.prototype;
window.CustomEvent = _CustomEvent;
}

function preventActionlessFormSubmit() {
document.body.addEventListener('submit', function (evt) {
_aureliaPal.DOM.addEventListener('submit', function (evt) {
var target = evt.target;
var action = target.action;

Expand All @@ -275,7 +254,7 @@ define(['exports', 'core-js', 'aurelia-logging', 'aurelia-templating', 'aurelia-
function Aurelia(loader, container, resources) {
_classCallCheck(this, Aurelia);

this.loader = loader || new window.AureliaLoader();
this.loader = loader || new _aureliaPal.PLATFORM.Loader();
this.container = container || new _aureliaDependencyInjection.Container();
this.resources = resources || new _aureliaTemplating.ViewResources();
this.use = new FrameworkConfiguration(this);
Expand All @@ -302,19 +281,21 @@ define(['exports', 'core-js', 'aurelia-logging', 'aurelia-templating', 'aurelia-
return this.use.apply().then(function () {
preventActionlessFormSubmit();

if (!_this5.container.hasHandler(_aureliaTemplating.BindingLanguage)) {
if (!_this5.container.hasResolver(_aureliaTemplating.BindingLanguage)) {
var message = 'You must configure Aurelia with a BindingLanguage implementation.';
_this5.logger.error(message);
throw new Error(message);
}

if (!_this5.container.hasHandler(_aureliaTemplating.Animator)) {
if (!_this5.container.hasResolver(_aureliaTemplating.Animator)) {
_aureliaTemplating.Animator.configureDefault(_this5.container);
}

_aureliaTemplating.templatingEngine.initialize(_this5.container);

_this5.logger.info('Aurelia Started');
var evt = new window.CustomEvent('aurelia-started', { bubbles: true, cancelable: true });
document.dispatchEvent(evt);
var evt = _aureliaPal.DOM.createCustomEvent('aurelia-started', { bubbles: true, cancelable: true });
_aureliaPal.DOM.dispatchEvent(evt);
return _this5;
});
};
Expand Down Expand Up @@ -369,22 +350,26 @@ define(['exports', 'core-js', 'aurelia-logging', 'aurelia-templating', 'aurelia-
applicationHost = applicationHost || this.host;

if (!applicationHost || typeof applicationHost === 'string') {
this.host = document.getElementById(applicationHost || 'applicationHost') || document.body;
this.host = _aureliaPal.DOM.getElementById(applicationHost || 'applicationHost');
} else {
this.host = applicationHost;
}

if (!this.host) {
throw new Error('No applicationHost was specified.');
}

this.hostConfigured = true;
this.host.aurelia = this;
this.hostSlot = new _aureliaTemplating.ViewSlot(this.host, true);
this.hostSlot.transformChildNodesIntoView();
this.container.registerInstance(_aureliaTemplating.DOMBoundary, this.host);
this.container.registerInstance(_aureliaPal.DOM.boundary, this.host);
};

Aurelia.prototype._onAureliaComposed = function _onAureliaComposed() {
var evt = new window.CustomEvent('aurelia-composed', { bubbles: true, cancelable: true });
var evt = _aureliaPal.DOM.createCustomEvent('aurelia-composed', { bubbles: true, cancelable: true });
setTimeout(function () {
return document.dispatchEvent(evt);
return _aureliaPal.DOM.dispatchEvent(evt);
}, 1);
};

Expand All @@ -407,6 +392,8 @@ define(['exports', 'core-js', 'aurelia-logging', 'aurelia-templating', 'aurelia-

_defaults(exports, _interopExportWildcard(_aureliaPath, _defaults));

_defaults(exports, _interopExportWildcard(_aureliaPal, _defaults));

var LogManager = _aureliaLogging;
exports.LogManager = LogManager;
});
6 changes: 4 additions & 2 deletions dist/aurelia-framework.d.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
declare module 'aurelia-framework' {
import * as core from 'core-js';
import 'core-js';
import * as TheLogManager from 'aurelia-logging';
import { ViewEngine, BindingLanguage, ViewSlot, ViewResources, CompositionEngine, Animator, DOMBoundary } from 'aurelia-templating';
import { ViewEngine, BindingLanguage, ViewSlot, ViewResources, CompositionEngine, Animator, templatingEngine } from 'aurelia-templating';
import { join } from 'aurelia-path';
import { Container } from 'aurelia-dependency-injection';
import { Loader } from 'aurelia-loader';
import { DOM, PLATFORM } from 'aurelia-pal';

/**
* Manages configuring the aurelia framework instance.
Expand Down Expand Up @@ -175,5 +176,6 @@ declare module 'aurelia-framework' {
export * from 'aurelia-loader';
export * from 'aurelia-task-queue';
export * from 'aurelia-path';
export * from 'aurelia-pal';
export const LogManager: any;
}
Loading

2 comments on commit fe4bf21

@kristianmandrup
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could this be the "beta" release?

@EisenbergEffect
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope. Couple more weeks.

Please sign in to comment.