Skip to content

Commit 8b9ae43

Browse files
chore(all): prepare release 0.16.0
1 parent a5b3285 commit 8b9ae43

15 files changed

+528
-1376
lines changed

bower.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "aurelia-framework",
3-
"version": "0.15.0",
3+
"version": "0.16.0",
44
"description": "The aurelia framework brings together all the required core aurelia libraries into a ready-to-go application-building platform.",
55
"keywords": [
66
"aurelia",
@@ -17,14 +17,14 @@
1717
"url": "http://github.com/aurelia/framework"
1818
},
1919
"dependencies": {
20-
"aurelia-binding": "^0.8.6",
21-
"aurelia-dependency-injection": "^0.9.2",
22-
"aurelia-loader": "^0.8.7",
23-
"aurelia-logging": "^0.6.4",
24-
"aurelia-metadata": "^0.7.3",
25-
"aurelia-path": "^0.8.1",
26-
"aurelia-task-queue": "^0.6.2",
27-
"aurelia-templating": "^0.14.0",
20+
"aurelia-binding": "^0.9.0",
21+
"aurelia-dependency-injection": "^0.10.0",
22+
"aurelia-loader": "^0.9.0",
23+
"aurelia-logging": "^0.7.0",
24+
"aurelia-metadata": "^0.8.0",
25+
"aurelia-path": "^0.9.0",
26+
"aurelia-task-queue": "^0.7.0",
27+
"aurelia-templating": "^0.15.0",
2828
"core-js": "zloirock/core-js"
2929
}
3030
}

config.js

Lines changed: 32 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -14,47 +14,46 @@ System.config({
1414
},
1515

1616
map: {
17-
"aurelia-binding": "github:aurelia/binding@0.8.6",
18-
"aurelia-dependency-injection": "github:aurelia/dependency-injection@0.9.2",
19-
"aurelia-loader": "github:aurelia/loader@0.8.7",
20-
"aurelia-logging": "github:aurelia/logging@0.6.4",
21-
"aurelia-metadata": "github:aurelia/metadata@0.7.3",
22-
"aurelia-path": "github:aurelia/path@0.8.1",
23-
"aurelia-task-queue": "github:aurelia/task-queue@0.6.2",
24-
"aurelia-templating": "github:aurelia/templating@0.14.1",
17+
"aurelia-binding": "github:aurelia/binding@0.9.0",
18+
"aurelia-dependency-injection": "github:aurelia/dependency-injection@0.10.0",
19+
"aurelia-loader": "github:aurelia/loader@0.9.0",
20+
"aurelia-logging": "github:aurelia/logging@0.7.0",
21+
"aurelia-metadata": "github:aurelia/metadata@0.8.0",
22+
"aurelia-path": "github:aurelia/path@0.9.0",
23+
"aurelia-task-queue": "github:aurelia/task-queue@0.7.0",
24+
"aurelia-templating": "github:aurelia/templating@0.15.0",
2525
"babel": "npm:[email protected]",
2626
"babel-runtime": "npm:[email protected]",
27-
"core-js": "npm:[email protected].3",
28-
"github:aurelia/binding@0.8.6": {
29-
"aurelia-dependency-injection": "github:aurelia/dependency-injection@0.9.2",
30-
"aurelia-metadata": "github:aurelia/metadata@0.7.3",
31-
"aurelia-task-queue": "github:aurelia/task-queue@0.6.2",
27+
"core-js": "npm:[email protected].4",
28+
"github:aurelia/binding@0.9.0": {
29+
"aurelia-dependency-injection": "github:aurelia/dependency-injection@0.10.0",
30+
"aurelia-metadata": "github:aurelia/metadata@0.8.0",
31+
"aurelia-task-queue": "github:aurelia/task-queue@0.7.0",
3232
"core-js": "npm:[email protected]"
3333
},
34-
"github:aurelia/dependency-injection@0.9.2": {
35-
"aurelia-logging": "github:aurelia/logging@0.6.4",
36-
"aurelia-metadata": "github:aurelia/metadata@0.7.3",
34+
"github:aurelia/dependency-injection@0.10.0": {
35+
"aurelia-logging": "github:aurelia/logging@0.7.0",
36+
"aurelia-metadata": "github:aurelia/metadata@0.8.0",
3737
"core-js": "npm:[email protected]"
3838
},
39-
"github:aurelia/[email protected]": {
40-
"aurelia-html-template-element": "github:aurelia/[email protected]",
41-
"aurelia-metadata": "github:aurelia/[email protected]",
42-
"aurelia-path": "github:aurelia/[email protected]",
43-
"core-js": "npm:[email protected]",
44-
"webcomponentsjs": "github:webcomponents/[email protected]"
39+
"github:aurelia/[email protected]": {
40+
"aurelia-html-template-element": "github:aurelia/[email protected]",
41+
"aurelia-metadata": "github:aurelia/[email protected]",
42+
"aurelia-path": "github:aurelia/[email protected]",
43+
"core-js": "github:zloirock/[email protected]"
4544
},
46-
"github:aurelia/metadata@0.7.3": {
45+
"github:aurelia/metadata@0.8.0": {
4746
"core-js": "npm:[email protected]"
4847
},
49-
"github:aurelia/templating@0.14.1": {
50-
"aurelia-binding": "github:aurelia/binding@0.8.6",
51-
"aurelia-dependency-injection": "github:aurelia/dependency-injection@0.9.2",
52-
"aurelia-html-template-element": "github:aurelia/html-template-element@0.2.0",
53-
"aurelia-loader": "github:aurelia/loader@0.8.7",
54-
"aurelia-logging": "github:aurelia/logging@0.6.4",
55-
"aurelia-metadata": "github:aurelia/metadata@0.7.3",
56-
"aurelia-path": "github:aurelia/path@0.8.1",
57-
"aurelia-task-queue": "github:aurelia/task-queue@0.6.2",
48+
"github:aurelia/templating@0.15.0": {
49+
"aurelia-binding": "github:aurelia/binding@0.9.0",
50+
"aurelia-dependency-injection": "github:aurelia/dependency-injection@0.10.0",
51+
"aurelia-html-template-element": "github:aurelia/html-template-element@0.3.0",
52+
"aurelia-loader": "github:aurelia/loader@0.9.0",
53+
"aurelia-logging": "github:aurelia/logging@0.7.0",
54+
"aurelia-metadata": "github:aurelia/metadata@0.8.0",
55+
"aurelia-path": "github:aurelia/path@0.9.0",
56+
"aurelia-task-queue": "github:aurelia/task-queue@0.7.0",
5857
"core-js": "npm:[email protected]"
5958
},
6059
"github:jspm/[email protected]": {
@@ -65,7 +64,7 @@ System.config({
6564
"process": "github:jspm/[email protected]",
6665
"systemjs-json": "github:systemjs/[email protected]"
6766
},
68-
"npm:[email protected].3": {
67+
"npm:[email protected].4": {
6968
"fs": "github:jspm/[email protected]",
7069
"process": "github:jspm/[email protected]",
7170
"systemjs-json": "github:systemjs/[email protected]"

dist/amd/aurelia-framework.d.ts

Lines changed: 45 additions & 96 deletions
Original file line numberDiff line numberDiff line change
@@ -1,182 +1,143 @@
11
declare module 'aurelia-framework' {
22
import * as core from 'core-js';
33
import * as TheLogManager from 'aurelia-logging';
4-
import { Metadata } from 'aurelia-metadata';
54
import { ViewEngine, BindingLanguage, ViewSlot, ViewResources, CompositionEngine, Animator, DOMBoundary } from 'aurelia-templating';
65
import { join } from 'aurelia-path';
76
import { Container } from 'aurelia-dependency-injection';
87
import { Loader } from 'aurelia-loader';
98

109
/**
1110
* Manages configuring the aurelia framework instance.
12-
*
13-
* @class FrameworkConfiguration
14-
* @constructor
1511
* @param {Aurelia} aurelia An instance of Aurelia.
1612
*/
1713
export class FrameworkConfiguration {
14+
container: Container;
15+
aurelia: Aurelia;
1816
constructor(aurelia: Aurelia);
1917

2018
/**
2119
* Adds an existing object to the framework's dependency injection container.
22-
*
23-
* @method instance
24-
* @param {Class} type The object type of the dependency that the framework will inject.
25-
* @param {Object} instance The existing instance of the dependency that the framework will inject.
26-
* @return {FrameworkConfiguration} Returns the current FrameworkConfiguration instance.
20+
* @param type The object type of the dependency that the framework will inject.
21+
* @param instance The existing instance of the dependency that the framework will inject.
22+
* @return Returns the current FrameworkConfiguration instance.
2723
*/
2824
instance(type: any, instance: any): FrameworkConfiguration;
2925

3026
/**
3127
* Adds a singleton to the framework's dependency injection container.
32-
*
33-
* @method singleton
34-
* @param {Class} type The object type of the dependency that the framework will inject.
35-
* @param {Object} implementation The constructor function of the dependency that the framework will inject.
36-
* @return {FrameworkConfiguration} Returns the current FrameworkConfiguration instance.
28+
* @param type The object type of the dependency that the framework will inject.
29+
* @param implementation The constructor function of the dependency that the framework will inject.
30+
* @return Returns the current FrameworkConfiguration instance.
3731
*/
3832
singleton(type: any, implementation?: Function): FrameworkConfiguration;
3933

4034
/**
4135
* Adds a transient to the framework's dependency injection container.
42-
*
43-
* @method transient
44-
* @param {Class} type The object type of the dependency that the framework will inject.
45-
* @param {Object} implementation The constructor function of the dependency that the framework will inject.
46-
* @return {FrameworkConfiguration} Returns the current FrameworkConfiguration instance.
36+
* @param type The object type of the dependency that the framework will inject.
37+
* @param implementation The constructor function of the dependency that the framework will inject.
38+
* @return Returns the current FrameworkConfiguration instance.
4739
*/
4840
transient(type: any, implementation?: Function): FrameworkConfiguration;
4941

5042
/**
5143
* Adds an async function that runs before the plugins are run.
52-
*
53-
* @method addPreStartTask
54-
* @param {Function} task The function to run before start.
55-
* @return {FrameworkConfiguration} Returns the current FrameworkConfiguration instance.
44+
* @param task The function to run before start.
45+
* @return Returns the current FrameworkConfiguration instance.
5646
*/
5747
preTask(task: Function): FrameworkConfiguration;
5848

5949
/**
6050
* Adds an async function that runs after the plugins are run.
61-
*
62-
* @method addPostStartTask
63-
* @param {Function} task The function to run after start.
64-
* @return {FrameworkConfiguration} Returns the current FrameworkConfiguration instance.
51+
* @param task The function to run after start.
52+
* @return Returns the current FrameworkConfiguration instance.
6553
*/
6654
postTask(task: Function): FrameworkConfiguration;
6755

6856
/**
6957
* Configures an internal feature plugin before Aurelia starts.
70-
*
71-
* @method feature
72-
* @param {string} plugin The folder for the internal plugin to configure (expects an index.js in that folder).
73-
* @param {config} config The configuration for the specified plugin.
74-
* @return {FrameworkConfiguration} Returns the current FrameworkConfiguration instance.
58+
* @param plugin The folder for the internal plugin to configure (expects an index.js in that folder).
59+
* @param config The configuration for the specified plugin.
60+
* @return Returns the current FrameworkConfiguration instance.
7561
*/
76-
feature(plugin: string, config: any): FrameworkConfiguration;
62+
feature(plugin: string, config?: any): FrameworkConfiguration;
7763

7864
/**
7965
* Adds globally available view resources to be imported into the Aurelia framework.
80-
*
81-
* @method globalResources
82-
* @param {Object|Array} resources The relative module id to the resource. (Relative to the plugin's installer.)
83-
* @return {FrameworkConfiguration} Returns the current FrameworkConfiguration instance.
66+
* @param resources The relative module id to the resource. (Relative to the plugin's installer.)
67+
* @return Returns the current FrameworkConfiguration instance.
8468
*/
8569
globalResources(resources: string | string[]): FrameworkConfiguration;
8670

8771
/**
8872
* Renames a global resource that was imported.
89-
*
90-
* @method globalName
91-
* @param {String} resourcePath The path to the resource.
92-
* @param {String} newName The new name.
93-
* @return {FrameworkConfiguration} Returns the current FrameworkConfiguration instance.
73+
* @param resourcePath The path to the resource.
74+
* @param newName The new name.
75+
* @return Returns the current FrameworkConfiguration instance.
9476
*/
9577
globalName(resourcePath: string, newName: string): FrameworkConfiguration;
9678

9779
/**
9880
* Configures an external, 3rd party plugin before Aurelia starts.
99-
*
100-
* @method plugin
101-
* @param {string} plugin The ID of the 3rd party plugin to configure.
102-
* @param {config} config The configuration for the specified plugin.
103-
* @return {FrameworkConfiguration} Returns the current FrameworkConfiguration instance.
81+
* @param plugin The ID of the 3rd party plugin to configure.
82+
* @param config The configuration for the specified plugin.
83+
* @return Returns the current FrameworkConfiguration instance.
10484
*/
105-
plugin(plugin: string, config: any): FrameworkConfiguration;
85+
plugin(plugin: string, config?: any): FrameworkConfiguration;
10686

10787
/**
10888
* Plugs in the default binding language from aurelia-templating-binding.
109-
*
110-
* @method defaultBindingLanguage
111-
* @return {FrameworkConfiguration} Returns the current FrameworkConfiguration instance.
89+
* @return Returns the current FrameworkConfiguration instance.
11290
*/
11391
defaultBindingLanguage(): FrameworkConfiguration;
11492

11593
/**
11694
* Plugs in the router from aurelia-templating-router.
117-
*
118-
* @method router
119-
* @return {FrameworkConfiguration} Returns the current FrameworkConfiguration instance.
95+
* @return Returns the current FrameworkConfiguration instance.
12096
*/
12197
router(): FrameworkConfiguration;
12298

12399
/**
124100
* Plugs in the default history implementation from aurelia-history-browser.
125-
*
126-
* @method history
127-
* @return {FrameworkConfiguration} Returns the current FrameworkConfiguration instance.
101+
* @return Returns the current FrameworkConfiguration instance.
128102
*/
129103
history(): FrameworkConfiguration;
130104

131105
/**
132106
* Plugs in the default templating resources (if, repeat, show, compose, etc.) from aurelia-templating-resources.
133-
*
134-
* @method defaultResources
135-
* @return {FrameworkConfiguration} Returns the current FrameworkConfiguration instance.
107+
* @return Returns the current FrameworkConfiguration instance.
136108
*/
137109
defaultResources(): FrameworkConfiguration;
138110

139111
/**
140112
* Plugs in the event aggregator from aurelia-event-aggregator.
141-
*
142-
* @method eventAggregator
143-
* @return {FrameworkConfiguration} Returns the current FrameworkConfiguration instance.
113+
* @return Returns the current FrameworkConfiguration instance.
144114
*/
145115
eventAggregator(): FrameworkConfiguration;
146116

147117
/**
148118
* Sets up the Aurelia configuration. This is equivalent to calling `.defaultBindingLanguage().defaultResources().history().router().eventAggregator();`
149-
*
150-
* @method standardConfiguration
151-
* @return {FrameworkConfiguration} Returns the current FrameworkConfiguration instance.
119+
* @return Returns the current FrameworkConfiguration instance.
152120
*/
153121
standardConfiguration(): FrameworkConfiguration;
154122

155123
/**
156124
* Plugs in the ConsoleAppender and sets the log level to debug.
157-
*
158-
* @method developmentLogging
159125
* @return {FrameworkConfiguration} Returns the current FrameworkConfiguration instance.
160126
*/
161127
developmentLogging(): FrameworkConfiguration;
162128

163129
/**
164130
* Loads and configures the plugins registered with this instance.
165-
*
166-
* @method apply
167131
* @return Returns a promise which resolves when all plugins are loaded and configured.
168132
*/
169133
apply(): Promise<void>;
170134
}
171135

172136
/**
173137
* The framework core that provides the main Aurelia object.
174-
*
175-
* @class Aurelia
176-
* @constructor
177-
* @param {Loader} loader The loader for this Aurelia instance to use. If a loader is not specified, Aurelia will use a defaultLoader.
178-
* @param {Container} container The dependency injection container for this Aurelia instance to use. If a container is not specified, Aurelia will create an empty container.
179-
* @param {ViewResources} resources The resource registry for this Aurelia instance to use. If a resource registry is not specified, Aurelia will create an empty registry.
138+
* @param loader The loader for this Aurelia instance to use. If a loader is not specified, Aurelia will use a defaultLoader.
139+
* @param container The dependency injection container for this Aurelia instance to use. If a container is not specified, Aurelia will create an empty container.
140+
* @param resources The resource registry for this Aurelia instance to use. If a resource registry is not specified, Aurelia will create an empty registry.
180141
*/
181142
export class Aurelia {
182143
loader: Loader;
@@ -187,44 +148,32 @@ declare module 'aurelia-framework' {
187148

188149
/**
189150
* Loads plugins, then resources, and then starts the Aurelia instance.
190-
*
191-
* @method start
192-
* @return {Promise<Aurelia>} Returns the started Aurelia instance.
151+
* @return Returns the started Aurelia instance.
193152
*/
194153
start(): Promise<Aurelia>;
195154

196155
/**
197156
* Enhances the host's existing elements with behaviors and bindings.
198-
*
199-
* @method enhance
200-
* @param {Object} bindingContext A binding context for the enhanced elements.
201-
* @param {string|Object} applicationHost The DOM object that Aurelia will enhance.
202-
* @return {Promise<Aurelia>} Returns the current Aurelia instance.
157+
* @param bindingContext A binding context for the enhanced elements.
158+
* @param applicationHost The DOM object that Aurelia will enhance.
159+
* @return Returns the current Aurelia instance.
203160
*/
204161
enhance(bindingContext?: Object, applicationHost?: any): Promise<Aurelia>;
205162

206163
/**
207164
* Instantiates the root view-model and view and add them to the DOM.
208-
*
209-
* @method setRoot
210-
* @param {Object} root The root view-model to load upon bootstrap.
211-
* @param {string|Object} applicationHost The DOM object that Aurelia will attach to.
212-
* @return {Promise<Aurelia>} Returns the current Aurelia instance.
165+
* @param root The root view-model to load upon bootstrap.
166+
* @param applicationHost The DOM object that Aurelia will attach to.
167+
* @return Returns the current Aurelia instance.
213168
*/
214169
setRoot(root?: string, applicationHost?: any): Promise<Aurelia>;
215170
}
216-
217-
/**
218-
* The aurelia framework brings together all the required core aurelia libraries into a ready-to-go application-building platform.
219-
*
220-
* @module framework
221-
*/
222171
export * from 'aurelia-dependency-injection';
223172
export * from 'aurelia-binding';
224173
export * from 'aurelia-metadata';
225174
export * from 'aurelia-templating';
226175
export * from 'aurelia-loader';
227176
export * from 'aurelia-task-queue';
228177
export * from 'aurelia-path';
229-
export var LogManager: any;
178+
export const LogManager: any;
230179
}

0 commit comments

Comments
 (0)