Skip to content

Commit

Permalink
chore(all): prepare release 1.0.0-beta.1.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Jan 9, 2016
1 parent fafe797 commit 13a78da
Show file tree
Hide file tree
Showing 10 changed files with 141 additions and 87 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-framework",
"version": "1.0.0-beta.1.0.7",
"version": "1.0.0-beta.1.0.8",
"description": "The aurelia framework brings together all the required core aurelia libraries into a ready-to-go application-building platform.",
"keywords": [
"aurelia",
Expand Down
56 changes: 30 additions & 26 deletions config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@ System.config({
},

map: {
"aurelia-binding": "npm:[email protected].1",
"aurelia-dependency-injection": "npm:[email protected]",
"aurelia-loader": "npm:[email protected]",
"aurelia-binding": "npm:[email protected].5",
"aurelia-dependency-injection": "npm:[email protected].0.1",
"aurelia-loader": "npm:[email protected].0.1",
"aurelia-logging": "npm:[email protected]",
"aurelia-metadata": "npm:[email protected]",
"aurelia-pal": "npm:[email protected]",
"aurelia-pal-browser": "npm:[email protected]",
"aurelia-pal": "npm:[email protected].0.2",
"aurelia-pal-browser": "npm:[email protected].0.3",
"aurelia-path": "npm:[email protected]",
"aurelia-task-queue": "npm:[email protected]",
"aurelia-templating": "npm:[email protected]",
"babel": "npm:babel-core@5.2.2",
"babel-runtime": "npm:babel-runtime@5.2.2",
"aurelia-task-queue": "npm:[email protected].0.1",
"aurelia-templating": "npm:[email protected].0.3",
"babel": "npm:babel-core@5.8.34",
"babel-runtime": "npm:babel-runtime@5.8.34",
"core-js": "npm:[email protected]",
"github:jspm/[email protected]": {
"assert": "npm:[email protected]"
Expand All @@ -42,43 +42,47 @@ System.config({
"npm:[email protected]": {
"util": "npm:[email protected]"
},
"npm:[email protected].1": {
"npm:[email protected].5": {
"aurelia-metadata": "npm:[email protected]",
"aurelia-pal": "npm:[email protected]",
"aurelia-task-queue": "npm:[email protected]",
"aurelia-pal": "npm:[email protected].0.2",
"aurelia-task-queue": "npm:[email protected].0.1",
"core-js": "npm:[email protected]"
},
"npm:[email protected]": {
"npm:[email protected].0.1": {
"aurelia-logging": "npm:[email protected]",
"aurelia-metadata": "npm:[email protected]",
"aurelia-pal": "npm:[email protected]",
"aurelia-pal": "npm:[email protected].0.2",
"core-js": "npm:[email protected]"
},
"npm:[email protected]": {
"npm:[email protected].0.1": {
"aurelia-metadata": "npm:[email protected]",
"aurelia-path": "npm:[email protected]"
},
"npm:[email protected]": {
"aurelia-pal": "npm:[email protected]",
"aurelia-pal": "npm:[email protected].0.2",
"core-js": "npm:[email protected]"
},
"npm:[email protected]": {
"aurelia-pal": "npm:[email protected]"
"npm:[email protected]": {
"aurelia-pal": "npm:[email protected]",
"core-js": "npm:[email protected]"
},
"npm:[email protected]": {
"aurelia-pal": "npm:[email protected]"
"npm:[email protected].0.1": {
"aurelia-pal": "npm:[email protected].0.2"
},
"npm:[email protected]": {
"aurelia-binding": "npm:[email protected].1",
"aurelia-dependency-injection": "npm:[email protected]",
"aurelia-loader": "npm:[email protected]",
"npm:[email protected].0.3": {
"aurelia-binding": "npm:[email protected].5",
"aurelia-dependency-injection": "npm:[email protected].0.1",
"aurelia-loader": "npm:[email protected].0.1",
"aurelia-logging": "npm:[email protected]",
"aurelia-metadata": "npm:[email protected]",
"aurelia-pal": "npm:[email protected]",
"aurelia-pal": "npm:[email protected].0.2",
"aurelia-path": "npm:[email protected]",
"aurelia-task-queue": "npm:[email protected]",
"aurelia-task-queue": "npm:[email protected].0.1",
"core-js": "npm:[email protected]"
},
"npm:[email protected]": {
"process": "github:jspm/[email protected]"
},
"npm:[email protected]": {
"fs": "github:jspm/[email protected]",
"path": "github:jspm/[email protected]",
Expand Down
29 changes: 19 additions & 10 deletions dist/amd/aurelia-framework.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ define(['exports', 'core-js', 'aurelia-logging', 'aurelia-templating', 'aurelia-
this.postTasks = [];
this.resourcesToLoad = {};
this.preTask(function () {
return _this.bootstrapperName = aurelia.loader.normalizeSync('aurelia-bootstrapper');
return aurelia.loader.normalize('aurelia-bootstrapper').then(function (name) {
return _this.bootstrapperName = name;
});
});
this.postTask(function () {
return loadResources(aurelia.container, _this.resourcesToLoad, aurelia.resources);
Expand Down Expand Up @@ -158,12 +160,13 @@ define(['exports', 'core-js', 'aurelia-logging', 'aurelia-templating', 'aurelia-

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

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

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

this.preTask(function () {
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);
return _this3.aurelia.loader.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);
});
});
});

Expand Down Expand Up @@ -319,6 +323,11 @@ define(['exports', 'core-js', 'aurelia-logging', 'aurelia-templating', 'aurelia-
var engine = undefined;
var instruction = {};

if (this.root && this.root.viewModel && this.root.viewModel.router) {
this.root.viewModel.router.deactivate();
this.root.viewModel.router.reset();
}

this._configureHost(applicationHost);

engine = this.container.get(_aureliaTemplating.TemplatingEngine);
Expand Down
29 changes: 18 additions & 11 deletions dist/aurelia-framework.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export class FrameworkConfiguration {
this.preTasks = [];
this.postTasks = [];
this.resourcesToLoad = {};
this.preTask(() => this.bootstrapperName = aurelia.loader.normalizeSync('aurelia-bootstrapper'));
this.preTask(() => aurelia.loader.normalize('aurelia-bootstrapper').then(name => this.bootstrapperName = name));
this.postTask(() => loadResources(aurelia.container, this.resourcesToLoad, aurelia.resources));
}

Expand Down Expand Up @@ -214,13 +214,14 @@ export class FrameworkConfiguration {

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

plugin.moduleId = normalizedName;
plugin.resourcesRelativeTo = normalizedName;
this.aurelia.loader.map(name, normalizedName);
plugin.moduleId = normalizedName;
plugin.resourcesRelativeTo = normalizedName;
this.aurelia.loader.map(name, normalizedName);
});
});

return this;
Expand Down Expand Up @@ -280,10 +281,11 @@ export class FrameworkConfiguration {
*/
developmentLogging(): FrameworkConfiguration {
this.preTask(() => {
let name = this.aurelia.loader.normalizeSync('aurelia-logging-console', this.bootstrapperName);
return this.aurelia.loader.loadModule(name).then(m => {
TheLogManager.addAppender(new m.ConsoleAppender());
TheLogManager.setLevel(TheLogManager.logLevel.debug);
return this.aurelia.loader.normalize('aurelia-logging-console', this.bootstrapperName).then(name => {
return this.aurelia.loader.loadModule(name).then(m => {
TheLogManager.addAppender(new m.ConsoleAppender());
TheLogManager.setLevel(TheLogManager.logLevel.debug);
});
});
});

Expand Down Expand Up @@ -428,6 +430,11 @@ export class Aurelia {
let engine;
let instruction = {};

if (this.root && this.root.viewModel && this.root.viewModel.router) {
this.root.viewModel.router.deactivate();
this.root.viewModel.router.reset();
}

this._configureHost(applicationHost);

engine = this.container.get(TemplatingEngine);
Expand Down
29 changes: 19 additions & 10 deletions dist/commonjs/aurelia-framework.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ var FrameworkConfiguration = (function () {
this.postTasks = [];
this.resourcesToLoad = {};
this.preTask(function () {
return _this.bootstrapperName = aurelia.loader.normalizeSync('aurelia-bootstrapper');
return aurelia.loader.normalize('aurelia-bootstrapper').then(function (name) {
return _this.bootstrapperName = name;
});
});
this.postTask(function () {
return loadResources(aurelia.container, _this.resourcesToLoad, aurelia.resources);
Expand Down Expand Up @@ -175,12 +177,13 @@ var FrameworkConfiguration = (function () {

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

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

return this;
Expand Down Expand Up @@ -214,10 +217,11 @@ var FrameworkConfiguration = (function () {
var _this3 = this;

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

Expand Down Expand Up @@ -336,6 +340,11 @@ var Aurelia = (function () {
var engine = undefined;
var instruction = {};

if (this.root && this.root.viewModel && this.root.viewModel.router) {
this.root.viewModel.router.deactivate();
this.root.viewModel.router.reset();
}

this._configureHost(applicationHost);

engine = this.container.get(_aureliaTemplating.TemplatingEngine);
Expand Down
29 changes: 18 additions & 11 deletions dist/es6/aurelia-framework.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export class FrameworkConfiguration {
this.preTasks = [];
this.postTasks = [];
this.resourcesToLoad = {};
this.preTask(() => this.bootstrapperName = aurelia.loader.normalizeSync('aurelia-bootstrapper'));
this.preTask(() => aurelia.loader.normalize('aurelia-bootstrapper').then(name => this.bootstrapperName = name));
this.postTask(() => loadResources(aurelia.container, this.resourcesToLoad, aurelia.resources));
}

Expand Down Expand Up @@ -214,13 +214,14 @@ export class FrameworkConfiguration {

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

plugin.moduleId = normalizedName;
plugin.resourcesRelativeTo = normalizedName;
this.aurelia.loader.map(name, normalizedName);
plugin.moduleId = normalizedName;
plugin.resourcesRelativeTo = normalizedName;
this.aurelia.loader.map(name, normalizedName);
});
});

return this;
Expand Down Expand Up @@ -280,10 +281,11 @@ export class FrameworkConfiguration {
*/
developmentLogging(): FrameworkConfiguration {
this.preTask(() => {
let name = this.aurelia.loader.normalizeSync('aurelia-logging-console', this.bootstrapperName);
return this.aurelia.loader.loadModule(name).then(m => {
TheLogManager.addAppender(new m.ConsoleAppender());
TheLogManager.setLevel(TheLogManager.logLevel.debug);
return this.aurelia.loader.normalize('aurelia-logging-console', this.bootstrapperName).then(name => {
return this.aurelia.loader.loadModule(name).then(m => {
TheLogManager.addAppender(new m.ConsoleAppender());
TheLogManager.setLevel(TheLogManager.logLevel.debug);
});
});
});

Expand Down Expand Up @@ -428,6 +430,11 @@ export class Aurelia {
let engine;
let instruction = {};

if (this.root && this.root.viewModel && this.root.viewModel.router) {
this.root.viewModel.router.deactivate();
this.root.viewModel.router.reset();
}

this._configureHost(applicationHost);

engine = this.container.get(TemplatingEngine);
Expand Down
29 changes: 19 additions & 10 deletions dist/system/aurelia-framework.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,9 @@ System.register(['core-js', 'aurelia-logging', 'aurelia-templating', 'aurelia-pa
this.postTasks = [];
this.resourcesToLoad = {};
this.preTask(function () {
return _this.bootstrapperName = aurelia.loader.normalizeSync('aurelia-bootstrapper');
return aurelia.loader.normalize('aurelia-bootstrapper').then(function (name) {
return _this.bootstrapperName = name;
});
});
this.postTask(function () {
return loadResources(aurelia.container, _this.resourcesToLoad, aurelia.resources);
Expand Down Expand Up @@ -217,12 +219,13 @@ System.register(['core-js', 'aurelia-logging', 'aurelia-templating', 'aurelia-pa

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

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

return this;
Expand Down Expand Up @@ -256,10 +259,11 @@ System.register(['core-js', 'aurelia-logging', 'aurelia-templating', 'aurelia-pa
var _this3 = this;

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

Expand Down Expand Up @@ -367,6 +371,11 @@ System.register(['core-js', 'aurelia-logging', 'aurelia-templating', 'aurelia-pa
var engine = undefined;
var instruction = {};

if (this.root && this.root.viewModel && this.root.viewModel.router) {
this.root.viewModel.router.deactivate();
this.root.viewModel.router.reset();
}

this._configureHost(applicationHost);

engine = this.container.get(TemplatingEngine);
Expand Down
Loading

0 comments on commit 13a78da

Please sign in to comment.